]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
Reorder member initializers to avoid compiler warning.
[lyx.git] / src / ChangeLog
1 2003-09-15  Angus Leeming  <leeming@lyx.org>
2
3         * bufferparams.C (BufferParams): reorder member initializers to avoid
4         compiler warning.
5
6 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
7
8         * CutAndPaste.C (pasteSelection): remove an outdated #warning
9         * text.C (updateRowPositions): remove an unusual nop
10
11 2003-09-12  André Pönitz  <poenitz@gmx.net>
12
13         * BufferView_pimpl.C:
14         * Bullet.C:
15         * layout.h:
16         * lyxfunc.C:
17         * lyxlayout.[Ch]:
18         * lyxtextclass.C:
19         * rowpainter.C:
20         * text.C:
21         * text2.C:
22         * Counters.[Ch]: finish the 'automatic counters' job
23
24 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
25
26         * aspell.C: include <boost/assert.cpp> (compile fix)
27
28 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
29
30         * boost.C (assertion_failed): use lyx::support::abort instead of
31         assert.
32
33 2003-09-10  Angus Leeming  <leeming@lyx.org>
34
35         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h with their
36         _fwd progeny.
37
38 2003-09-09  Angus Leeming  <leeming@lyx.org>
39
40         134 files throughtout the source tree: replace 'using namespace abc;'
41         directives with the appropriate 'using abc::xyz;' declarations.
42
43 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
44
45         * boost.C (emergencyCleanup): moved here from LAssert.c
46         (assertion_failed): new function, called by BOOST_ASSERT
47
48         * several files: change Assert to BOOST_ASSERT
49
50 2003-09-09  Angus Leeming  <leeming@lyx.org>
51
52         * buffer.[Ch]: Add an Impl class and move Buffer's member
53         variables into it. As a result move several header files out of
54         buffer.h.
55
56         Add header files to lots of .C files all over the tree as a result.
57
58 2003-09-09  Angus Leeming  <leeming@lyx.org>
59
60         * buffer.[Ch]: make Buffer's member variables private. Add
61         accessor functions.
62
63         Lots of changes all over the tree as a result.
64
65 2003-09-08  Angus Leeming  <leeming@lyx.org>
66
67         * graph.C: #include <config.h>.
68
69 2003-09-08  Angus Leeming  <leeming@lyx.org>
70
71         * BranchList.C:
72         * BufferView.C:
73         * BufferView_pimpl.C:
74         * CutAndPaste.C:
75         * DepTable.C:
76         * LaTeX.C:
77         * LaTeXFeatures.C:
78         * LyXAction.C:
79         * MenuBackend.C:
80         * TextCache.C:
81         * aspell.C:
82         * buffer.C:
83         * bufferlist.C:
84         * changes.C:
85         * chset.C:
86         * converter.C:
87         * counters.C:
88         * debug.C:
89         * graph.C:
90         * ispell.C:
91         * lyx_cb.C:
92         * lyxfind.C:
93         * lyxfunc.C:
94         * lyxlex_pimpl.C:
95         * lyxrc.C:
96         * lyxrow.C:
97         * paragraph.C:
98         * rowpainter.C:
99         * texrow.C:
100         * text.C:
101         * text2.C:
102         * toc.C: remove redundant using directives.
103
104 2003-09-07  Angus Leeming  <leeming@lyx.org>
105
106         * LaTeXFeatures.h: remove #include "support/types.h".
107         * ToolbarBackend.h: remove #include <algorithm>.
108         * changes.h: remove #include <ctime>.
109         * debug.h: remove #include <iosfwd>.
110         * graph.h: remove #include "support/std_string.h".
111         * lyx_main.h: remove #include <csignal>.
112         * lyxlex_pimpl.h: remove #include <fstream>.
113         * sgml.h: remove #include <algorithm>, <utility>.
114         * toc.h: remove #include "support/std_ostream.h". Add #include <iosfwd>.
115
116 2003-09-07  Angus Leeming  <leeming@lyx.org>
117
118         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
119
120         * converter.h: forward declare LatexRunParams.
121         * encoding.h: remove #include "lyxrc.h".
122         * lyxtext.h: remove #include "LColor.h".
123         * lyxtextclass.h: remove #include "support/types.h".
124         * trans.h: remove #include "tex-accent.h".
125         * trans_mgr.h: remove #include "tex-accent.h".
126         * insets/inset.h: remove #include "support/types.h", <vector>.
127         * insets/insetcollapsable.h: remove #include "LColor.h".
128         * insets/insetinclude.h: remove #include "dimension.h".
129         * insets/insetlatexaccent.h: remove #include "dimension.h".
130         * insets/insetoptarg.h:: remove #include "insettext.h".
131         * insets/insettext.h: remove #include "dimension.h", <boost/shared_ptr.hpp>
132
133         * insets/renderers.h: add #include "dimension.h".
134         * insets/updatableinset.h: add #include "support/types.h".
135
136         * many .C files: Associated changes.
137
138 2003-09-06  Angus Leeming  <leeming@lyx.org>
139
140         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just one,
141         inside testInvariant.
142
143         * PrinterParams.C: new file.
144         * PrinterParams.[Ch]: move the function bodies out of line.
145
146 2003-09-06  Angus Leeming  <leeming@lyx.org>
147
148         * ParagraphParameters.h: forward declare ParameterStruct rather than
149         including its header file.
150         (depth): moved out-of-line.
151
152 2003-09-06  Angus Leeming  <leeming@lyx.org>
153
154         * BufferView_pimpl.h:
155         * kbmap.h:
156         * kbsequence.h:
157         * lyxfunc.h: forward declare LyXKeySym rather than
158         #include "frontends/LyXKeySym.h".
159
160         * BufferView_pimpl.C:
161         * kbmap.C:
162         * kbsequence.C:
163         * lyxfunc.C: associated changes.
164
165 2003-09-06  Angus Leeming  <leeming@lyx.org>
166
167         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
168         As a result, can remove the #include "insets/inset.h" from BufferView.h
169
170 2003-09-06  Angus Leeming  <leeming@lyx.org>
171
172         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
173         As a result, can remove the #include "insets/inset.h" from BufferView.h
174
175 2003-09-06  Angus Leeming  <leeming@lyx.org>
176
177         * buffer_funcs.C:
178         * buffer.h:
179         * bufferlist.C:
180         * BufferView.C:
181         * bufferview_funcs.C:
182         * BufferView_pimpl.C:
183         * CutAndPaste.C:
184         * lyx_cb.C:
185         * lyxfunc.C:
186         * paragraph.h:
187         * ParagraphParameters.C:
188         * tabular.C:
189         * text3.C:
190         * toc.C:
191         * undo_funcs.C:
192         * frontends/controllers/ControlDocument.C:
193         * insets/insetcaption.C: rearrange the #includes into some sort of
194         coherent order.
195
196         * buffer.h: remove #includes ErrorList.h, undo.h
197
198 2003-09-06  Angus Leeming  <leeming@lyx.org>
199
200         * support/types.h: add a 'depth_type' typedef, used to store the
201         nesting depth of a paragraph.
202
203         * paragraph.h:
204         * ParameterStruct.h: use this lyx::depth_type typedef rather than
205         defining explicitly.
206
207         * buffer.h:
208         * paragraph_funcs.h:
209         * ParagraphParameters.h:
210         * sgml.h: use lyx::depth_type rather than Paragraph or
211         ParameterStruct's depth_type.
212
213         * buffer.h
214         * paragraph_funcs.h: no need to #include paragraph.h anymore.
215
216         * BufferView.C:
217         * BufferView_pimpl.C:
218         * CutAndPaste.C:
219         * ParagraphParameters.C:
220         * buffer_funcs.C:
221         * bufferlist.C:
222         * bufferview_funcs.C:
223         * lyx_cb.C:
224         * lyxfunc.C:
225         * tabular.C:
226         * text3.C:
227         * toc.C:
228         * undo_funcs.C:
229         * frontends/LyXView.C:
230         * frontends/controllers/ControlDocument.C:
231         * frontends/controllers/ControlErrorList.C:
232         * insets/insetbibitem.C:
233         * insets/insetbranch.C:
234         * insets/insetcaption.C:
235         * insets/insetcollapsable.C:
236         * insets/insetenv.C:
237         * insets/insetert.C:
238         * insets/insetfloat.C:
239         * insets/insetfoot.C:
240         * insets/insetfootlike.C:
241         * insets/insetnewline.C:
242         * insets/insetquotes.C:
243         * insets/insettabular.C:
244         * insets/insettext.C:
245         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
246
247         * frontends/controllers/ControlChanges.C: #include "changes.h".
248
249 2003-09-06  Angus Leeming  <leeming@lyx.org>
250
251         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather than
252         #including paragraph.h.
253
254         * ParagraphList.h:
255         * RowList.h: deleted. Superfluous.
256
257         * CutAndPaste.h:
258         * iterators.h:
259         * lyxcursor.h:
260         * lyxtext.h:
261         * text_funcs.h:
262         * undo.h:
263         * undo_funcs.h:
264         * insets/inset.h:
265         * insets/insettext.h: use ParagraphList_fwd.h rather than ParagraphList.h.
266
267         * paragraph.h: don't forward declare ParagraphList.
268
269         * buffer.h:
270         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
271         rather than ParagraphList.h. paragraph.h is still needed for the
272         Paragraph::depth_type parameters.
273
274         * textcursor.h: enable it to compile stand-alone in light of the
275         above changes.
276
277         * bufferview_funcs.C:
278         * iterators.C:
279         * lyxfunc.C:
280         * lyxrow_funcs.C:
281         * paragraph.C:
282         * rowpainter.C:
283         * text.C:
284         * text2.C:
285         * text3.C:
286         * text_funcs.C:
287         * textcursor.C:
288         * undo.C:
289         * frontends/controllers/ControlParagraph.C:
290         * frontends/controllers/ControlTabular.C:
291         * insets/insetmarginal.C:
292         * insets/insetminipage.C:
293         * insets/insetnote.C:
294         * insets/insetoptarg.C: add header files needed to compile again.
295
296 2003-09-06  Angus Leeming  <leeming@lyx.org>
297
298         * RowList_fwd.h: new file, forward-declaring Row rather than
299         #including lyxrow.h.
300
301         * lyxrow_funcs.h:
302         * lyxtext.h:
303         * paragraph.h:
304         * insets/insettext.h: use it instead of RowList.h
305
306         * bufferview_funcs.C:
307         * lyxfunc.C:
308         * lyxrow_funcs.C:
309         * paragraph.C:
310         * rowpainter.C:
311         * text.C:
312         * text2.C:
313         * text3.C: #include "RowList.h".
314
315 2003-09-05  Angus Leeming  <leeming@lyx.org>
316
317         * factory.C (createInset):
318         * vspace.C (c-tor): replace sscanf call with an istringstream.
319         * ispell.C: re-add missing HP/UX headers.
320         * lyxserver.C: re-add missing  os2 headers.
321
322 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
323
324         * BranchList.C:
325         * graph.C:
326         * ispell.C:
327         * lastfiles.C:
328         * lyx_cb.C:
329         * lyxserver.C:
330         * texrow.C:
331         * text3.C: re-add missing system headers, needed for 2.95.2.
332
333 2003-09-05  Angus Leeming  <leeming@lyx.org>
334
335         Changes most place everywhere due to the removal of using directives
336         from support/std_sstream.h.
337
338 2003-09-05  Angus Leeming  <leeming@lyx.org>
339
340         Replace LString.h with support/std_string.h,
341         Lsstream.h with support/std_sstream.h,
342         support/LIstream.h with support/std_istream.h,
343         support/LOstream.h with support/std_ostream.h.
344
345         Changes resulting throughout the tree.
346
347 2003-09-05  Angus Leeming  <leeming@lyx.org>
348
349         * sgml.h: ensure that the header file can be compiled stand-alone.
350         * *.C: strip out redundant #includes. (320 in total.)
351
352 2003-09-04  Angus Leeming  <leeming@lyx.org>
353
354         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
355         here (from getPackages).
356
357         * debug.[Ch]: add a new EXTERNAL tag.
358
359 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
360
361         * text2.C (cursorEnd): simplify
362         (setCursor): adjust
363         (getColumnNearX): adjust
364
365         * text.C (computeBidiTables): adjust
366         (fill): adjust
367
368         * rowpainter.C (paintChars): adjust
369         (paintSelection): adjust
370         (paintChangeBar): adjust
371         (paintText): adjust
372
373         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
374         lastPos instead.
375         (numberOfSeparators): adjust
376
377 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
378
379         * LyXAction.C:
380         * box.[Ch]:
381         * lfuns.h:
382         * lyxfunc.C:
383         * text3.C: Restricts the mouse click functionality
384         of insets like bibtex, include, toc and floatlist to the visible
385         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
386         up the dialogs. Cursor has to be in front of the inset (i.e.
387         start of row) for this to function.
388
389 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
390
391         * bufferview_funcs.C (currentState): output row information
392
393 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
394
395         * bufferview_funcs.C (currentState): output paragraph position
396
397 2003-09-04  Angus Leeming  <leeming@lyx.org>
398
399         * FloatList.h: move out #include "Floating.h".
400         * LaTeX.h: move out #include "DepTable.h".
401         * LyXAction.h: move out #include "funcrequest.h".
402         * buffer.h: move out #include "author.h", "iterators.h".
403         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
404         * lyx_main.h: move out #include "errorlist.h".
405         * lyxfunc.h: move out #include "FuncStatus.h".
406         * lyxtext: move out #include "lyxcursor.h".
407         * paragraph_pimpl.h: move out #include "counters.h".
408
409 2003-09-03  Angus Leeming  <leeming@lyx.org>
410
411         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
412         preamble_snippets list, enabling us to add snippets to the preamble only
413         if the snippet was not there already.
414
415 2003-09-04  Angus Leeming  <leeming@lyx.org>
416
417         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
418
419 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
420
421         * lyxfunc.C (dispatch): if fitCursor did something be sure to
422         update
423
424 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
425
426         * BranchList.C: point fix, earlier forgotten
427
428 2003-09-02  Angus Leeming  <leeming@lyx.org>
429
430         * box.C (contains): renamed from 'contained' after a fantastic
431         amount of hot air.
432
433 2003-09-02  John Levon  <levon@movementarian.org>
434
435         * BufferView.C:
436         * lyxcursor.h:
437         * lyxcursor.C:
438         * lyxfunc.C:
439         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
440
441 2003-09-02  John Levon  <levon@movementarian.org>
442
443         * text2.C: simplification of cursorEnd(), including partial
444         fix for bug 1376
445
446 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
447
448         * buffer.C (readFile): add a space
449
450 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
451
452         * BufferView_pimpl.C (update): remove bogus fitCursor() call
453
454 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
455
456         * buffer.C (readFile): new function, take a filename and a
457         ParagraphList::iterator
458         (readFile): adjust
459         (readFile): adjust, make it private. don't use setStream, make
460         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
461         always contain the filename.
462
463         * BufferView.C (insertLyXFile): simplify and make it work for
464         gzipped files.
465
466 2003-08-30  John Levon  <levon@movementarian.org>
467
468         * Makefile.am: fix dist (from Kayvan)
469
470 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
471
472         * most files: change to use const Buffer refs
473
474 2003-08-27  André Pönitz  <poenitz@gmx.net>
475
476         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
477         on top of ownerPar().
478
479 2003-08-27  John Levon  <levon@movementarian.org>
480
481         * funcrequest.C: properly initialise POD members
482
483 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
484
485         * lyxtext.h (top_y): move top_y from here
486         * text.C:
487         * text2.C:
488         * text3.C:
489         * BufferView.[Ch]:
490         * BufferView_pimpl.[Ch]: to here
491         * frontends/screen.C:
492         * insets/insettabular.C:
493         * insets/insettext.C: adjust
494         * rowpainter.[Ch] (paintRows): remove LyXText & argument
495
496 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
497
498         * BufferView.[Ch]:
499         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
500
501 2003-08-26  André Pönitz  <poenitz@gmx.net>
502
503         * paragraph_func.[Ch] (outerPar): new function
504
505         * paragraph.C:
506         * paragraph_funcs.C:
507         * paragraph_funcs.h:
508         * paragraph_pimpl.C:
509         * text2.C: remove Inset::par_owner
510
511 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
512
513         * lyxrow_funcs.C:
514         * lyxtext.h:
515         * text.C:
516         * text2.C: eliminates the needFullRow/display() stuff
517         altogether, putting the logic in metrics/draw in the insets.
518
519 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
520
521         * text2.C (redoParagraphInternal, redoParagraphs):
522         * text.C (redoParagraph): add a call to updateRowPositions at the
523         end of each 'metrics-like' call. Remove all others.
524         (getRow): remove the 'y-computing' version.
525         (getRowNearY): do not compute nor return the real y. Solve the
526         'y < 0' problem and simplify.
527
528 2003-08-22  Angus Leeming  <leeming@lyx.org>
529
530         * *.[Ch]: clean-up of licence and author blurbs.
531         Also move config.h out of a few .h files and into a few .C files.
532
533 2003-08-22  André Pönitz  <poenitz@gmx.net>
534
535         * lyxrow.[Ch]: add x_ and *fill_ members
536
537         * lyxtext.h:
538         * text.C:
539         * rowpainter.C:
540         * text2.C: adjust/remove prepareToPrint() calls
541
542 2003-08-22  André Pönitz  <poenitz@gmx.net>
543
544         * lyxrow.[Ch]: add  end_ member
545
546         * lyxrow_funcs.C: use LyXRow::end_
547
548         * lyxtext.h (singleWidth): add LyXFont parameter
549
550         * rowpainter.C:
551         * text2.C: adjust LyXText::singleWidth() calls
552
553         * text.C (redoParagraph): simplify row breaking logic
554
555
556 2003-08-19  André Pönitz  <poenitz@gmx.net>
557
558         * funcrequest.C: initialize button_ member
559
560         * text3.C:
561         * rowpainter.[Ch]: interface consolidation
562
563 2003-08-18  André Pönitz  <poenitz@gmx.net>
564
565         * BufferView.C:
566         * BufferView_pimpl.C:
567         * lyxfind.C:
568         * paragraph_funcs.C:
569         * rowpainter.C:
570         * text3.C: remove LyXScreen::draw() and fitCursor calls
571
572         * BranchList.h: remove spurious semicolons
573
574         * MenuBackend.C: fix branchlist related crash
575
576 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
577
578         * BranchList.[Ch]:
579         * InsetList.[Ch]:
580         * LColor.[Ch]:
581         * LyXAction.C:
582         * Makefile.am:
583         * MenuBackend.[Ch]:
584         * bufferparams.[Ch]:
585         * factory.C:
586         * lfuns.h:
587         * lyxfunc.C:
588         * text3.C: implements the 'branch inset'
589         idea. This allows the output of various versions of a document
590         from a single source version, selectively outputing or suppressing
591         output of parts of the text.
592         This implementation contains a 'branch list editor' in a separate
593         tab of the document settings dialog. Branches are user definable
594         and have a "display colour" to distinguish them on-screen.
595
596         ColorHandler was somewhat cleaned up.
597         (1) make possible a dynamically growing LColor list by allowing
598         the graphic context cache to grow along (vector);
599         (2) eliminate an IMHO unnecessary step in colour allocation.
600
601 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
602
603         * BufferView_pimpl.C: compile fix
604
605 2003-08-15  André Pönitz  <poenitz@gmx.net>
606
607         * rowpainter.C: remove extra metrics calls
608
609         * lyxtext.h: merge the two constructors into a single one,
610           pass reference to owner's par list
611
612         * BufferView_pimpl.C:
613         * text.C:
614         * text2.C: adjust
615
616 2003-08-15  André Pönitz  <poenitz@gmx.net>
617
618         * lyxrow_funcs.[Ch]:
619         * lyxtext.h:
620         * paragraph.h:
621         * paragraph_funcs.C:
622         * rowpainter.C:
623         * text.C:
624         * text2.C:
625         * text3.C:
626         * text_funcs.C: split LyXText::rowlist_ into individual
627         Paragraph::rows_ chunks
628
629         * BufferView.[Ch]:
630         * BufferView_pimpl.[Ch]:
631         * lyxfind.C:
632         * lyxtext.h:
633         * text3.C: remove toggleSelection()
634
635 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
636
637         * bufferlist.C: beautify two alerts (shorter text of buttons)
638         * buffer.C: Remove redundant ' ' from message
639         * tabular.h:
640         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
641         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
642         rename VALIGN_CENTER to VALIGN_MIDDLE
643
644 2003-08-11  André Pönitz  <poenitz@gmx.net>
645
646         * lyxtext.h (getPar):
647         * text.C: new function
648
649 2003-08-11  André Pönitz  <poenitz@gmx.net>
650
651         * Makefile.am:
652         * tracer.[Ch]: remove unneeded files
653
654         * InsetList.[Ch]: remove resizeInsetsLyXText()
655
656         * lyxtext.h:
657         * text.C:
658         * text2.C:
659         * text3.C: merge insertParagraphs() and appendParagraph()
660         remove breakAgain(), update()
661
662         * BufferView_pimpl.[Ch]:
663         * bufferview_funcs.[Ch]:
664         * lyxfunc.C:
665         * paragraph.[Ch]:
666         * rowpainter.C:
667         * tabular.C: adjust after text & InsetList changes.
668
669 2003-08-08  André Pönitz  <poenitz@gmx.net>
670
671         * text.C (insertChar, backspace): replace rowlist fiddling
672         with rebreak of full par
673
674         * lyxtext.h:
675         * text.C (breakAgainOneRow, redoHeightOfParagraph,
676         checkParagraph, updateInset): removed
677
678 2003-08-07  André Pönitz  <poenitz@gmx.net>
679
680         * paragraph.C:
681         * text3.C: merge some LFUN handlers, remove dead code
682
683 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
684
685         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
686
687 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
688
689         * text2.C (DEPM): fix part of bug 1255 and 1256
690
691 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
692
693         * BufferView_pimpl.C (workAreaDispatch): change to use
694         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
695         that are no mouse related.
696
697 2003-08-05  André Pönitz  <poenitz@gmx.net>
698
699         * BufferView.[Ch]:
700         * BufferView_pimpl.[Ch]:
701         * bufferview_funcs.C:
702         * text2.C:
703         * text3.C: rip out "deep update"
704
705         * textcursor.[Ch] (last_sel_cursor): remove unused member
706
707 2003-08-04  André Pönitz  <poenitz@gmx.net>
708
709         * BufferView.[Ch]:
710         * BufferView_pimpl.[Ch]:
711         * ParagraphParameters.C:
712         * bufferview_funcs.C:
713         * lyx_cb.C:
714         * lyxfind.C:
715         * lyxfunc.C:
716         * text.C:
717         * text2.C:
718         * text3.C: replace "complicated" BufferView::update(...) calls with
719         simpler ones.
720
721         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
722
723 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
724
725         * Makefile.am (lyx_SOURCES): add paper.h
726
727 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
728
729         * Makefile.am: move things around so that both lyx-qt and
730         lyx-xforms can be built (according to --with-frontend). Then lyx
731         is a symbolic link to lyx-[firstfrontend]
732
733 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
734
735         * Always use std::endl with lyxerr
736
737 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
738
739         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
740
741 2003-08-01  André Pönitz  <poenitz@gmx.net>
742
743         * BufferView.[Ch]:
744         * BufferView_pimpl.[Ch]:
745         * lyxfunc.C:
746         * text3.C: merge BufferView::repaint() and BufferView::update()
747
748 2003-08-01  José Matos  <jamatos@lyx.org>
749
750         * buffer.[Ch]: file_format is no longer a buffer data element.
751
752 2003-08-01  André Pönitz  <poenitz@gmx.net>
753
754         * BufferView.C:
755         * lyxtext.h:
756         * text.C:
757         * text2.C: make redoParagraph more independent of current cursor
758
759         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
760         * text.C:
761         * text2.C: remove unneeded members
762
763 2003-07-30  André Pönitz  <poenitz@gmx.net>
764
765         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
766
767         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
768           create a single function...
769
770         * paragraph_funcs.C (moveItem): ... here.
771
772         * text.C:
773           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
774
775 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
776
777         * LColor.[Ch]: Add comment and greyedout logical colors.
778
779 2003-07-30  André Pönitz  <poenitz@gmx.net>
780
781         * tabular.C: don't use Assert too heavily. This crashes where it
782           shouldn't
783
784 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
785
786         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
787         is disabled (bug 1232)
788
789 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
790
791         * factory.C: limited 'arg' scope
792
793 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
794
795         * factory.C: fixed Note submenu issues
796
797 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
798
799         * factory.C: submenu for Note/Comment/Greyedout
800
801 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
802
803         * lyx_main.C (LyX):
804         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
805
806 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
807
808         * LaTeXFeatures.C:
809         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
810         greyedout. Patch provided by Jürgen Spitzmüller.
811
812 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
813
814         * kbmap.C (read): fix error message when reading bind files
815
816 2003-07-29  Angus Leeming  <leeming@lyx.org>
817
818         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
819         certainly does not do what it purports to do. I am doing it, and
820         us, a favour by killing it.
821
822 2003-07-28  José Matos  <jamatos@lyx.org>
823
824         * buffer.C (readBody, do_writeFile):
825         * paragraph.C(readParagraph): \end_document replaces \the_end.
826
827 2003-07-29  André Pönitz  <poenitz@gmx.net>
828
829         * BufferView.[Ch]:
830         * BufferView_pimpl.[Ch]:
831         * lyxfunc.C:
832         * text2.C:
833         * text3.C:
834         * textcursor.[Ch]: remove toggleToggle & Co
835
836 2003-07-28  José Matos  <jamatos@fep.up.pt>
837
838         * buffer.C (readParagraph):
839         * params_func (readParToken, readParagraph):
840         * paragraph.C (write): \layout -> \begin_layout.
841
842 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
843
844         * lyxlex_pimpl.C (setFile): clean up slightly.
845
846         * bufferparams.h: add compressed var
847
848         * buffer_funcs.C (readFile): adjust for LyXLex change
849         (newFile): ditto + simplify
850
851         * buffer.C (writeFile): handle writing of compressed files
852
853         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
854         Check if the file is compressed and set a bufferparm if so.
855
856         * Makefile.am (lyx_LDADD): remove explicit -lz
857
858 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
859
860         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
861         makeDocBookFile): put the real LyX version in the first line of
862         the file
863
864         * version.h:
865         * version.C.in: remove lyx_docversion
866
867         * tabular.C (write_attribute): add a template-based version to
868         write enums properly
869
870 2003-07-28  André Pönitz  <poenitz@gmx.net>
871
872         * lyxtext.h:
873         * text.C:
874         * text2.C:
875         * text3.C: use doubles again for x-coordinates. They are needed.
876
877 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
878
879         * messages.C (getLocaleDir): use lyx_localedir()
880
881         * lyxlex_pimpl.C (setFile): compress stuff
882
883         * buffer.C (writeFile): add some compression stuff
884         (do_writeFile): new func, dont call expliti close... will this
885         breake anything?
886
887         * Makefile.am (lyx_LDADD): add -lz
888
889 2003-07-28  José Matos  <jamatos@fep.up.pt>
890
891         * buffer.C: increment file format.
892         * paragraph_funcs (readParagraph, readParToken):
893         * paragraph.C (readParagraph): add \end_layout.
894
895 2003-07-27  Angus Leeming  <leeming@lyx.org>
896
897         * Makefile.am: remove special casing for configure-time setting of
898         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
899
900         * lyx_main.C (init): remove all Jean-Marc's magic setting of
901         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
902
903 2003-07-26  André Pönitz  <poenitz@gmx.net>
904
905         * paragraph_func.[Ch]:
906         * paragraph.C (realizeFont): inline it whereever it is used
907
908         * rowpainter.C:
909         * text.C:
910         * text2.C:
911         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
912
913
914 2003-07-26  André Pönitz  <poenitz@gmx.net>
915
916         *       lyxtext.h:
917         * text.C:
918         * text2.C: get rid of LyXText::need_break_row
919
920 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
921
922         * toc.[Ch]: put namespace toc inside namespace lyx
923
924         * MenuBackend.C (expandToc2): adjust for lyx::toc
925         (expandToc): ditto
926
927         * lyxfunc.C (dispatch): adjust for lyx::find
928
929         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
930         lyx::find instead. Reorganize a bit.
931         (LyXReplace): rename to replace
932         (LyXFind): rename to find
933
934         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
935         (dispatch): ditto
936
937 2003-07-26  André Pönitz  <poenitz@gmx.net>
938
939         * text.C (setHeightOfRow): restrict scope of temporary variable
940
941         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
942           code (never has been used?)
943
944 2003-07-27  Asger Alstrup  <alstrup@local>
945
946         * text.C (fill): Optimise algorithm to exploit that we can reuse
947         the LyXFont for many characters.
948         (setHeightOfRow): Same thing.
949         (rowBreakPoint): Same thing.
950
951 2003-07-26  Asger Alstrup  <alstrup@local>
952
953         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
954
955         * text.C (singleWidth): Spurious font copying in hot-spot
956         singleWidth avoided. Reorder tests for arabic for efficiency.
957
958         * text.C (fill): handle empty paragraphs better.
959
960 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
961
962         * ispell.C:
963         * encoding.h: add includes
964
965         * lyxrc.C: remove reading of bind files
966
967         * lyx_main.C (init): setup bindings and menus only if we have a
968         gui.
969
970         * kbmap.C (read): new method. Do the actual reading of bind
971         files.
972
973         * converter.C (dvipdfm_options):
974         * bufferparams.C:
975         * lyxrc.C (read):
976         (output): adapt PAPER_* enums.
977
978         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
979
980         * bufferparams.h: remove paper-related enums from there
981
982         * paper.h: New file. A trivial header file to hold paper-related
983         enums. It should later expand to contain many paper-related
984         horrors access.
985
986         * lyxrc.C: declare extern displayTranslator
987
988 2003-07-27  José Matos  <jamatos@fep.up.pt>
989
990         * tabular.[Ch] (linuxdoc): add support for tables and figures
991         (linuxdoc).
992
993 2003-07-27  José Matos  <jamatos@fep.up.pt>
994
995         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
996         consistency in both functions.
997         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
998
999 2003-07-26  Asger Alstrup  <alstrup@local>
1000
1001         * rowpainter.C (paintRows): Change algorithm to work directly on
1002         the insets rather than asking every character in the document
1003         whether its an inset.
1004
1005 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
1006
1007         * buffer.C (openFileWrite): factorize some code
1008
1009 2003-07-26  Angus Leeming  <leeming@lyx.org>
1010
1011         * lyx_cb.C:
1012         * lyx_main.[Ch]: replace occurances of system_tempdir with
1013         os::getTmpDir().
1014
1015 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
1016
1017         * rename Inset to InsetOld
1018
1019 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
1020
1021         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
1022         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
1023         which I think is a bit clearer. EDIT is gone, since it was
1024         premature optimisation, and broken for mathed anyway.
1025         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
1026         with cursor positioning in insets as well (math insets still do not
1027         work, but that's a different story anyway.) It mysteriously
1028         crashes sometimes with undo in the first paragraph, but I'm fairly
1029         confident that this is a compiler bug.
1030
1031 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
1032
1033         * paragraph.C (Paragraph): adjust for new clone return type
1034         (operator==): ditto
1035         (copyIntoMinibuffer): ditto
1036
1037 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
1038
1039         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
1040         by not having a special case, and always doing a full rebreak of
1041         the document after undo.
1042
1043 2003-07-23  Angus Leeming  <leeming@lyx.org>
1044
1045         * factory.C (createInset): InsetExternal::setParams now takes a
1046         Buffer const * arg.
1047
1048 2003-07-23  Angus Leeming  <leeming@lyx.org>
1049
1050         * factory.C (createInset): changed interface to the external and
1051         graphics mailers' string2params functions.
1052
1053 2003-07-23  Angus Leeming  <leeming@lyx.org>
1054
1055         * factory.C (createInset): pass a
1056         Buffer const * parameter to InsetExternalMailer's string2params.
1057
1058 2003-07-22  John Levon  <levon@movementarian.org>
1059
1060         * Thesaurus.h: include the right aiksaurus header
1061
1062 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1063
1064         * MenuBackend.C (expand): check menu shortcuts unconditionally
1065
1066 2003-07-21  Angus Leeming  <leeming@lyx.org>
1067
1068         * factory.C (createInset): pass a
1069         buffer_path parameter to InsetGraphicsMailer's string2params.
1070
1071 2003-07-21  Angus Leeming  <leeming@lyx.org>
1072
1073         * BufferView_pimpl.C (buffer):
1074         * buffer.C (d-tor):
1075         * lyx_main.C (LyX):
1076         * lyxfunc.C (dispatch):
1077         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
1078         rather than the grfx shortcut.
1079
1080 2003-07-21  André Pönitz  <poenitz@gmx.net>
1081
1082         * rowpainter.C: remove unused variables
1083
1084         * tabular_funcs.C:
1085         * tabular_funcs.h: move to tabular.C
1086         * Makefile.am: adjust
1087
1088         * tabular.[Ch]: basic optical cleaning
1089
1090         * author.h: pass references, not values
1091
1092 2003-07-18  André Pönitz  <poenitz@gmx.net>
1093
1094         * lyxtext.h:
1095         * metricsinfo.C:
1096         * metricsinfo.h:
1097         * rowpainter.C:
1098         * text.C:
1099         * text2.C:
1100         * text3.C: two-phase drawing for InsetText and InsetTabular
1101         some float -> int changes.
1102
1103 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
1104
1105         * lyx_main.C: fix the fix
1106
1107 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
1108
1109         * lyx_main.C: fix a crash in batch mode if no files specified
1110         * converter.C: ws
1111
1112 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
1113
1114         * format.[Ch] (papersize): moved to BufferParams
1115         * converter.[Ch] (dvips_options): moved to BufferParams
1116         (dvipdfm_options): moved to anon namespace
1117         * bufferparams.[Ch]: added above functions.
1118
1119 2003-07-17  André Pönitz  <poenitz@gmx.net>
1120
1121         * lyxtext.h:
1122         * rowpainter.C:
1123         * text2.C: don't call inset->update() anymore
1124
1125         * metricsinfo.[Ch]: add convenience constructor
1126
1127 2003-07-16  André Pönitz  <poenitz@gmx.net>
1128
1129         * lyxcursor.[Ch]:
1130         * lyxfunc.[Ch]:
1131         * text.C:
1132         * text2.C: replace the LyXCursor::irow_ member with
1133          on-demand computation of the value
1134
1135 2003-07-16  John Levon  <levon@movementarian.org>
1136
1137         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
1138
1139 2003-07-15  André Pönitz  <poenitz@gmx.net>
1140
1141         * text.C:
1142         * text2.C: remove no more needed refresh_row
1143
1144 2003-07-15  André Pönitz  <poenitz@gmx.net>
1145
1146         * lyxtext.h:
1147         * rowpainter.C:
1148         * text2.C:
1149         * text3.C: refresh_status tristate -> need_update bool
1150
1151 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
1152
1153         * lyxtext.h (init): remove reinit argument (act as if always true)
1154         * text2.C: adjust to that
1155
1156 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1157
1158         * bufferview_funcs.[Ch]: introduce function replaceSelection()
1159         * text3.C: use it to delete selections in some cases
1160         (bugs 441, 673, 702, 954).
1161
1162 2003-07-14  André Pönitz  <poenitz@gmx.net>
1163
1164         * rowpainter.[Ch]: reduce interface
1165
1166 2003-07-14  André Pönitz  <poenitz@gmx.net>
1167
1168         * BufferView_pimpl.C:
1169         * text2.C: adjust after removing unused BufferView * argument
1170
1171 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
1172
1173         * text2.C (init): fix a crash fired on resize
1174
1175 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
1176
1177         * buffer.[Ch]: added new closing signal
1178         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
1179         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
1180         BufferView::Pimpl via the closing the signal
1181
1182 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
1183
1184         * buffer.[Ch]: take out all bv-related from buffer
1185         * BufferView.C:
1186         * BufferView_pimpl.[Ch]: connect to new signals
1187         * CutAndPaste.C: removed useless asserts
1188         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
1189         * lyxvc.[Ch]:
1190         * vc-backend.[Ch]:
1191         * lyxfunc.C: moved view-related funciontality from vc here
1192         * paragraph.C: removed outdated comments
1193         * text.C: ws
1194
1195 2003-07-10  André Pönitz  <poenitz@gmx.net>
1196
1197         * BufferView_pimpl.C:
1198         * tabular.h:
1199         * tabular_funcs.C:
1200         * text.C:
1201         * text2.C: remove InsetText::InnerCache, clean up consequences
1202
1203 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
1204
1205         * ispell.C: fix two typos in error messages
1206
1207 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
1208
1209         * Extend Note inset to other forms of annotation like Comment
1210         and Greyedout. Right button click gives dialog.
1211
1212         Files modified or added (+):
1213
1214         * insetnote.[Ch]
1215         * FormNote.[Ch]      +
1216         * ControlNote.[Ch]   +
1217         * form_note.fd       +
1218         * Makefile.am in frontends/xforms, frontends/xforms/forms,
1219         frontends/controllers
1220         * xforms/Dialogs.C
1221         * factory.C
1222
1223 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1224
1225         * aspell.C: add missing namespace lyx::support
1226
1227 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
1228
1229         * BufferView.[Ch] (newFile): Add
1230         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
1231         * LaTeX.[Ch] (message): added this signal and use it
1232         * buffer.[Ch] (busy, message): added these signals and use them
1233         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
1234         * converter.C:
1235         * exporter.C:
1236         * format.C:
1237         * importer.C: use buffer signals instead of direct bv calling
1238         * lyx_cb.[Ch] (ShowMessage): removed
1239         * lyx_main.C:
1240         * lyxfunc.C:
1241         * paragraph_funcs.C:
1242         * text2.C: use buffer signals
1243
1244 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
1245
1246         * introduce namespace lyx::graphics
1247
1248 2003-07-02  André Pönitz  <poenitz@gmx.net>
1249
1250         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
1251
1252 2003-07-01  André Pönitz  <poenitz@gmx.net>
1253
1254         * text.C:
1255         * text2.C:
1256         * text3.C:
1257         * text_funcs.[Ch]:
1258         * textcursor.h:
1259         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
1260           text*.C to text_func.C
1261
1262 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
1263
1264         * introduce namespace lyx::support
1265
1266 2003-06-30  André Pönitz  <poenitz@gmx.net>
1267
1268         * Chktex.C:
1269         * funcrequest.C:
1270         * lyxtext.h:
1271         * text.C: re-enable --with-included-string
1272
1273 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
1274
1275         * textcursor.C: add <config.h>
1276
1277         * text.C (getWord): remove const from word_location arg
1278
1279         * lyxvc.C (getLogFile): fix const type order
1280
1281         * lyxtext.h: remove const from word_location arg, add arg name
1282
1283         * lyxlayout.h: currect type on labeltype.
1284
1285         * importer.C: correct \file
1286
1287         * converter.C (intToFormat): use std:: on ret val, ws changes
1288
1289         * bufferlist.h: correct \file
1290
1291         * buffer.C (makeLinuxDocFile): fix const type order
1292         (makeDocBookFile): ditto
1293         (fillWithBibKeys): use std:: on stdlib args.
1294
1295         * CutAndPaste.C: fix authors.
1296         (availableSelections): use std:: on return vector
1297
1298 2003-06-27  André Pönitz  <poenitz@gmx.net>
1299
1300         * BufferView_pimpl.C:
1301         * bufferview_funcs.C:
1302         * lyxcursor.C:
1303         * lyxcursor.h:
1304         * lyxfunc.C:
1305         * lyxtext.h:
1306         * rowpainter.C:
1307         * text.C:
1308         * text2.C:
1309         * text3.C: remove LyXCursor::row_ member
1310
1311         * lyxtext.h:
1312         * text.C: rename fullRebreak() to partialRebreak() and implement
1313           a fullRebreak() that really bereks fully
1314
1315         * textcursor.h: new struct for cursor-related data
1316
1317 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
1318
1319         * lyx_main.C (LyX): get full path of document loaded on the
1320         command line
1321
1322 2003-06-26  André Pönitz  <poenitz@gmx.net>
1323
1324         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
1325           remove unused/broken operator>,<,>=.
1326
1327         *       text.C: remove only use of broken operator<= in an Assert().
1328
1329 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
1330
1331         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
1332         moved errorlist_.clear to showErrorList
1333
1334 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
1335
1336         * converter.C (scanLog, runLaTeX):
1337         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
1338         move the bv->showErrorList call to the callers
1339         * lyxfunc.C: i.e. here...
1340         * text2.C: and here
1341         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
1342         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
1343         namespace, the second to...
1344         * buffer_funcs (BufferFormat, parseErrors): added
1345         * errorlist.C (ErrorList(TeXErrors const &)): removed
1346
1347 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1348
1349         * ToolbarBackend.C (getIcon): complain when icon cannot be found
1350
1351 2003-06-24  "Garst R. Reese" <reese@isn.net>
1352
1353         * debug.C: fix typo
1354
1355 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1356
1357         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
1358
1359         * version.C.in: change docversion to 1.4
1360
1361 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
1362
1363         * buffer.C: fix a bug just introduced
1364
1365 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
1366
1367         * buffer.[Ch]: added the parseError signal and use it, removed
1368         sgmlError
1369         * BufferView.[Ch] (addError): moved to ...
1370         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
1371         to the Buffer::parseError signal to catch (guess what) parse errors
1372         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
1373
1374 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
1375
1376         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
1377         ability to create a buffer and to return an existing one from
1378         the list. Moved these functions to...
1379         * buffer_funcs.[Ch]: added
1380         * BufferView.[Ch] (loadLyXFile): added
1381         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
1382         job removed from bufferlist::loadLyXFile.
1383         * buffer.C (setReadOnly): make it work without view
1384         (i.e added an if (users))
1385
1386 2003-06-19  Angus Leeming  <leeming@lyx.org>
1387
1388         * lfuns.h:
1389         * LyXAction.C (init):
1390         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
1391         with LFUN_DIALOG_SHOW <name> <data>.
1392
1393 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1394
1395         * CutAndPaste.C (availableSelections): small compilation fix for
1396         ancient (gcc 2.9x) compilers
1397
1398 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
1399
1400         * text3.C (cursorNext): add tmp var
1401
1402         * text2.C (updateCounters): for function calling out of for clause
1403         (replaceSelectionWithString): ditto
1404         (insertStringAsParagraphs): ditto
1405         (getColumnNearX): add tmp var
1406         (setCursorFromCoordinates): add tmp var
1407         (cursorDownParagraph): add tmp var
1408         (deleteEmptyParagraphMechanism): add tmp var
1409
1410         * text.C (insertChar): add tmp var
1411
1412         * rowpainter.C (paintDepthBar): add tmp var
1413
1414         * CutAndPaste.C (availableSelections): potentially check all
1415         paragraphs in a cut to fill the shown strings.
1416
1417 2003-06-18  André Pönitz  <poenitz@gmx.net>
1418
1419         * kbmap.[Ch]: use vector<> instead of list<>
1420
1421 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
1422
1423         * text3.C (dispatch): handle arg to LFUN_PASTE, call
1424         pasteSelection with index
1425
1426         * text2.C (pasteSelection): modify, call pasteSelection with index
1427
1428         * paragraph.C (asString): reimplement version with no interval to
1429         call the one with interval.
1430
1431         * lyxtext.h: add index arg to pasteSelection
1432
1433         * MenuBackend.C (MenuItem): handle PasteRecent
1434         (Menu::read::Menutags): add md_pasterecent
1435         (read): handle it
1436         (expandPasteRecent): new function
1437         (expand): use it
1438
1439         * MenuBackend.h: add PasteRecent to MenuItem::Kind
1440
1441         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
1442         the limited stack
1443         (availableSelections): new function
1444
1445 2003-06-17  Angus Leeming  <leeming@lyx.org>
1446
1447         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
1448
1449 2003-06-17  Angus Leeming  <leeming@lyx.org>
1450
1451         * lfuns.h:
1452         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
1453
1454         * lyxfunc.C (dispatch): invoke it.
1455
1456 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1457
1458         * iterators.C (operator++, ParPosition): reintroduce some
1459         const_cast for the benefit of older compilers.
1460
1461 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1462
1463         * text3.C (dispatch): do not modify clipboard when doing
1464         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
1465         LFUN_DELETE_SKIP on a selection selection
1466
1467 2003-06-16  André Pönitz  <poenitz@gmx.net>
1468
1469         * BufferView.C:
1470         * buffer.C:
1471         * buffer.h:
1472         * paragraph.C:
1473         * tabular.[Ch]: IU of clone() and getLabelList();
1474
1475 2003-06-13  André Pönitz  <poenitz@gmx.net>
1476
1477         * tabular.h: compactification
1478
1479 2003-06-12  André Pönitz  <poenitz@gmx.net>
1480
1481         * tabular.C:
1482         * tabular.h:
1483         * tabular_funcs.h: some renaming plus whitespace
1484
1485 2003-06-12  André Pönitz  <poenitz@gmx.net>
1486
1487         * BufferView.C:
1488         * BufferView_pimpl.C:
1489         * CutAndPaste.C:
1490         * buffer.C:
1491         * iterators.[Ch]:
1492         * lyxfunc.C:
1493         * text.C:
1494         * toc.C: Return a Paragraph & for ParIterator::operator*()
1495
1496 2003-06-11  John Levon  <levon@movementarian.org>
1497
1498         * lyx_main.C:
1499         * ToolbarBackend.h:
1500         * ToolbarBackend.C: add "Toolbars" section and
1501         put the flags there
1502
1503 2003-06-10  Angus Leeming  <leeming@lyx.org>
1504
1505         * lfuns.h:
1506         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
1507
1508         * lyxfunc.C (dispatch): invoke it.
1509
1510 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
1511
1512         * main.C: protect <ios> with HAVE_IOS
1513         (main): protect sync_with_stdio with HAVE_IOS
1514
1515 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
1516
1517         * text2.C (cutSelection): adjust
1518         (pasteSelection): adjust
1519
1520         * messages.C: handle get of empty string
1521
1522         * main.C (main): use sync_with_stdio(false)
1523
1524         * lyxfunc.C (dispatch): adjust
1525
1526         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
1527         (WriteAs): remove unneeded BufferView arg.
1528
1529         * bufferparams.h: use correct types on papersize, papersize2 and
1530         paperpackage.
1531
1532         * bufferparams.C (readToken): adjust for type
1533         (writeLaTeX): add missing cases to switch.
1534
1535         * bufferlist.C (quitWriteBuffer): adjust
1536         (close): adjust
1537
1538         * buffer.C (asciiParagraph): remove some commented code.
1539
1540         * CutAndPaste.C: remove current_view extern variable.
1541         (cutSelection): add BufferParams arg.
1542         (eraseSelection): add BufferParams arg.
1543         (pasteSelection): add Buffer const & arg
1544
1545 2003-06-07  John Levon  <levon@movementarian.org>
1546
1547         * buffer.C:
1548         * paragraph_funcs.C:
1549         * paragraph_pimpl.C:
1550         * text.C:
1551         * text2.C:
1552         * paragraph.h:
1553         * paragraph.C: allow InsetERT to freely space lines,
1554         and some consolidation of code
1555
1556 2003-06-06  José Matos  <jamatos@fep.up.pt>
1557
1558         * buffer.C (makeDocBookFile): fix bug #821
1559
1560 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
1561
1562         * BufferView_pimpl.C (dispatch): use Dialogs::visible
1563
1564 2003-06-04  Angus Leeming  <leeming@lyx.org>
1565
1566         * buffer.C: bump format to 224.
1567
1568 2003-06-05  André Pönitz  <poenitz@gmx.net>
1569
1570         * text2.C (redoParagraphs): remove two const_cast<>
1571
1572 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
1573
1574         * ParagraphList.h: remove last remnants of NO_STD_LIST
1575
1576 2003-06-03  Angus Leeming  <leeming@lyx.org>
1577
1578         * factory.C (createInset): small change to the way InsetExternal's params
1579         are set.
1580
1581 2003-06-04  André Pönitz  <poenitz@gmx.net>
1582
1583         * buffer.h: use Undo directly instead of shared_ptr<Undo>
1584
1585         * paragraph_pimpl.h:
1586         * paragraph.[Ch]: some Inset -> UpdatableInset changes
1587
1588         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
1589
1590         * undo_funcs.C: make some simple cases of undo work again
1591
1592 2003-06-03  John Levon  <levon@movementarian.org>
1593
1594         * ispell.C: HPUX doesn't have sys/select.h
1595         (from Albert Chin)
1596
1597 2003-06-03  John Levon  <levon@movementarian.org>
1598
1599         * CutAndPaste.C: update tabular and include inset
1600         buffer references
1601
1602         * buffer.h:
1603         * paragraph.h:
1604         * paragraph.C: remove owningBuffer(), don't pass Buffer
1605         to clone()
1606
1607         * factory.C: insetGraphicsParams changed
1608
1609 2003-06-02  John Levon  <levon@movementarian.org>
1610
1611         * LyXAction.C:
1612         * factory.C:
1613         * lfuns.h:
1614         * lyxfunc.C:
1615         * text3.C: remove insetparent
1616
1617 2003-06-02  John Levon  <levon@movementarian.org>
1618
1619         * buffer.h:
1620         * buffer.C: fix inset_iterator.end(), move out of line
1621         (bug 1149)
1622
1623 2003-06-01  John Levon  <levon@movementarian.org>
1624
1625         * text3.C: use a proper cut/paste when doing inset
1626         insert (from Jürgen Spitzmüller)
1627
1628 2003-06-01  John Levon  <levon@movementarian.org>
1629
1630         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
1631
1632 2003-05-30  André Pönitz  <poenitz@gmx.net>
1633
1634         * rowpainter.C: unify second drawing phase
1635
1636 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
1637
1638         * trans_mgr.C: remove one case of current_view
1639
1640         * text2.C (cursorBottom): delete NO_STD_LIST stuff
1641
1642         * paragraph_funcs.h: remove paragraph.h include
1643
1644         * paragraph.h: delete NO_STD_LIST stuff
1645
1646         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
1647
1648         * buffer.h: remove paragraph.h include
1649
1650         * ParagraphList.C: delete file
1651
1652         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
1653
1654         * toc.C (getTocList): adjust
1655
1656         * paragraph_pimpl.C (validate): adjust
1657
1658         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
1659
1660         * paragraph.C (Paragraph): adjust
1661         (getPositionOfInset): use const_iterator, adjust
1662         (bibitem): use const_iterator, adjust
1663         (setInsetOwner): adjust
1664
1665         * iterators.C (operator++): adjust
1666
1667         * InsetList.[Ch]: Replace selfmade iterator with standard
1668         vector::iterator also introduce const_iterator. Remove getPos,
1669         getInset and setInset from InsetTable. Adjust accordingly.
1670
1671         * BufferView.C (lockInset): adjust
1672         (ChangeInsets): adjust
1673
1674         * tabular.[Ch]: delete commented same_id functions
1675
1676 2003-05-28  John Levon  <levon@movementarian.org>
1677
1678         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
1679
1680 2003-05-28  André Pönitz  <poenitz@gmx.net>
1681
1682         * metricsinfo.[Ch]: remove 'fullredraw' member
1683
1684 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
1685
1686         * lyxtextclass.C (operator): remove caching.
1687
1688 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
1689
1690         * text3.C: adjust
1691
1692         * text2.C (cursorBottom): adjust
1693         (setCounter): use ParagraphList::find, adjust
1694
1695         * text.C (workWidth): use ParagraphList::find, adjust
1696
1697         * lyxcursor.C (LyXCursor): adjust
1698
1699         * buffer.C (inset_iterator): adjust
1700
1701         * ParagraphList.h: make iterator(value_type) private, make
1702         ParagraphList a friend of iterator.
1703
1704         * ParagraphList.C (find): new function
1705
1706         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
1707
1708 2003-05-27  André Pönitz  <poenitz@gmx.net>
1709
1710         * dimension.[Ch]: a -> asc, d -> des, w -> wid
1711
1712 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1713
1714         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
1715
1716 2003-05-26  John Levon  <levon@movementarian.org>
1717
1718         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
1719
1720 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
1721
1722         * remove same_id from function signatures, adjust.
1723
1724 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
1725
1726         * undo_funcs.C (createUndo): use the id functions directly, adjust.
1727
1728         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
1729
1730         * paragraph.C (Paragraph): get rid of same_ids parameter
1731
1732         * ParagraphList.C (insert): adjust
1733         (push_back): adjust
1734
1735 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
1736
1737         * paragraph_funcs.C (breakParagraph): adjust
1738         (breakParagraphConservative): adjust
1739
1740         * buffer.C (readParagraph): adjust
1741
1742         * ParagraphList.C (insert): take a reference instead of a pointer
1743         (insert): adjust
1744
1745         * paragraph.[Ch] (id): new function
1746
1747         * bufferlist.C (newFile): adjust
1748
1749         * ParagraphList.C (ParagraphList): adjust
1750         (assign): adjust
1751         (push_back): take a reference instead of a pointer.
1752
1753         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
1754
1755         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
1756         instead.
1757
1758         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
1759         set else use old code.
1760
1761         * ParagraphList.C: remove all NO_NEXT code and only compile this
1762         code of NO_STD_LIST is set.
1763
1764 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
1765
1766         * BufferView_pimpl.C:
1767         * TextCache.C:
1768         * TextCache.h:
1769         * bufferlist.C:
1770         * errorlist.h:
1771         * format.C:
1772         * format.h:
1773         * graph.C:
1774         * lyxfunc.C:
1775         * lyxrc.C:
1776         * graphics/GraphicsConverter.C:
1777         * graphics/PreviewLoader.C: header adjustment
1778
1779 2003-05-23  Angus Leeming  <leeming@lyx.org>
1780
1781         * LaTeXFeatures.[Ch] (useBabel): new method.
1782         * bufferparams.C (writeLaTeX): use it.
1783
1784 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
1785
1786         * ParagraphList.h (set): remove unused function.
1787
1788 2003-05-23  André Pönitz  <poenitz@gmx.net>
1789
1790         * BufferView.C:
1791         * BufferView_pimpl.C:
1792         * buffer.C:
1793         * buffer.h:
1794         * lyxfunc.C:
1795         * undo_funcs.C: setUndo reworked
1796
1797         * iterators.[Ch]: add access to topmost ParagraphList
1798
1799         * lyxtext.[Ch] (workWidth): add a const
1800
1801 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
1802
1803         * texrow.[Ch] (increasePos): remove function
1804         * exporter.C (export): removed unused var and outdated comment
1805
1806 2003-05-23  Angus Leeming  <leeming@lyx.org>
1807
1808         * latexrunparams.h: rename fragile as moving_arg.
1809         * paragraph.C (simpleTeXOnePar): ditto.
1810         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
1811
1812 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
1813
1814         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
1815         (createUndo): ditto
1816         (textUndoOrRedo): comment out a currently unused var.
1817
1818         * paragraph.h (NO_NEXT): enable NO_NEXT
1819
1820         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
1821
1822         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
1823
1824         * exporter.C (Export): adjust for removeAutoInsets removal.
1825
1826         * buffer.C (runChktex): adjust for removeAutoInsets removal.
1827
1828         * LyXAction.C (init): remove LFUN_REMOVEERRORS
1829
1830         * BufferView.[Ch] (removeAutoInsets): delete function
1831
1832 2003-05-22  Angus Leeming  <leeming@lyx.org>
1833
1834         * latexrunparams.h: add a free_spacing variable.
1835
1836         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
1837         to pass moving_arg, as the data is stored in runparams.fragile.
1838
1839         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
1840         to Inset::latexOptional or to simpleTeXOnePar.
1841
1842         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
1843         free_spacing arg to Inset::latexOptional.
1844
1845         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
1846         free_spacing arg.
1847
1848 2003-05-22  Angus Leeming  <leeming@lyx.org>
1849
1850         * latexrunparams.h: add fragile and use_babel variables.
1851
1852         * bufferparams.[Ch] (writeLaTeX): return use_babel.
1853         * buffer.C (makeLaTeXFile): store this returned value in
1854         runparams.use_babel, thus passing it to the inset::latex methods.
1855
1856         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
1857         simpleTeXSpecialChars as it is now stored in runparams.fragile.
1858
1859         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
1860         longer has a fragile arg, as it is stored in runparams.fragile.
1861
1862         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
1863         moving_arg parameter as the data is stored in runparams.fragile.
1864
1865         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
1866         a fragile parameter as the data is stored in runparams.fragile.
1867
1868 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
1869
1870         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
1871
1872 2003-05-22  Angus Leeming  <leeming@lyx.org>
1873
1874         * latexrunparams.h: add a 'bool nice' which defaults to false.
1875
1876         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
1877         now encapsulated within runparams.
1878
1879         * bufferlist.C (updateIncludedTeXfiles):
1880         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
1881
1882 2003-05-22  Angus Leeming  <leeming@lyx.org>
1883
1884         * latexrunparams.h: new file containing struct LatexRunParams.
1885         * Makefile.am: add new file.
1886
1887         * LaTeX.[Ch] (c-tor, run):
1888         * buffer.[Ch] (makeLaTeXFile):
1889         * bufferlist.[Ch] (updateIncludedTeXfiles):
1890         * converter.C (convert, scanLog):
1891         * converter.[Ch] (runLaTeX):
1892         * exporter.C (Export):
1893         * paragraph.[Ch] (simpleTeXOnePar):
1894         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
1895         * paragraph_funcs.[Ch] (latexParagraphs):
1896         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
1897         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
1898         pass around a LatexRunParams parameter.
1899
1900 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
1901
1902         * paragraph.[Ch]: remove unused constructor
1903
1904         * ParagraphList.C (erase): new function, taking two iterators
1905
1906 2003-05-22  André Pönitz  <poenitz@gmx.net>
1907
1908         * undo_funcs.C: remove duplicated code
1909
1910         * iterator.[Ch]: operator=
1911
1912 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
1913
1914         * tabular.C (SetMultiColumn): ws changes
1915
1916         * rowpainter.C (paintFirst): get rid of a ->previous
1917
1918         * lyx_cb.C (getPossibleLabel): parlist simplification
1919
1920         * BufferView.C (ChangeInsets): simplify slightly.
1921
1922 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1923
1924         * LyXAction.C: new lfun space-insert, kill protected-space-insert
1925         * lfuns.h: new LFUN_SPACE
1926         * lyxfunc.C: protected space has a new lfun
1927         * paragraph_funcs.C: read new space insets
1928         * text3.C:
1929         * factory.C: handle new space insets
1930
1931 2003-05-22  André Pönitz  <poenitz@gmx.net>
1932
1933         * BufferView.C:
1934         * BufferView_pimpl.C:
1935         * buffer.[Ch]:
1936         * lyxfunc.C:
1937         * undo_funcs.C: return a ParIterator from getParFromID.
1938
1939         * iterators.[Ch]: add two const's
1940
1941 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
1942
1943         * toc.C (getTocList): adjust
1944
1945         * iterators.[Ch]: rework for parlist
1946
1947         * buffer.C (par_iterator_begin): adjust
1948         (par_iterator_end): adjust
1949
1950         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
1951
1952         * BufferView.C (removeAutoInsets): adjust
1953         (ChangeInsets): adjust
1954
1955 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
1956
1957         * text.C (top_y): fix bug 1110
1958
1959 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
1960
1961         * errorlist.[Ch]: added
1962         * buffer.C:
1963         * BufferView.[Ch]:
1964         * BufferView_pimpl.C:
1965         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
1966         instead
1967
1968 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
1969
1970         * Makefile.am: ensure that lyx is relinked upon changes to the
1971         various "convenience" libs.
1972
1973 2003-05-20  Angus Leeming  <leeming@lyx.org>
1974
1975         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
1976         files are compiled in alphabetical order again.
1977
1978         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
1979
1980 2003-05-19  Angus Leeming  <leeming@lyx.org>
1981
1982         * gettext.[Ch]: remove "char const * _(char const *)".
1983
1984 2003-05-19  André Pönitz  <poenitz@gmx.net>
1985
1986         * dimension.[Ch]: promote from mathed/dimension.[Ch]
1987
1988         * Makefile.am:
1989         * BufferView.C:
1990         * DepTable.h:
1991         * LaTeXFeatures.C:
1992         * buffer.C:
1993         * lyxfont.C:
1994         * lyxlex.h:
1995         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
1996
1997 2003-05-19  André Pönitz  <poenitz@gmx.net>
1998
1999         * buffer.C:
2000         * lyxlayout.[Ch]:
2001         * lyxtextclass.[Ch]:
2002         * paragraph.C:
2003         * paragraph_funcs.[Ch]:
2004         * text2.C:
2005         * text3.C: more insetenv work
2006
2007 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
2008
2009         * ParagraphParameters.C (params2string): small bug fixed
2010
2011 2003-05-16  André Pönitz  <poenitz@gmx.net>
2012
2013         * debug.C:
2014         * bufferview_funcs.C: patch from Kornel Benko to prevent
2015           crash when _(...) is called twice in a statement
2016
2017 2003-05-16  André Pönitz  <poenitz@gmx.net>
2018
2019         * BufferView.C:
2020         * lyxfunc.C:
2021         * text.C:
2022         * text2.C:
2023         * text3.C:
2024         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
2025
2026 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
2027
2028         * lyx_main.C (init): remove spurious static_cast
2029
2030 2003-05-14  André Pönitz  <poenitz@gmx.net>
2031
2032         * BufferView.C: fix format string
2033
2034 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
2035
2036         * BufferView.[Ch] (insertErrors): removed
2037         * BufferView.[Ch] (showErrorList): added
2038         * buffer.C (runChkTeX):
2039         * converter.C (scanLog): call showErrorList instead of inserterrors
2040
2041 2003-05-13  André Pönitz  <poenitz@gmx.net>
2042
2043         * BufferView_pimpl.C:
2044         * buffer.C:
2045         * bufferview_func.C:
2046         * MenuBackend.C:
2047         * lyxfunc.C:
2048         * lyxrc.C:
2049         * tex-accent.C:
2050         * text3.C:
2051         * toc.C:
2052         * tabular_funcs.h: tostr() from its own header
2053
2054         * ParagraphParameters.C:
2055         * ToolbarBackend.C:
2056         * bufferparams.C:
2057         * format.C:
2058         * lyxlex_pimpl.C:
2059         * text3.C: STRCONV()
2060
2061 2003-05-12  André Pönitz  <poenitz@gmx.net>
2062
2063         * BufferView.C:
2064         * BufferView_pimpl.C:
2065         * CutAndPaste.C:
2066         * LaTeX.C:
2067         * LaTeXFeatures.C:
2068         * ParagraphParameters.C:
2069         * buffer.C:
2070         * bufferlist.C:
2071         * bufferparams.C:
2072         * bufferview_funcs.C:
2073         * converter.C:
2074         * counters.C:
2075         * debug.C:
2076         * exporter.C:
2077         * format.C:
2078         * importer.C:
2079         * lyx_cb.C:
2080         * lyx_main.C:
2081         * lyxfont.C:
2082         * lyxfunc.C:
2083         * lyxvc.C:
2084         * paragraph.C:
2085         * paragraph_funcs.C:
2086         * tabular.C:
2087         * tabular_funcs.C:
2088         * text2.C:
2089         * text3.C:  boost::format -> bformat  all over the place
2090
2091
2092 2003-05-09  André Pönitz  <poenitz@gmx.net>
2093
2094         * LColor.[Ch]: Pimpl the #include <map> away
2095
2096 2003-05-09  John Levon  <levon@movementarian.org>
2097
2098         * bufferlist.C: never remove emergency saves
2099
2100 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
2101
2102         * Makefile.am: better lib building
2103
2104 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
2105
2106         * texrow.[Ch]: remove dependency on Paragraph and just store a id
2107         instead.
2108         * paragraph_pimpl.C (simpleTeXBlanks): adjust
2109         (simpleTeXSpecialChars): adjust
2110         (simpleTeXSpecialChars): adjust
2111         * paragraph.C (simpleTeXOnePar): adjust
2112         * buffer.C (makeLaTeXFile): adjust
2113
2114         * Makefile.am (BOOST_LIBS): allow boost as system lib.
2115
2116         * text2.C (changeDepth): parlist cleanup
2117         (getColumnNearX): ditto
2118
2119         * rowpainter.C (getLabelFont): parlist cleanup
2120
2121         * bufferlist.C (newFile): parlist cleanup
2122
2123         * CutAndPaste.C (eraseSelection): parlist cleanup
2124
2125         * BufferView_pimpl.C (trackChanges): parlist cleanup
2126         (dispatch): ditto
2127
2128         * BufferView.C (lockInset): parlist cleanup.
2129         (ChangeInsets): ditto
2130
2131 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
2132
2133         * CutAndPaste.h: Update file header.
2134
2135         * CutAndPaste.C: Update file header.
2136         Store the parts cut out of the Document in a limited_stack.
2137         (copySelection): adjust
2138         (pasteSelection): new function, takes the index in the limited stack.
2139         (nrOfParagraphs): adjust
2140         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
2141         simplify error inset insertion.
2142         (checkPastePossible): adjust
2143
2144 2003-05-06  John Levon  <levon@movementarian.org>
2145
2146         * text2.C: don't cast wrap inset to float
2147
2148 2003-05-05  André Pönitz  <poenitz@gmx.net>
2149
2150         * iterator.C:
2151         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
2152
2153         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
2154           few naked Paragraph *.
2155
2156 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
2157
2158         * bufferparams.C: Output warning if a document with missing
2159         TeX document class is loaded
2160         * exporter.C: Disable TeX exports if the document class is missing
2161         * lyxtextclass.C:
2162         * lyxtextclass.h:
2163         * lyxtextclasslist.C: Handle new textclass.lst format; new method
2164         isTeXClassAvailable()
2165
2166 2003-05-03  John Levon  <levon@movementarian.org>
2167
2168         * BufferView.h:
2169         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
2170         explicit cursor show/hide
2171
2172         * BufferView_pimpl.h:
2173         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
2174         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
2175
2176         * lyxfunc.C: hide cursor before dispatching.
2177
2178         * lyx_cb.C:
2179         * lyxfind.C:
2180         * text.C:
2181         * text3.C: remove explicit cursor hides
2182
2183 2003-05-02  André Pönitz  <poenitz@gmx.net>
2184
2185         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
2186
2187         * undo_funcs.C:
2188         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
2189           linked lists
2190
2191         * text2.C: tiny whitespace
2192
2193 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
2194
2195         * undo_funcs.C: almost only ws changes.
2196
2197         * ParagraphList.C (splice): just return if pl is empty.
2198
2199 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
2200
2201         * ParagraphList.C (splice): new function.
2202
2203         * CutAndPaste.C (pasteSelection): use it
2204
2205 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2206
2207         * CutAndPaste.C (pasteSelection): remove the last next and
2208         previous from this file.
2209
2210 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2211
2212         * CutAndPaste.C (pasteSelection): more clean up, user proper
2213         ParagraphList functions for pasteing.
2214
2215         * ParagraphList.C (insert): new function, three arg insert
2216
2217 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2218
2219         * ParagraphList.C (insert): new function, three arg insert
2220
2221         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
2222         not on paragraphs.
2223
2224 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2225
2226         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
2227
2228 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2229
2230         * CutAndPaste.C (pasteSelection): remove some unneeded code.
2231
2232 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2233
2234         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
2235         (copySelection): clean up a bit.
2236         (pasteSelection): use make_pair
2237
2238         * ParagraphList.C (ParagraphList): implement copy constructor
2239         (operator=): implement, base on copy constructor.
2240         (assign): new func
2241
2242         * paragraph.C (erase): return a bool
2243
2244         * paragraph_pimpl.C (erasePos): remove function, move contents...
2245         (erase): ... here. Return a bool.
2246         (erase): call erase instead of erasePos.
2247
2248 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
2249
2250         * ParagraphList.h: define PitPosPair
2251         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
2252         ParagraphList, fix a bug on pasting multiple pars
2253         * text2.C: change interface to C&P
2254
2255 2003-04-30  André Pönitz  <poenitz@gmx.net>
2256
2257         * undo_func.C: revert part of yesterday's patch 2
2258
2259 2003-04-30  John Levon  <levon@movementarian.org>
2260
2261         * LColor.C: s/tabular/table/
2262
2263 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
2264
2265         * text3.C (dispatch): do not convert iterator -> pointer
2266         * undo_funcs.C (setCursorParUndo): ditto
2267         * text_funcs.C (transposeChars): ditto
2268
2269         * text2.C (setLayout): ws changes only
2270
2271         * text.C (breakParagraph): do not convert iterator -> pointer
2272         (insertChar): ditto
2273         (acceptChange): ditto
2274         (rejectChange): ditto
2275         (changeCase): ditto
2276         (Delete): ditto
2277         (backspace): ditto
2278
2279         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
2280         pointer
2281
2282 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
2283
2284         * text3.C (gotoInset): YABG (yet another bad getChar)
2285
2286 2003-04-29  André Pönitz  <poenitz@gmx.net>
2287
2288         * paragraph.h: make operator= private unimplemented as long as
2289           it is unusable
2290
2291         * ParagraphList.C: whitespace
2292
2293         * paragraph.[Ch]:
2294         * paragraph_pimpl.[Ch]:
2295         * paragraph_funcs.C:
2296         * CutAndPaste.C:
2297         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
2298
2299         * text2.C:
2300           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
2301
2302 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
2303
2304         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
2305         * paragraph.[Ch] (erase):
2306         * paragraph_pimpl.[Ch] (erase): change return type and value
2307         * text2.C (cutSelection): some rework
2308
2309 2003-04-28  John Levon  <levon@movementarian.org>
2310
2311         * bufferlist.C: changes for unsaved changes dialog
2312
2313 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2314
2315         * bufferlist.C (newFile): set language (messages_) for new
2316         documents also.
2317
2318         * buffer.C (readFile): ws changes only.
2319
2320 2003-04-28  André Pönitz  <poenitz@gmx.net>
2321
2322         * undo_funcs.C:
2323         * lyxfunc.C:
2324         * buffer.[Ch]:
2325         * BufferView_pimpl.C:
2326         * BufferView.C: getParFromID related ParagraphList::iterator changes
2327
2328 2003-04-28  André Pönitz  <poenitz@gmx.net>
2329
2330         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
2331           Changes
2332
2333 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2334
2335         * messages.C: remove one more localedir class variable.
2336
2337 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2338
2339         * messages.C (getLocaleDir): singleton generation function
2340         (Pimpl): use it.
2341         (Messages): add a default constructor.
2342
2343         * main.C (main): do not setup localedir here, do not call
2344         gettext_init.
2345
2346         * gettext.C (_): use it.
2347         (gettext_init): delete funciton
2348
2349 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
2350
2351         * gettext.C (getLyXMessages): new singleton generating function.
2352
2353         * buffer.C (updateDocLang): adjust
2354
2355         * Makefile.am (messages.o): add target
2356         (main.o): remove target
2357
2358 2003-04-27  John Levon  <levon@movementarian.org>
2359
2360         * bufferlist.C:
2361         * lyx_cb.C:
2362         * lyxfunc.C:
2363         * lyxvc.C: specify cancel button in Alert::prompt
2364
2365 2003-04-26  John Levon  <levon@movementarian.org>
2366
2367         * text3.C:
2368         * lyxfunc.C:
2369         * lfuns.h:
2370         * LyXAction.C: add LFUN_INSET_SETTINGS
2371
2372         * lyxfunc.C: don't enable tabular-feature when there's
2373         just any locking inset
2374
2375 2003-04-26  John Levon  <levon@movementarian.org>
2376
2377         * bufferlist.C: re-add Cancel to buffer close question
2378
2379         * lyxfunc.C: fix import UI a bit
2380
2381 2003-04-25  John Levon  <levon@movementarian.org>
2382
2383         * gettext.C: remove the broken asserts for now
2384
2385 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2386
2387         * messages.C: make case where setlocale cannot comply work better.
2388
2389         * buffer.C (updateDocLang): new function
2390         (changeLanguage): use it
2391         (readFile): use it
2392
2393         * text2.C (setCounter): use B_ a bit.
2394
2395         * lyxlayout.C (Read): be sure to trim the label strings.
2396
2397         * messages.C (Messages): fix typo in comment
2398
2399         * buffer.C (readFile): set message_ after file is loaded.
2400         (makeDocBookFile): remove double return
2401         (changeLanguage): reset message_ upon language change.
2402         (B_): new func, use this to get translated buffer strings.
2403
2404         * main.C: add myself and Jean Marc as authors.
2405
2406 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
2407
2408         * messages.[hC]: pimplify Messages, and three different pimpls to be
2409         used in different circumstances.
2410
2411         * gettext.[Ch]: change for use with new message code.
2412
2413 2003-04-24 André Pönitz <poenitz@gmx.net>
2414
2415         * factory.C: support for eqref
2416
2417 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
2418
2419         * messages.[Ch]: add missing char
2420
2421         * Makefile.am (lyx_SOURCES): add messages.[Ch]
2422
2423         * messages.[Ch]: New files
2424
2425 2003-04-18  John Levon  <levon@movementarian.org>
2426
2427         * BufferView.h:
2428         * BufferView.C:
2429         * BufferView_pimpl.C:
2430         * lfuns.h:
2431         * LyXAction.C:
2432         * lyxtext.h:
2433         * text2.C: remove layout-copy/paste (bug 778)
2434
2435 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
2436
2437         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
2438
2439 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
2440
2441         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
2442         if they succeed. Act accordingly.
2443
2444 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2445
2446         * text2.C (setCharFont): adjust
2447         (setCounter): adjust
2448         (insertStringAsLines): adjust
2449
2450         * text.C (leftMargin): adjust
2451         (setHeightOfRow): adjust
2452
2453         * rowpainter.C (paintFirst): adjust
2454         (paintLast): adjust
2455
2456         * paragraph_funcs.C (depthHook): ParagraphList::iterators
2457         (outerHook): ditto
2458         (isFirstInSequence): ditto
2459         (getEndLabel): ditto
2460         (outerFont): adjust
2461
2462         * paragraph.C (getParLanguage): comment out some hard stuff.
2463
2464         * buffer.C (insertStringAsLines): take a ParagraphList as arg
2465         (sgmlError): ditto
2466         (simpleDocBookOnePar): ditto
2467         (makeDocBookFile): use ParagraphList::iterator
2468
2469         * CutAndPaste.C (pasteSelection): adjust
2470
2471 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2472
2473         * text2.C (getFont): adjust
2474         (getLayoutFont): adjust
2475         (getLabelFont): adjust
2476
2477         * paragraph_funcs.C (TeXOnePar): adjust
2478
2479         * buffer.C (simpleLinuxDocOnePar): adjust
2480         (simpleDocBookOnePar): adjust
2481
2482         * CutAndPaste.C (pasteSelection): adjust
2483
2484         * BufferView.C (getEncoding): adjust
2485
2486         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
2487
2488 2003-04-16  John Levon  <levon@movementarian.org>
2489
2490         * lyxfind.C: use parlist stuff for search/changes
2491
2492 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2493
2494         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
2495
2496         * text2.C (deleteEmptyParagraphMechanism): adjust
2497
2498         * text2.[Ch] (ownerParagraph): delete func (both of them
2499
2500 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
2501
2502         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
2503
2504 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
2505
2506         * ParagraphList.C: prepare for NO_NEXT
2507
2508 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
2509
2510         * text2.C (getFont): adjust
2511         (getLayoutFont): adjust
2512         (getLabelFont): adjust
2513
2514         * paragraph.C (getFont): adjust
2515         (getLabelFont): adjust
2516         (getLayoutFont): adjust
2517
2518         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
2519
2520 2003-04-15  John Levon  <levon@movementarian.org>
2521
2522         From Angus Leeming
2523
2524         * lyx_main.C: handle Include in .ui files
2525
2526 2003-04-15  John Levon  <levon@movementarian.org>
2527
2528         * MenuBackend.C: make the doc files length shorter
2529
2530         * ToolbarBackend.h:
2531         * ToolbarBackend.C: handle toolbar placement flags,
2532         Minibuffer
2533
2534 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
2535
2536         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
2537         adjust
2538
2539         * paragraph_funcs.C (TeXOnePar): adjust
2540
2541         * paragraph.C (getLabelFont): add outerfont arg, adjust
2542         (getLayoutFont): ditto
2543         (simpleTeXOnePar): adjust
2544
2545         * paragraph_pimpl.C (realizeFont): delete func
2546
2547 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
2548
2549         * text2.C (beforeFullRowInset): added a bad getchar check, removed
2550         row argument, constify cur argument.
2551
2552 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
2553
2554         * text2.C (getFont): adjust
2555         (getLayoutFont): adjust
2556         (getLabelFont): adjust
2557
2558         * paragraph_funcs.C (TeXOnePar): adjust
2559         (outerFont): new func...
2560         (realizeFont): ...moved out from here, changed this to facilitate
2561         transition
2562
2563         * paragraph.C (getFont): take outerfont as arg, adjust
2564         (simpleTeXOnePar): add outerfont arg, adjust
2565
2566         * buffer.C (simpleLinuxDocOnePar): adjust
2567         (simpleDocBookOnePar): adjust
2568
2569         * CutAndPaste.C (pasteSelection): adjust
2570
2571         * BufferView.C (getEncoding): adjust
2572
2573 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
2574
2575         * text2.C (setCharFont): adjust
2576         (setCounter): adjust
2577
2578         * text.C (leftMargin): adjust
2579         (setHeightOfRow): adjust
2580
2581         * rowpainter.C (paintFirst): adjust
2582         (paintLast): adjust
2583
2584         * paragraph_pimpl.C (realizeFont): adjust
2585
2586         * paragraph.C (isFirstInSequence): move from here...
2587         * paragraph_funcs.C (isFirstInSequence): ...to here
2588
2589         * paragraph.C (outerHook): move from here...
2590         * paragraph_funcs.C (outerHook): ...to here
2591
2592         * paragraph.C (depthHook): move from here...
2593         * paragraph_funcs.C (depthHook): ...to here
2594
2595         * paragraph.C (getEndLabel): move from here...
2596         * paragraph_funcs.C (getEndLabel): ...to here
2597
2598         * text2.C (realizeFont): move from here...
2599         * paragraph_funcs.C (realizeFont): ...to here
2600
2601 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
2602
2603         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
2604
2605 2003-04-14  Angus Leeming  <leeming@lyx.org>
2606
2607         * LColor.[Ch]: scrap LColor mathcursor.
2608
2609 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
2610
2611         * lyxlex.[Ch] (text): delete function
2612         * trans.C (Load): adjust
2613         * paragraph_funcs.C (readParToken): adjust
2614
2615 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
2616
2617         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
2618         vector<char> instead of a char[].
2619
2620         * lyxlex_pimpl.C (getString): adjust
2621         (next): adjust
2622         (lex): use getString
2623         (eatLine): adjust
2624         (nextToken): adjust
2625
2626         * lyxlex.C (text): use pimpl_->getString()
2627         (getBool): ditto
2628         (findToken): ditto
2629
2630 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
2631
2632         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
2633         (makeFontEntriesLayoutSpecific): temp var for par.size()
2634         (setLayout): temp var for ownerParagraphs().end()
2635         (fullRebreak): temp var for rows().end()
2636         (selectionAsString): temp var for boost::next(startpit), realize
2637         that the while really is a regular for loop.
2638         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
2639         setCursor in one place.
2640         (setParagraph): temp vr for ownerParagraphs().end()
2641         (updateCounters): make the while loop a for loop
2642         (cutSelection): temp var for ownerParagraphs().end()
2643         (updateInset): make the do {} while() a regular for loop
2644         (getCursorX): use temp vars
2645         (setCurrentFont): use temp vars
2646         (getColumnNearX): use temp vars
2647
2648 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
2649
2650         * text.C (transformChar): use temp var for getChar
2651         (computeBidiTables): use temp var for row->par()
2652         (fill): move temp vars for row->par() and pit->layout() earlier in
2653         the function.
2654         (labelFill): use temp var for row->par()
2655         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
2656         asc and desc, realize that pit never changes and that firstpit is
2657         just a duplicate and not needed. Exchange rit->par() with pit in a
2658         lot of places.
2659         (breakAgain): use a temp var for boost::next(rit)
2660         (breakAgainOneRow): ditto
2661         (breakParagraph): use a temp var for rows().begin()
2662         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
2663         (cursorRightOneWord): use temp var for cursor.par() and
2664         cursor.pos(), remove usage of tmpcursor.
2665         (cursorLeftOneWord): use temp var for cursor.par() and
2666         cursor.pos() only set cur at end of function.
2667
2668 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
2669
2670         * text.C, text2.C: exchange all usage of Paragraph::next with
2671         boost::next(ParagraphList::iterator)
2672
2673         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
2674
2675         * text2.C (cursorTop): simplify implementation
2676         (cursorBottom): ditto
2677         (setParagraph): use ParagraphList::iterator
2678         (setCurrentFont): adjust
2679         (getColumnNearX): adjust
2680         (cursorRight): adjust
2681         (cursorLeft): remove usage of Paragraph::previous
2682         (cursorUpParagraph): ditto
2683         (deleteEmptyParagraphMechanism): slight cleanup
2684
2685         * text.C (isBoundary): take a Paragraph const & instead of a
2686         pointer as arg.
2687         (addressBreakPoint): ditto
2688         (leftMargin): remove usage of Paragraph::previous.
2689         (setHeightOfRow): ditto
2690         (cursorLeftOneWord): ditto
2691         (selectNextWordToSpellcheck): ditto
2692         (Delete): ditto
2693         (backspace): ditto
2694         (breakParagraph): remove one usage of Paragraph::next
2695         (redoParagraph): ditto
2696         (acceptChange): ditto
2697         (insertChar): adjust
2698         (rowBreakPoint): adjust
2699
2700         * bufferview_funcs.C (toggleAndShow): adjust
2701
2702 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
2703
2704         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
2705         methods to access it.
2706         * lyxtext.h:
2707         * text.C: Added updateRowPositions to compute all row positions.
2708         Make top_y and getRowNearY() to use the cached y position
2709
2710 2003-04-11  John Levon  <levon@movementarian.org>
2711
2712         * text.C (rowBreakPoint): reintroduce the labelEnd
2713         checks, code copied from the row fill stuff. Deep voodoo.
2714
2715         * text.C (fill): add a comment and debugging for the
2716         next poor soul.
2717
2718 2003-04-11  John Levon  <levon@movementarian.org>
2719
2720         * text.C: make sure fullrow insets get wrapped to the next line,
2721         even when they're in a manual label
2722
2723 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
2724
2725         * text2.C (insertParagraph): make it take ParagraphList::iterator
2726         as arg.
2727         (setLayout): make it return ParagraphList::iterator
2728         (redoParagraphs): ditto
2729         (setCounter): ditto
2730         (checkParagraph): ditto
2731
2732         * text.C (getRow): make getrow take ParagraphList::iterator as arg
2733
2734         * text2.C: adjust several funcs.
2735         (realizeFont): take a ParagraphList::iterator as arg.
2736         (getLayoutFont): ditto
2737         (getLabelFont): ditto
2738         (setCharFont): ditto
2739
2740         * text.C: adjust several funcs.
2741
2742 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
2743
2744         * text.C (selectNextWordToSpellcheck): don't accidentally
2745         skip insets
2746
2747 2003-04-10  John Levon  <levon@movementarian.org>
2748
2749         * ToolbarBackend.C (getIcon): special handling for
2750         LFUN_MATH_DELIM
2751
2752 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
2753
2754         * text2.C (cursorRight): a getChar assert fixed
2755
2756 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
2757
2758         * text2.C (getFont): change to take a ParagraphList::iterator
2759         instead of Paragraph*
2760         Adjust several functions.
2761
2762         * text.C (transformChar): change to take a ParagraphList::iterator
2763         instead of Paragraph*
2764         (singleWidth): ditto
2765         Adjust several functions.
2766
2767         * rowpainter.C: adjust several functions
2768         * rowpainter.h:store a ParagraphList::iterator and not a
2769         Paragraph&.
2770
2771
2772 2003-04-09  John Levon  <levon@movementarian.org>
2773
2774         * lyxfunc.C:
2775         * lfuns.h:
2776         * LyXAction.h:
2777         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
2778         and the "help" bits as well
2779
2780 2003-04-09  John Levon  <levon@movementarian.org>
2781
2782         * ToolbarBackend.h:
2783         * ToolbarBackend.C: allow multiple toolbars
2784
2785 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
2786
2787         * undo_funcs.C (setCursorParUndo): adjust
2788
2789         * text_funcs.C (transposeChars): adjust
2790
2791         * text3.C (gotoNextInset): adjust
2792         (dispatch): adjust
2793
2794         * text2.C (setLayout): adjust
2795         (changeDepth): adjust
2796         (setFont): adjust
2797         (redoParagraphs): adjust
2798         (selectionAsString): adjust
2799         (setParagraph): adjust
2800         (insertInset): adjust
2801         (cutSelection): adjust
2802         (copySelection): adjust
2803         (pasteSelection): adjust
2804         (insertStringAsLines): adjust
2805         (updateInset): adjust
2806         (setCursor): change to take a ParagraphList::iterator parameter
2807         (setCursorIntern): change to take a ParagraphList::iterator parameter
2808         (setCurrentFont): adjust
2809         (cursorLeft): adjust
2810         (cursorRight): adjust
2811         (deleteEmptyParagraphMechanism): adjust
2812
2813         * text.C (breakParagraph): adjust
2814         (insertChar): adjust
2815         (acceptChange): adjust
2816         (rejectChange): adjust
2817         (selectNextWordToSpellcheck): adjust
2818         (changeCase): adjust
2819         (Delete): adjust
2820         (backspace): adjust
2821
2822         * lyxfind.C (SearchForward): adjust
2823         (SearchBackward): adjust
2824         (nextChange): adjust
2825
2826         * lyxcursor.C (par): adjust
2827
2828         * lyxcursor.h: store a ParagraphList::iterator instead of a
2829         Paragraph*
2830
2831         * lyx_cb.C (getPossibleLabel): adjust
2832
2833         * bufferview_funcs.C (toggleAndShow): adjust
2834
2835         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
2836         (dispatch): adjust
2837
2838         * BufferView.C (removeAutoInsets): adjust
2839         (lockedInsetStoreUndo): adjust
2840
2841 2003-04-09  John Levon  <levon@movementarian.org>
2842
2843         * ToolbarBackend.C: try icon without argument
2844         if with argument fails
2845
2846 2003-04-08  John Levon  <levon@movementarian.org>
2847
2848         * ToolbarBackend.h:
2849         * ToolbarBackend.C: add getIcon(), handle tooltip,
2850         and change from "Icon" to "Item".
2851
2852 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
2853
2854         * BufferView.C (lockInset): another bad getchar crunched
2855
2856 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
2857
2858         * text2.C (changeDepth): do not setUndo on test_only (make undo work
2859         again)
2860
2861 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
2862
2863         * lyxfind.C (searchForward, searchBackwards): bug 782
2864
2865 2003-04-07  John Levon  <levon@movementarian.org>
2866
2867         * paragraph.C: remove dead comment
2868
2869         * text.C: remove troublesome depth-fiddling code
2870         in leftMargin() and rightMargin() (bug 1017)
2871
2872         * text.C: fix breaking of rows in nested lists
2873         (bug 1004)
2874
2875         * text2.C (updateCounters): fix up depth values
2876         (bug 1013)
2877
2878 2003-04-07  John Levon  <levon@movementarian.org>
2879
2880         * BufferView_pimpl.C: clear message when doc finishes resizing,
2881         and after a mouse event
2882
2883         * lyxfunc.C: clear message after exiting inset
2884
2885 2003-04-07  John Levon  <levon@movementarian.org>
2886
2887         * bufferview_funcs.C: show math status not outside
2888         status in the statusbar
2889
2890 2003-04-07  John Levon  <levon@movementarian.org>
2891
2892         * lyxfunc.C: note status changed after a depth change
2893
2894 2003-04-04  Angus Leeming  <leeming@lyx.org>
2895
2896         * LaTeX.h: move AuxInfo operator==, != out of line.
2897         Remove LaTeX virtual destructor; nothing derives from it.
2898         Move operator()() out of public area and rename it startscript().
2899         Change protected for private.
2900
2901 2003-04-04  Angus Leeming  <leeming@lyx.org>
2902
2903         * lyxfunc.C:
2904         * text2.C: remove unneeded #includes.
2905
2906 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
2907
2908         * text2.C (dEPM): fix the heigth of the next row
2909
2910 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
2911
2912         * text.C: squashed an invalid getChar requester + some ws changes
2913
2914 2003-04-03  John Levon  <levon@movementarian.org>
2915
2916         * bufferview_funcs.h:
2917         * bufferview_funcs.C:
2918         * lyxfunc.C:
2919         * lyxtext.h:
2920         * text2.C: make getStatus work for the env depth lfuns
2921
2922 2003-04-03  John Levon  <levon@movementarian.org>
2923
2924         * bufferview_funcs.h:
2925         * bufferview_funcs.C:
2926         * lyxfunc.C:
2927         * lyxtext.h:
2928         * text2.C: parlistize decDepth(), by merging it with incDepth()
2929
2930 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
2931
2932         * lyxrow.h: store a ParagraphList::iterator instead of a
2933         Paragraph* and adjust other class functions to suit.
2934
2935         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
2936         above.
2937
2938 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
2939
2940         * text2.C (setCursor): do not anchor to cursor row for the time being
2941
2942 2003-04-02  John Levon  <levon@movementarian.org>
2943
2944         * LyXAction.C:
2945         * lfuns.h:
2946         * lyx_main.C:
2947         * lyxtext.h:
2948         * text.C:
2949         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
2950
2951 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
2952
2953         * paragraph.h: make ParagraphList and ParagraphList::iterator
2954         friends of Paragraph.
2955
2956         * buffer.C (makeLinuxDocFile): move towards ParagraphList
2957
2958         * ParagraphList.C: Use the private next_ and previous_ from
2959         Paragraph.
2960
2961 2003-04-01  John Levon  <levon@movementarian.org>
2962
2963         * ToolbarBackend.h:
2964         * ToolbarBackend.C:
2965         * Makefile.am: rename, remove defaults gunk
2966
2967         * MenuBackend.h:
2968         * MenuBackend.C: remove defaults gunk
2969
2970         * Languages.h:
2971         * Languages.C: remove defaults gunk
2972
2973         * lyx_main.h:
2974         * lyx_main.C: error out if files couldn't be found.
2975
2976 2003-04-02  John Levon  <levon@movementarian.org>
2977
2978         * text2.C: make incDepth() use parlist
2979
2980 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
2981
2982         * undo_funcs.C (firstUndoParagraph): adjust
2983
2984         * text3.C (gotoInset): adjust
2985         (dispatch): adjust, and rewrite loop.
2986
2987         * text2.C (init): adjust, and rewrite loop.
2988         (redoParagraphs): adjust
2989         (updateInset): adjust, and rewrite loop.
2990         (deleteEmptyParagraphMechanism): adjust
2991
2992         * tabular.C (LyXTabular): adjust
2993         (SetMultiColumn): adjust
2994         (TeXRow): adjust
2995
2996         * lyxtext.[Ch] (ownerParagraph): delete function
2997         (ownerParagraphs): new function returns a ParagraphList.
2998
2999         * BufferView.C (removeAutoInsets): adjust
3000         (insertErrors): adjust
3001         (setCursorFromRow): adjust
3002
3003 2003-04-01  Angus Leeming  <leeming@lyx.org>
3004
3005         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
3006         in the frontends.
3007
3008 2003-04-02  John Levon  <levon@movementarian.org>
3009
3010         * lyxtext.h:
3011         * text.C:
3012         * Makefile.am:
3013         * text_funcs.h:
3014         * text_funcs.C: make transposeChars a free function
3015
3016         * lyxrow_funcs.C: remove wrong comment
3017
3018 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3019
3020         * lyxtext.h: adjust
3021         * rowpainter.C: adjust
3022         * text.C: adjust
3023         * text2.C: adjust
3024         * text3.C: adjust
3025
3026         * lyxrow_funcs. [Ch]: new files
3027
3028         * lyxrow.[Ch]: remove next and previous pointers
3029         (next,previous): remove accessor functions
3030         (isParEnd): move to lyxrow_funcs
3031         (lastPos): move to lyxrow_funcs
3032         (nextRowIsAllInset): move to lyxrow_funcs
3033         (lastPrintablePos): move to lyxrow_funcs
3034         (numberOfSeparators): move to lyxrow_funcs
3035         (numberOfHfills): move to lyxrow_funcs
3036         (numberOfLabelHfills): move to lyxrow_funcs
3037         (hfillExpansion): move to lyxrow_funcs
3038
3039         * lyxfunc.C: adjust
3040
3041         * bufferview_funcs.C (toggleAndShow): adjust
3042
3043         * RowList.h: Remove class RowList from file leave just a
3044         std::list<Row>.
3045
3046         * RowList.C: delete file
3047
3048         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
3049         and lyxrow_funcs.h
3050
3051 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3052
3053         * text3.C (cursorPrevious): adjust
3054         (cursorNext): adjust
3055         (dispatch): adjust
3056
3057         * text2.C (redoHeightOfParagraph): adjust
3058         (redoDrawingOfParagraph): adjust
3059         (setCursor): adjust
3060
3061         * text.C (breakParagraph): adjust
3062         (insertChar): adjust
3063         (backspace): adjust
3064
3065         * rowpainter.C (RowPainter): adjust
3066         (leftMargin): simplify and adjust
3067         (most rowpainter functions): adjust.
3068
3069         * rowpainter.h: store the row as RowList::iterator not as Row*
3070
3071         * lyxcursor.C (row): taka RowList::iterator as arg
3072         (irow): ditto
3073
3074         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
3075         of Row*.
3076
3077 2003-04-01  Angus Leeming  <leeming@lyx.org>
3078
3079         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
3080         stuff like bool Bool.
3081
3082 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
3083
3084         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
3085         rewrite a loop
3086
3087 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3088
3089         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
3090         RowList::iterator.
3091
3092         * lyxtext.h (rows): drop one version and leve a const variant that
3093         returns a RowList::iterator.
3094
3095 2003-03-31  Angus Leeming  <leeming@lyx.org>
3096
3097         * text.C (fill): ensure that the signature is the same as that in the
3098         header file.
3099
3100 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
3101
3102         * text2.C (redoParagraphs): adjust
3103         (updateCounters): adjust
3104         (checkParagraph): adjust
3105         (getColumnNearX): adjust and reformat a bit.
3106
3107         * text.C (top_y): adjust
3108         (workWidth): adjust
3109         (leftMargin): adjust
3110         (prepareToPrint): adjust
3111         (getRow): adjust
3112         (getRowNearY): adjust
3113
3114         * lyxtext.h: make rowlist_ mutable.
3115
3116         * RowList.h: add const_iterator
3117         * RowList.C: adjust for RowList::const_iterator.
3118
3119         * text2.C (getCursorX): make it take a RowList::iterator as arg,
3120         adjust.
3121
3122 2003-03-31  John Levon  <levon@movementarian.org>
3123
3124         * lyxrc.h:
3125         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
3126
3127         * lyx_main.C: set default fonts from using lyx_gui funcs
3128
3129         * exporter.C: pdf_mode moved from lyxrc
3130
3131         * lyx_cb.C:
3132         * lyxfunc.C: changes from above
3133
3134 2003-03-31  John Levon  <levon@movementarian.org>
3135
3136         * lyx_main.C: fix to the last fix
3137
3138 2003-03-31  John Levon  <levon@movementarian.org>
3139
3140         * bufferlist.C: "Load original" -> "Load Original"
3141
3142         * converter.C:
3143         * exporter.C:
3144         * importer.C:
3145         * lyx_main.C:
3146         * format.C: more Alert cleanups
3147
3148 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
3149
3150         * text2.C (removeParagraph): make it take a RowList::iterator as
3151         arg, adjust.
3152         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
3153         (postRowPaint): make it take a RowList::iterator as arg, adjust.
3154
3155         * text.C (anchor_row): make it take a RowList::iterator as arg,
3156         adjust.
3157         (computeBidiTables): make it take a const reference to Row instead
3158         of Row pointer, adjust.
3159         (leftMargin): make it take a RowList::iterator as arg, adjust.
3160         (rowBreakPoint): adjust
3161         (breakAgainOneRow): make it take a RowList::iterator as arg,
3162         adjust.
3163         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
3164
3165         * bufferview_funcs.C (toggleAndShow): adjust
3166
3167 2003-03-30  John Levon  <levon@movementarian.org>
3168
3169         * Makefile.am:
3170         * BoostFormat.h:
3171         * boost-inst.C: moved to support
3172
3173         * several files: changes as a result
3174
3175 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
3176
3177         * text2.C (LyXText): adjust.
3178         (init): adjust
3179         (removeRow): make it take a RowList::iterator as arg, adjust.
3180         (fullRebreak): adjust
3181         (deleteEmptyParagraphMechanism): adjust
3182         (clearPaint): adjust
3183         (postPaint): adjust
3184
3185         * text.C (top_y): adjust
3186         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
3187         (breakAgain): make it take a RowList::iterator as arg, adjust.
3188         (breakParagraph): adjust
3189         (insertChar): adjust
3190         (backspace): adjust
3191
3192         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
3193         need_break_row, and refresh_row.
3194
3195         * text3.C (dispatch): adjust
3196
3197         * text2.C (checkParagraph): adjust
3198         (setCursor): adjust
3199         (setCursorFromCoordinates): adjust
3200
3201         * text.C (top_y): adjust
3202         (workWidth): adjust
3203         (getRow): make it return a RowList::iterator, adjust
3204         (getRowNearY): make it return a RowList::iterator, adjust
3205
3206         * text2.C (init): adjust
3207         (insertRow): remove function
3208         (insertParagraph): adjust
3209         (redoParagraphs): adjust
3210         (fullRebreak): adjust
3211         (updateCounters): adjust
3212
3213         * text.C (top_y): rewrite to use RowList iterators.
3214         (top_y): adjust
3215         (setHeightOfRow): rewrite to sue RowList iterators.
3216         (appendParagraph): adjust
3217         (breakAgain): adjust
3218         (breakAgainOneRow): adjust
3219         (breakParagraph): adjust
3220         (getRow): adjust
3221         (getRowNearY): adjust, and remove commented code.
3222
3223         * lyxtext.h (firstRow): delete function
3224         (lastRow): delete function
3225         (rows): new function (const and non-const versions.)
3226         (insertRow): delete function
3227
3228         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
3229
3230 2003-03-29  John Levon  <levon@movementarian.org>
3231
3232         * BufferView_pimpl.C: always update scrollbar top
3233         because pasting text when we're anchored could mean we
3234         miss an update altogether
3235
3236 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3237
3238         * text2.C (init): use rowlist_.end() and not 0.
3239         (insertRow): change to take a RowList::iterator as arg, adjust
3240         for this.
3241         (insertParagraph): change to take a RowList::iterator as arg,
3242         adjust for this.
3243         (redoParagraphs): remove some debug msgs.
3244
3245         * text.C (appendParagraph): change to take a RowList::iterator
3246         arg, adjust for this.
3247         (breakAgain): add an assert
3248         (breakAgainOneRow): ditto
3249
3250 2003-03-29  John Levon  <levon@movementarian.org>
3251
3252         * text2.C: do not clear selection after inc/decDepth
3253         (bug 550)
3254
3255 2003-03-29  John Levon  <levon@movementarian.org>
3256
3257         * BufferView.C:
3258         * buffer.C: fix broken strerrors according to Lars
3259
3260 2003-03-29  John Levon  <levon@movementarian.org>
3261
3262         * converters.C: more Alert cleanups
3263
3264 2003-03-29  John Levon  <levon@movementarian.org>
3265
3266         * bufferview_funcs.C: remove pointless Alert
3267
3268         * buffer.C: fix confusing error message when
3269         a template is chmoded 000
3270
3271 2003-03-29  John Levon  <levon@movementarian.org>
3272
3273         * BufferView.C:
3274         * BufferView.h:
3275         * BufferView_pimpl.C: Alert fixes
3276
3277         * Makefile.am:
3278         * tabular.C:
3279         * tabular-old.C: remove unused table compat reading
3280
3281 2003-03-29  John Levon  <levon@movementarian.org>
3282
3283         * BufferView.C:
3284         * buffer.C:
3285         * lyx_cb.h:
3286         * lyx_cb.C: more Alert cleanups
3287
3288         * lyxfunc.C: don't allow chktex if not latex document
3289
3290 2003-03-29  John Levon  <levon@movementarian.org>
3291
3292         * lyx_cb.C:
3293         * BufferView.C:
3294         * buffer.C: warnings pushed down from support/,
3295         kill err_alert
3296
3297 2003-03-29  John Levon  <levon@movementarian.org>
3298
3299         * lyxfunc.C: safety check for C-r (revert)
3300
3301 2003-03-29  John Levon  <levon@movementarian.org>
3302
3303         * bufferlist.h:
3304         * bufferlist.C: several UI fixes using Alert::prompt.
3305         Fix the pointless looping quit code. Fix stupid revert
3306         behaviour (bug 938)
3307
3308         * lyxvc.h:
3309         * lyxvc.C:
3310         * lyx_cb.C: use Alert::prompt
3311
3312         * lyx_main.C: remove a silly question
3313
3314         * lyxfunc.C: remove a couple of silly questions,
3315         use Alert::prompt
3316
3317 2003-03-28  John Levon  <levon@movementarian.org>
3318
3319         * text2.C: fix bug 974 (End on empty par)
3320
3321 2003-03-28  John Levon  <levon@movementarian.org>
3322
3323         * BufferView_pimpl.C:
3324         * LyXAction.C:
3325         * lfuns.h: remove do-nothing math greek lfuns
3326
3327 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
3328
3329         * lyxgluelength.h (isValidGlueLength): add default arg on
3330         parameter 2. Remove default arg from friend in class.
3331
3332         * lyxlength.h (isValidLength): add default arg on parameter 2.
3333         Remove default arg from friend in class.
3334
3335         * text2.C (LyXText): adjust, initialize refresh_row.
3336         (init): adjust
3337         (removeRow): adjust
3338         (insertRow): adjust
3339         (insertParagraph): adjst
3340         (redoParagraphs): adjust
3341         (fullRebreak): adjust
3342         (updateCounters): adjust
3343         (deleteEmptyParagraphMechanism): first attempt at fixing a
3344         crashing bug.
3345
3346         * text.C (top_y): adjust
3347         (setHeightOfRow): adjust
3348         (getRow): adjust
3349         (getRowNearY): adjust
3350
3351         * lyxtext.h: include RowList.h
3352         (~LyXText): not needed anymore, deleted.
3353         (firstRow): modify for RowList
3354         (lastRow): new function
3355         Delete firstrow and lastrow class variables, add a Rowlist
3356         rowlist_ class variable.
3357
3358         * lyxrow.C (lastPos): use empty() and not !size() to check if a
3359         paragraph is empty.
3360
3361         * RowList.C (insert): fix case where it == begin().
3362
3363 2003-03-26  Angus Leeming  <leeming@lyx.org>
3364
3365         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
3366         the thesaurus dialog.
3367
3368 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
3369
3370         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
3371
3372         * RowList.[Ch]: new files
3373
3374         * ParagraphList.C (erase): handle the case where it == begin
3375         correctly.
3376
3377 2003-03-25  John Levon  <levon@movementarian.org>
3378
3379         * Makefile.am:
3380         * aspell_local.h:
3381         * aspell.C: add new aspell support
3382
3383         * lyxrc.h:
3384         * lyxrc.C: Make use_pspell be use_spell_lib. Always
3385         have it accessible.
3386
3387 2003-03-25  Angus Leeming  <leeming@lyx.org>
3388
3389         * lfuns.h:
3390         * LyXAction.C (init): new LFUN_INSET_INSERT.
3391
3392         * BufferView_pimpl.C (dispatch): split out part of the
3393         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
3394
3395         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
3396         LFUN_INSET_APPLY.
3397
3398 2003-03-25  Angus Leeming  <leeming@lyx.org>
3399
3400         * lyxfunc.C (dispatch): changes to the Dialogs interface.
3401
3402 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
3403
3404         * text2.C:
3405         * text3.C: remove useless row->height(0)
3406
3407 2003-03-25  John Levon  <levon@movementarian.org>
3408
3409         * lyxtext.h:
3410         * text2.C:
3411         * text3.C: rename the refreshing stuff to better names
3412
3413 2003-03-24  John Levon  <levon@movementarian.org>
3414
3415         * BufferView_pimpl.h:
3416         * BufferView_pimpl.C: update layout choice on a mouse
3417         press/release
3418
3419 2003-03-23  John Levon  <levon@movementarian.org>
3420
3421         * Makefile.am: fix commandtags.h reference
3422
3423 2003-03-22  John Levon  <levon@movementarian.org>
3424
3425         * BufferView_pimpl.C:
3426         * lyxtext.h:
3427         * rowpainter.C:
3428         * rowpainter.h:
3429         * text.C:
3430         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
3431
3432 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
3433
3434         * lyxtext.h:
3435         * text.C: take the rtl methods out of line
3436
3437 2003-03-21 André Pönitz <poenitz@gmx.net>
3438
3439         * metricsinfo.[Ch]: new files containing structures to be passed around
3440         during the two-phase-drawing...
3441
3442 2003-03-21 André Pönitz <poenitz@gmx.net>
3443
3444         * lyxtextclass.C: read 'environment' tag.
3445
3446 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
3447
3448         * text2.C (removeRow): fix bug 964
3449
3450 2003-03-20  John Levon  <levon@movementarian.org>
3451
3452         * rowpainter.C:
3453         * text.C:
3454         * text2.C: paint cleanups. Inset::update() dropped font
3455         parameter
3456
3457 2003-03-19  John Levon  <levon@movementarian.org>
3458
3459         * lyxfunc.C: only fitcursor/markDirty if available()
3460
3461 2003-03-19  John Levon  <levon@movementarian.org>
3462
3463         * commandtags.h: rename to ...
3464
3465         * lfuns.h: ... this, and renumber / cleanup
3466
3467 2003-03-19  John Levon  <levon@movementarian.org>
3468
3469         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
3470         fit the cursor after an lfun
3471
3472         * BufferView.h:
3473         * BufferView.C:
3474         * BufferView_pimpl.h:
3475         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
3476
3477         * LyXAction.C: layout-character should have ReadOnly
3478
3479         * ParagraphParameters.C:
3480         * buffer.C:
3481         * bufferview_funcs.C:
3482         * lyx_cb.C:
3483         * lyxfind.C:
3484         * lyxtext.h:
3485         * text.C:
3486         * text2.C:
3487         * text3.C:
3488         * undo_funcs.C: changes from above
3489
3490 2003-03-18  John Levon  <levon@movementarian.org>
3491
3492         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
3493         remove it from update()
3494
3495         * lyxfunc.C: update layout choice after an lfun
3496
3497         * text3.C: remove extra updateLayoutChoice()s
3498
3499 2003-03-18  John Levon  <levon@movementarian.org>
3500
3501         * text.C: top_y change means full repaint, fix
3502         a drawing bug with cursor movement
3503
3504 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
3505
3506         * lyxtext.h:
3507         * text.C:
3508         * text2.C: anchor row on setCursor
3509
3510 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
3511
3512         * lyxtext.h: remove almost all mutable keywords
3513         * text.C:
3514         * text2.C:
3515         * text3.C: remove const keywords accordingly
3516
3517 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
3518
3519         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
3520         anon namespace
3521         (TeXEnvironment): ditto
3522         (TeXOnePar): ditto
3523
3524 2003-03-17  John Levon  <levon@movementarian.org>
3525
3526         * text.C (rowBreakPoint): remove attempt to fix displayed
3527         math insets inside a manual label
3528
3529 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
3530
3531         * lyxtext.h: remove BufferView* as first arg from almost all class
3532         functions.
3533         * other files: adjust.
3534
3535 2003-03-17  John Levon  <levon@movementarian.org>
3536
3537         * lyxtext.h:
3538         * undo_funcs.C:
3539         * text2.C: more paint cleanups
3540
3541         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
3542
3543         * rowpainter.h:
3544         * rowpainter.C: remove "smart" background painting code
3545
3546 2003-03-16  John Levon  <levon@movementarian.org>
3547
3548         * lyxtext.h:
3549         * text.C:
3550         * text2.C:
3551         * text3.C: add helper functions for setting refresh_row/y
3552
3553 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
3554
3555         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
3556         newline inset which *can* get inserted in the pass_thru layouts.
3557         This is primarily for literate documents.
3558
3559 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
3560
3561         * buffer.C: increment LYX_FORMAT to 223
3562
3563 2003-03-14 André Pönitz <poenitz@gmx.net>
3564
3565         * textclass.h: prepare for environment handling, ws changes
3566         * lyxlayout.C: read latexheader and latexfooter tags
3567
3568 2003-03-14  John Levon  <levon@movementarian.org>
3569
3570         * text2.C: rewrite ::status() a bit
3571
3572 2003-03-13  John Levon  <levon@movementarian.org>
3573
3574         * lyxtext.h: add some docs
3575
3576 2003-03-13  John Levon  <levon@movementarian.org>
3577
3578         * lyxtext.h:
3579         * text.C:
3580         * text2.C:
3581         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
3582
3583 2003-03-13  John Levon  <levon@movementarian.org>
3584
3585         * text3.C: fix appendix redrawing
3586
3587 2003-03-13  John Levon  <levon@movementarian.org>
3588
3589         * text.C (setHeightOfRow):
3590         * rowpainter.h:
3591         * rowpainter.C: make appendix mark have the text
3592           "Appendix" so the user knows what it is
3593
3594         * LColor.h:
3595         * LColor.C: s/appendixline/appendix/ from above
3596
3597 2003-03-13  John Levon  <levon@movementarian.org>
3598
3599         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
3600
3601         * text.C: fix a getChar(pos) bug properly
3602
3603 2003-03-13  Angus Leeming  <leeming@lyx.org>
3604
3605         * commandtags.h:
3606         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
3607         Probably only temporary. Let's see how things pan out.
3608
3609         * BufferView.C (unlockInset):
3610         * BufferView_pimpl.C (fitCursor):
3611         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
3612
3613         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
3614         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
3615
3616         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
3617         new functions that convert ParagraphParameters to and from a string.
3618
3619         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
3620         BufferView::Pimpl's dispatch.
3621         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
3622
3623 2003-03-13 André Pönitz <poenitz@gmx.net>
3624
3625         * lyxfunc.C:
3626         * text3.C:
3627         * factory.C: make it aware of InsetEnv
3628
3629 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3630
3631         * text2.C (setCursor): never ask for one past last
3632         (setCursor): add some debugging messages.
3633
3634         * text.C (singleWidth): never ask for one past last
3635         (singleWidth): ditto
3636         (leftMargin): ditto
3637         (rightMargin): ditto
3638         (rowBreakPoint): ditto
3639         (setHeightOfRow): ditto
3640         (prepareToPrint): ditto
3641
3642         * rowpainter.C (paintBackground): never ask for one past last
3643         (paintText): never ask for one past last
3644
3645         * paragraph_pimpl.C (getChar): make the assert stricter, never
3646         allow the one past last pos to be taken
3647
3648         * paragraph.C (getChar): ws changes only
3649
3650         * lyxrow.C (nextRowIsAllInset): never ask for one past last
3651         (numberOfSeparators): ditto
3652         (numberOfHfills): ditto
3653
3654 2003-03-12  John Levon  <levon@movementarian.org>
3655
3656         * author.h:
3657         * author.C:
3658         * bufferparams.h:
3659         * bufferparams.C:
3660         * paragraph_funcs.C: fix per-buffer authorlists
3661
3662 2003-03-12  John Levon  <levon@movementarian.org>
3663
3664         * text.C: fix newline in right address
3665
3666 2003-03-12  Angus Leeming  <leeming@lyx.org>
3667
3668         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
3669         duplicate those in LyXFunc::dispatch.
3670
3671         * commandtags.h:
3672         * LyXAction.C:
3673         * ToolbarDefaults.C:
3674         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
3675         Add LFUN_FONTFREE_UPDATE.
3676
3677         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
3678         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
3679
3680         * bufferview_func.[Ch]: several new functions to facilliate
3681         transfer of data to and from the character dialog.
3682
3683 2003-03-12  John Levon  <levon@movementarian.org>
3684
3685         * buffer.C:
3686         * paragraph.h:
3687         * paragraph.C:
3688         * paragraph_funcs.C:
3689         * paragraph_pimpl.C:
3690         * sgml.C:
3691         * tabular.C:
3692         * text.C:
3693         * text3.C: remove META_NEWLINE in favour of an inset
3694
3695         * rowpainter.h:
3696         * rowpainter.C: remove paintNewline (done by inset)
3697
3698 2003-03-12  John Levon  <levon@movementarian.org>
3699
3700         * paragraph_pimpl.C: complain about bad getChar()s
3701         for a while at least
3702
3703 2003-03-12  John Levon  <levon@movementarian.org>
3704
3705         * buffer.h:
3706         * buffer.C: move paragraph read into a separate function,
3707         a little renaming to reflect that.
3708
3709         * bufferparams.h:
3710         * bufferparams.C: remove the author_ids map, not necessary now
3711
3712         * factory.h:
3713         * factory.C: moved Buffer::readInset to here
3714
3715         * paragraph_funcs.h:
3716         * paragraph_funcs.C: readParagraph free function moved from
3717         buffer.C
3718
3719         * tabular.C: name change
3720
3721 2003-03-12  John Levon  <levon@movementarian.org>
3722
3723         * buffer.C:
3724         * ParagraphParameters.C: move par params input to
3725         a read() method
3726
3727         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
3728         behave like a normal read from the stream wrt reading
3729         a line vs. a \\token
3730
3731 2003-03-12  John Levon  <levon@movementarian.org>
3732
3733         * paragraph.C:
3734         * ParagraphParameters.h:
3735         * ParagraphParameters.C: move output code to a
3736         ::write() method
3737
3738 2003-03-12  John Levon  <levon@movementarian.org>
3739
3740         * BufferView.C (insertLyXFile):
3741         * buffer.h:
3742         * buffer.C:
3743         * tabular.C: use a parlist iterator for creating the
3744           document.
3745
3746 2003-03-12  John Levon  <levon@movementarian.org>
3747
3748         * buffer.C: make current_change static local not
3749           static file-scope
3750
3751 2003-03-12  John Levon  <levon@movementarian.org>
3752
3753         * buffer.C: fix insertStringAsLines for change tracking
3754
3755 2003-03-12  John Levon  <levon@movementarian.org>
3756
3757         * BufferView.C:
3758         * tabular.C:
3759         * buffer.h:
3760         * buffer.C:
3761         * bufferparams.h:
3762         * bufferparams.C: move author list into params. Rename some
3763           functions. Move the header reading into a separate token
3764           loop. Move the header token reading into BufferParams.
3765
3766 2003-03-12  John Levon  <levon@movementarian.org>
3767
3768         * changes.C: put debug inside lyxerr.debugging() checks
3769
3770 2003-03-11 André Pönitz <poenitz@gmx.net>
3771
3772         * factory.C: make it aware of InsetHFill
3773
3774 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
3775
3776         * buffer.C (latexParagraphs): move function from here...
3777         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
3778         args.
3779
3780 2003-03-10  Angus Leeming  <leeming@lyx.org>
3781
3782         * LyXAction.C (init): fix bug in poplating array with multiple entries
3783         with the same LFUN (spotted by JMarc).
3784
3785 2003-03-10  John Levon  <levon@movementarian.org>
3786
3787         * text.C:
3788         * text2.C: move getColumnNearX() near its
3789         only call site
3790
3791 2003-03-10  John Levon  <levon@movementarian.org>
3792
3793         * text.C: fix break before a minipage
3794
3795 2003-03-10  John Levon  <levon@movementarian.org>
3796
3797         * text.C: fix the last commit
3798
3799 2003-03-09  John Levon  <levon@movementarian.org>
3800
3801         * lyxtext.h:
3802         * text.C:
3803         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
3804         bug 365 (don't break before insets unless needed). Don't
3805         return a value > last under any circumstances.
3806
3807 2003-03-09  Angus Leeming  <leeming@lyx.org>
3808
3809         * BufferView_pimpl.C (trackChanges, dispatch): call
3810         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
3811
3812 2003-03-09  Angus Leeming  <leeming@lyx.org>
3813
3814         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
3815         than Dialogs::showAboutlyx().
3816
3817 2003-03-09  Angus Leeming  <leeming@lyx.org>
3818
3819         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
3820         than Dialogs::showTabularCreate().
3821
3822 2003-03-09  John Levon  <levon@movementarian.org>
3823
3824         * lyxtext.h:
3825         * text.C:
3826         * text2.C: 3rd arg to nextBreakPoint was always the same.
3827           Use references.
3828
3829 2003-03-08  John Levon  <levon@movementarian.org>
3830
3831         * lyxrow.C:
3832         * paragraph.C:
3833         * paragraph.h:
3834         * rowpainter.C:
3835         * text.C:
3836         * text2.C: Remove the "main" bit from the "main body"
3837           notion.
3838
3839 2003-03-08  John Levon  <levon@movementarian.org>
3840
3841         * text.C (leftMargin): The left margin of an empty
3842         manual label paragraph should not include the label width
3843         string length.
3844
3845         * text.C (prepareToPrint): don't attempt to measure hfills
3846         for empty manual label paragraphs - the answer should be 0
3847
3848 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
3849
3850         * CutAndPaste.C: remove commented code and reindent.
3851
3852 2003-03-08  John Levon  <levon@movementarian.org>
3853
3854         * lyxfunc.h:
3855         * lyxfunc.C: move reloadBuffer()
3856
3857         * BufferView.h:
3858         * BufferView.C: to here
3859
3860         * lyxvc.C: add comment
3861
3862         * vc-backend.h:
3863         * vc-backend.C: call bv->reload() to avoid
3864           getStatus() check on MENURELOAD
3865
3866 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
3867
3868         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
3869         to an old format .dep file.
3870
3871 2003-03-07  Angus Leeming  <leeming@lyx.org>
3872
3873         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
3874         when the LFUN_MOUSE_RELEASE should have been handled by
3875         inset->localDispatch.
3876
3877 2003-03-07  Angus Leeming  <leeming@lyx.org>
3878
3879         * BufferView_pimpl.C (dispatch):
3880         * LyXAction.C (init):
3881         * ToolbarDefaults.C (init):
3882         * commandtags.h:
3883         * lyxfunc.C (getStatus):
3884         remove LFUN_INSET_GRAPHICS.
3885
3886         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
3887
3888 2003-03-07  Angus Leeming  <leeming@lyx.org>
3889
3890         * commandtags.h:
3891         * LyXAction.C (init):
3892         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
3893
3894         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
3895
3896         * commandtags.h:
3897         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
3898
3899         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
3900         localDispatch method LFUN_INSET_DIALOG_UPDATE.
3901
3902 2003-03-07  Angus Leeming  <leeming@lyx.org>
3903
3904         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
3905         remove "ert".
3906
3907 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
3908
3909         * ParagraphList.C (front): new function
3910         (back): implement
3911
3912 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
3913
3914         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
3915         and top_row_offset_. removed var first_y.
3916         * text.C (top_y):
3917         * text2.C (LyXText, removeRow):
3918         * text3.C:
3919         * BufferView_pimpl.C:
3920         use these methods instead of using first_y
3921
3922 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
3923
3924         * text2.C (pasteSelection): adjust for checkPastePossible
3925
3926         * CutAndPaste.C: remove Paragraph * buf and replace with
3927         ParagraphList paragraphs.
3928         (DeleteBuffer): delete
3929         (cutSelection): change the tc type to textclass_type
3930         (copySelection): change the tc type to textclass_type
3931         (copySelection): adjust for ParagraphList
3932         (pasteSelection): change the tc type to textclass_type
3933         (pasteSelection): adjust for Paragraphlist
3934         (nrOfParagraphs): simplify for ParagraphList
3935         (checkPastePossible): simplify for ParagraphList
3936         (checkPastePossible): remove unused arg
3937
3938         * ParagraphList.C (insert): handle the case where there are no
3939         paragraphs yet.
3940
3941         * CutAndPaste.h: make CutAndPaste a namespace.
3942
3943         * text3.C (dispatch): adjust
3944
3945         * text.C (breakParagraph): add a ParagraphList as arg
3946
3947         * paragraph_funcs.C (breakParagraph): change to take a
3948         BufferParams and a ParagraphList as args.
3949         (breakParagraphConservative): ditto
3950         (mergeParagraph): ditto
3951         (TeXDeeper): add a ParagraphList arg
3952         (TeXEnvironment): ditto
3953         (TeXOnePar): ditto
3954
3955         * buffer.C (readLyXformat2): adjust
3956         (insertStringAsLines): adjust
3957         (latexParagraphs): adjust
3958
3959         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
3960         (cutSelection): adjust
3961         (pasteSelection): adjust
3962
3963         * BufferView_pimpl.C (insertInset): adjust
3964
3965 2003-03-05  Angus Leeming  <leeming@lyx.org>
3966
3967         * commandtags.h:
3968         * LyXAction.C (init):
3969         * BufferView_pimpl.C (dispatch):
3970         * lyxfunc.C (getStatus):
3971         remove LFUN_CHILD_INSERT.
3972
3973         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
3974
3975 2003-03-05  Angus Leeming  <leeming@lyx.org>
3976
3977         * commandtags.h:
3978         * LyXAction.C (init):
3979         * src/factory.C (createInset):
3980         * lyxfunc.C (getStatus):
3981         * text3.C (dispatch):
3982         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
3983
3984         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
3985
3986 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
3987
3988         * ParagraphList.C (insert): handle insert right before end()
3989         (erase): fix cases where it can be first or last paragraph.
3990
3991 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
3992
3993         * paragraph_funcs.C (TeXEnvironment): remove all usage of
3994         Paragraph::next and Paragraph::previous
3995         (TeXOnePar): ditto
3996
3997         * text.C (breakParagraph): adjust
3998
3999         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
4000         BufferParams& as arg.
4001         (breakParagraph): use ParagraphList::insert
4002         (breakParagraphConservative): take a Buffer* instead of a
4003         BufferParams& as arg.
4004         (breakParagraphConservative): use ParagraphList::insert.
4005
4006         * buffer.C (insertStringAsLines): un-const it
4007         (insertStringAsLines): adjust
4008
4009         * ParagraphList.C (insert): new function
4010
4011         * CutAndPaste.C (pasteSelection): adjust
4012
4013         * text.C (backspace): adjust
4014
4015         * tabular.C (SetMultiColumn): adjust
4016
4017         * CutAndPaste.C (cutSelection): adjust
4018         (pasteSelection): adjust
4019
4020         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
4021         Buffer const * as arg
4022
4023         * ParagraphList.C (erase): new function
4024         * paragraph_funcs.C (mergeParagraph): use it
4025         (mergeParagraph): make it take a Buffer* instead of a
4026         BufferParams* as arg
4027
4028         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
4029         as arg
4030         (breakParagraphConservative): ditto
4031
4032         * paragraph.h: remove the breakParagraph friend
4033
4034         * paragraph.C (eraseIntern): new function
4035         (setChange): new function
4036
4037         * paragraph_funcs.C (mergeParagraph): make it take a
4038         ParagraphList::iterator instead of a Paragraph *, adjust
4039         accordingly.
4040
4041         * paragraph.h: move an #endif so that the change tracking stuff
4042         also works in the NO_NEXT case.
4043
4044 2003-03-04  Angus Leeming  <leeming@lyx.org>
4045
4046         * commandtags.h:
4047         * LyXAction.C: new LFUN_INSET_MODIFY.
4048
4049         * BufferView_pimpl.C (dispatch): if an inset is found to be open
4050         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
4051
4052 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
4053
4054         * several files: ws changes only
4055
4056         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
4057         (TeXEnvironment): ditto
4058         (TeXDeeper): ditto
4059
4060         * buffer.C (makeLaTeXFile): adjust
4061         (latexParagraphs): make it take ParagraphList::iterator as args
4062
4063 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4064
4065         * buffer.C (latexParagraphs): adjust
4066
4067         * paragraph.C (TeXOnePar): move function...
4068         (optArgInset): move function...
4069         (TeXEnvironment): move function...
4070         * paragraph_pimpl.C (TeXDeeper): move function...
4071         * paragraph_funcs.C: ...here
4072
4073         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
4074
4075 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4076
4077         * buffer.C (readInset): remove compability code for old Figure and
4078         InsetInfo insets
4079
4080 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4081
4082         * buffer.C: ws changes
4083         (readInset):
4084
4085         * BufferView_pimpl.C: ditto
4086         * author.C: ditto
4087         * buffer.h: ditto
4088         * bufferlist.h: ditto
4089         * changes.h: ditto
4090         * lyxfunc.C: ditto
4091
4092 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
4093
4094         * converter.[Ch]: split into itself +
4095         * graph.[Ch]
4096         * format.[Ch]
4097         * Makefile.am: += graph.[Ch] + format.[Ch]
4098         * MenuBackend.C
4099         * buffer.C
4100         * exporter.C
4101         * importer.C
4102         * lyx_main.C
4103         * lyxfunc.C
4104         * lyxrc.C: added #include "format.h"
4105
4106 2003-02-27  Angus Leeming  <leeming@lyx.org>
4107
4108         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
4109           a label.
4110
4111         * factory.C (createInset): add "label" to the factory.
4112
4113         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
4114           string and do no more.
4115
4116 2003-02-27  Angus Leeming  <leeming@lyx.org>
4117
4118         * commandtags.h:
4119         * LyXAction.C (init):
4120         * factory.C (createInset):
4121         * BufferView_pimpl.C (dispatch):
4122           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
4123
4124         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
4125
4126         * lyxfunc.C (dispatch):
4127         * text3.C (dispatch): pass name to params2string.
4128
4129 2003-02-26  Angus Leeming  <leeming@lyx.org>
4130
4131         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
4132           blocks together.
4133           Rearrange the ~includes. Strip out the unnecessary ones.
4134
4135         * factory.C (createInset): reformat.
4136           create new insets for the various LFUN_XYZ_APPLY lfuns.
4137
4138 2003-02-26  John Levon  <levon@movementarian.org>
4139
4140         * lyxrow.h:
4141         * lyxrow.C: add isParStart,isParEnd helpers
4142
4143         * paragraph.h: make isInserted/DeletedText take refs
4144
4145         * paragraph_funcs.h:
4146         * paragraph_funcs.C: remove #if 0'd code
4147
4148         * lyxtext.h:
4149         * text3.C:
4150         * text2.C:
4151         * text.C: use lyxrow helpers above.
4152           Move draw and paint routines to RowPainter.
4153           Make several methods use refs not pointers.
4154           Make backgroundColor() const.
4155           Add markChangeInDraw(), isInInset().
4156           Merge changeRegionCase into changeCase.
4157           Make workWidth() shouldn't-happen code into an Assert.
4158
4159         * rowpainter.h:
4160         * rowpainter.C: new class for painting a row.
4161
4162         * vspace.h:
4163         * vspace.C: make inPixels take a ref
4164
4165 2003-02-26  Angus Leeming  <leeming@lyx.org>
4166
4167         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
4168         LFUN_REF_APPLY.
4169
4170 2003-02-25  John Levon  <levon@movementarian.org>
4171
4172         * ispell.C: give the forked command a more accurate name
4173
4174 2003-02-22  John Levon  <levon@movementarian.org>
4175
4176         * toc.h:
4177         * toc.C: make TocItem store an id not a Paragraph *
4178           (bug #913)
4179
4180 2003-02-21  Angus Leeming  <leeming@lyx.org>
4181
4182         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
4183           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
4184           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
4185           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
4186           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
4187           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
4188
4189         * BufferView_pimpl.C (dispatch):
4190         * LyXAction.C (init):
4191         * factory.C (createInset):
4192         * lyxfunc.C (getStatus, dispatch):
4193         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
4194
4195 2003-02-21  Angus Leeming  <leeming@lyx.org>
4196
4197         * BufferView_pimpl.C (MenuInsertLyXFile):
4198         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
4199         * lyxfunc.C (menuNew, open, doImport):
4200           no longer pass a LyXView & to fileDlg.
4201
4202 2003-02-21  Angus Leeming  <leeming@lyx.org>
4203
4204         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
4205         * LyXAction.C: change, BIBKEY to BIBITEM.
4206         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
4207         Change InsetBibKey to InsetBibitem.
4208         Change BIBKEY_CODE to BIBITEM_CODE.
4209         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
4210         * factory.C: replace insetbib.h with insetbibitem.h.
4211         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
4212         * paragraph.C: replace insetbib.h with insetbibitem.h.
4213         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
4214         Change bibkey() to bibitem().
4215         * text.C: remove insetbib.h.
4216         * text2.C: replace insetbib.h with insetbibitem.h.
4217         change bibkey() to bibitem().
4218         * text3.C: remove insetbib.h.
4219         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
4220
4221 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4222
4223         * lyxrc.C (output): enclose user email in quotes (in case there are
4224         several words)
4225
4226 2003-02-18  John Levon  <levon@movementarian.org>
4227
4228         * buffer.h: add std::
4229
4230 2003-02-17  John Levon  <levon@movementarian.org>
4231
4232         * SpellBase.h:
4233         * ispell.h:
4234         * ispell.C:
4235         * pspell.h:
4236         * pspell.C: reworking. Especially in ispell, a large
4237           number of clean ups and bug fixes.
4238
4239         * lyxfunc.C: fix revert to behave sensibly
4240
4241 2003-02-17 André Pönitz <poenitz@gmx.net>
4242
4243         * LyXAction.C:
4244         * commandtags.h: new LFUN_INSERT_BIBKEY
4245
4246         * layout.h:
4247         * lyxlayout.C:
4248         * buffer.C:
4249         * factory.C:
4250         * text.C:
4251         * text2.C:
4252         * text3.C:
4253         * paragraph.[Ch]:
4254         * paragraph_func.C: remove special bibkey handling
4255
4256 2003-02-17  John Levon  <levon@movementarian.org>
4257
4258         * text.C (Delete): fix case where delete at the end of
4259           the very first paragraph would not merge the pars
4260
4261 2003-02-17  John Levon  <levon@movementarian.org>
4262
4263         * lyxrow.C: fix lastPrintablePos()
4264
4265 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4266
4267         * bufferparams.C (writeLaTeX): add a std:here
4268
4269         * buffer.C: and remove a using directive there
4270
4271 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4272
4273         * buffer.C (makeLaTeXFile): move the code that generates the
4274           preamble...
4275
4276         * bufferparams.C (writeLaTeX): ... in this new method
4277
4278         * LaTeXFeatures.C (getEncodingSet): make const
4279           (getLanguages): make const
4280
4281         * MenuBackend.C (binding): returns the binding associated to this
4282           action
4283           (add): sets the status of each item by calling getStatus. Adds
4284           some intelligence.
4285           (read): add support for OptSubMenu
4286           (expand): remove extra separator at the end of expanded menu
4287
4288 2003-02-15  John Levon  <levon@movementarian.org>
4289
4290         * BufferView.C:
4291         * BufferView_pimpl.C:
4292         * bufferlist.h:
4293         * bufferlist.C: remove pointless BufferStorage bloat. Remove
4294           inset code that had no actual effect. Remove unneeded status
4295           code.
4296
4297 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4298
4299         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
4300           in preamble
4301
4302 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
4303
4304         * text.C (drawLengthMarker): also draw an arrow marker for
4305           symbolic lengths (medskip...)
4306
4307 2003-02-14  John Levon  <levon@movementarian.org>
4308
4309         * tabular.h:
4310         * tabular.C: better method names
4311
4312 2003-02-14  John Levon  <levon@movementarian.org>
4313
4314         * BufferView_pimpl.C:
4315         * bufferlist.C:
4316         * buffer.C:
4317         * converter.C:
4318         * lyx_cb.C:
4319         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
4320           it's a more accurate name. Remove some pointless uses.
4321
4322 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4323
4324         * text2.C (LyXText): change order of initilizers to shut off
4325           warnings
4326
4327 2003-02-14  John Levon  <levon@movementarian.org>
4328
4329         * buffer.C: use ParIterator for getParFromID()
4330
4331         * paragraph.h:
4332         * paragraph.C:
4333         * paragraph_pimpl.h:
4334         * paragraph_pimpl.C: remove unused getParFromID()
4335
4336 2003-02-14  John Levon  <levon@movementarian.org>
4337
4338         * buffer.C: remove some very old #if 0'd parse code
4339
4340 2003-02-13  John Levon  <levon@movementarian.org>
4341
4342         * text.h:
4343         * text.C:
4344         * text2.C: move hfillExpansion(), numberOfSeparators(),
4345           rowLast(), rowLastPrintable(), numberofHfills(),
4346           numberOfLabelHfills() ...
4347
4348         * lyxrow.h:
4349         * lyxrow.C: ... to member functions here.
4350
4351         * paragraph.h:
4352         * paragraph.C:
4353         * lyxtext.h:
4354         * text.C: remove LyXText::beginningOfMainBody(), and call
4355           p->beginningOfMainBody() directly. Move the check for
4356           LABEL_MANUAL into the latter.
4357
4358         * text.h:
4359         * text.C:
4360         * text2.C:
4361         * vspace.C:
4362         * BufferView.h:
4363         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
4364
4365         * text.h:
4366         * text.C:
4367         * text2.C:
4368         * text3.C:
4369         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
4370           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
4371
4372 2003-02-13  John Levon  <levon@movementarian.org>
4373
4374         * CutAndPaste.C: remove debug
4375
4376 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4377
4378         * paragraph.C (asString): remove two unused variables
4379
4380         * lyxtextclass.C (readTitleType):
4381           (Read):
4382           (LyXTextClass): handle new members titletype_ and titlename_
4383
4384         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
4385
4386 2003-02-09  John Levon  <levon@movementarian.org>
4387
4388         * buffer.h:
4389         * buffer.C: replace hand-coded list with a map for the dep clean
4390
4391 2003-02-08  John Levon  <levon@movementarian.org>
4392
4393         * LaTeX.C: consolidate code into showRunMessage() helper
4394
4395 2003-02-08  John Levon  <levon@movementarian.org>
4396
4397         * lyxfind.C:
4398         * lyxtext.h:
4399         * text2.C:
4400         * BufferView.C: change setSelectionOverString() to setSelectionRange()
4401           and pass the size in explicitly
4402
4403         * BufferView_pimpl.h:
4404         * BufferView_pimpl.C:
4405         * BufferView.h:
4406         * BufferView.C: add getCurrentChange()
4407
4408         * BufferView_pimpl.h:
4409         * BufferView_pimpl.C: handle change lfuns
4410
4411         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
4412           for changes. Mark pasted paragraphs as new.
4413
4414         * support/lyxtime.h:
4415         * support/lyxtime.C:
4416         * DepTable.C: abstract time_t as lyx::time_type
4417
4418         * LColor.h:
4419         * LColor.C: add colours for new text, deleted text, changebars
4420
4421         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
4422           package use "usenames" option.
4423
4424         * commandtags.h:
4425         * lyxfunc.C:
4426         * LyXAction.C: add change lfuns
4427
4428         * Makefile.am:
4429         * author.h:
4430         * author.C: author handling
4431
4432         * buffer.h:
4433         * buffer.C: add a per-buffer author list, with first entry as
4434           current author. Handle new .lyx tokens for change tracking. Output
4435           author list to .lyx file. Output dvipost stuff to .tex preamble.
4436           Bump lyx format to 222.
4437
4438         * bufferlist.h:
4439         * bufferlist.C: add setCurrentAuthor() to reset current author details
4440           in all buffers.
4441
4442         * bufferparams.h:
4443         * bufferparams.C: add param for tracking
4444
4445         * bufferview_funcs.C: output change info in minibuffer
4446
4447         * Makefile.am:
4448         * changes.h:
4449         * changes.C: add change-tracking structure
4450
4451         * debug.h:
4452         * debug.C: add CHANGES debug flag
4453
4454         * lyxfind.h:
4455         * lyxfind.C: add code for finding the next change piece
4456
4457         * lyxrc.h:
4458         * lyxrc.C: add user_name and user_email
4459
4460         * lyxrow.h:
4461         * lyxrow.C: add a metric for the top of the text line
4462
4463         * lyxtext.h:
4464         * text.C: implement accept/rejectChange()
4465
4466         * lyxtext.h:
4467         * text.C: paint changebars. Paint new/deleted text in the chosen
4468         colours. Strike through deleted text.
4469
4470         * paragraph.h:
4471         * paragraph.C:
4472         * paragraph_pimpl.h:
4473         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
4474           in the current change to the insert functions. Rework erase to
4475           mark text as deleted, adding an eraseIntern() and a range-based
4476           erase(). Implement per-paragraph change lookup and
4477           accept/reject.
4478
4479         * paragraph_funcs.C: Fixup paste for change tracking.
4480
4481         * tabular.C: mark added row/columns as new.
4482
4483         * text.C: fix rowLast() to never return -1. Don't allow
4484           spellchecking of deleted text. Track transpose changes. Don't
4485           allow paragraph break or merge where appropriate.
4486
4487         * text2.C: leave cursor at end of selection after a cut.
4488
4489 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4490
4491         * text.C (getLengthMarkerHeight):
4492         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
4493         visible on screen too.
4494
4495 2003-02-07  John Levon  <levon@movementarian.org>
4496
4497         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
4498
4499 2003-02-05  Angus Leeming  <leeming@lyx.org>
4500
4501         * lyxserver.C (read_ready): revert my patch of 11 September last year
4502         as it sends PC cpu through the roof. Presumably this means that
4503         the lyxserver will no longer run on an Alpha...
4504
4505 2003-01-30  Angus Leeming  <leeming@lyx.org>
4506
4507         * factory.C (createInset): create an InsetCommandParam of type "index"
4508         and use it to 'do the right thing'.
4509
4510         * text2.C (getStringToIndex): ensure that cursor position is always
4511         reset to the reset_cursor position.
4512
4513 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4514
4515         * lyxfunc.C (getStatus): "buffer-export custom" should never be
4516         disabled.
4517
4518 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
4519
4520         * bufferview.C:
4521         * lyxcb.C:
4522         * lyxfunc.C: Output messages with identical spelling, punctuation,
4523         and spaces
4524
4525 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
4526
4527         * MenuBackend.C (expandFormats): List only viewable export formats
4528         in "View" menu
4529
4530         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
4531         message
4532
4533         * lyxfunc.C (getStatus): Make sure that formats other than
4534         "fax" can also be disabled
4535
4536 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4537
4538         * text3.C (dispatch): put the lfuns that insert insets in 3
4539         groups, and call doInsertInset with appropriate arguments.
4540         (doInsertInset): new function, that creates an inset and inserts
4541         it according to some boolean parameters.
4542
4543 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4544
4545         * buffer.C (readFile): remember to pass on 'par' when calling
4546         readFile recursively.
4547
4548 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4549
4550         * MenuBackend.C (expandFormats): add "..." to import formats.
4551
4552 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
4553
4554         * paragraph.C (asString): Remove XForms RTL hacks.
4555
4556 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
4557         * buffer.C: fix typo
4558
4559 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
4560
4561         * Makefile.am (LIBS): delete var
4562         (lyx_LDADD): add @LIBS@ here instead.
4563
4564 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
4565
4566         * Clarify the meaning of "wheel mouse jump"
4567
4568 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4569
4570         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
4571         tabular in a float
4572
4573 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4574
4575         * importer.C (Loaders): do not preallocate 3 elements in the
4576         vector, since one ends up with 6 elements otherwise
4577
4578 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4579
4580         * DepTable.C (write): write the file name as last element of the
4581         .dep file (because it may contain spaces)
4582         (read): read info in the right order
4583
4584 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4585
4586         * paragraph_pimpl.C (simpleTeXBlanks):
4587         (simpleTeXSpecialChars):
4588         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
4589
4590         * tabular.C (latex): add some missing case statements. Reindent.
4591
4592         * MenuBackend.C (expandToc): remove unused variable.
4593
4594 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
4595
4596         * LColor.C:
4597         * LaTeX.C:
4598         * LyXAction.C:
4599         * MenuBackend.C:
4600         * buffer.C:
4601         * exporter.C:
4602         * lyxfunc.C:
4603         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
4604         and the like.
4605
4606 2003-01-05  John Levon  <levon@movementarian.org>
4607
4608         * BufferView.h:
4609         * BufferView.C: add getEncoding()
4610
4611         * kbsequence.h:
4612         * kbsequence.C: do not store last keypress
4613
4614         * lyxfunc.h:
4615         * lyxfunc.C: store last keypress here instead. Pass encoding
4616           to getISOEncoded()
4617
4618 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4619
4620         * lyx_main.C (init): remove annoying error message when following
4621         symbolic links (bug #780)
4622
4623 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4624
4625         * text.C (insertChar):
4626         * lyxrc.C (getDescription): remove extra spaces
4627
4628 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4629
4630         * lyxrc.C (getDescription): remove extra spaces
4631
4632 2002-12-20  John Levon  <levon@movementarian.org>
4633
4634         * text3.C: hack fix for page up/down across tall rows
4635
4636 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4637
4638         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
4639         not been invoked
4640
4641 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4642
4643         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
4644         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
4645         thesaurus is not compiled in
4646
4647 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
4648
4649         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
4650
4651 2002-12-16  Angus Leeming  <leeming@lyx.org>
4652
4653         * lyxrc.[Ch]:
4654         * lyx_main.C (init): remove override_x_deadkeys stuff.
4655
4656 2002-12-12  John Levon  <levon@movementarian.org>
4657
4658         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
4659           insert. Only remove shift modifier under strict
4660           circumstances.
4661
4662 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
4663
4664         * MenuBackend.C (expandToc): fix crash.
4665
4666 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
4667
4668         * MenuBackend.C (expandToc): gettext on float names.
4669
4670 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4671
4672         * lyxlength.[Ch]: set default unit to UNIT_NONE,
4673         implement bool empty() [bug 490]
4674
4675 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4676
4677         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
4678
4679 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4680
4681         * several files: ws changes
4682
4683 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4684
4685         * text2.C (setCounter): clean up a bit, use boost.format.
4686         (updateCounters): initialize par upon declaration.
4687
4688         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
4689         if the layout exists. We do not just store the layout any more.
4690         (SwitchLayoutsBetweenClasses): use boost.format
4691
4692 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4693
4694         * converter.C (convert): if from and to files are the same, use a
4695         temporary files as intermediary
4696
4697 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4698
4699         * commandtags.h:
4700         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
4701
4702 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
4703
4704         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
4705
4706 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4707
4708         * tabular.C (asciiPrintCell): use string(size, char) instead of
4709         explicit loop.
4710
4711         * sgml.C (openTag): fix order of arguments to string constructor
4712         (closeTag): ditto
4713
4714         * lyxfunc.C (dispatch): use boost.format
4715
4716         * lots of files: change "c" -> 'c'
4717
4718 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
4719
4720         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
4721
4722 2002-11-25  Angus Leeming  <leeming@lyx.org>
4723
4724         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
4725
4726         * lyx_main.C (init): compile fix.
4727
4728 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4729
4730         * lyx_cb.C (start): boost.formatify
4731         do not include <iostream>
4732
4733         * lengthcommon.C: ws only
4734
4735         * boost-inst.C,BoostFormat.h: add more explict instantations
4736
4737 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
4738
4739         * lots of files: handle USE_BOOST_FORMAT
4740
4741 2002-11-21  John Levon  <levon@movementarian.org>
4742
4743         * pspell.C: fix compile
4744
4745 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4746
4747         * lyxfunc.C (dispatch): use boost::format
4748         (open): ditto
4749         (doImport): ditto
4750
4751         * lyxfont.C (stateText): use boost::format
4752
4753         * lyx_main.C (LyX): use boost::format
4754         (init): ditto
4755         (queryUserLyXDir): ditto
4756         (readRcFile): ditto
4757         (parse_dbg): ditto
4758         (typedef boost::function): use the recommened syntax.
4759
4760         * importer.C (Import): use boost::format
4761
4762         * debug.C (showLevel): use boost::format
4763
4764         * converter.C (view): use boost::format
4765         (convert): ditto
4766         (move): ditto
4767         (scanLog): ditto
4768
4769         * bufferview_funcs.C (currentState): use boost::format
4770
4771         * bufferlist.C (emergencyWrite): use boost::format
4772
4773         * buffer.C (readLyXformat2): use boost::format
4774         (parseSingleLyXformat2Token): ditto
4775
4776         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
4777
4778         * LaTeX.C (run): use boost::format
4779
4780         * Chktex.C (scanLogFile): use boost::format
4781
4782         * BufferView_pimpl.C (savePosition): use boost::format
4783         (restorePosition): ditto
4784         (MenuInsertLyXFile): ditto
4785
4786         * BoostFormat.h: help file for explicit instation.
4787
4788 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
4789
4790         * tabular.C (latex): Support for block alignment in fixed width
4791         columns.
4792
4793 2002-11-17  John Levon  <levon@movementarian.org>
4794
4795         * BufferView_pimpl.C:
4796         * lyx_cb.C:
4797         * lyxfunc.C: split filedialog into open/save
4798
4799 2002-11-08  Juergen Vigna  <jug@sad.it>
4800
4801         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
4802         by my last patch (hopefully).
4803
4804 2002-11-08  John Levon  <levon@movementarian.org>
4805
4806         * iterators.h:
4807         * iterators.C:
4808         * buffer.h:
4809         * buffer.C:
4810         * paragraph.h:
4811         * paragraph.C:
4812         * toc.h:
4813         * toc.C: ParConstIterator, and use it (from Lars)
4814
4815 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
4816
4817         * lyxtextclass.[Ch]: revise and add doxygen comments
4818
4819 2002-11-07  John Levon  <levon@movementarian.org>
4820
4821         * text.C: fix progress value for spellchecker
4822
4823         * toc.C: fix navigate menu for insetwrap inside minipage
4824
4825         * paragraph_funcs.C: added FIXME for suspect code
4826
4827 2002-11-07  John Levon  <levon@movementarian.org>
4828
4829         * BufferView_pimpl.C: fix redrawing of insets
4830           on buffer switch
4831
4832 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4833
4834         * text2.C (updateCounters): fix bug 668
4835
4836 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
4837
4838         * text3.C (dispatch): Do not make the buffer dirty when moving the
4839         cursor.
4840
4841 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
4842
4843         * vc-backend.C: STRCONV
4844         (scanMaster): ditto
4845
4846         * text2.C (setCounter): STRCONV
4847
4848         * paragraph.C (asString): STRCONV
4849
4850         * lyxlength.C (asString): STRCONV
4851         (asLatexString): ditto
4852
4853         * lyxgluelength.C (asString): STRCONV
4854         (asLatexString): ditto
4855
4856         * lyxfunc.C (dispatch): STRCONV
4857         (open): ditto
4858
4859         * lyxfont.C (stateText): STRCONV
4860
4861         * importer.C (Import): STRCONV
4862
4863         * counters.C (labelItem): STRCONV
4864         (numberLabel): ditto
4865         (numberLabel): remove unused ostringstream o
4866
4867         * chset.C: STRCONV
4868         (loadFile): ditto
4869
4870         * bufferview_funcs.C (currentState): STRCONV
4871
4872         * buffer.C (readFile): STRCONV
4873         (asciiParagraph): ditto
4874         (makeLaTeXFile): ditto
4875
4876         * Spacing.C (writeEnvirBegin): STRCONV
4877
4878         * LaTeXFeatures.C (getLanguages): STRCONV
4879         (getPackages): ditto
4880         (getMacros): ditto
4881         (getBabelOptions): ditto
4882         (getTClassPreamble): ditto
4883         (getLyXSGMLEntities): ditto
4884         (getIncludedFiles): ditto
4885
4886         * LaTeX.C: STRCONV
4887         (run): ditto
4888         (scanAuxFile): ditto
4889         (deplog): ditto
4890
4891         * LString.h: add the STRCONV macros
4892
4893         * BufferView_pimpl.C (savePosition): STRCONV
4894         (restorePosition): ditto
4895         (MenuInsertLyXFile): ditto
4896
4897         * vc-backend.C (scanMaster): change from submatch[...] to
4898         submatch.str(...)
4899
4900         * funcrequest.C: include config.h
4901
4902         * factory.C: include config.h
4903
4904         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
4905
4906         * box.C: include config.h
4907
4908         * LaTeX.C (scanAuxFile): change from submatch[...] to
4909         submatch.str(...)
4910         (deplog): ditto
4911
4912 2002-10-25  Angus Leeming  <leeming@lyx.org>
4913
4914         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
4915
4916         * ispell.[Ch] (setError): new method.
4917         * ispell.C (c-tor): move out child process into new class LaunchIspell.
4918         Use setError() insetead of goto END.
4919
4920         * lyx_cb.C (AutoSave): move out child process into new class
4921         AutoSaveBuffer.
4922
4923 2002-10-30  John Levon  <levon@movementarian.org>
4924
4925         * text3.C: make start appendix undoable
4926
4927 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
4928
4929         * lyxlength.C (inPixels): Fix returned value.
4930
4931         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
4932         environment.
4933
4934 2002-10-24  Angus Leeming  <leeming@lyx.org>
4935
4936         * lyxgluelength.h: no need to forward declare BufferParams
4937         or BufferView, so don't.
4938
4939 2002-10-21  John Levon  <levon@movementarian.org>
4940
4941         * BufferView.C: menuUndo ->undo, redo
4942
4943         * BufferView.h: document, remove dead, make some methods private
4944
4945         * paragraph_funcs.h:
4946         * paragraph_funcs.C:
4947         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
4948
4949         * buffer.h:
4950         * buffer.C:
4951         * sgml.h:
4952         * sgml.C: move sgml open/close tag into sgml.C
4953
4954         * bufferview_funcs.h: unused prototype
4955
4956         * lyxfunc.h:
4957         * lyxfunc.C: remove unused
4958
4959         * lyxtext.h:
4960         * text.C: remove unused
4961
4962 2002-10-21  John Levon  <levon@movementarian.org>
4963
4964         * BufferView.h:
4965         * BufferView.C:
4966         * BufferView_pimpl.h:
4967         * BufferView_pimpl.C: fix mouse wheel handling based on
4968           patch from Darren Freeman
4969
4970 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
4971
4972         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
4973
4974 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
4975
4976         * lyxlength.C (inPixels): Fix hanfling of negative length.
4977         Fix LyXLength::MU case.
4978
4979 2002-10-16  John Levon  <levon@movementarian.org>
4980
4981         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
4982
4983 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4984
4985         * converter.C (view): add support for $$i (file name) and $$p
4986         (file path) for the viewer command. If $$i is not specified, then
4987         it is appended to the command (for compatibility with old syntax)
4988
4989 2002-10-14  Juergen Vigna  <jug@sad.it>
4990
4991         * undo_funcs.C (textHandleUndo): alter the order in which the
4992         new undopar is added to the LyXText, as we have to set first
4993         the right prev/next and then add it as otherwise the rebuild of
4994         LyXText is not correct. Also reset the cursor to the right paragraph,
4995         with this IMO we could remove the hack in "redoParagraphs()".
4996
4997 2002-10-09  Angus Leeming  <leeming@lyx.org>
4998
4999         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
5000         to turn off an optimisation if a new inset is to be inserted.
5001
5002 2002-10-11 André Pönitz <poenitz@gmx.net>
5003
5004         * lyxtext.h: make some functions public to allow access
5005         from inset/lyxtext for handling LFUN_PRIOR/NEXT
5006
5007 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5008
5009         * text3.C (dispatch): when changing layout, avoid an infinite loop
5010         [bug #652]
5011
5012 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5013
5014         * lyxrc.C (read): treat a viewer or converter command of "none" as
5015         if it were empty.
5016
5017         * MenuBackend.C (expandFormats): for an update, also allow the
5018         formats that are not viewable
5019
5020         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
5021         script if it is newer than the lyxrc.defaults in user directory
5022
5023 2002-10-07 André Pönitz <poenitz@gmx.net>
5024
5025         * text.C: Vitaly Lipatov's small i18n fix
5026
5027 2002-09-25  Angus Leeming  <leeming@lyx.org>
5028
5029         * ispell.h: doxygen fix.
5030
5031 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
5032
5033         * buffer.h (readFile): Add a new argument to the method, to allow
5034         reading of old-format templates.
5035
5036 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
5037
5038         * toc.C (getTocList): Get TOC from InsetWrap.
5039
5040 2002-09-16  John Levon  <levon@movementarian.org>
5041
5042         * lyxfunc.C: check tabular for cut/copy too
5043
5044 2002-09-12  John Levon  <levon@movementarian.org>
5045
5046         * LyXAction.C: tidy
5047
5048         * factory.h:
5049         * factory.C: add header
5050
5051         * paragraph_funcs.h:
5052         * paragraph_funcs.C: cleanup
5053
5054 2002-09-11  John Levon  <levon@movementarian.org>
5055
5056         * PrinterParams.h: odd/even default to true
5057
5058 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
5059
5060         * PrinterParams.h: update printer parameters for new xforms dialog
5061
5062 2002-09-11  Angus Leeming  <leeming@lyx.org>
5063
5064         * lyxserver.C (read_ready): re-write to make it more transparent
5065         and to make it work in coherent fashion under Tru64 Unix.
5066
5067 2002-09-11  André Pönitz <poenitz@gmx.net>
5068
5069         * commandtags.h:
5070         * LyXAction.C:
5071         * text3.C: implement LFUN_WORDSEL
5072
5073 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
5074
5075         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
5076         make floatlist_ a boost::shared_ptr<FloatList>
5077
5078         * lyxtextclass.C: include FloatList.h
5079         (LyXTextClass): initialize floatlist_
5080         (TextClassTags): add TC_NOFLOAT
5081         (Read): match "nofloat" to TC_NOFLOAT and use it.
5082         (readFloat): modify call to floatlist_
5083         (floats): ditto
5084         (floats): ditto
5085
5086         * FloatList.[Ch] (FloatList): remove commented out float
5087         initialization.
5088         (erase): new function
5089
5090 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5091
5092         * MenuBackend.C (expandToc): fix crash when there is no document
5093         open
5094
5095 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
5096
5097         * many files: Add insetwrap.
5098
5099 2002-09-09  John Levon  <levon@movementarian.org>
5100
5101         * text2.C: remove confusing and awkward depth wraparound
5102
5103 2002-09-09  John Levon  <levon@movementarian.org>
5104
5105         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
5106
5107         * buffer.h:
5108         * buffer.C: remove getIncludeonlyList()
5109
5110         * paragraph.C:
5111         * lyxfunc.C: remove headers
5112
5113 2002-09-09  Juergen Vigna  <jug@sad.it>
5114
5115         * text.C (getColumnNearX): fix form Michael this is most
5116         probably a cut&paste bug.
5117
5118 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5119
5120         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
5121
5122         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
5123         references, ws changes.
5124
5125         * text2.C (init): update counters after init
5126         (insertParagraph): no need to set counter on idividual paragraphs.
5127         (setCounter): access the counters object in the textclass object
5128         on in the buffer object.
5129         (updateCounters): ditto
5130
5131         * lyxtextclass.C: include counters.h, add variable ctrs_ as
5132         shared_ptr<Counters> to avoid loading counters.h in all
5133         compilation units.
5134         (LyXTextClass): initialize ctrs_
5135         (TextClassTags): add TC_COUNTER, and ...
5136         (Read): use it here.
5137         (CounterTags): new tags
5138         (readCounter): new function
5139         (counters): new funtion
5140         (defaultLayoutName): return a const reference
5141
5142         * counters.C (Counters): remove contructor
5143         (newCounter): remove a couple of unneeded statements.
5144         (newCounter): simplify a bit.
5145         (numberLabel): some small formatting changes.
5146
5147         * buffer.[Ch]: remove all traces of counters, move the Counters
5148         object to the LyXTextClass.
5149
5150 2002-09-06  Alain Castera  <castera@in2p3.fr>
5151
5152         * tabular.C: uses \tabularnewline; uses >{...} construct from array
5153         package to set the horizontal alignment on fixed width columns.
5154
5155         * lyx_sty.C:
5156         * lyx_sty.h: added tabularnewline macro def.
5157
5158         * LaTeXFeatures.C: added NeedTabularnewline macro feature
5159
5160 2002-09-06  John Levon  <levon@movementarian.org>
5161
5162         * LyXAction.C: tooltips for sub/superscript
5163
5164         * MenuBackend.C: a bit more verbose
5165
5166         * lyxfunc.C: tiny clean
5167
5168         * undo_funcs.C: document undo_frozen
5169
5170 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
5171
5172         * counters.C (Counters): add missing algorithm counter.
5173
5174         * text2.C (setCounter): lookup the counter with layouts latexname
5175         instead of by section number.
5176         (setCounter): use a hackish way to lookup the correct enum
5177         counter.
5178         a float name->type change
5179         reset enum couners with counter name directly instead of depth value.
5180
5181         * counters.C (Counters): remove the push_backs, change to use the
5182         float type not the float name.
5183         (labelItem): remove unused string, float name->type change
5184
5185         * counters.h: don't include vector, loose the enums and sects vectors
5186
5187 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5188
5189         * lyxtextclass.C (TextClassTags): add TC_FLOAT
5190         (Read): add float->TC_FLOAT to textclassTags
5191         (Read): and handle it in the switch
5192         (readFloat): new function
5193
5194         * FloatList.C (FloatList): comment out the hardcoded float
5195         definitions.
5196
5197         * lyxlayout.h: ws change.
5198
5199 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
5200
5201         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
5202
5203 2002-09-03  Angus Leeming  <leeming@lyx.org>
5204
5205         * BufferView_pimpl.h: qualified name is not allowed in member
5206         declaration: WorkArea & Pimpl::workarea() const;
5207
5208         * factory.C: added using std::endl directive.
5209
5210         * text3.C: added using std::find and std::vector directives.
5211
5212 2002-08-29  André Pönitz <poenitz@gmx.net>
5213
5214         * lyxtext.h:
5215         * text2.C: remove unused member number_of_rows
5216
5217         * Makefile.am:
5218         * BufferView2.C: remove file, move contents to...
5219         * BufferView.C: ... here
5220
5221         * BufferView_pimpl.C:
5222         * factory.C: move more inset creation to factory
5223
5224         * vspace.C: avoid direct usage of LyXText, ws changes
5225
5226         * BufferView.[Ch]:
5227                 don't provide direct access to WorkArea, use two simple
5228                 acessors haveSelction() and workHeight() instead
5229
5230
5231 2002-08-29  John Levon  <levon@movementarian.org>
5232
5233         * BufferView_pimpl.C (dispatch): do not continue when
5234           no buffer
5235
5236 2002-08-28  André Pönitz <poenitz@gmx.net>
5237
5238         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
5239
5240         * BufferView.h:
5241         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
5242
5243 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
5244
5245         * buffer.C: increment LYX_FORMAT to 221
5246
5247         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
5248         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
5249
5250         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
5251
5252         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
5253
5254 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5255
5256         * factory.C (createInset): use LyXTextClass::floats
5257
5258         * MenuBackend.C (expandFloatListInsert):
5259         (expandFloatInsert):
5260         (expandToc):
5261
5262         * text2.C (setCounter):
5263
5264         * LaTeXFeatures.C (useFloat):
5265         (getFloatDefinitions):
5266
5267         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
5268
5269         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
5270         floatlist_, with accessor floats().
5271
5272         * FloatList.h: remove global FloatList
5273
5274 2002-08-26  André Pönitz <poenitz@gmx.net>
5275
5276         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
5277
5278         * BufferView.h:
5279         * BufferView2.C:
5280         * BufferView_pimpl.C:
5281         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
5282
5283 2002-08-25  John Levon  <levon@movementarian.org>
5284
5285         * LyXAction.C: fix margin note description
5286
5287 2002-08-24  John Levon  <levon@movementarian.org>
5288
5289         * buffer.C:
5290         * bufferlist.C:
5291         * bufferview_funcs.C:
5292         * lyxfont.C:
5293         * undo_funcs.C: cleanups
5294
5295         * lyxfunc.C: disable CUT/COPY when no selection
5296
5297 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
5298
5299         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
5300         in "enum UNIT"; e.g. PTW for Percent of TextWidth
5301
5302         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
5303         Add backward compatibility to "mono", "gray" and "no".
5304
5305 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
5306
5307         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
5308         (and file_format >= 200).
5309
5310 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5311
5312         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
5313
5314 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5315
5316         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
5317
5318 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
5319
5320         * BufferView_pimpl.C:
5321         * LyXAction.C:
5322         * buffer.C:
5323         * commandtags.h:
5324         * lyxfunc.C:
5325         * paragraph.[Ch]:
5326         * text2.C:
5327         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
5328         inset and code to make it  work with the paragraph code. The inset
5329         can be anywhere in the paragraph, but will only do the expected
5330         thing in LaTeX if the layout file contains the parameter line
5331                         OptionalArgs    1
5332         (or more generally, a nonzero value) for that layout.
5333
5334 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5335
5336         * paragraph.h: remove the declaration of undefined counters class
5337         function.
5338
5339 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
5340
5341         * text2.C (setCounter):  fixed enumeration mis-count as reported by
5342         Dr. Richard Hawkins.
5343
5344 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5345
5346         * paragraph_funcs.h: remove some unneeded includes
5347
5348         * text.C (backspace): pasteParagraph now in global scipe
5349
5350         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
5351         (pasteSelection): ditto
5352
5353         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
5354         * paragraph_funcs.C (pasteParagraph): ... here
5355
5356 2002-08-20  André Pönitz <poenitz@gmx.net>
5357
5358         * commandtags.h: new LFUNs for swapping/copying table row/colums
5359
5360         * LyXAction.C:
5361         * lyxfunc.C: support for new lfuns
5362
5363 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
5364
5365         * tabular.C:
5366         * buffer.[Ch]: remove NO_COMPABILITY stuff
5367
5368 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
5369
5370         * boost.C (throw_exception): new file, with helper function for
5371         boost compiled without exceptions.
5372
5373         * paragraph.h:
5374         * lyxlength.C:
5375         * buffer.C:
5376         * ParameterStruct.h:
5377         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
5378
5379         * bufferlist.C (emergencyWriteAll): use boost bind
5380
5381         * BufferView_pimpl.C (moveCursorUpdate): remove inline
5382
5383         * text.C: include paragraph_funcs.h
5384         (breakParagraph): breakParagraph is now in global scope
5385
5386         * paragraph_funcs.[Ch]: new files
5387
5388         * paragraph.C (breakParagraph,breakParagraphConservative): move to
5389         global scope
5390
5391         * buffer.C: include paragraph_funcs.h
5392         (insertStringAsLines): breakParagraph is now in global scope
5393
5394         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
5395         paragraph_funcs.C
5396
5397         * CutAndPaste.C: include paragraph_funcs.h
5398         (cutSelection): breakParagraphConservative is now in global scope
5399         (pasteSelection): ditto
5400
5401         * buffer.h: declare oprator== and operator!= for
5402         Buffer::inset_iterator
5403
5404         * bufferlist.C (emergencyWrite): don't use fmt(...)
5405
5406         * text3.C: add using std::endl
5407
5408         * BufferView.C (moveCursorUpdate): remove default arg
5409
5410 2002-08-20  André Pönitz <poenitz@gmx.net>
5411
5412         * buffer.[Ch]: move inline functions to .C
5413
5414         * BufferView2.C:
5415         * BufferView_pimpl.C:
5416         * text.C:
5417         * buffer.[Ch]: use improved inset_iterator
5418
5419         * buffer.C:
5420         * paragraph.[Ch]: write one paragraph at a time
5421
5422 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
5423
5424         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
5425         style if style is not specified.
5426
5427 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5428
5429         * text2.C (setCounter): when searching for right label for a
5430         caption, make sure to recurse to parent insets (so that a caption
5431         in a minipage in a figure float works) (bug #568)
5432
5433 2002-08-20  André Pönitz <poenitz@gmx.net>
5434
5435         * text3.C: new file for LyXText::dispatch() and helpers
5436
5437         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
5438
5439         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
5440
5441 2002-08-19  André Pönitz <poenitz@gmx.net>
5442
5443         * lyxtext.h:
5444         * text.C: new LyXText::dispatch()
5445
5446         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
5447
5448 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
5449
5450         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
5451
5452         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
5453         Hebrew text.
5454
5455 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5456
5457         * Makefile.am: use $(variables) instead of @substitutions@
5458
5459 2002-08-15  André Pönitz <poenitz@gmx.net>
5460
5461         * lyxfunc.C:
5462         * BufferView_pimpl.C: streamlining mathed <-> outer world
5463         interaction
5464
5465         * commandtags.h:
5466         * LyXAction.C: remove unused LFUN_MATH
5467
5468 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5469
5470         * paragraph.[Ch]: add some NO_NEXT ifdefs.
5471
5472 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5473
5474         * paragraph.C (Paragraph): reformat a bit
5475         (cutIntoMinibuffer): use builtin InsetList function instad of
5476         doing it manually.
5477         (getInset): ditto
5478
5479         * buffer.C: include boost/bind.hpp, add using std::for_each
5480         (writeFileAscii): use ParagraphList iterators
5481         (validate): use for_each for validate traversal of paragraphs
5482         (getBibkeyList): use ParagraphList iterators
5483         (resizeInsets): use for_each to resizeInsetsLyXText for all
5484         paragraphs.
5485         (getParFromID): use ParagraphList iterators
5486
5487         * BufferView2.C (lockInset): use paragraph list and iterators
5488
5489 2002-08-14  John Levon  <levon@movementarian.org>
5490
5491         * lyxserver.C: remove spurious xforms include
5492
5493 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5494
5495         * lyxfunc.C (getStatus): disable math-extern outside of math mode
5496
5497 2002-08-13  André Pönitz <poenitz@gmx.net>
5498
5499         * LyXAction.[Ch]:
5500         * lyxfunc.C: further cleaning
5501
5502 2002-08-13  André Pönitz <poenitz@gmx.net>
5503
5504         * funcrequest.h: new constructor
5505
5506         * funcrequest.C: move stuff here from .h
5507
5508         * Makefile.am:
5509         * BufferView_pimpl.C:
5510         * LyXAction.C:
5511         * toc.C:
5512         * lyxfunc.C: subsequent changes
5513
5514         * lyxfunc.h: new view() member function
5515
5516         * lyxfunc.C: subsequent changes
5517
5518 2002-08-13  Angus Leeming  <leeming@lyx.org>
5519
5520         * BufferView2.C:
5521         * BufferView_pimpl.C:
5522         * buffer.C:
5523         * converter.C:
5524         * importer.C:
5525         * lyxfunc.C:
5526         * lyxvc.C:
5527         * toc.C:
5528         * vc-backend.C:
5529         changes due to the changed LyXView interface that now returns references
5530         to member variables not pointers.
5531
5532 2002-08-13  Angus Leeming  <leeming@lyx.org>
5533
5534         * WordLangTuple (word, lang_code): return references to strings,
5535         not strings.
5536
5537         * BufferView.h:
5538         * SpellBase.h:
5539         * lyxtext.h: forward-declare WordLangTuple.
5540
5541         * BufferView2.C:
5542         * ispell.C:
5543         * pspell.C:
5544         * text.C: #include "WordLangTuple.h".
5545
5546         * lyxtext.h:
5547         * text.C: (selectNextWordToSpellcheck): constify return type.
5548
5549 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
5550
5551         * buffer.C:
5552         * buffer.h:
5553         * lyxtext.h:
5554         * paragraph.C:
5555         * paragraph_pimpl.h:
5556         * text.C:
5557         * text2.C:
5558         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
5559         suggested by Angus.
5560         Made updateCounter always count from start of buffer, and removed
5561         second argument (par).
5562         Reverted floats number display to '#'. Perhaps I'll try again when the
5563         code base is sanitized a bit.
5564
5565 2002-08-12  Angus Leeming  <leeming@lyx.org>
5566
5567         * buffer.[Ch] (getLabelList): constify.
5568
5569 2002-08-07  André Pönitz <poenitz@gmx.net>
5570
5571         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
5572
5573         * funcrequest.h: extension to keep mouse (x,y) position
5574
5575 2002-08-12  Juergen Vigna  <jug@sad.it>
5576
5577         * BufferView2.C (insertErrors): forbid undo when inserting error
5578         insets.
5579
5580         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
5581
5582 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
5583
5584         * ParagraphList.[Ch]: new files
5585
5586         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
5587
5588         * BufferView2.C (lockInset): ParagraphList changes
5589         * toc.C: ditto
5590         * text2.C: ditto
5591         * bufferlist.C: ditto
5592         * buffer.h: ditto
5593         * buffer.C: ditto
5594
5595 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
5596
5597         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
5598         unused class variable counter_,
5599
5600         * paragraph.[Ch] (getFirstCounter): delete unused function
5601
5602         * counters.C: include LAssert.h
5603         (reset): add a new function with no arg, change other version to
5604         not have def. arg and to not allow empty arg.
5605
5606         * text2.C (setCounter): remove empty arg from call to Counters::reset
5607
5608 2002-08-11  John Levon  <levon@movementarian.org>
5609
5610         * Makefile.am: add WordLangTuple.h
5611
5612 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
5613
5614         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
5615         lyxfunc.C lyxlex_pimpl.C: ws changes only.
5616
5617         * insets/insettext.C: InsetList changes
5618
5619         * graphics/GraphicsSupport.C (operator()): InsetList changes
5620
5621         * toc.C (getTocList): InsetList changes
5622
5623         * paragraph_pimpl.[Ch]: InsetList changes
5624
5625         * paragraph.[Ch]: InsetList changes
5626
5627         * buffer.C (inset_iterator): InsetList changes
5628         (setParagraph): ditto
5629         * buffer.h (inset_iterator): ditto
5630         * iterators.C (operator++): ditto
5631         * iterators.h: ditto
5632
5633         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
5634
5635         * InsetList.[Ch]: new files, most InsetList handling moved out of
5636         paragraph.C.
5637
5638         * BufferView2.C (removeAutoInsets): InsetList changes
5639         (lockInset): ditto
5640         (ChangeInsets): ditto
5641
5642 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
5643
5644         * paragraph_pimpl.h (empty): new function
5645
5646         * paragraph.[Ch] (empty): new function
5647
5648         * other files: use the new Paragraph::empty function
5649
5650 2002-08-09  John Levon  <levon@movementarian.org>
5651
5652         * lyxtext.h: remove unused refresh_height
5653
5654 2002-08-09  John Levon  <levon@movementarian.org>
5655
5656         * Makefile.am:
5657         * sgml.h:
5658         * sgml.C:
5659         * buffer.C:
5660         * paragraph.h:
5661         * paragraph.C: move sgml char escaping out of paragraph
5662
5663         * paragraph.h:
5664         * paragraph.C: remove id setter
5665
5666         * buffer.C:
5667         * paragraph.C:
5668         * paragraph_pimpl.C: remove dead tex_code_break_column
5669
5670         * bufferview_funcs.C: small cleanup
5671
5672         * lyxfunc.C: remove dead proto
5673
5674         * lyxtext.h: make some stuff private. Remove some dead stuff.
5675
5676         * lyxgluelength.C: make as[LyX]String() readable
5677
5678 2002-08-08  John Levon  <levon@movementarian.org>
5679
5680         * LyXAction.h:
5681         * LyXAction.C:
5682         * MenuBackend.C:
5683         * ToolbarDefaults.C:
5684         * lyxfunc.C:
5685         * lyxrc.C:
5686         * toc.C: lyxaction cleanup
5687
5688 2002-08-08  John Levon  <levon@movementarian.org>
5689
5690         * BufferView2.C: small cleanup
5691
5692         * lyxfind.h:
5693         * lyxfind.C: move unnecessary header into the .C
5694
5695 2002-08-08  John Levon  <levon@movementarian.org>
5696
5697         * funcrequest.h: just tedious nonsense
5698
5699         * lyx_main.h:
5700         * lyx_main.C: cleanups
5701
5702         * buffer.C:
5703         * vspace.C: remove dead header lyx_main.h
5704
5705 2002-08-07  Angus Leeming  <leeming@lyx.org>
5706
5707         * Paragraph.[Ch]:
5708         * paragraph_pimpl.h:
5709         Forward declare class Counters in paragraph.h by moving the ctrs member
5710         variable into Paragraph::Pimpl.
5711         (counters): new method, returning a reference to pimpl_->ctrs.
5712
5713         * text2.C: ensuing changes.
5714
5715 2002-08-07  John Levon  <levon@movementarian.org>
5716
5717         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
5718
5719         * BufferView_pimpl.C: announce X selection on double/triple
5720           click
5721
5722         * lyx_main.C: use correct bool in batch dispatch
5723
5724         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
5725
5726 2002-08-07  André Pönitz <poenitz@gmx.net>
5727
5728         * funcrequest.h: new class to wrap a kb_action and its argument
5729
5730         * BufferView.[Ch]:
5731         * BufferView_pimpl[Ch]:
5732         * LaTeX.C:
5733         * LyXAction.[Ch]:
5734         * lyxfunc.[Ch]:
5735         * lyxrc.C: subsequent changes
5736
5737
5738 2002-08-07  John Levon  <levon@movementarian.org>
5739
5740         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
5741           document options change.
5742
5743 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
5744
5745         * counters.[Ch]
5746         * text2.C
5747         * paragraph.[Ch]
5748         * makefile.am: move counters functionality over from
5749         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
5750
5751 2002-08-06  John Levon  <levon@movementarian.org>
5752
5753         * WordLangTuple.h: new file for word + language code tuple
5754
5755         * SpellBase.h:
5756         * pspell.h:
5757         * pspell.C:
5758         * ispell.h:
5759         * ispell.C:
5760         * lyxtext.h:
5761         * text.C:
5762         * text2.C:
5763         * BufferView.h:
5764         * BufferView2.C: use WordLangTuple
5765
5766         * layout.h:
5767         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
5768
5769 2002-08-06  John Levon  <levon@movementarian.org>
5770
5771         * lyx_main.C: fix cmdline batch handling
5772
5773 2002-08-06  André Pönitz <poenitz@gmx.net>
5774
5775         * lyxrc.C: set default for show_banner to true
5776
5777 2002-08-06  John Levon  <levon@movementarian.org>
5778
5779         * pspell.C: fix a crash, and allow new aspell to work
5780
5781 2002-08-06  John Levon  <levon@movementarian.org>
5782
5783         * lyxfunc.C:
5784         * kbmap.C: small cleanup
5785
5786         * vspace.h:
5787         * vspace.C: add const
5788
5789 2002-08-05  John Levon  <levon@movementarian.org>
5790
5791         * LyXAction.C: back to tabular-insert
5792
5793 2002-08-04  John Levon  <levon@movementarian.org>
5794
5795         * BufferView.h:
5796         * BufferView.C: cosmetic change
5797
5798         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
5799
5800         * bufferlist.C:
5801         * buffer.h:
5802         * buffer.C:
5803         * lyxcb.h:
5804         * lyxcb.C:
5805         * lyxserver.C:
5806         * lyxvc.C:
5807         * vc-backend.C:
5808         * BufferView2.C: purge all "Lyx" not "LyX" strings
5809
5810         * lyxcursor.h:
5811         * lyxcursor.C: attempt to add some documentation
5812
5813         * lyxfunc.C:
5814         * commandtags.h:
5815         * LyXAction.C:
5816         * ToolbarDefaults.C:
5817         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
5818           merge with LFUN_TABULAR_INSERT
5819
5820         * Makefile.am:
5821         * SpellBase.h:
5822         * ispell.h:
5823         * ispell.C:
5824         * pspell.h:
5825         * pspell.C: split up i/pspell implementations into separate
5826           files, many cleanups
5827
5828         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
5829
5830         * text2.C: some cleanup
5831
5832         * lyxfunc.C: don't check for isp_command == "none" any more, it
5833           didn't make any sense
5834
5835 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
5836
5837         * counters.[Ch]
5838         * text2.C
5839         * paragraph.[Ch]
5840         * makefile.am: move counters functionality over
5841         from text2.C/paragraph.[Ch] to counters.[Ch], and
5842         make proper C++.
5843 2002-08-02  John Levon  <levon@movementarian.org>
5844
5845         * buffer.C: s/lyxconvert/lyx2lyx/
5846
5847 2002-08-02  Angus Leeming  <leeming@lyx.org>
5848
5849         * lyxlex.C: revert John's change as it breaks reading of the user
5850         preamble.
5851
5852 2002-08-02  Angus Leeming  <leeming@lyx.org>
5853
5854         * importer.C (Import):
5855         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
5856         changes due to LyXView::view() now returning a boost::shared_ptr.
5857
5858 2002-08-02  John Levon  <levon@movementarian.org>
5859
5860         * lyxlex.C: small cleanup
5861
5862 2002-08-02  John Levon  <levon@movementarian.org>
5863
5864         * text2.C (status): small cleanup, no logic change
5865
5866 2002-08-01  John Levon  <levon@movementarian.org>
5867
5868         * buffer.h:
5869         * buffer.C (writeFile): don't output alerts, caller
5870           handles this
5871
5872         * bufferlist.C:
5873         * lyx_cb.C: from above
5874
5875         * lyxfunc.C: allow to open non-existent files
5876
5877 2002-07-31  John Levon  <levon@movementarian.org>
5878
5879         * lyxserver.C: don't let incidental errors get
5880           in the way (errno)
5881
5882 2002-07-30  John Levon  <levon@movementarian.org>
5883
5884         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
5885
5886 2002-07-30  John Levon  <levon@movementarian.org>
5887
5888         * lyxserver.h:
5889         * lyxserver.C: remove I/O callback too
5890
5891 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5892
5893         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
5894         log.
5895
5896 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5897
5898         * many files: strip,frontStrip -> trim,ltrim,rtrim
5899
5900 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5901
5902         * PrinterParams.h: remove extern containsOnly, and include
5903         support/lstrings.h instead.
5904
5905         * LaTeX.C (scanAuxFile): modify because of strip changes
5906         (deplog): ditto
5907         * buffer.C (makeLaTeXFile): ditto
5908         * bufferparams.C (writeFile): ditt
5909         * lyxfont.C (stateText): ditto
5910         * lyxserver.C (read_ready): ditto
5911         * vc-backend.C (scanMaster): ditto
5912
5913         * BufferView_pimpl.h: ws changes
5914
5915         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
5916
5917 2002-07-26  André Pönitz <poenitz@gmx.net>
5918
5919         * kb_sequence.C: remove unnedred usings
5920
5921 2002-07-26  Juergen Vigna  <jug@sad.it>
5922
5923         * lyxfind.C (LyXReplace): we have to check better if the returned
5924         text is not of theLockingInset()->getLockingInset().
5925
5926 2002-07-25  Juergen Vigna  <jug@sad.it>
5927
5928         * lyxfind.C (LyXReplace): don't replace if we don't get the
5929         right LyXText.
5930
5931         * undo_funcs.C (createUndo): remove debugging code.
5932
5933 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
5934
5935         * buffer.C (parseSingleLyXformat2Token): Use default placement
5936         when reading old floats.
5937
5938         * FloatList.C (FloatList): Change the default placement of figure
5939         and tables to "tbp".
5940
5941 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
5942
5943         * MenuBackend.C: using std::max
5944
5945 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5946
5947         * MenuBackend.C (expandToc):
5948         (expandToc2): code moved from xforms menu frontend. It is now
5949         generic and TOCs are transparent to menu frontends.
5950
5951 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5952
5953         * toc.C (getTocList): protect against buf=0
5954
5955         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
5956         Menu as first parameter. Now, this calls itself recursively to
5957         expand a whole tree (this will be useful for TOC handling)
5958         (expandFloatInsert): remove 'wide' version of floats
5959
5960         * MenuBackend.h (submenuname): returns the name of the submenu.
5961         (submenu): returns the submenu itself, provided it has been
5962         created by MenuBackend::expand
5963
5964 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5965
5966         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
5967         insets which have noFontChange == true. (bug #172)
5968
5969 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5970
5971         * BufferView_pimpl.C: add connection objects and use them...
5972         (Pimpl): here.
5973
5974 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5975
5976         * MenuBackend.C (expandLastfiles):
5977         (expandDocuments):
5978         (expandFormats):
5979         (expandFloatListInsert):
5980         (expandFloatInsert):
5981         (expand): split expand in parts
5982
5983 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
5984
5985         * lyx_gui.C: use lyx_gui::exit()
5986
5987 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
5988
5989         * LyXAction.C: show the failing pseudo action
5990
5991 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
5992
5993         * buffer.C (readFile): Run the lyxconvert script in order to read
5994         old files.
5995
5996 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
5997
5998         * LyXAction.C:
5999         * commandtags.h:
6000         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
6001
6002 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
6003
6004         * LyXAction.C:
6005         * commandtags.h:
6006         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
6007
6008 2002-07-22  Herbert Voss  <voss@lyx.org>
6009
6010         * lengthcommon.C:
6011         * lyxlength.[Ch]: add support for the vertical lengths
6012
6013 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
6014
6015         * toc.[Ch]: std:: fixes
6016
6017 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6018
6019         * lyxrc.C: do not include lyx_main.h
6020
6021         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
6022         for layouts
6023
6024         * lyxrc.C:
6025         * encoding.C:
6026         * bufferlist.C:
6027         * BufferView2.C: include "lyxlex.h"
6028
6029         * tabular.h:
6030         * bufferparams.h: do not #include "lyxlex.h"
6031
6032         * lyxtextclasslist.C (Add): remove method
6033         (classlist): renamed to classlist_
6034
6035         * paragraph_pimpl.C:
6036         * paragraph.C:
6037         * text2.C:
6038         * CutAndPaste.C:
6039         * bufferview_funcs.C:
6040         * bufferlist.C:
6041         * text.C:
6042         * LaTeXFeatures.C:
6043         * buffer.C:
6044         * toc.C (getTocList): use BufferParams::getLyXTextClass
6045
6046         * toc.C (getTocList): use InsetFloat::addToToc
6047
6048         * toc.[Ch]: new files, containing helper functions to handle table
6049         of contents
6050
6051         * lyxfunc.C (dispatch): no need to remove spaces around command
6052         given as a string
6053         (getStatus): handle LFUN_SEQUENCE by returning the status of the
6054         first command of the sequence; it is not very clever, but I do not
6055         have a better idea, actually
6056
6057         * LyXAction.C (LookupFunc): make sure to remove space at the
6058         beginning and end of the command
6059
6060 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6061
6062         * MenuBackend.C (getMenubar): new method: return the menubar of
6063         this menu set
6064         (read): treat differently reading of menu and menubar (in
6065         particular, the menubar has no name now)
6066         (Menu::menubar): remove
6067
6068         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
6069         saving is finished
6070
6071 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
6072
6073         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
6074         a bibitem inset in a RTL paragraph.
6075
6076 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
6077
6078         * paragraph_pimpl.C: constify
6079
6080         * BufferView_pimpl.C:
6081         * LaTeX.C:
6082         * lyxfunc.C: fix dispatch in a nicer way
6083
6084 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6085
6086         * lyxfunc.C (dispatch):
6087         * BufferView_pimpl.C:
6088         * BufferView_pimpl.h:
6089         * BufferView.C:
6090         * BufferView.h: rename Dispatch() to dispatch()
6091
6092         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
6093
6094         * lyxlayout.C (Read): honor DependsOn tag
6095
6096         * lyxlayout.[Ch] (depends_on): new method
6097
6098         * version.C.in: update lyx_docversion
6099
6100         * LaTeXFeatures.C (getMacros): only define \LyX when needed
6101
6102         * paragraph.C (validate): remove from here...
6103         * paragraph_pimpl.C (validate): ... and move here
6104         (isTextAt): make it const
6105
6106         * buffer.C (getLists): ws cleanup
6107
6108 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
6109
6110         * language.C (read): Use iso8859-1 encoding in latex_lang
6111         (this prevents LyX from crashing when using iso10646-1 encoding).
6112
6113 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6114
6115         * text2.C (toggleInset): if cursor is inside an inset, close the
6116         inset and leave cursor _after_ it
6117
6118 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
6119
6120         * lyxfunc.C: move minibuffer completion handling out of here
6121
6122 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
6123
6124         * BufferView_pimpl.C:
6125         * LaTeX.C: fix dispatch calls
6126
6127 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
6128
6129         * text.C (drawChars): Fix Arabic text rendering.
6130
6131 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
6132
6133         * LyXAction.C:
6134         * commandtags.h:
6135         * lyxfunc.C: remove message-push/pop
6136
6137         * lyxserver.C:
6138         * lyxfunc.h:
6139         * lyxfunc.C: rationalise some code by removing verboseDispatch
6140           in favour of a bool argument to dispatch()
6141
6142 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6143
6144         * lyx_main.C (init): make sure to read symlinks as absolute paths
6145
6146 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
6147
6148         * lyxfunc.h:
6149         * lyxfunc.C: no need for commandshortcut to be a member
6150
6151 2002-07-15  André Pönitz <poenitz@gmx.net>
6152
6153         * converter.C: add support for $$s (scripts from lib/scripts dir)
6154         * lyx_main.C: white space
6155
6156 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
6157
6158         * bufferlist.C:
6159         * lyxrc.h:
6160         * lyxrc.C: remove second exit confirmation
6161
6162 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
6163
6164         * BufferView.h:
6165         * BufferView.C:
6166         * BufferView2.C:
6167         * BufferView_pimpl.h:
6168         * BufferView_pimpl.C:
6169         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
6170
6171 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6172
6173         * MenuBackend.C (expand): add numeric shortcuts to document menu
6174
6175         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
6176
6177 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6178
6179         * lyxfont.C (setLyXFamily):
6180         (setLyXSeries):
6181         (setLyXShape):
6182         (setLyXSize):
6183         (setLyXMisc):
6184         (lyxRead):
6185         * debug.C (value):
6186         * buffer.C (asciiParagraph): use ascii_lowercase
6187
6188 2002-07-15  Mike Fabian  <mfabian@suse.de>
6189
6190         * lyxlex_pimpl.C (search_kw):
6191         * lyxlex.C (getLongString):
6192         * converter.h (operator<):
6193         * converter.C (operator<):
6194         * buffer.C (parseSingleLyXformat2Token):
6195         (asciiParagraph):
6196         * ToolbarDefaults.C (read):
6197         * MenuBackend.C (checkShortcuts):
6198         (read):
6199         * LColor.C (getFromGUIName):
6200         (getFromLyXName): use the compare_ascii_no_case instead of
6201         compare_no_case, because in turkish, 'i' is not the lowercase
6202         version of 'I', and thus turkish locale breaks parsing of tags.
6203
6204 2002-07-16  Angus Leeming  <leeming@lyx.org>
6205
6206         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
6207         now takes a Buffer const & argument.
6208
6209 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
6210
6211         * BufferView.C (resize): check there's a buffer to resize
6212
6213 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
6214
6215         * lyxfunc.C: remove dead code
6216
6217         * lyxserver.h:
6218         * lyxserver.C: use lyx_guii::set_read_callback
6219
6220 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
6221
6222         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
6223         an inset in a RTL paragraph.
6224
6225 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
6226
6227         * lyxfunc.C: repaint after a font size update
6228
6229 2002-07-15  André Pönitz <poenitz@gmx.net>
6230
6231         * lyxlength.C: inBP should be able to return negative values
6232
6233 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
6234
6235         * lyxfunc.C: use lyx_gui::update_fonts()
6236
6237 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
6238
6239         * lyxfunc.C: use lyx_gui::update_color()
6240
6241 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
6242
6243         * bufferlist.C:
6244         * lyxfunc.h:
6245         * lyxfunc.C:
6246         * lyxrc.h:
6247         * lyxrc.C: remove file->new asks for name option, and let
6248           buffer-new take an argument
6249
6250 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
6251
6252         * BufferView_pimpl.C: remove unneeded extra repaint()
6253
6254 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
6255
6256         * LyXAction.C: allow command-sequence with NoBuffer
6257
6258         * lyxfunc.C: don't insist on trailing ';' for command-sequence
6259
6260 2002-07-10  Angus Leeming  <leeming@lyx.org>
6261
6262         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
6263
6264 2002-07-09  Angus Leeming  <leeming@lyx.org>
6265
6266         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
6267
6268 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
6269
6270         * lengthcommon.h: whitespace
6271
6272         * lyxfunc.C: update scrollbar after goto paragraph
6273
6274         * lyxtext.h: factor out page break drawing, and fix it so
6275           page break/added space paints as selected nicely
6276
6277 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
6278
6279         * BufferView_pimpl.C: add FIXMEs, clean up a little
6280
6281 2002-07-09  André Pönitz <poenitz@gmx.net>
6282
6283         * lyxfont.[Ch]: support for wasy symbols
6284
6285 2002-07-08  André Pönitz <poenitz@gmx.net>
6286
6287         * BufferView_pimpl.C: apply John's patch for #93.
6288
6289 2002-07-05  Angus Leeming  <leeming@lyx.org>
6290
6291         * BufferView_pimpl.C (buffer): generate previews if desired.
6292
6293         * LColor.h: add "preview" to the color enum.
6294
6295         * LColor.C (LColor): add a corresponding entry to the items array.
6296
6297         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
6298         with this buffer.
6299
6300 2002-07-05  Angus Leeming  <leeming@lyx.org>
6301
6302         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
6303         The body of the code is now in the method that is passed an ostream &
6304         rather than a file name.
6305         Pass an additional only_preamble parameter, useful for the forthcoming
6306         preview stuff.
6307
6308 2002-07-03  André Pönitz <poenitz@gmx.net>
6309
6310         * lyxfunc.C: simplify getStatus() a bit for math stuff
6311
6312 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6313
6314         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
6315
6316 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6317
6318         * text.C (changeRegionCase): do not change case of all the
6319         document when region ends at paragraph end (bug #461)
6320
6321 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6322
6323         * paragraph.C (startTeXParParams):
6324         (endTeXParParams): add \protect when necessary
6325
6326 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6327
6328         * BufferView_pimpl.C (workAreaExpose): remove warning
6329
6330 2002-06-27  Angus Leeming  <leeming@lyx.org>
6331
6332         * Makefile.am: add lyxlayout_ptr_fwd.h.
6333
6334 2002-06-26  André Pönitz <poenitz@gmx.net>
6335
6336         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
6337
6338 2002-06-25  Angus Leeming  <leeming@lyx.org>
6339
6340         * lyxfunc.C (dispatch): Comment out the call to
6341         grfx::GCache::changeDisplay. The method no longer exists now that the
6342         pixmap generation part of the graphics loader has been moved into
6343         InsetGraphics.
6344
6345 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6346
6347         * text2.C: layout as layout
6348
6349         * text.C: layout as layout
6350
6351         * tabular.C (OldFormatRead): layout as layout
6352
6353         * paragraph_pimpl.C (TeXDeeper): layout as layout
6354         (realizeFont): layout as layout
6355
6356         * paragraph.C (writeFile): layout as layout
6357         (validate): layout as layout
6358         (getFont): layout as layout
6359         (getLabelFont): layout as layout
6360         (getLayoutFont): layout as layout
6361         (breakParagraph): layout as layout
6362         (stripLeadingSpaces): layout as layout
6363         (getEndLabel): layout as layout
6364         (getMaxDepthAfter): layout as layout
6365         (applyLayout): layout as layout
6366         (TeXOnePar): layout as layout
6367         (simpleTeXOnePar): layout as layout
6368         (TeXEnvironment): layout as layout
6369         (layout): layout as layout
6370         (layout): layout as layout
6371
6372         * lyxtextclass.C (compare_name): new functor to work with
6373         shared_ptr, layout as layout
6374         (Read): layout as layout
6375         (hasLayout): layout as layout
6376         (operator): layout as layout
6377         (delete_layout): layout as layout
6378         (defaultLayout): layout as layout
6379
6380         * lyxlayout_ptr_fwd.h: new file
6381
6382         * lyxlayout.C (Read): layout as layout
6383
6384         * lyx_cb.C (MenuInsertLabel): layout as layout
6385
6386         * bufferlist.C (newFile): layout as layout
6387
6388         * buffer.C (readLyXformat2): layout as layout
6389         (parseSingleLyXformat2Token): layout as layout
6390         (insertStringAsLines): layout as layout
6391         (asciiParagraph): layout as layout
6392         (latexParagraphs): layout as layout
6393         (makeLinuxDocFile): layout as layout
6394         (simpleLinuxDocOnePar): layout as layout
6395         (makeDocBookFile): layout as layout
6396         (simpleDocBookOnePar): layout as layout
6397         (getLists): layout as layout
6398
6399         * LaTeXFeatures.C (getTClassPreamble): layout as layout
6400
6401         * CutAndPaste.C (cutSelection): layout as layout
6402         (pasteSelection): layout as layout
6403         (SwitchLayoutsBetweenClasses): layout as layout
6404
6405         * BufferView_pimpl.C (Dispatch): layout as layout
6406         (smartQuote): layout as layout
6407
6408         * BufferView2.C (unlockInset): layout as layout
6409
6410 2002-06-24  André Pönitz <poenitz@gmx.net>
6411
6412         * lyxfunc.C: fix #487
6413
6414 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
6415
6416         * lyxrc.h:
6417         * lyxrc.C:
6418         * lyxfunc.C: remove display_shortcuts, show_banner
6419
6420 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
6421
6422         * Buffer_pimpl.C: oops, update on resize
6423
6424 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
6425
6426         * buffer.C:
6427         * converter.C:
6428         * exporter.C:
6429         * lyxfunc.C:
6430         * BufferView.h:
6431         * BufferView.C: use repaint()
6432
6433         * BufferView_pimpl.h:
6434         * BufferView_pimpl.C: s/updateScreen()/repaint()/
6435           as it's a clearer description. Remove superfluous
6436           redraws.
6437
6438 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
6439
6440         * text.C: fix bug 488. Not ideal, but getting
6441           getWord() to work properly for the insets that
6442           matter is more difficult ...
6443
6444 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
6445
6446         * BufferView_pimpl.C:
6447         * LyXAction.C:
6448         * commandtags.h:
6449         * lyxfunc.C: remove the six million index lyxfuncs to just
6450           one, and DTRT (bug 458)
6451
6452 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
6453
6454         * BufferView.h:
6455         * BufferView.C:
6456         * BufferView_pimpl.h:
6457         * BufferView_pimpl.C: clean up resize() stuff,
6458           and unnecessary updateScreen()s
6459
6460 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
6461
6462         * BufferView.h:
6463         * BufferView.C:
6464         * BufferView_pimpl.h:
6465         * BufferView_pimpl.C:
6466         * lyxfind.h:
6467         * lyxfind.C:
6468         * minibuffer.C: remove focus management of workarea,
6469           not needed. Use screen's greyOut()
6470
6471 2002-06-17  Herbert Voss  <voss@lyx.org>
6472
6473         * converter.C: (convert) do not post a message, when converting
6474         fails, let the calling function decide what to do in this case
6475
6476 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
6477
6478         * lyxfunc.C: tidy up a little
6479
6480 2002-06-16    <alstrup@diku.dk>
6481
6482         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
6483         Got rid of FORMS_H_LOCATION include. Now we are
6484         GUII.
6485
6486 2002-06-15  LyX Development team  <lyx@rilke>
6487
6488         * buffer.[Ch] (sgmlOpenTag):
6489         (sgmlCloseTag): Added support for avoiding pernicious mixed
6490         content. Return number of lines written.
6491
6492         (makeLinuxDocFile):
6493         (makeDocBookFile): Fixed calls to sgml*Tag.
6494         Simple white space clean.
6495
6496         (simpleDocBookOnePar): Simple white space clean.
6497
6498         * tabular.[Ch] (docBook): Renamed to docbook and got another
6499         argument to related with the pernicious mixed content.
6500
6501         (docbookRow): Fixed calls for docbook inset method.
6502
6503 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
6504
6505         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
6506         so it's X11 independent.
6507
6508         * kb*.[Ch]: ditto.
6509
6510         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
6511
6512 2002-06-15  Lyx Development team  <lyx@electronia>
6513
6514         * intl.h: Renamed getTrans to getTransManager.
6515
6516 2002-06-14  Angus Leeming  <leeming@lyx.org>
6517
6518         * Makefile.am: nuke forgotten stl_string_fwd.h.
6519
6520 2002-06-12  Angus Leeming  <leeming@lyx.org>
6521
6522         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
6523
6524 2002-06-13  Angus Leeming  <leeming@lyx.org>
6525
6526         * LaTeX.C:
6527         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
6528
6529 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
6530
6531         * kbmap.C (getiso): add support for cyrillic and greek
6532
6533 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
6534
6535         * BufferView.h:
6536         * BufferView.C:
6537         * BufferView_pimpl.h:
6538         * BufferView_pimpl.C: move bogus scrolling logic
6539           to xforms
6540
6541 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
6542
6543         * lyxfunc.C:
6544         * BufferView_pimpl.C: view->resize() change
6545
6546 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
6547
6548         * BufferView_pimpl.C: topCursorVisible
6549           prototype change
6550
6551 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
6552
6553         * Makefile.am:
6554         * lyx_gui.h:
6555         * lyx_gui.C: move to frontends/
6556
6557         * main.C:
6558         * lyx_main.h:
6559         * lyx_main.C: changes from above
6560
6561 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
6562
6563         * intl.C:
6564         * intl.h:
6565         * kbmap.C:
6566         * kbsequence.C:
6567         * lyx_cb.C:
6568         * lyx_main.C: minor tidy
6569
6570 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
6571
6572         * BufferView_pimpl.h:
6573         * BufferView_pimpl.C:
6574         * BufferView.h:
6575         * BufferView.C: make painter() const,
6576           remove dead code
6577
6578         * BufferView2.C: use screen() accessor
6579
6580         * lyx_main.h:
6581         * lyx_main.C: some minor cleanup
6582
6583 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
6584
6585         * BufferView_pimpl.h:
6586         * BufferView_pimpl.C: remove enter/leaveView,
6587           use workHeight()
6588
6589 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
6590
6591         * BufferView.h:
6592         * BufferView.C:
6593         * BufferView2.C:
6594         * BufferView_pimpl.h:
6595         * BufferView_pimpl.C: only construct screen once,
6596           rename
6597
6598         * lyxrc.C: remove pointless comment
6599
6600 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
6601
6602         * BufferView.h:
6603         * BufferView.C: remove active() and belowMouse()
6604
6605         * BufferView_pimpl.h:
6606         * BufferView_pimpl.C: use workarea() not workarea_,
6607           and make it use a scoped_ptr instead
6608
6609 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
6610
6611         * lyx_gui.C: add debug message on BadWindow
6612
6613 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6614
6615         * sp_spell.C: fdopen is not part of the C++ standard.
6616
6617         * paragraph.C (InsetIterator): use >= instead of ==
6618
6619 2002-06-07  Angus Leeming  <leeming@lyx.org>
6620
6621         Fixes needed to compile with Compaq cxx 6.5.
6622         * BufferView_pimpl.C:
6623         * DepTable.C:
6624         * buffer.C:
6625         * converter.C:
6626         * encoding.C:
6627         * lyx_gui.C:
6628         * lyx_main.C:
6629         * lyxtextclasslist.C:
6630         * minibuffer.C:
6631         * sp_spell.C:
6632         * tabular_funcs.C:
6633         * vc-backend.C:
6634         all c-library variables have been moved into namespace std. Wrap
6635         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
6636
6637         * lyxlength.C:
6638         * tabular-old.C:
6639         * tabular.C:
6640         Add a using std::abs declaration.
6641
6642         * kbmap.h (modifier_pair):
6643         * paragraph.h (InsetTable, InsetList):
6644         * lyxfont.h (FontBits):
6645         type definition made public.
6646
6647         * bufferlist.C (emergencyWriteAll): the compiler complains that
6648         there is more than one possible lyx::class_fun template to choose from.
6649         I re-named the void specialisation as lyx::void_class_fun.
6650
6651         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
6652
6653         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
6654         the compiler is is unable to find tostr in write_attribute.
6655
6656 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6657
6658         * buffer.C (sgmlError): hide #warning
6659
6660 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6661
6662         * xtl/*: get rid of xtl, which is not in use anyway
6663
6664         * LyXAction.C (init):
6665         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
6666         were unimplemented xtl experimentation
6667
6668 2002-06-04  André Pönitz <poenitz@gmx.net>
6669
6670         * lyxfunc.C: disable array operation on simple formulae
6671
6672 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
6673
6674         * converter.C: constify a bit
6675
6676 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
6677
6678         * lyx_gui.C: check xforms version correctly
6679
6680 2002-04-30  Herbert Voss  <voss@lyx.org>
6681
6682         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
6683         "keep" option
6684
6685 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
6686
6687         * lyxvc.C: fix bug 416 (make sure buffer is saved before
6688           attempt to register it with a VCS)
6689
6690 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6691
6692         * lyx_main.C (init): honor variables LYX_DIR_13x and
6693         LYX_USERDIR_13x
6694
6695 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
6696
6697         * buffer.h:
6698         * buffer.C:
6699         * lyx_main.C: fix a crash on bad command line,
6700           and give a useful exit status on error
6701
6702         * lyxfunc.C (doImport): allow -i lyx to work
6703
6704 2002-03-30  André Pönitz <poenitz@gmx.net>
6705
6706         * lyxfunc.C: mathed font changes
6707
6708 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
6709
6710         * LaTeX.C:
6711         * importer.h:
6712         * importer.C:
6713         * lyx_sty.h:
6714         * lyx_sty.C:
6715         * lyxlex.C:
6716         * lyxrow.h:
6717         * lyxtext.h:
6718         * paragraph.h:
6719         * paragraph.C:
6720         * texrow.h:
6721         * texrow.C:
6722         * text.C:
6723         * trans_mgr.h: srcdocs, and some minor cleanups
6724
6725 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6726
6727         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
6728         call getFont all the time)
6729
6730 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6731
6732         * switch from SigC signals to boost::signals
6733
6734 2002-05-29  André Pönitz <poenitz@gmx.net>
6735
6736         * paragraph_pimpl.C (getChar): don't call size() too often...
6737
6738 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6739
6740         * paragraph_pimpl.C (insertChar): do not try to update tables when
6741         appending (pos == size())
6742
6743         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
6744         in order to reduce drastically the number of comparisons needed to
6745         parse a large document
6746
6747 2002-05-29  André Pönitz <poenitz@gmx.net>
6748
6749         * text.C:
6750         * text2.C:
6751         * lyxtextclass.C:
6752         * sp_pspell.h:
6753         * textclasslist.[Ch]:
6754         * sp_ispell.h: whitespace change
6755
6756 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6757
6758         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
6759         lyxaction directly now.
6760
6761 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
6762
6763         * trans.C:
6764         * lyxfont.C:
6765         * lyxvc.C: remove unused headers
6766
6767 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
6768
6769         * Makefile.am:
6770         * buffer.h:
6771         * undostack.h:
6772         * undostack.C:
6773         * undo_funcs.h:
6774         * undo_funcs.C: some cleanups. Use shared_ptr
6775           and a template for the undo stacks.
6776
6777 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
6778
6779         * BufferView_pimpl.h:
6780         * BufferView_pimpl.C:
6781         * kbmap.h:
6782         * kbmap.C:
6783         * kbsequence.h:
6784         * kbsequence.C:
6785         * lyxfunc.h:
6786         * lyxfunc.C:
6787         * text2.C: use key_state/mouse_state
6788
6789 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6790
6791         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
6792         and LSubstring
6793
6794         * chset.C: change include order
6795         (loadFile): use boost regex and get rid of LRegex and LSubstring
6796
6797         * Makefile.am (BOOST_LIBS): new variable
6798         (lyx_LDADD): use it
6799
6800         * LaTeX.C: change include order.
6801         (scanAuxFile): use boost regex and get rid of LRegex and
6802         LSubstring
6803         (deplog): ditto
6804
6805 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
6806
6807         * ColorHandler.h:
6808         * ColorHandler.C:
6809         * FontInfo.h:
6810         * FontInfo.C: moved to frontends/xforms/
6811
6812         * FontLoader.h:
6813         * FontLoader.C: moved into frontends for GUIIzation
6814
6815         * Makefile.am:
6816         * lyx_gui.C:
6817         * lyxfont.C:
6818         * lyxfunc.C: changes from above
6819
6820 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
6821
6822         * LColor.C: remove spurious X include
6823
6824         * BufferView_pimpl.C:
6825         * Makefile.am:
6826         * font.h:
6827         * font.C:
6828         * text.C:
6829         * text2.C: move font metrics to frontends/
6830
6831 2002-05-24  Juergen Vigna  <jug@sad.it>
6832
6833         * undo_funcs.C (textHandleUndo): fix the cursor selection after
6834         setting the undo_cursor.
6835
6836         * ParagraphParameters.h: include local includes first.
6837
6838 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
6839
6840         * BufferView_pimpl.C:
6841         * BufferView_pimpl.h:
6842         * Makefile.am:
6843         * WorkArea.h:
6844         * WorkArea.C:
6845         * screen.C: move WorkArea into frontends/
6846
6847         * lyxscreen.h:
6848         * screen.C:
6849         * text.C:
6850         * BufferView.C:
6851         * BufferView2.C: move LyXScreen into frontends/
6852
6853         * lyxlookup.h:
6854         * lyxlookup.C:
6855         * lyx_gui.C: move lyxlookup into frontends/xforms/
6856
6857 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
6858
6859         * BufferView2.C:
6860         * BufferView_pimpl.C:
6861         * FontLoader.C:
6862         * LyXView.h:
6863         * LyXView.C:
6864         * Makefile.am:
6865         * WorkArea.C:
6866         * XFormsView.h:
6867         * XFormsView.C:
6868         * buffer.C:
6869         * bufferlist.C:
6870         * bufferview_funcs.C:
6871         * converter.C:
6872         * importer.C:
6873         * lyx_cb.C:
6874         * lyx_gui.C:
6875         * lyx_main.C:
6876         * lyx_find.C:
6877         * lyxfunc.C:
6878         * lyxvc.C:
6879         * minibuffer.C:
6880         * text.C:
6881         * text2.C:
6882         * trans.C:
6883         * vc-backend.C: move LyX/XFormsView into frontends/
6884
6885 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
6886
6887         * Makefile.am:
6888         * PainterBase.C:
6889         * PainterBase.h:
6890         * Painter.C:
6891         * Painter.h:
6892         * WorkArea.C:
6893         * WorkArea.h:
6894         * screen.C:
6895         * tabular.C:
6896         * text.C:
6897         * text2.C: move Painter to frontends/
6898
6899 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6900
6901         * buffer.C: comment out some some code that depend upon lyx_format
6902         < 220
6903
6904         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
6905         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
6906
6907         * buffer.h (NO_COMPABILITY): turn off compability
6908
6909         * ColorHandler.C: include scoped_array.hpp
6910
6911         * font.C: Use more specific smart_ptr header.
6912         * Painter.C: ditto
6913         * gettext.C: ditto
6914         * ShareContainer.h: ditto
6915         * lyx_main.h: ditto
6916         * kbmap.h: ditto
6917         * FontInfo.h: ditto
6918         * BufferView_pimpl.h: ditto
6919         * ColorHandler.h: ditto
6920
6921         * kbmap.C (defkey): change call to shared_ptr::reset
6922
6923 2002-05-21  Juergen Vigna  <jug@sad.it>
6924
6925         * buffer.C (insertErtContents): fix to insert ert asis if it is
6926         non empty. Skip it completely if it contains only whitespaces.
6927
6928 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
6929
6930         * BufferView_pimpl.C:
6931         * BufferView2.C: clear selection on paste (bug 393)
6932
6933 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6934
6935         * DepTable.C: include ctime
6936
6937 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
6938
6939         * buffer.C (latexParagraphs): Add new argument (moving_arg).
6940
6941 2002-05-14  Juergen Vigna  <jug@sad.it>
6942
6943         * text.C (breakParagraph): fixed function to honor the keepempty
6944         layout in the right maner and also to permit the right breaking
6945         algorithm on empty or non empyt keepempty paragraphs.
6946
6947         * paragraph.C (breakParagraph): we have to check also if the par
6948         is really empty (!size()) for isempty otherwise we do the wrong
6949         paragraph break.
6950
6951 2002-05-10  Juergen Vigna  <jug@sad.it>
6952
6953         * buffer.[Ch] : The following are only changes to the ert
6954         compatibility read reading old LaTeX layout and font stuff and
6955         convert it to ERTInsets.
6956
6957         * buffer.h: added isErtInset().
6958
6959         * buffer.C (struct ErtComp): add a fromlayout bool to check
6960         if we're inside a LaTeX layout.
6961         (isErtInset): new helper function.
6962         (insertErtContents): look for other ert insets before this one
6963         and insert the contents there, so that we don't have subsequent
6964         ERT insets with nothing between them. This way we create only one
6965         inset with multiple paragraphs. Also check if we don't insert only
6966         spaces ' ' as they are ignored anyway afterwards in the .tex file
6967         so if we have only spaces we will ignore this latex part in the
6968         new file.
6969         (parseSingleLyXformat2Token \\layout): better compatibility when
6970         reading layout-latex stuff.
6971         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
6972         language tag.
6973         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
6974         stuff after reading the inset only get the information back from
6975         the stack.
6976
6977 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
6978
6979         * buffer.C (makeLaTeXFile): Put language options after loading babel.
6980
6981         * LaTeXFeatures.C (getBabelOptions): New method.
6982
6983 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6984
6985         * BufferView_pimpl.C (Dispatch): work around missing argument for
6986         'layout'
6987
6988 2002-05-08  Juergen Vigna  <jug@sad.it>
6989
6990         * text.C (leftMargin): handle paragraph leftindent.
6991
6992         * paragraph.C (writeFile): write the new \\leftindent tag.
6993         (validate): handle leftindent code.
6994         (TeXEnvironment): handle paragraphleftindent code again.
6995
6996         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
6997
6998         * buffer.C (parseSingleLyXformat2Token): added compatibility code
6999         for paragrap_extra indent code and new token \\leftindent.
7000         (latexParagraphs): handle the leftindent as environment.
7001
7002         * ParameterStruct.h: added leftindent support.
7003
7004         * ParagraphParameters.C (leftIndent): added support functions for
7005         the paragraph left indent.
7006
7007         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
7008         more appropriate.
7009
7010 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
7011
7012         * paragraph.C (isRightToLeftPar): Return false for a paragraph
7013         inside insetERT.
7014
7015         * text.C (computeBidiTables): No bidi in insetERT.
7016
7017         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
7018         in RTL documents.
7019
7020 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7021
7022         * version.C.in: pre 5
7023
7024 2002-05-02  José Matos  <jamatos@fep.up.pt>
7025         * buffer.C (makeDocBookFile): white space changes, add newline to
7026         command styles.
7027         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
7028
7029         * tabular.C (docBook): fix typo.
7030
7031 2002-05-03  Juergen Vigna  <jug@sad.it>
7032
7033         * screen.C (drawFromTo): recalculate the rowpointer if we had a
7034         change in LyXText as we can not be sure it was not freed.
7035         (drawOneRow): remove unused code.
7036
7037         * text.C (drawInset): redo the calculation of the need_break_row as
7038         it could have a row which was already freed.
7039         (draw): look at the return value of drawInset and return false if
7040         it also returned false.
7041         (paintRowText): look at the return value of draw and return false if
7042         it also returned false.
7043
7044         * lyxtext.h: added bool return type to drawInset() and draw() so that
7045         if we have a change in the row so that the rowbreak has to be redone
7046         we abort drawing as it will be called again.
7047
7048 2002-05-02  Juergen Vigna  <jug@sad.it>
7049
7050         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
7051         a change in the maintext also if we're inside an inset.
7052         (Dispatch): set the cursor again after a break line and after the
7053         screen has been updated as it could be we're in a different row.
7054
7055         * text2.C (fixCursorAfterDelete): check to make sure we don't request
7056         to set the cursor behind the pargraph with > size().
7057         (setCursor): check also for the same paragraph when checking where
7058         to put the cursor if we have a NFR inset.
7059
7060         * buffer.C (parseSingleLyXformat2Token): move the compatibility
7061         parts of layout read further up as it still was in the wrong
7062         position.
7063
7064 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7065
7066         * screen.C (drawFromTo): change sine fullRebreak always return
7067         true.
7068
7069         * buffer.C (parseSingleLyXformat2Token): reindent some
7070
7071         * BufferView_pimpl.C (update): change since fullRebreak always
7072         return true.
7073         (Dispatch): git rid of the last hardcoded "Standard"s.
7074
7075 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7076
7077         * text2.[Ch] (fullRebreak): make it return void now that we always
7078         returned true.
7079
7080 2002-04-30  Juergen Vigna  <jug@sad.it>
7081
7082         * buffer.C (parseSingleLyXformat2Token): reset the font before the
7083         ert compatibility check for "latex" layout.
7084
7085 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
7086
7087         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
7088         minipages: use col% instead of p%, and also use the current font.
7089         (makeLaTeXFile): Fix use babel condition.
7090         (parseSingleLyXformat2Token): Correct font when reading old floats.
7091
7092 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
7093
7094         * BufferView_pimpl.C (Dispatch): Check that float type exists when
7095         inserting list of floats.
7096
7097 2002-04-25  Herbert Voss  <voss@lyx.org>
7098
7099         * MenuBackend.C (expand): don't add the graphics extensions to the
7100         export menu
7101
7102 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7103
7104         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
7105         non-existing layout, do not complain if it was the default layout
7106         of the original class (bug #342)
7107
7108 2002-04-24  Juergen Vigna  <jug@sad.it>
7109
7110         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
7111         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
7112
7113 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
7114
7115         * buffer.C (getBibkeyList): If using \bibliography, return the
7116         option field with the reference itself. Enables us to provide natbib
7117         support when using \bibliography.
7118
7119 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
7120
7121         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
7122
7123         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
7124         natbib is provided by the LaTeX class.
7125
7126 2002-04-23  Juergen Vigna  <jug@sad.it>
7127
7128         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
7129         Wakeup functions.
7130
7131         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
7132
7133 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7134
7135         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
7136
7137         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
7138         ensuremath around textordmasculine, textordfeminine and
7139         textdegree.
7140
7141 2002-04-19  Juergen Vigna  <jug@sad.it>
7142
7143         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
7144         reinitializing the buffer otherwise row-dimensions may be wrong.
7145         (update): reset also the selection cursors if they do exits otherwise
7146         their x/y positions may be wrong.
7147
7148         * text2.C (cursorDown): don't enter the inset if we came from a row
7149         above and are one row over the inset.
7150
7151         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
7152         really leaving an inset.
7153
7154 2002-04-18  Juergen Vigna  <jug@sad.it>
7155
7156         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
7157         of the selected paragraph does not have the selected layout also if
7158         the last one had!
7159
7160         * text2.C (setLayout): fixed bug which did not change last selected
7161         paragraph.
7162
7163         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
7164         changed the read and substituted \\end_float with \\end_inset!
7165
7166         * BufferView_pimpl.C (cursorPrevious):
7167         (cursorNext): fixed to make it work with rows heigher than the work
7168         area without moving the cursor only the draw of the row.
7169         (workAreaMotionNotify): fix jumping over high rows.
7170
7171 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7172
7173         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
7174         Ressler.
7175
7176 2002-04-16  Juergen Vigna  <jug@sad.it>
7177
7178         * text2.C (setCursor): set also the irow().
7179         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
7180         (cursorUp):
7181         (cursorDown): support for locking an inset if the x_fix value goes
7182         inside it. That way I can transverse insets too with cursor up/down.
7183
7184         * lyxrow.h: added irow helper function same as other (i) functions.
7185
7186         * BufferView_pimpl.C (cursorPrevious):
7187         (cursorNext): fixed for insets!
7188
7189 2002-04-15  Juergen Vigna  <jug@sad.it>
7190
7191         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
7192         position otherwise it is wrong in some cases.
7193
7194         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
7195         inside the inset before the call.
7196
7197 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
7198
7199         * buffer.[Ch] (getBibkeyList): make it const.
7200
7201 2002-04-12  Juergen Vigna  <jug@sad.it>
7202
7203         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
7204
7205         * text2.C (getCursorX): new helper function
7206         (setCursor): compute also ix_
7207         (setCursorFromCoordinates): set also ix.
7208
7209         * lyxcursor.h: added ix_ and helper functions.
7210
7211         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
7212
7213         * buffer.C (insertStringAsLines): dont break paragraph if the this
7214         paragraph is inside an inset which does not permit it!
7215
7216         * text.C (breakParagraph): honor keepempty flag and break the paragraph
7217         also with no chars on this paragraph.
7218         (paintRowText): only paint stuff if it's inside the workarea!
7219
7220         * paragraph.C (breakParagraph): honor keepempty flag and break the
7221         paragraph always below not above.
7222
7223         * BufferView2.C (unlockInset): update the paragraph layout on inset
7224         unlock as we changed paragraph in such a case.
7225
7226         * lyxfind.C (LyXFind): clear the former selection if not found!
7227
7228         * text2.C (insertInset): freeze Undo after setUndo so that it is not
7229         again called in insertChar().
7230
7231         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
7232         an inset which uses the whole row!
7233         (rightMargin): ditto.
7234         (insertChar): force a rebreak if we inserted an inset!
7235
7236 2002-03-28  Herbert Voss  <voss@lyx.org>
7237
7238         * lyxlength.[Ch]: add inBP() to get the right PS-point
7239         units (BigPoint). With inPixels we have rounding errors
7240
7241 2002-04-11  Juergen Vigna  <jug@sad.it>
7242
7243         * text2.C (setCursorFromCoordinates): set iy to the right value.
7244         (setCursor): add check if row->previous exists!
7245
7246         * buffer.C (parseSingleLyXformat2Token): reset font after read of
7247         an old float_type as this was the case in the old code!
7248
7249         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
7250
7251         * BufferView2.C (showLockedInsetCursor): use iy
7252         (fitLockedInsetCursor): ditto
7253
7254         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
7255         locked insets as there we have the right value now.
7256
7257         * lyxcursor.C: added iy_ variable and iy functions to set to the
7258         baseline of cursor-y of the locked inset.
7259
7260         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
7261         (setCursor): fixed for insets which need a full row.
7262
7263         * text.C (rowLastPrintable): don't ignore the last space when before
7264         an inset which needs a full row.
7265         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
7266         as last character of a row when before a inset which needs a full row.
7267
7268 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7269
7270         * version.C.in: update date
7271
7272         * text2.C (fullRebreak): try to always return true and see what
7273         happens...
7274
7275 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7276
7277         * MenuBackend.C (expand): use Floating::listName
7278
7279         * FloatList.C (FloatList): add listName argument to the built-in
7280         floats
7281
7282         * Floating.[Ch]: add listName member, which is the 'List of XXX'
7283         text associated with the float.
7284
7285 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7286
7287         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
7288
7289 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7290
7291         * ShareContainer.h: add a couple of missing typenames.
7292
7293 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
7294
7295         * lyxrc.C (getDescription): use _() correctly rather than N_().
7296
7297 2002-03-28  Herbert Voss  <voss@lyx.org>
7298
7299         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
7300         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
7301
7302 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7303
7304         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
7305         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
7306
7307 2002-03-29  Juergen Vigna  <jug@sad.it>
7308
7309         * lyxfunc.C (dispatch): add a missing fitCursor call.
7310
7311         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
7312         it was scrolled by a cursor move, so return the bool status.
7313
7314         * BufferView.C (fitCursor): return the bool flag also to the outside
7315         world as this is needed.
7316
7317         * screen.C (toggleToggle): don't subtract the offset if it's positive.
7318
7319         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
7320         call the edit() as it is not needed (and wrong) IMO.
7321         (workAreaButtonPress): set the screen_first variable before evt.
7322         unlock the inset as this may change screen_first and then we have
7323         a wrong y position for the click!
7324
7325 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7326
7327         * MenuBackend.C (expand): another translation that I missed
7328
7329 2002-03-28  Juergen Vigna  <jug@sad.it>
7330
7331         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
7332
7333         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
7334
7335 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7336
7337         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
7338
7339         * MenuBackend.C (expand): fix export/view/update when there is no
7340         document open.
7341
7342 2002-03-27  Herbert Voss  <voss@lyx.org>
7343
7344         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
7345         and text%
7346
7347 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7348
7349         * bufferview_funcs.C (currentState): only show paragraph number
7350         for is DEVEL_VERSION is set.
7351
7352         * lyxfunc.C (dispatch): put warning in INFO channel
7353
7354         * MenuBackend.C (expand): translate the name of floats
7355
7356         * FloatList.C (FloatList): mark the float names for translation
7357
7358         * converter.C (convert): use LibScriptSearch
7359
7360 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7361
7362         * MenuBackend.C (defaults): fix default menu (we might as well get
7363         rid of it...)
7364
7365 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7366
7367         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
7368         directory.
7369
7370 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7371
7372         * lyxvc.C: reorder includes.
7373
7374 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
7375
7376         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
7377           properly
7378
7379 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
7380
7381         * CutAndPaste.C: change layouts earlier on paste
7382           to avoid crashing when calling getFont()
7383
7384 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
7385
7386         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
7387         irritating #error.
7388
7389 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7390
7391         * WorkArea.C: remove 'Pending' debug message.
7392
7393         * most files: ws cleanup
7394
7395         * buffer.[Ch]: ws changes
7396
7397         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
7398
7399 2002-03-21  Juergen Vigna  <jug@sad.it>
7400
7401         * tabular.C (SetMultiColumn): collapse also the contents of the
7402         cells and set the last border right. Added a Buffer const * param.
7403
7404 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7405
7406         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
7407         linking or not.
7408
7409 2002-03-19  Juergen Vigna  <jug@sad.it>
7410
7411         * text2.C (clearSelection): reset also xsel_cache.
7412
7413         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
7414         where it needs to be called (John tells us to do so too :)
7415         (selectionLost): reset sel_cache.
7416
7417         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
7418
7419 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7420
7421         * text2.C (setCursorIntern): put debuging code in INSETS channel
7422
7423 2002-03-19  André Pönitz <poenitz@gmx.net>
7424
7425         * lyxfunc.C: tiny whitespace change
7426
7427 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7428
7429         * ToolbarDefaults.C (init):
7430         * LyXAction.C (init):
7431         * commandtags.h:
7432         * BufferView_pimpl.C (Dispatch):
7433         * lyxfunc.C (dispatch): remove LFUN_DEPTH
7434
7435 2002-03-19  Allan Rae  <rae@lyx.org>
7436
7437         * exporter.C (Export): removeAutoInsets before doing anything else.
7438         While I've just introduced a dependency on BufferView this really is
7439         the best place to clean the buffer otherwise you need to cleanup in
7440         a dozen places before calling export or cleanup in a dozen functions
7441         that export calls.
7442
7443         * converter.C (runLaTeX):
7444         (scanLog): Better handling of removeAutoInsets and screen updates.
7445
7446         * lyxfunc.C (dispatch): small whitespace changes
7447
7448 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7449
7450         * WorkArea.C (C_WorkAreaEvent): return a value.
7451         (event_cb): return 1 if we handled the event, 0 otherwise.
7452
7453         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
7454
7455 2002-03-18  Juergen Vigna  <jug@sad.it>
7456
7457         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
7458         (GetAdditionalWidth): ditto.
7459         (RightLine): ditto.
7460         (LeftLine): ditto.
7461
7462         * BufferView2.C (copy): use getLyXText() so that we do it inside an
7463         inset if we're there actually (probably not used right now but this
7464         is the direction to go for unifying code).
7465         (paste): disable code to clear the selection.
7466
7467         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
7468         inside an InsetText and move the check further up as it is in the
7469         wrong place.
7470
7471         * text2.C (pasteSelection): set a selection over the pasted text.
7472
7473 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
7474
7475         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
7476         and libgraphics to build on Cygwin.
7477
7478 2002-03-15  Juergen Vigna  <jug@sad.it>
7479
7480         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
7481         inserting an Inset into the paragraph. I know this is not the best
7482         fix but we already use current_view in CutAndPaste so we will remove
7483         all of it's using at the same time.
7484
7485         * buffer.C (sgmlError): deactivated function till it is rewritten in
7486         the right mode, now it can create problems.
7487
7488         * paragraph.C (isLineSeparator): check if getInset returns != 0,
7489         before accessing it.
7490
7491 2002-03-14  Juergen Vigna  <jug@sad.it>
7492
7493         * undo_funcs.C (textHandleUndo): do the right thing when updating
7494         the inset after the undo/redo.
7495
7496         * text2.C (setCursor): just some testcode for #44 not ready yet.
7497
7498         * undo_funcs.C (textHandleUndo): set the next() and previous()
7499         pointers of the paragraph to 0 before deleting otherwise we have
7500         problems with the Paragraph::[destructor].
7501
7502         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
7503         on a paragraph insertion.
7504
7505 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7506
7507         * buffer.C (asciiParagraph): use += operator for char append to
7508         string.
7509
7510         * paragraph.C (getFontSettings): compare >= not just >
7511         (highestFontInRange): ditto
7512         (setFont): ditto
7513
7514 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7515
7516         * paragraph.C: change several algorithm to be more appripriate for
7517         the problem domain. This is lookip in FontList and in the InsetList.
7518
7519 2002-03-13  André Pönitz <poenitz@gmx.net>
7520
7521         * commandtags.h:
7522         * LyXAction.C: remove unused LFUN_MATH_MACROARG
7523
7524 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
7525
7526         * commandtags.h:
7527         * LyXAction.C:
7528         * lyxfunc.C:
7529         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
7530
7531 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7532
7533         * Painter.C (display): anon helper function, adjust code for this
7534         change.
7535         (pixmap): remove function.
7536
7537         * Painter.h: remove private display variable.
7538
7539         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
7540
7541 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
7542
7543         * WorkArea.[Ch]: remove figinset_canvas cruft.
7544
7545 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7546
7547         * lyxtextclass.C (operator): add one item cache optimization.
7548
7549         * bufferlist.h: doxy changes
7550
7551         * bufferlist.C: ws changes
7552
7553         * DepTable.[Ch] (ext_exist): place const in the right spot.
7554
7555         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
7556         call resizeInsets.
7557         (workAreaExpose): call resizeInsets when the with BufferView changes.
7558         (Dispatch): adjust for protectedBlank removal
7559         (specialChar): call updateInset if the insert went ok.
7560
7561         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
7562         specialChar instead.
7563
7564         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
7565
7566         * BufferView.h: doxy change
7567
7568         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
7569
7570         * lyxtextclass.C (operator[]): remove non-const version
7571         (defaultLayout): remove non-const version
7572
7573 2002-03-12  Juergen Vigna  <jug@sad.it>
7574
7575         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
7576         did resize the LyXText too.
7577
7578         * buffer.C (readLyXformat2): set layout information on newly allocated
7579         paragraphs.
7580
7581         * tabular.C (OldFormatRead): set layout information on the paragraph.
7582
7583 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
7584
7585         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
7586
7587 2002-03-11  Juergen Vigna  <jug@sad.it>
7588
7589         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
7590         plainly wrong.
7591         (resizeCurrentBuffer): force also the insets to resize themselfes.
7592         (moveCursorUpdate): fixed up for InsetText.
7593
7594 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
7595
7596         * commandtags.h:
7597         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
7598         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
7599         value of Dialogs::tooltipsEnabled().
7600         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
7601
7602 2002-03-08  Juergen Vigna  <jug@sad.it>
7603
7604         * BufferView_pimpl.C (updateInset): update inset inside inset also
7605         if it isn't inside theLockingInset().
7606
7607 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7608
7609         * buffer.C (asciiParagraph): redo some of the word and line length
7610         handling.
7611         (getLists): look for Caption instead of caption.
7612
7613 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7614
7615         * buffer.C (Buffer): initialize niceFile to true
7616         (makeLaTeXFile):
7617         (makeLinuxDocFile):
7618         (makeDocBookFile): make sure niceFile is true on exit
7619
7620 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7621
7622         * buffer.C (makeLaTeXFile): escape ~ in \input@path
7623
7624 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
7625
7626         * LyXSendto.C: remove.
7627         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
7628         * lyx_gui.C: remove now-redundant comment.
7629         * ColorHandler.h: remove forward declaration of class WorkArea.
7630         * lyxfunc.C: remove #include "WorkArea.h".
7631
7632 2002-03-07  Juergen Vigna  <jug@sad.it>
7633
7634         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
7635         got moved away with the DEPM and also set the inset_owner always
7636         right which before could have been omitted.
7637
7638 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7639
7640         * buffer.C (parseSingleLyXformat2Token): use default layout is the
7641         wanted layout is not found.
7642
7643 2002-03-07  Juergen Vigna  <jug@sad.it>
7644
7645         * CutAndPaste.C (cutSelection): another layout settings forgotten.
7646
7647 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7648
7649         * paragraph.C (breakParagraph): use default layout not layout of
7650         prev paragraph.
7651         (Paragraph): clear ParagraphParameters.
7652
7653 2002-03-06  Juergen Vigna  <jug@sad.it>
7654
7655         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
7656         otherwise it would not be a valid lenght. Fixed a special case in
7657         the minipage compatibility read where we end the document with a
7658         minipage.
7659
7660         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
7661         was set as it could be 0 for InsetTexts first entry.
7662
7663 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7664
7665         * paragraph.C (writeFile): if layout is empty write out
7666         defaultLayoutName().
7667
7668         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
7669         file without named layout we set layout to defaultLayoutName().
7670
7671 2002-03-06  Juergen Vigna  <jug@sad.it>
7672
7673         * CutAndPaste.C (copySelection): set layout for new paragraph.
7674
7675         * text.C (prepareToPrint): leave ERT inset left aligned
7676         (leftMargin): don't indent paragraphs inside ERT insets
7677
7678 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7679
7680         * paragraph.C (breakParagraph): dont call clear do the work manually
7681
7682         * paragraph.[Ch] (clear): remove function
7683
7684 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7685
7686         * paragraph.C (Paragraph): dont call clear, the work has already
7687         been done.
7688
7689         * lyxtextclass.C (operator): assert if n is empty
7690
7691         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
7692         work manually instead.
7693
7694 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
7695
7696         * BufferView_pimpl.C: protect selectionLost against text == 0
7697
7698 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7699
7700         * text.C (breakParagraph): fix a setting layout to '0' problem.
7701
7702 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
7703
7704         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
7705         final location of file, for the included files, and graphics.
7706
7707 2002-03-05  Juergen Vigna  <jug@sad.it>
7708
7709         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
7710
7711 2002-03-04  Juergen Vigna  <jug@sad.it>
7712
7713         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
7714
7715         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
7716         last column of multicolumn cells.
7717         (SetWidthOfMulticolCell): recalculate NMC and real columns.
7718
7719 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
7720
7721         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
7722         file if it doesn't go to a temporary file.
7723
7724         * buffer.C (sgmlOpenTag):
7725         (sgmlCloseTag):  remove extra newline insertion.
7726
7727 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7728
7729         * text.C (getRowNearY): comment out debug msg
7730
7731 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7732
7733         * text2.C: first -> first_y
7734
7735         * text.C (getRowNearY): add some attemts at a possible
7736         optimization, not working.
7737
7738         * tabular.[Ch]: add BufferParams to several function so that newly
7739         created paragraph can be initialized to he default layotu for the
7740         buffers textclass.
7741
7742         * tabular-old.C (ReadOld): add buf->params to call of Init
7743
7744         * screen.C: rename text->first to text->first_y
7745
7746         * paragraph.C (breakParagraph): always set layout in the broken
7747         paragraph
7748
7749         * lyxtextclass.C (Read): remove lowercase
7750         (hasLayout): ditto
7751         (operator): ditto
7752         (delete_layout): ditto
7753
7754         * lyxtext.h: rename first -> first_y
7755
7756         * lyxlayout.C (Read): remove lowercase
7757         (name): ditto
7758         (setName): ditto
7759         (obsoleted_by): ditto
7760
7761         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
7762
7763         * buffer.C (insertErtContents): add params are to InsetERT
7764         (parseSingleLyXformat2Token): add code to check if a paragraphs
7765         layout really exist.
7766         (parseSingleLyXformat2Token): add params to several inset
7767         constructors
7768         (asciiParagraph): remove lowercase, do the layout comparisons with
7769         no_case
7770
7771         * BufferView_pimpl.C (cursorNext): first -> first_y
7772         (resizeCurrentBuffer): first -> first_y
7773         (updateScrollbar): first -> first_y
7774         (scrollCB): first -> first_y
7775         (workAreaMotionNotify): first -> first_y
7776         (workAreaButtonPress): first -> first_y
7777         (checkInsetHit): first -> first_y
7778         (cursorPrevious): first -> first_y
7779         (cursorNext): first -> first_y
7780         (Dispatch): add buffer_->params to severl inset contructors
7781
7782 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7783
7784         * lyxlayout.C (Read): remove some debug info that I forgot.
7785
7786         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
7787         clean up the code slightly.
7788         (makeLinuxDocFile): ditto
7789         (makeDocBookFile): ditto
7790
7791         * text2.C: layout as string
7792
7793         * text.C: layout as string
7794
7795         * paragraph_pimpl.C: layout as string
7796
7797         * paragraph.[Ch]: layout as string
7798
7799         * lyxtextclasslist.[Ch]: layout as string
7800
7801         * lyxtextclass.[Ch]: layout as string
7802
7803         * lyxtext.h: layout as string
7804
7805         * lyxlayout.[Ch]: layout as string
7806
7807         * lyx_cb.C: layout as string
7808
7809         * bufferview_funcs.C: layout as string
7810
7811         * bufferparams.C: layout as string
7812
7813         * buffer.C: layout as string
7814
7815         * LyXView.[Ch]: layout as string
7816
7817         * LaTeXFeatures.[Ch]: layout as string
7818
7819         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
7820
7821         * BufferView_pimpl.C: change current_layout to string, remove
7822         lyx::layout_type.
7823         (Dispatch):
7824         (smartQuote):
7825         (insertInset):
7826         (workAreaButtonRelease): layout as string
7827
7828         * BufferView2.C (unlockInset): adjust
7829
7830         * vspace.C (asLatexCommand): use an explict temp variable.
7831
7832 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
7833
7834         * Makefile.am: use FRONTEND_*
7835
7836 2002-03-01  Juergen Vigna  <jug@sad.it>
7837
7838         * tabular.C (SetWidthOfMulticolCell): changed to something better
7839         I hope but still work in progress.
7840         (recalculateMulticolumnsOfColumn): renamed function from
7841         recalculateMulticolCells as it is more appropriate now.
7842         (SetWidthOfCell): calculate multicols better.
7843
7844 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7845
7846         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
7847
7848         * lyxfunc.C (processKeySym): print sequence also if it is
7849         `deleted' (complete)
7850
7851         * kbsequence.C (print): print sequence even if it is deleted
7852         (complete would be a better word, actually).
7853
7854         * lyxfunc.C (dispatch): print complete options after a prefix key
7855
7856         * vspace.C (asLatexCommand): rewrite in a slightly different form.
7857
7858 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
7859
7860         * text2.C (setCharFont): eliminate setCharFont code duplication.
7861
7862 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7863
7864         * BufferView_pimpl.C (Dispatch): remove bogus handling of
7865         LFUN_TABULAR_FEATURE (bug #177)
7866
7867 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
7868
7869         * Makefile.am: remove figure.h
7870
7871 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
7872
7873         * Bufferview_pimpl.C:
7874         * CutAndPasteC:
7875         * LaTeX.C:
7876         * LyXSendto.C:
7877         * buffer.C:
7878         * bufferlist.C:
7879         * converter.C:
7880         * language.C:
7881         * lyxfunc.C:
7882         * lyxvc.C:
7883         * paragraph.C:
7884         * text.C:
7885         * text2.C: remove #include "lyx_gui_misc.h".
7886
7887         * LaTeX.C: added #include <cstdio>
7888
7889 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7890
7891         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
7892         that the paragraph following this one can have.
7893
7894         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
7895
7896         * vspace.C (asLatexCommand): fix bogus gcc warning
7897
7898         * Makefile.am (lyx_SOURCES): remove vms_defines.h
7899
7900 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
7901
7902         * text2.C (setLayout): get rid of redundant code
7903
7904 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
7905
7906         * text2.C (incDepth): make sure depth cannot be increased beyond
7907         reasonable values.
7908
7909 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
7910
7911         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
7912         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
7913
7914         * PainterBase.h (image):
7915         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
7916         a LyXImage const *.
7917
7918 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
7919
7920         * BufferView.C:
7921         * BufferView.h:
7922         * BufferView_pimpl.C:
7923         * BufferView_pimpl.h:
7924         * LaTeXFeatures.C:
7925         * LyXAction.C:
7926         * LyXView.C:
7927         * Makefile.am:
7928         * UpdateList.h:
7929         * UpdateList.C:
7930         * buffer.C:
7931         * figure.h:
7932         * figureForm.C:
7933         * figureForm.h:
7934         * figure_form.C:
7935         * figure_form.h:
7936         * lyx_cb.C:
7937         * lyx_gui.C:
7938         * lyx_gui_misc.C:
7939         * lyxfunc.C:
7940         * sp_base.h:
7941         * sp_ispell.h:
7942         * sp_pspell.h:
7943         * sp_spell.C: remove fig inset, and the crap house of
7944           cards that follows it
7945
7946 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
7947
7948         * Makefile.am:
7949         * lyxserver.C:
7950         * os2_defines.h:
7951         * os2_errortable.h:
7952         * nt_defines.h: move .h into support/
7953
7954         * vms_defines.h: remove
7955
7956         * WorkArea.C: add space in debug output
7957
7958         * text2.C:
7959         * paragraph.C:
7960         * buffer.C: add WITH_WARNINGS
7961
7962         * vc-backend.h:
7963         * vc-backend.C:
7964         * bufferlist.C: s/retrive/retrieve/, add docs
7965
7966         * vspace.h:
7967         * vspace.C:
7968         * kbmap.h:
7969         * lyxlength.h:
7970         * lyxgluelength.h:
7971         * length_common.h:
7972         * chset.h:
7973         * chset.C: add docs
7974
7975         * lyxgui.C: add ID to X error handler
7976
7977         * lyxtestclass.c: fix typo
7978
7979 2002-02-26  Juergen Vigna  <jug@sad.it>
7980
7981         * tabular_funcs.C (write_attribute): changed so that some default
7982         attributes are not written at all.
7983         (getTokenValue): set default values before trying to read the
7984         value so we have the return value always set as default if we don't
7985         find the token we search for.
7986
7987         * tabular.C (Write): write bools as bools not as strings!
7988
7989 2002-02-22  Juergen Vigna  <jug@sad.it>
7990
7991         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
7992         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
7993
7994         * text.C (leftMargin): don't add an indent for paragraphs inside
7995         tabular cells (fix #208).
7996
7997 2002-02-21  José Matos  <jamatos@fep.up.pt>
7998
7999         * tabular.C (docBook): fixed support for long tables.
8000
8001 2002-02-20  Juergen Vigna  <jug@sad.it>
8002
8003         * text2.C (getFont): get the drawing font of the Inset if this
8004         paragraph is inside an inset (only important for InsetERT for now).
8005
8006         * buffer.C (insertErtContents): use new lanugage params in ERT
8007         constructor.
8008
8009         * CutAndPaste.C: commenting out seemingly uneeded code.
8010
8011 2002-02-19  Allan Rae  <rae@lyx.org>
8012
8013         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
8014         Iterators might be simple to use but they also get invalidated.
8015         (removeAutoInsets): renamed saved cursor tracking variables and added
8016         some comments to clarify what everything does.
8017
8018 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
8019
8020         * Chktex.C:
8021         * LaTeX.C:
8022         * LyXSendto.C:
8023         * converter.C:
8024         * lyx_cb.C:
8025         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
8026         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
8027
8028         * lyxfunc.C:
8029         * vc-backend.h: remove #include "support/syscall.h"
8030
8031         * LaTeX.C:
8032         * LyXSendto.C:
8033         * converter.C: rearrange #includes in Lars' approved fashion.
8034
8035         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
8036         forward declare class Timeout in the header file.
8037
8038         * XFormsView.C: changes due to the above.
8039
8040         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
8041         similar to LyXView.
8042
8043         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
8044         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
8045
8046 2002-02-18  José Matos  <jamatos@fep.up.pt>
8047
8048         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
8049         insets contents.
8050
8051 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
8052
8053         * a lot of small ws changes
8054         * add a lot of using std::XXX
8055         * use std construcs some places where approp.
8056         * use some exisint stuff from lyxfunctional where approp.
8057         * Make file changes to use partial linking (lets test this now...)
8058
8059 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
8060
8061         * Chktex.C:
8062         * buffer.C:
8063         remove #include "support/syscontr.h" as it's redundant. Always has been.
8064
8065         * Chktex.C:
8066         * LaTeX.C:
8067         * LyXSendto.C:
8068         * converter.C:
8069         * lyx_cb.C:
8070         * vc-backend.C:
8071         change Systemcalls::System to Systemcalls::Wait and
8072         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
8073         No change of functionality, just reflects the stripped down Systemcalls
8074         class.
8075
8076 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
8077
8078         * debug.[Ch]: add a GRAPHICS type to the enum.
8079
8080 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8081
8082         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
8083
8084         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
8085         there is an inset.
8086
8087 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8088
8089         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
8090         match the changes below.
8091
8092         * text2.C (toggleInset): if there is not editable inset at cursor
8093         position, try to see if cursor is _inside_ a collapsable inset
8094         and close it.
8095
8096 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8097
8098         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
8099         document menu has a nice checkbox
8100
8101 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8102
8103         * lyxlength.C (asLatexString): change PW to output as percent of
8104         \textwidth.
8105
8106         * lengthcommon.C: change '%' to 't%'
8107
8108         * lyxfunc.C (dispatch): a few comments from Martin
8109
8110 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
8111
8112         * WorkArea.h:
8113         * WorkArea.C:
8114         * BufferView_pimpl.h:
8115         * BufferView_pimpl.C: clear our selection when X tells us we've lost
8116           the X selection.
8117
8118 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8119
8120         * vspace.C (inPixels): fix compiler warning
8121
8122 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8123
8124         * lyxfunc.C (getStatus): fix status message for disabled commands.
8125
8126 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
8127
8128         * BufferView_pimpl.C: fix crash on close buffer
8129         during selection (#227)
8130
8131 2002-01-27  Herbert Voss  <voss@lyx.org>
8132
8133         * buffer.C: link old Figure to new graphic inset
8134
8135 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
8136
8137         * FontLoader.C (getFontinfo): Change the latex font names in order
8138         to match the names of type1inst.
8139
8140 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8141
8142         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
8143
8144         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
8145         (extchanged): ditto
8146         (ext_exist): ditto
8147         (remove_files_with_extension): ditto
8148         (remove_file): ditto
8149         (write): ditto
8150
8151         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
8152         document is smaller than the work area height. Do not initialize
8153         static variables to 0.
8154
8155 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8156
8157         * lyx_gui.C (init): give the toolbar tooltips a normal font.
8158
8159         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
8160         LFUN_LAYOUT_PARAGRAPHS.
8161
8162         * tabular.C (GetCellFromInset): new method. Finds an inset in a
8163         tabular. It is possible to provide a possible cell, which will
8164         typically be the actcell from the corresponding insettabular
8165
8166         * lyxfunc.C (getStatus): small cleanup; disable
8167         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
8168         true
8169
8170 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8171
8172         * tabular.C (Validate): remove broken optimization (fixes bug #201)
8173
8174         * paragraph.C (startTeXParParams):
8175         (endTeXParParams): new methods. The LaTeX code to
8176         start/end paragraph formatting
8177         (simpleTeXOnePar): call startTeXParParams also when paragraph is
8178         empty (fixes bug #200)
8179
8180         * vspace.C (inPixels): adapt to the change below
8181         (inPixels): [later] more cleanups (remove unused variables)
8182
8183         * lyxlength.C (inPixels): change to use a width and a height as
8184         parameter.
8185
8186 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8187
8188         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
8189         Replaced with \paperwidth
8190
8191         * DepTable.C (insert): add std:: qualifier
8192
8193 2002-01-18  Allan Rae  <rae@lyx.org>
8194
8195         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
8196         updated also?
8197
8198         * text.C (drawInset): Turned out I didn't know enough about how
8199         rebreaking worked.  This fixes most of the redraw problems.  I see
8200         an occasional cursor trail when a line is broken now and the cursor
8201         placement can seem out by a few pixels also after a rebreak.
8202
8203 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8204
8205         * buffer.C (parseSingleLyXformat2Token): update because minipage
8206         width is now a LyXLength
8207
8208         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
8209
8210         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
8211         math insets
8212
8213 2002-01-17  Juergen Vigna  <jug@sad.it>
8214
8215         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
8216
8217         * BufferView2.C (lockInset): call edit() so that theLockingInset()
8218         is set correctly and the inset is updated correctly.
8219
8220 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8221
8222         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
8223         the beginning of the loop.
8224
8225 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
8226
8227         * lyxrc.C: improve help for use_scalable_fonts
8228
8229 2002-01-17  Allan Rae  <rae@lyx.org>
8230
8231         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
8232
8233 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8234
8235         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
8236         make sure to set their inset_owner to the right value (bug #171)
8237
8238 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
8239
8240         * DepTable.h
8241         * DepTable.C: Implement mtime checking to reduce time spent doing
8242         CRCs.
8243
8244 2002-01-16  Juergen Vigna  <jug@sad.it>
8245
8246         * tabular.C (GetAdditionalHeight): one of error fixed.
8247
8248         * lyxrc.C (output): small fix in writing use_pspell.
8249
8250 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
8251
8252         * sp_base.h: #include LString.h
8253
8254 2002-01-16  Allan Rae  <rae@lyx.org>
8255
8256         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
8257         Can someone check this please?
8258
8259         * text.C (drawInset): It was possible that p.row would be removed by
8260         breakAgainOneRow upsetting a few other settings.  There may be another
8261         small tweak possible by setting need_break_row = 0 when p.row has been
8262         removed but I don't know enough about the logic here.
8263
8264 2002-01-15  Allan Rae  <rae@lyx.org>
8265
8266         * text.C (insertChar): removed conditional truism.
8267
8268         * BufferView2.C (removeAutoInsets): More tweaks.
8269         cur_par_prev could be a stray pointer.  Check for trailing empty line
8270         in case last line was cur_par and only had an error inset on it.
8271
8272 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8273
8274         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
8275         absolute
8276
8277         * vc-backend.C (most methods):
8278         * exporter.C (Export):
8279         * converter.C (convert):
8280         (runLaTeX):
8281         * LyXSendto.C (SendtoApplyCB):
8282         * lyxfunc.C (dispatch):
8283         (menuNew):
8284         (open):
8285         (doImport):
8286         * lyx_cb.C (AutoSave):
8287         (InsertAsciiFile):
8288         * BufferView_pimpl.C (MenuInsertLyXFile):
8289         * buffer.C (runChktex): use Buffer::filePath().
8290
8291         * buffer.h: rename filename to filename_; rename filepath to
8292         filepath_ and make it private
8293         (filePath): new method
8294
8295         * buffer.C (writeFile): use fileName()
8296         (getLatexName):
8297
8298         * lyx_main.C (init): fix starting  of LyX when the binary is a
8299         link from so,ewhere else.
8300
8301         * minibuffer.C: include <cctype> for isprint
8302
8303 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
8304
8305         * buffer.C (parseSingleLyXformat2Token): changes associated with the
8306         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
8307         name clash with InsetCollapsable's width function.
8308
8309 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8310
8311         * lastfiles.C: include <iterator>
8312
8313 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
8314
8315         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
8316         std::count.
8317
8318         * buffer.C (makeLaTeXFile): ditto.
8319         Also make loop operation more transparent.
8320
8321 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
8322
8323         * ToolbarDefaults.C: remove trailing comma closing namespace.
8324
8325         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
8326
8327         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
8328         as in WorkArea.
8329
8330         * trans.C (Load): comment out unused variable, allowed.
8331
8332 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
8333
8334         * minibuffer.[Ch] (append_char): new method to recieve input from the
8335         drop-down completion browser. If a key was pressed, then recieve this
8336         char and append it to the existing string.
8337         (peek_event): modify the positioning data passed to the completion
8338         browser so that it can be placed above the minibuffer rather than below.
8339 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8340
8341         * LyXAction.C (init): alloe error-next for readonly documents.
8342
8343         * BufferView2.C (ChangeRefsIfUnique): use standard version of
8344         count.
8345
8346 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8347
8348         * bufferlist.C (readFile): create the buffer _after_ checking that
8349         the file exists.
8350
8351         * lyxfunc.C (verboseDispatch): fix handling of arguments
8352
8353         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
8354
8355         * lyxrc.C: use string::erase() instead of initializing to "".
8356
8357
8358 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
8359
8360         * BufferView_pimpl.h:
8361         * BufferView_pimpl.C:
8362         * WorkArea.h:
8363         * WorkArea.C:
8364         * text2.C: tell X when we have made a selection for copying
8365
8366 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8367
8368         * BufferView_pimpl.C (MenuInsertLyXFile):
8369         * lyxfunc.C (menuNew):
8370         (open):
8371         (doImport): add shortcuts to directory buttons
8372
8373         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
8374         open a float)
8375
8376         * lyxfunc.C (setStatusMessage):
8377         (getStatusMessage): new methods
8378         (getStatus):use setStatusMessage instead of setErrorMessage
8379         (dispatch): when function is disabled, set error message here
8380         [instead of in getStatus previously]
8381
8382         * BufferView_pimpl.C (workAreaButtonRelease): update
8383         toolbar/menubar here too.
8384
8385 2002-01-13  Allan Rae  <rae@lyx.org>
8386
8387         * BufferView2.C (removeAutoInsets): finished off earlier fix.
8388         Now seems indestructible.  Remaining task is to audit all other
8389         code affected by deleteEmptyParagraphMechanism.  One small quirk
8390         left is that an empty document with an error in the preamble can
8391         be made to report an error but no error box appears.  I don't know
8392         where it goes.
8393         (removeAutoInsets): Improved comments.
8394
8395 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
8396
8397         * Thesaurus.h:
8398         * Thesaurus.C: update for Aiksaurus 0.14
8399
8400 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8401
8402         * text2.C (firstParagraph): removed member function, all uses
8403         replaces with ownerParagraph
8404         (redoParagraphs): here
8405         (updateInset): here
8406         (toggleAppendix): here
8407         * BufferView2.C (insertErrors): here
8408         (setCursorFromRow): here
8409
8410 2002-01-13  Allan Rae  <rae@lyx.org>
8411
8412         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
8413         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
8414         There is still a way to segfault this although you may have to do this
8415         multiple times: Have an InsetERT with an unknown command in it.
8416         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
8417         <down-arrow>, <Enter> again, View->DVI, BANG!
8418
8419         * text2.C (setCursor):
8420         (deleteEmptyParagraphMechanism):
8421         * lyxtext.h (setCursor):
8422         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
8423         Making use of the return value may help fix other bugs.
8424
8425 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8426
8427         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
8428
8429         * LyXView.C (updateMenubar): call MenuBar::update here
8430         (updateToolbar): but not here
8431         (showState): do not update toolbar/menubar
8432
8433         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
8434         should need to care about that.
8435
8436         * lyxfunc.C (verboseDispatch): simplify a bit
8437         (getStatus): have a version which takes a pseudoaction, and
8438         another which requires a (kb_action,string).
8439
8440         * LyXAction.C (retrieveActionArg): make it work also when action
8441         is not a pseudo-action.
8442         (getActionName): simplify a bit
8443         (helpText):
8444
8445 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8446
8447         * lyxfunc.C (verboseDispatch): new families of methods with
8448         several ways to specify a command and a bool to indicate whether
8449         the command name and shortcut should be displayed in minibuffer
8450         (eventually, we could extend that to a finer bitmask like
8451         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
8452         (dispatch): the pristine dispatch command which just, well,
8453         dispatchs! Note it still sets its result to minibuffer; I'm not
8454         sure we want that.
8455
8456         * lyxfunc.h: remove setHintMessage
8457
8458         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
8459
8460 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8461
8462         * BufferView_pimpl.C (specialChar): delete new inset if we have
8463         not been able to insert it.
8464
8465         * kbmap.C: revert to using int instead of kb_action, since all we
8466         are dealing with is pseudo-actions.
8467
8468         * LyXAction.C (searchActionArg): change to return int instead of
8469         kb_action, since the result is a pseudoaction.
8470
8471 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
8472
8473         * buffer.C (insertErtContents): Fix (partially) the font bug.
8474
8475 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
8476
8477         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
8478         as the other one is broken on my machine!
8479
8480 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
8481
8482         * commandtags.h:
8483         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
8484
8485 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
8486
8487         * lyxrc.[Ch]: change names and descriptions of popup font variables to
8488         reflect their actual use. Provide compatibility code for older lyxrc
8489         files.
8490
8491         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
8492         FL_NORMAL_STYLE.
8493         change names of popup font variables in line with the changes to lyxrc.C
8494
8495 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8496
8497         * buffer.C (asciiParagraph): avoid outputing a word twice after
8498         an inset.
8499
8500         * lyxrc.C (getDescription): document that document_path and
8501         template_path can be empty.
8502
8503 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8504
8505         * LaTeXFeatures.C (getMacros):
8506         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
8507
8508         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
8509
8510         * LaTeXFeatures.C (useFloat): require "float" here instead of in
8511         getPackages.
8512         (getPackages): rename feature "floats" to "float". Use an array to
8513         iterate over 'simple' features (i.e. just a \usepackage). Add
8514         handling of "amsmath" (renamed from "amsstyle").
8515
8516 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
8517
8518         * LaTeXFeatures.C (require): Prevent duplicate entries in the
8519         features list.
8520
8521 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
8522
8523         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
8524         FuncStaus::FuncStatus & FuncStaus::some_method().
8525
8526 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
8527
8528         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
8529         of the func_satus stuff. Edited and massaged in various ways by
8530         JMarc.
8531
8532         * lyxfunc.C (getStatus): use FuncStatus
8533
8534 2002-01-08  Juergen Vigna  <jug@sad.it>
8535
8536         * text.C (nextBreakPoint): use function Inset::isChar().
8537
8538         * paragraph.C (TeXOnePar): use function
8539         Inset::forceDefaultParagraphs.
8540
8541         * buffer.C (latexParagraphs): use function
8542         Inset::forceDefaultParagraphs.
8543
8544 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
8545
8546         * lyx_gui.C (init): set the style of the menu popups to
8547         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
8548
8549 2002-01-07  Juergen Vigna  <jug@sad.it>
8550
8551         * text.C (setHeightOfRow): small fix
8552         (prepareToPrint): don't look at alignment if we don't have the place
8553         for doing it.
8554
8555 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
8556
8557         * box.C: New file. Move the Box methods and functions out of box.h,
8558         following Lars' suggestion.
8559
8560 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
8561
8562         * box.h: #include "support/LOstream.h", needed for inlined function.
8563
8564         * lyxtextclass.C:
8565         * lyxtextclasslist.C: added some using std declarations.
8566
8567 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
8568
8569         * box.h: make signed dimensions to allow insets wider than
8570           the screen (bug #162)
8571
8572         * BufferView_pimpl.C: add some insetHit debug
8573
8574 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
8575
8576         * vc-backend.C: add FIXME
8577
8578 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8579
8580         * lyxfunc.C (getStatus): enable code for showing math font status
8581         in toolbar/menu.
8582
8583 2002-01-07  Juergen Vigna  <jug@sad.it>
8584
8585         * text.C (nextBreakPoint): removed debug output not needed anymore.
8586
8587 2002-01-06  Juergen Vigna  <jug@sad.it>
8588
8589         * text.C (nextBreakPoint): fixed up this function we had this bug
8590         since ever but now hopefully we break row better.
8591         (insertChar): we have to check if an inset is the next char as it
8592         could now happen that a large inset is causing a break.
8593
8594 2002-01-05  Juergen Vigna  <jug@sad.it>
8595
8596         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
8597         if it doesn't like to be drawed.
8598
8599 2002-01-04  Juergen Vigna  <jug@sad.it>
8600
8601         * BufferView2.C (lockInset): forgot to set a cursor.
8602
8603         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
8604
8605 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
8606
8607         * FormMathsPanel.C:
8608         * FormMathsPanel.h
8609         * MathsSymbols.C:
8610         * form_maths_panel.C:
8611         * form_maths_panel.h:
8612         * form_maths_panel.fd: implemented sub- and super- buttons in math
8613         panel.
8614
8615         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
8616         (or ^ space) to be used as in TeX (req'd by André).
8617
8618         * lyxfunc.C: Allow ^ and _ again to be used both as
8619         super/subscript (mathed) and as themselves (in text).
8620
8621 2002-01-03  Allan Rae  <rae@lyx.org>
8622
8623         * LyXView.C (updateWindowTitle): Setup a short icon title of either
8624         "LyX" or the filename of the current buffer if it has one.  This is a
8625         modified form of John Levon's patch.
8626
8627         * XFormsView.C (setWindowTitle): also set icon title.
8628
8629         * LyXView.h (setWindowTitle): signature changed.
8630         * XFormsView.h (setWindowTitle): ditto.
8631
8632 2002-01-02  Juergen Vigna  <jug@sad.it>
8633
8634         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
8635
8636 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8637
8638         * screen.C (topCursorVisible): introduce a temp var for
8639         text->cursor.row(), handle the case where this row is null. (kindo
8640         hachish)
8641
8642         * text2.C (setCursor): add a couple of asserts.
8643
8644         * paragraph.h (inset_iterator): add -> operator
8645
8646         * paragraph.[Ch] (autoDeleteInsets): remove member function
8647
8648         * BufferView2.C (removeAutoInsets): rewrite to handle the old
8649         cursor pos correctly and handle inset deletion by itself.
8650         (insertErrors): move iterator declaration out of for expression
8651
8652         * lyxtextclass.C: add <algorithm>
8653
8654         * Makefile.am: added the new files to sources, removed layout.C
8655
8656         * layout.C: removed file
8657
8658         * layout.h: remove LYX_DUMMY_LAYOUT
8659
8660         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
8661         layout.
8662
8663         * lyxlayout.[Ch]:
8664         * lyxtextclass.[Ch]:
8665         * lyxtextclasslist.[Ch]: new files
8666
8667         * include order changes to a lot of files, also changes because of
8668         the six new files.
8669
8670 2001-12-27  Juergen Vigna  <jug@sad.it>
8671
8672         * buffer.C (asciiParagraph): more fixes.
8673
8674         * tabular.C (ascii): make ascii export support export of only the
8675         data separated by a column-delimiter.
8676         (ascii): better support for ascii export.
8677
8678         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
8679
8680 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8681
8682         * tabular_funcs.C: use a "using std::getline" instead of the
8683         previous fix from Angus (necessary for cxx + lyxstring)
8684
8685 2001-12-24  Juergen Vigna  <jug@sad.it>
8686
8687         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
8688
8689         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
8690         problems. First check a minipage also if we have some ert-contents
8691         (not only on par->size(), second set the right depth of the paragraph
8692         on the relink to the root-paragraph-list!
8693
8694         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
8695         which then did not anymore update the main paragraphs on undo/redo!
8696
8697 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8698
8699         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
8700         code. Support all font-changing funcs (even those which are not in
8701         menu currently). Support for reporting font settings in
8702         mathed (disabled until Andre provides a function on mathed's side).
8703
8704         * func_status.h (toggle): small helper function to set toggle
8705         state on a flag.
8706
8707 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
8708
8709         * tabular_funcs.C: getline -> std::getline
8710
8711 2001-12-21  Juergen Vigna  <jug@sad.it>
8712
8713         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
8714         accessed and could be 0 (I couldn't generate this but it seems
8715         Michael could!).
8716
8717 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8718
8719         * tabular_funcs.C: add LIstream.h, move write_attribute to..
8720         * tabular_funcs.h: here and include iosfwd
8721
8722 2001-12-20  Juergen Vigna  <jug@sad.it>
8723
8724         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
8725         inside inset but undo_par was.
8726
8727 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8728
8729         * Thesaurus.C: always include <config.h> in sources.
8730
8731         * Painter.h:
8732         * lyxlookup.h:
8733         * box.h: do not include <config.h> in header files
8734
8735         * text.C (paintLastRow): remove unused variable
8736
8737         * text.C (transformChar):
8738         (insertChar):
8739         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
8740
8741         * Painter.C (text):
8742         * font.C (width): rewrite to use uppercase() instead of
8743         islower/toupper.
8744
8745         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
8746
8747 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
8748
8749         * lyxfind.C: clean up of find failure position change
8750
8751 2001-12-20  Juergen Vigna  <jug@sad.it>
8752
8753         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
8754
8755         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
8756         (TeXRow): added to LaTeX a single tabular row.
8757         (TeXLongtableHeaderFooter): added to output LT-h/f data.
8758         (Latex): simplified and finally good LT-h/f support.
8759         (various_functions): just small adaptions for LT-h/f support.
8760
8761         * tabular_funcs.[hC]: added and moved here all not classfunctions
8762         of LyXTabular.
8763
8764 2001-12-19  Juergen Vigna  <jug@sad.it>
8765
8766         * tabular.[Ch]: better support for longtabular options (not finished
8767         yet!)
8768
8769 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8770
8771         * text.C (paintLastRow): use the label font instead of the font of
8772         the last character to compute the size of *_BOX. This makes more
8773         sense and avoids a crash with empty paragraphs.
8774         Use Painter::rectangle to draw EMPTY_BOX.
8775
8776 2001-12-19  Juergen Vigna  <jug@sad.it>
8777
8778         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
8779         the paragraphs if the replaced paragraph is not the first one!
8780         Tried to delete not used paragraphs but does not work yet so for
8781         now it's inside #ifdef's and by default off!
8782
8783 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8784
8785         * MenuBackend.C: include "lyx_main.h" instead of declaring
8786         lastfiles (actually was declared as LastFiles* instead of a
8787         scoped_ptr).
8788
8789 2001-12-17  Juergen Vigna  <jug@sad.it>
8790
8791         * tabular.C (AppendColumn): applied John's fix
8792
8793 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
8794
8795         * BufferView.h:
8796         * BufferView.C:
8797         * BufferView_pimpl.h:
8798         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
8799
8800         * Makefile.am:
8801         * box.h: new start of class for above
8802
8803         * lyxfunc.C: ignore space-only minibuffer dispatches.
8804           Show the command name when it doesn't exist
8805
8806         * minibuffer.C: don't add empty lines to the history
8807
8808         * minibuffer.C: add a space on dropdown completion
8809
8810 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
8811
8812         * text.C: fix line above/below drawing in insets
8813
8814 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8815
8816         * lyxlength.C (LyXLength): Initialize private variables.
8817
8818 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
8819
8820         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
8821         when inserting error insets.
8822
8823 2001-12-13  Juergen Vigna  <jug@sad.it>
8824
8825         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
8826         actually sometimes the before-paragraph.
8827         (setUndo): don't clear the redostack if we're not actually undoing!
8828
8829 2001-12-06  Juergen Vigna  <jug@sad.it>
8830
8831         * undo_funcs.C (textHandleUndo): well after John's hint I got here
8832         and fixed redoing of main paragraph, so we can use it now ;)
8833
8834         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
8835
8836 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8837
8838         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
8839         Juergen's request
8840
8841 2001-12-13  André Pönitz <poenitz@gmx.net>
8842
8843         * undostack.[Ch]:
8844         * undo_func.C: minor cleanup
8845
8846 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8847
8848         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
8849         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
8850         font in urw-fonts package which is marked as -urw-fontspecific and
8851         does not work (incidentally, changing the encoding in the
8852         fonts.dir of this package to -adobe-fontspecific fixes the
8853         problem).
8854
8855         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
8856         is a crash when undoing first paragraph (Juergen, please take a
8857         look). THis does not mean the undo fix is wrong, just that it
8858         uncovers problems.
8859
8860         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
8861         the (Paragraph*) version when needed instead of duplicating the
8862         code.
8863
8864         * text.C (workWidth): use Inset::parOwner to find out where the
8865         inset has been inserted. This is a huge performance gain for large
8866         documents with lots of insets. If Inset::parOwner is not set, fall
8867         back on the brute force method
8868
8869         * paragraph_pimpl.C (insertInset):
8870         * paragraph.C (Paragraph):
8871         (cutIntoMinibuffer): set parOwner of insets when
8872         inserting/removing them
8873
8874         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
8875
8876 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
8877
8878         * commandtags.h:
8879         * LyXAction.C:
8880         * lyx_main.C:
8881         * lyxfunc.C:
8882         * mathed/formulabase.C:
8883         * mathed/math_cursor.[Ch]:
8884         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
8885
8886
8887 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8888
8889         * lyxlength.[Ch] (operator!=): new function
8890
8891 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8892
8893         * text.C (workWidth): use Inset::parOwner to find out where the
8894         inset has been inserted. This is a huge performance gain for large
8895         documents with lots of insets. If Inset::parOwner is not set, fall
8896         back on the brute force method
8897
8898         * paragraph_pimpl.C (insertInset):
8899         * paragraph.C (Paragraph):
8900         (cutIntoMinibuffer): set parOwner of insets when
8901         inserting/removing them
8902
8903         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
8904
8905 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8906
8907         * tabular-old.C (getTokenValue):
8908         * tabular.C (getTokenValue):
8909         (write_attribute): new versions for LyXLength
8910         (everywhere): adjust the use of widths
8911
8912         * tabular.h: change the type of widths from string to LyXLength
8913
8914 2001-12-11  Ben Stanley <bds02@uow.edu.au>
8915
8916         * paragraph.C: fixed missing line number count when exporting
8917         Environments to LaTeX file
8918
8919         * buffer.C: added informational message for checking line numbers.
8920
8921 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8922
8923         * text2.C (deleteEmptyParagraphMechanism): if there is only one
8924         paragraph, do the 'double space' part, but not the 'empty
8925         paragraph' one.
8926
8927         * text.C (workWidth): small optimization
8928         (getLengthMarkerHeight): use minimal size for negative lengths.
8929
8930 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
8931
8932         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
8933
8934         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
8935
8936 2001-12-11  André Pönitz <poenitz@gmx.net>
8937
8938         * FontLoader.C:
8939         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
8940
8941 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
8942
8943         * text2.C: keep selection on a setFont()
8944
8945 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
8946
8947         * lyx_cb.C: another bv->text misuse, from insert label
8948
8949 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
8950
8951         * kbsequence.h:
8952         * kbsequence.C: re-instate nmodifier mask
8953
8954 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
8955
8956         * lyx_main.h: make lyxGUI private.
8957
8958 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
8959
8960         * lyxfind.C: place the cursor correctly on failed search
8961
8962 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8963
8964         * text.C (getLengthMarkerHeight): for small heights, the arrows
8965         are not always on top/bottom of the text
8966         (drawLengthMarker): smaller arrows; take the left margin in
8967         account; draw also vfills.
8968         (paintFirstRow):
8969         (paintLastRow): remove special code for vfill and standard spaces,
8970         since everything is handled in drawLengthMarker now.
8971
8972 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8973
8974         * buffer.C (insertErtContents): try to handle font and language
8975         interaction a bit better.g
8976
8977         * ColorHandler.C (updateColor): change the hash to cover the whole
8978         LColor enum, ws cleanup
8979         (getGCLinepars): ditto
8980         (getGCLinepars): only lookup in the linecache once.
8981
8982 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
8983
8984         * iterators.C (operator++): Make the iterator more robust
8985
8986         * BufferView2.C (removeAutoInsets): Use paragraph iterators
8987         (John's patch)
8988         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
8989
8990 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
8991
8992         * lyxtext.h:
8993         * text.C: better added space drawing
8994
8995 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
8996
8997         * LyXView.C:
8998         * BufferView2.C: fix layout combo update on inset unlock
8999
9000 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9001
9002         * Makefile.am: don't compile unused files
9003
9004 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9005
9006         * lyxfunc.C:
9007         * commandtags.h:
9008         * LyXAction.C: remove old LFUN_LAYOUTNO
9009
9010 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9011
9012         * paragraph_pimpl.h:
9013         * paragraph_pimpl.C: isTextAt() doesn't need font param
9014
9015 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9016
9017         * lyxlex.h:
9018         * lyxlex.C: little cleanup
9019
9020 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9021
9022         * BufferView_pimpl.C: fix insertAscii for insets
9023
9024 2001-12-05  Juergen Vigna  <jug@sad.it>
9025
9026         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
9027         set the right font on the "multi" paragraph paste!
9028
9029 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9030
9031         * trans_decl.h:
9032         * trans_mgr.[Ch]:
9033         * trans.[Ch]:
9034         * lyxgluelength.C:
9035         * lyxlength.C: remove out-commented code.
9036
9037         * BufferView_pimpl:
9038         * CutAndPaste.C:
9039         * DepTable.C:
9040         * buffer.C:
9041         * chset.C:
9042         * lastfiles.C:
9043         * lyxlex.C:
9044         * lyxlex_pimpl.C:
9045         * lyxserver.C:
9046         * screen.C:
9047         * tabular-old.C:
9048         * tabular.C:
9049         * text.C:
9050         * trans_mgr.C:
9051         * vc-backend.C: change "while(" to "while ("
9052
9053         * lyxlength.[Ch]: add zero function to check if length is zero or
9054         not
9055         * lyxgluelength.C: use it
9056
9057 2001-12-05  Allan Rae  <rae@lyx.org>
9058
9059         * lyxlength.C: Attempted a fix for the abs(int) header selection.
9060         Works for 2.95.3, from what I understand of Garst's reports this should
9061         work for other g++ versions.  We're screwed if the abs(int) definition
9062         changed between bugfix releases of gcc.
9063
9064 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
9065
9066         * text.C: fix chapter label offset !
9067
9068 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
9069
9070         * lyxtext.h:
9071         * text.C: fix hfill at end of line, clean up
9072
9073 2001-12-04  Juergen Vigna  <jug@sad.it>
9074
9075         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
9076         that we force an update of the inset and it's owners if neccessary.
9077
9078 2001-12-03  Juergen Vigna  <jug@sad.it>
9079
9080         * text.C (rowLast): simplified code
9081
9082 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
9083
9084         * lyxfunc.C: fix show options on timeout
9085
9086 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9087
9088         * screen.C (topCursorVisible): scroll half a page when the cursor
9089         reached top of bottom of screen
9090
9091 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
9092
9093         * minibuffer.C: deactivate on loss of focus
9094
9095 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9096
9097         * vspace.[Ch] (operator!=): add operator.
9098
9099 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
9100
9101         * BufferView_pimpl.C: refuse to open an inset when
9102         there's a selection.
9103
9104 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
9105
9106         * BufferView_pimpl.C: allow to click on RHS of full row insets
9107
9108 2001-11-30  Juergen Vigna  <jug@sad.it>
9109
9110         * tabular.C (LyXTabular): add a same_id to set the same id's in the
9111         insets for undo reasons.
9112
9113 2001-11-28  André Pönitz <poenitz@gmx.net>
9114
9115         * vspace.[Ch]: cosmetical changes
9116
9117 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
9118
9119         * LyXAction.h:
9120         * LyXAction.C:
9121         * lyxfunc.h:
9122         * lyxfunc.C:
9123         * kbmap.h:
9124         * kbmap.C:
9125         * lyxrc.C:
9126         * kbsequence.h:
9127         * kbsequence.C: part re-write of old kb code
9128
9129         * Painter.C:
9130         * WorkArea.C: remove Lgb_bug_find_hack
9131
9132 2001-11-30  José Matos <jamatos@fep.up.pt>
9133
9134         * buffer.C (makeDocBookFile): add a comment to point a hack.
9135         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
9136         Fixed a double write of labels.
9137
9138 2001-11-29 Ben Stanley <bds02@uow.edu.au>
9139
9140         * LaTeX.C:
9141         * LaTeX.h Fixed bug in LaTeX class where it would not
9142         re-run latex if no depfiles were changed, but the .dvi was removed.
9143
9144 2001-11-28  André Pönitz <poenitz@gmx.net>
9145
9146         * all the files from the change on 2001/11/26:
9147         use lyx::layout_type instead of LyXTextClass::size_type
9148         use lyx::textclass_type instead of LyXTextClassList::size_type
9149
9150 2001-11-29  Juergen Vigna  <jug@sad.it>
9151
9152         * text.C: added support for paragraph::isFreeSpacing()
9153
9154         * buffer.C: same as above
9155
9156         * paragraph.h: inserted isFreeSpacing() function to enable
9157         FreeSpacing inside InsetERT.
9158
9159         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
9160         of the paragraph's in the cut/copy buffer to 0!
9161
9162         * text2.C (removeRow): remove the assert as it can!
9163
9164         * lyxtext.h: added helper function firstRow returning firstrow and
9165         made firstrow private again.
9166
9167         * BufferView2.C (lockInset): don't relock if we're already locked!
9168
9169         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
9170         the only paragraph.
9171         (removeRow): added Assert::(firstrow)
9172
9173         * debug.C: forgot to add INSETTEXT here.
9174
9175 2001-11-28  Juergen Vigna  <jug@sad.it>
9176
9177         * sp_spell.C (initialize): changed error text to more general
9178         spellchecker command use (not only ispell!)
9179
9180         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
9181
9182         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
9183
9184 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
9185
9186         * vspace.C: initialise lyxgluelength on failure
9187
9188 2001-11-28  Allan Rae  <rae@lyx.org>
9189
9190         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
9191         declaration & definition that looks like a function declaration.
9192
9193 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9194
9195         * BufferView2.C (copy):
9196         (copyEnvironment): do not clear the selection when doing a copy.
9197
9198         * text.C (paintFirstRow): compilation fix
9199
9200 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
9201
9202         * tabular.C (Latex): correct line count when writing latex.
9203
9204 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
9205
9206         * paragraph_pimpl.h:
9207         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
9208           bug a bit
9209
9210 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
9211
9212         * text.C:
9213         * LColor.h:
9214         * LColor.C: change vfillline->added_space
9215
9216         * text.C: add markers and text for added space
9217
9218         * vspace.C: fix comment
9219
9220 2001-11-28  André Pönitz <poenitz@gmx.net>
9221
9222         * paragraph.C: whitespace changes
9223         * all the other files from the change on 2001/11/26:
9224         change *::pos_type into lyx::pos_type
9225
9226 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
9227
9228         * buffer.C (parseSingleLyXformat2Token): Set the language to the
9229         language of the document when inserting error insets.
9230
9231 2001-11-26  André Pönitz <poenitz@gmx.net>
9232
9233         * BufferView_pimpl.[Ch]:
9234         *       CutAndPaste.C:
9235         * buffer.[Ch]:
9236         * lyxcursor.[Ch]:
9237         * lyxfind.C:
9238         * lyxfunc.C:
9239         * lyxrow.[Ch]:
9240         * paragraph.[Ch]:
9241         * paragraph_pimpl.[Ch]:
9242         * sp_spell.C:
9243         * text.C:
9244         * text2.C: reduce header dependencies, introduce type for positions
9245
9246 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
9247
9248         * <various>: change to use Alert.h
9249
9250 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
9251
9252         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
9253         when encountering an unknown token.
9254         (readLyXformat2): Show an error message if there were unknown tokens.
9255
9256 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
9257
9258         * BufferView2.C:
9259         * BufferView_pimpl.C:
9260         * buffer.C:
9261         * paragraph.h:
9262         * text.C:
9263         * text2.C: use par->isInset()
9264
9265 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
9266
9267         * paragraph_pimpl.h:
9268         * paragraph_pimpl.C: cleanup
9269
9270 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9271
9272         * text2.C (removeRow):
9273         * text.C (setHeightOfRow): remove useless (and costly) call to
9274         getRow.
9275
9276 2001-11-20  Allan Rae  <rae@lyx.org>
9277
9278         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
9279         Now need Inset*::checkInsertChar() to return true for appropriate
9280         cases so that the characters in the minibuffer will actually be
9281         inserted.
9282
9283 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9284
9285         * text.C: change the order of the includes.
9286         (workWidth): initialize it at once.
9287         (workWidth): make maxw unsigned
9288         (setHeightOfRow): remove unused variable (inset)
9289         (selectSelectedWord): remove unused variable (inset)
9290         (paintRowText): fix drawing of hfill characters, and clean up a bit.
9291
9292 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9293
9294         * lyxserver.C (emergencyCleanup): do not try to close pipes if
9295         server is not running.
9296         (openConnection):
9297         (closeConnection): add debug info when server is disabled.
9298
9299         * ColorHandler.C (getGCForeground): send debug message to GUI
9300         channel.
9301
9302         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
9303
9304         * kbmap.C (bind): modify because return conventions of
9305         kb_sequence::parse have changed.
9306
9307         * kbsequence.C (parse): only ignore spaces and not any stupid
9308         control character. This avoids tests like s[i] <= ' ', which are
9309         guaranteed to fail with 8bit characters and signed chars.
9310         Change return code to string::npos when there have been no error
9311         (0 was a bad idea when error is at first character)
9312
9313 2001-11-14  José Matos  <jamatos@fep.up.pt>
9314
9315         * buffer.h:
9316         * buffer.C (simpleDocBookOnePar): removed unused argument.
9317
9318 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9319
9320         * text.C (selectNextWordToSpellcheck): do not test explicitely for
9321         insets which are part of a word. Paragraph::isLetter takes care of
9322         that now. Use Paragraph::isInset to identify insets.
9323         (selectSelectedWord): do not test for hyphenation break.
9324
9325         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
9326         that protected spaces are considered as spaces.
9327
9328         * paragraph.C (isLetter): cleanup the code for ispell extras; use
9329         Inset::isLetter.
9330
9331 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
9332
9333         * lyxserver.h:
9334         * lyxserver.C: fix it. and small cleanup.
9335
9336 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
9337
9338         * BufferView_pimpl.C: use inline helpers
9339
9340         * LaTeXFeatures.h:
9341         * LaTeXFeatures.C: fix typos
9342
9343         * Spacing.h:
9344         * Spacing.C: move spacing_string into class
9345
9346         * ToolbarDefaults.C: move stuff into namespace anon
9347
9348         * layout.h: update enum
9349
9350         * lyxfunc.C: use better debug
9351
9352         * minibuffer.h: fix typo
9353
9354         * debug.h:
9355         * debug.C:
9356         * WorkArea.C: add and use Debug::WORKAREA
9357
9358         * lyxtext.h:
9359         * text.C:
9360         * text2.C: code re-organisation, inline helpers
9361
9362 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
9363
9364         * Layout.C: replaced a few cases of std::vector.size() == 0 with
9365         std::vector.empty().
9366
9367 2001-11-09  Allan Rae  <rae@lyx.org>
9368
9369         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
9370         '\n's after tables.  Tabular and ERT inset work now makes this no
9371         longer necessary.
9372
9373 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
9374
9375         * minibuffer.h:
9376         * minibuffer.C: fix crash, improve drop-down completion
9377
9378 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
9379
9380         * lyxserver.h:
9381         * lyxserver.C: invalidate fd's when doing endPipe()
9382
9383 2001-11-08  José Matos  <jamatos@fep.up.pt>
9384
9385         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
9386         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
9387
9388         * paragraph.h:
9389         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
9390
9391 2001-11-07  José Matos  <jamatos@fep.up.pt>
9392
9393         * buffer.h:
9394         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
9395         const qualifier.
9396
9397         * buffer.C (sgmlOpenTag):
9398         * buffer.C (sgmlCloseTag): removed debug info.
9399
9400         * buffer.h (sgmlOpenTag):
9401         * buffer.h (sgmlCloseTag): made public.
9402
9403 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9404
9405         * buffer.C (saveParamsAsDefaults):
9406         * lyx_cb.C (MenuLayoutSave): remove
9407
9408         * LyXAction.C (init):
9409         * commandtags.h:
9410         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
9411
9412 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9413
9414         * buffer.C (setPaperStuff): removed from here...
9415
9416         * bufferparams.C (setPaperStuff): ... and moved there.
9417
9418 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
9419
9420         * minibuffer.h:
9421         * minibuffer.C:
9422         * XFormsView.C: add support for drop-down completion
9423
9424 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
9425
9426         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
9427         commands.
9428
9429 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9430
9431         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
9432         disabled.
9433
9434 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
9435
9436         * lyx_main.C: change ref to known bugs
9437
9438 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
9439
9440         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
9441         to work around older babel problems.
9442
9443 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
9444
9445         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
9446
9447 2001-10-24  Juergen Vigna  <jug@sad.it>
9448
9449         * tabular-old.C (ReadOld): below variable changes reflected.
9450
9451         * tabular.[Ch]: added ltType struct for longtable header/footer
9452         defines and changed all instances where they are used. Added
9453         future support for double top/bottom rows.
9454
9455 2001-10-24  José Matos  <jamatos@fep.up.pt>
9456
9457         * buffer.h (docbookHandleCaption):
9458         * buffer.C (docbookHandleCaption): removed unused function.
9459         (makeDocBookFile): moved docbook supported version to v4.1.
9460
9461 2001-10-24  José Matos  <jamatos@fep.up.pt>
9462
9463         * tabular.h:
9464         * tabular.C (docbookRow): new function to export docbook code of a row.
9465         (DocBook): now honors the longtable flags.
9466
9467 2001-10-23  José Matos  <jamatos@fep.up.pt>
9468
9469         * LaTeXFeatures.h:
9470         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
9471         of the lyx defined sgml entities used in a docbook/linuxdoc document.
9472
9473         * buffer.C (makeLinuxDocFile):
9474         (makeDocBookFile): reworked the preamble, more clean, and with
9475         support for lyx defined entities. Changed the document declaration
9476         to be more XML friendly.
9477
9478         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
9479         if we need to output XML that should be done with a filter.
9480
9481 2001-10-22  Juergen Vigna  <jug@sad.it>
9482
9483         * sp_pspell.h (class PSpell): add alive function needed in the
9484         controller to see if the spellchecker could be started.
9485
9486 2001-10-22  Juergen Vigna  <jug@sad.it>
9487
9488         * buffer.C (insertStringAsLines): modify the font for inserting
9489         chars in certain conditions by calling checkInsertChar(font).
9490
9491 2001-10-19  Juergen Vigna  <jug@sad.it>
9492
9493         * text.C (workWidth): use getRow instead of wrong algorithm.
9494         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
9495
9496 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
9497
9498         * lyxserver.h:
9499         * lyxserver.C:
9500         * lyx_main.h:
9501         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
9502
9503 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9504
9505         * text.C (workWidth): do not search for the exact row when
9506         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
9507         optimization for big documents.
9508
9509 2001-10-18  Juergen Vigna  <jug@sad.it>
9510
9511         * text.C (workWidth): new function with added Inset * parameter.
9512
9513 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9514
9515         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
9516
9517         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
9518         change return type of getColumnNearX.
9519
9520
9521         * text.C (changeRegionCase): use uppercase/lowercase instead of
9522         toupper/tolower.
9523         (leftMargin):
9524         (rightMargin): simplify code by factoring out the uses of
9525         textclasslist.
9526         (labelFill):
9527         (numberOfHfills):
9528         (setHeightOfRow):
9529         (appendParagraph): use Paragraph::size_type
9530
9531 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9532
9533         * vspace.C (asLatexString): add a missing break
9534
9535 2001-10-15  Herbert Voss  <voss@perce.de>
9536
9537         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
9538
9539 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9540
9541         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
9542         is not available.
9543
9544 2001-10-10  André Pönitz <poenitz@gmx.net>
9545
9546         * lyxfunc.C: removed greek_kb_flag.
9547
9548 2001-10-10  Herbert Voss  <voss@perce.de>
9549
9550         * lyx_main.C: delete global string help_lyxdir.
9551
9552 2001-10-09  Herbert Voss  <voss@perce.de>
9553
9554         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
9555
9556         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
9557
9558         * lyx_main.C: added global string help_lyxdir.
9559
9560         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
9561
9562 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
9563
9564         * lyxrc.C (set_font_norm_type): support iso8859-4
9565
9566 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
9567
9568         * LaTeX.C (deplog): add another regex for MikTeX
9569
9570 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
9571
9572         * lyxrc.C (set_font_norm_type): support iso8859-3
9573
9574 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9575
9576         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
9577
9578         * LaTeXFeatures.C: remove special case of french and index
9579
9580         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
9581         before \begin{document}). This solves several incompatibilities.
9582
9583 2001-10-03  Garst Reese  <reese@isn.net>
9584
9585         * lyx_cb.C: change CheckTex error msg.
9586
9587 2001-10-03  José Matos  <jamatos@fep.up.pt>
9588
9589         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
9590
9591 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9592
9593         * .cvsignore: update
9594
9595         * lyx_main.C (commandLineVersionInfo): use new style version info.
9596
9597         * buffer.C (writeFile):
9598         (makeLaTeXFile):
9599         (makeLinuxDocFile):
9600         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
9601
9602         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
9603
9604         * version.h: update to use stuff in version.C
9605
9606         * version.C.in: new file. Contains version information determined
9607         at compile time. This is a merging of version.h and
9608         version_info.h.in.
9609
9610 2001-10-03  Juergen Vigna  <jug@sad.it>
9611
9612         * BufferView_pimpl.C (update): don't change "dirty" status in
9613         updateInset call.
9614
9615 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
9616
9617         * WorkArea.C (c-tor): re-position version string slightly.
9618
9619 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
9620
9621         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
9622         revert to previous code.
9623
9624         WorkArea.[Ch]: (show, destroySplash): methods removed.
9625
9626         WorkArea.C: rework code so that it's an amalgam of the codes before and
9627         after the splash screen was moved to WorkArea.
9628
9629 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9630
9631         * lyxrc.C (read):
9632         * vspace.C (inPixels):
9633         (lyx_advance):
9634         * kbmap.C (bind):
9635         * buffer.C (insertStringAsLines):
9636         (asciiParagraph): fix types to be large enough
9637
9638         * lyxlex_pimpl.h: change member status from short to int
9639
9640         * layout.h: fix type of endlabeltype
9641
9642         * kbmap.C (bind):
9643         * kbsequence.C (parse): change return type to string::size_type
9644
9645         * LaTeX.C (updateBibtexDependencies): comment out unneeded
9646         variable
9647
9648         * Bullet.C (bulletSize):
9649         (bulletEntry): do not use short ints as parameters
9650
9651         * BufferView2.C (insertLyXFile): change a char to an int.
9652
9653         * WorkArea.C (WorkArea): remove unneeded floats in computation
9654
9655 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
9656
9657         * buffer.C (asciiParagraph): Treat '\\' as other chars.
9658
9659         * paragraph.C (asString): Do not ignore newline/hfill chars when
9660         copying to the clipboard.
9661
9662 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
9663
9664         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
9665         after a multi-line inset.
9666
9667 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
9668
9669         * paragraph.C (validate): Set NeedLyXFootnoteCode
9670
9671 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
9672
9673         * lyxfont.C (LyXSizeNames): changed increase-error to increase
9674         and decrease-error to decrease.
9675
9676 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9677
9678         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
9679         it more readable (should be equivalent)
9680
9681 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
9682
9683         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
9684
9685 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9686
9687         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
9688         of a cursor (row, etc.) after a character has been deleted
9689         (deleteEmptyParagraphMechanism): call the method above on _all_
9690         cursors held by the LyXText when a double space has been
9691         detected/deleted.
9692
9693 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
9694
9695         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
9696         pixmap.
9697         (resizeCurrentBuff): remove code to destroy the old splash dialog.
9698
9699         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
9700         background. Use greyOut() and the new show() methods to toggle between
9701         the foreground and background. Add code to remove the splash after
9702         its initial showing.
9703
9704         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
9705         (create_forms): no longer call Dialogs::showSplash.
9706
9707 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9708
9709         * .cvsignore: add version_info.h
9710
9711 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9712
9713         * version_info.h.in: new file
9714
9715         * Makefile.am: add version_info.h.in
9716
9717         * lyx_main.C (commandLineVersionInfo): use version_info defined in
9718         version_info.h instead of VERSION_INFO
9719
9720 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
9721
9722         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
9723         The ERT inset now returns string().
9724
9725 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
9726
9727         * lyxtext.h, text.C (selectNextWord): renamed as
9728         selectNextWordToSpellcheck.
9729
9730         * text.C (selectNextWordToSpellcheck): Modified to not select
9731         words inside an ERT inset.
9732
9733 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9734
9735         * lyx_cb.C (MenuLayoutSave): change a bit the question
9736
9737         * sp_base.h: include <sys/types.h>
9738
9739 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
9740
9741         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
9742
9743 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
9744
9745         * several files: fix typos in user-visible strings
9746
9747 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9748
9749         * text2.C (pasteSelection): do not set the selection, since it
9750         will be cleared later. Actually, the intent was to fix the way the
9751         selection was set, but I figured rmoving the code was just as good.
9752
9753 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
9754
9755         * FontLoader.C (available): Check if font is available without
9756         loading the font.
9757
9758 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
9759
9760         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
9761
9762 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
9763
9764         * lyxrc.[Ch]: added display_graphics variable and associated code.
9765
9766 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9767
9768         * bufferparams.C (hasClassDefaults): new method. Returns true if
9769         the buffer parameters correspond to known class defaults
9770
9771 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
9772
9773         * XFormsView.C (show): set minimum size to the main window.
9774
9775 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9776
9777         * text2.C (copySelection):
9778         (cutSelection):
9779         * lyxfind.C (LyXReplace):
9780         * BufferView_pimpl.C (Dispatch): pass the correct flag to
9781         LyXText::selectionAsString.
9782
9783         * paragraph.C (asString): add "label" argument to the second form
9784
9785         * text2.C (selectionAsString): add "label" argument and pass it to
9786         Paragraph::asString.
9787
9788 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9789
9790         * lyx_main.C (commandLineHelp): remove version information
9791
9792 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
9793
9794         * lyx_main.C: add -version commandline option
9795
9796 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9797
9798         * paragraph.h: make the optional constructor arg required instead.
9799         some modifications to other files because of this.
9800
9801         * minibuffer.C (C_MiniBuffer_peek_event): make it static
9802
9803         * lyxserver.C (C_LyXComm_callback): make it static
9804
9805         * lyx_main.C (error_handler): make it static
9806
9807         * lyx_gui.C (LyX_XErrHandler): make it static
9808
9809         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
9810
9811         * WorkArea.C: make the extern "C" methods static.
9812
9813         * Makefile.am (lyx_LDADD): simplify
9814
9815 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
9816
9817         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
9818         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
9819
9820         * LyXAction.C (init):
9821         * lyxfunc.C (dispatch): associated code removal.
9822
9823 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9824
9825         * lyxfont.h (isSymbolFont): shut off warning
9826
9827         * text.C (setHeightOfRow):
9828         (getVisibleRow): fix crash with empty paragraphs which have a
9829         bottom line
9830
9831 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
9832
9833         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
9834         code.
9835
9836 2001-09-04  José Matos  <jamatos@fep.up.pt>
9837         * buffer.C
9838         * buffer.h
9839         * tabular.C (docbook): rename docBook method to docbook.
9840
9841 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
9842
9843         * Makefile.am: add dependencies to main.o.
9844
9845 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
9846
9847         * FontLoader.C (available): Return false if !lyxrc.use_gui
9848
9849 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
9850
9851         * FontInfo.C (query):
9852         * converter.C (view):
9853         * importer.C (Import):
9854         * exporter.C (Export): Can not -> cannot.
9855
9856 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
9857
9858         * BufferView_pimpl.C: allow to create index inset even if
9859           string is empty
9860
9861 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
9862
9863         * buffer.C (getLists): replace boost::tie code with an explicit pair
9864         as boost::tie can break some compilers.
9865
9866         * iterators.h: Added a std:: declaration to the return type of
9867         ParIterator::size.
9868
9869 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
9870
9871         * lyxrc.C: add help for view_dvi_paper_option, default to safe
9872           case.
9873
9874 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
9875
9876         * iterators.[Ch]: New files. Provide paragraph iterators.
9877
9878         * buffer.C (changeLanguage): Use paragraph iterators.
9879         (isMultiLingual): ditto
9880
9881         * BufferView2.C (ChangeInsets): Use paragraph iterators.
9882
9883 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
9884
9885         * FontLoader.C: Support for cmr font.
9886
9887 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
9888
9889         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
9890         (available): New method.
9891
9892         * FontInfo.C (getFontname): Use scalable fonts even when
9893         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
9894         found.
9895
9896 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
9897
9898         * converter.C (Formats::view): reverted! Incorrect fix.
9899
9900 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
9901
9902         * converter.C (Formats::view): only output the -paper option
9903         if the dvi viewer is xdvi, thereby fixing bug #233429.
9904
9905 2001-08-23  Herbert Voss  <voss@perce>
9906
9907         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
9908
9909 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
9910
9911         * Spacing.h (Spacing): Set space to Default on in the default
9912         constructor.
9913
9914 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9915
9916         * vc-backend.h (RCS::versionString): add RCS to version
9917         (CVS::versionString): add CVS to version
9918
9919         * vc-backend.C (scanMaster): do not add CVS to version.
9920         (scanMaster): do not add RCS to version
9921
9922         * lyxvc.C (versionString): new method
9923
9924         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
9925
9926 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9927
9928         * Spacing.C (set): initialize fval
9929
9930 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
9931
9932         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
9933         " or \.
9934
9935 2001-08-16  Juergen Vigna  <jug@sad.it>
9936
9937         * lyxfunc.C (dispatch): implemented the new FINISHED states.
9938
9939 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
9940
9941         * BufferView_pimpl.C:
9942         * figureForm.C:
9943         * lyxtext.h:
9944         * text2.C: setParagraph takes linespacing now
9945
9946 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
9947
9948         * LyxAction.C: add internal LFUN_CITATION_INSERT
9949
9950         * LyXView.C: actually apply fix
9951
9952         * bufferlist.C: fix open non-existent file
9953
9954         * lyxfind.C: fix indentation
9955
9956         * lyxfunc.C: remove unneeded assert, fix typo
9957
9958 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
9959
9960         * MenuBackend.C: use "Floatname List"
9961
9962 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
9963
9964         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
9965         when converting LaTeX layout to insetERT.
9966         Generate a non-collapsed float when reading old float
9967
9968 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
9969
9970         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
9971         ERT insets.
9972
9973 2001-08-13  Juergen Vigna  <jug@sad.it>
9974
9975         * text.C (fill): return 0 instead of 20 as this seems to be the more
9976         correct value.
9977
9978 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
9979
9980         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
9981         lyxrc.font_norm.
9982
9983 2001-08-13  Juergen Vigna  <jug@sad.it>
9984
9985         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
9986         casesensitive off.
9987         (SearchBackward): comment out the unlocking of the inset_owner this
9988         should not be needed!
9989
9990 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
9991
9992         * Many files: Remove inherit_language, and add latex_language
9993
9994         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
9995         collapsible insets.
9996
9997 2001-08-10  Juergen Vigna  <jug@sad.it>
9998
9999         * text.C (prepareToPrint): fixed hfill-width in draw!
10000
10001         * BufferView2.C (selectLastWord): save the selection cursor as this
10002         now is cleared in the function LyXText::clearSelection!
10003
10004 2001-08-08  Juergen Vigna  <jug@sad.it>
10005
10006         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
10007         BACKSPACE type functions.
10008
10009         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
10010         is only cutted from the document but not put in the cut-buffer, where
10011         still the old stuff should be.
10012
10013         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
10014
10015         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
10016
10017         * tabular.C (SetWidthOfCell): fixed special case where the width
10018         was not updated!
10019         (LeftLine): handle '|' in align_special.
10020         (RightLine): ditto
10021         (LeftAlreadyDrawed): ditto
10022         (SetWidthOfCell): ditto
10023
10024 2001-08-07  Juergen Vigna  <jug@sad.it>
10025
10026         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
10027
10028 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10029
10030         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
10031         * lyxlex.[hC]: ditto
10032
10033 2001-08-06  Juergen Vigna  <jug@sad.it>
10034
10035         * text.C (getVisibleRow): fix up row clearing a bit.
10036
10037 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10038
10039         * minibuffer.C: make sure the X server sees the changes in the input.
10040
10041 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10042
10043         * paragraph.C (getFont): split into...
10044         (getLabelFont): this
10045         (getLayoutFont): and this
10046         * paragraph_pimpl.C (realizeFont): calling this
10047
10048         * text2.C (getFont): split into...
10049         (getLayoutFont): this
10050         (getLabelFont): and this
10051         (realizeFont): all three calling this
10052
10053         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
10054         files where used.
10055
10056 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10057
10058         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
10059
10060 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
10061
10062         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
10063         layouts from the Quote inset insertion.
10064
10065 2001-08-03  Juergen Vigna  <jug@sad.it>
10066
10067         * BufferView_pimpl.C (update): do the fitCursor only at the end!
10068
10069         * screen.C (drawFromTo): don't call fitcursor here and do the loop
10070         only if status not is already CHANGED_IN_DRAW (second level).
10071
10072         * text.C (draw): don't set the need_break_row when inside an
10073         InsetText LyXText.
10074
10075 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10076
10077         * buffer.C (parseSingleLyXformat2Token): handle more latex
10078         conversion cases.
10079
10080         * bufferview_funcs.[hC]: change function names to
10081         begin with small char, adjust other files.
10082
10083 2001-08-02  André Pönitz <poenitz@gmx.net>
10084
10085         * lyxfunc.C:
10086         BufferView_pimpl.C: remove broken special code for math-greek
10087
10088 2001-08-02  Juergen Vigna  <jug@sad.it>
10089
10090         * BufferView_pimpl.C (update): redone this function so that we
10091         update the text again if there was a CHANGE_IN_DRAW.
10092
10093         * screen.C (cursorToggle): removed LyXText parameter and recoded.
10094         (drawFromTo): added a new internal bool which is used by draw() and
10095         redraw() function.
10096         (general): some cursor drawing problems fixed.
10097
10098 2001-08-01  Juergen Vigna  <jug@sad.it>
10099
10100         * lyxfind.C (LyXFind): fixed
10101         (SearchForward): ditto
10102         (SearchBackward): ditto
10103
10104         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
10105         spurius drawing of the cursor in the main area.
10106
10107         * text2.C (status): small fix which could lead to a segfault!
10108         (clearSelection): remove unneeded BufferView param.
10109
10110 2001-08-01  André Pönitz <poenitz@gmx.net>
10111
10112         * lyxfunc.C: small change due to changed mathed interface
10113
10114 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10115
10116         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
10117
10118 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
10119
10120         * lyxfunc.c: fail gracefully if file doesn't exist
10121
10122         * LyXSendto.C:
10123         * buffer.C:
10124         * lyxfunc.C:
10125         * BufferView_pimpl.C: IsDirWriteable() proto changed
10126
10127         * LyXView.C: fix updateWindowTitle() to store the last title
10128
10129 2001-07-31  Juergen Vigna  <jug@sad.it>
10130
10131         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
10132         the font (wrong since using of Paragraph::highestFontInRange).
10133
10134         * paragraph.C (highestFontInRange): added a default_size parameter.
10135
10136         * text.C (getVisibleRow): minor clear row changes (still not perfect).
10137         (setHeightOfRow): reformat
10138
10139 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10140
10141         * converter.[hC] + affected files: move to (inital-char)lowercase
10142         function names.
10143
10144         * ParagraphParameters.C (ParagraphParameters): remove commented code
10145
10146         * PainterBase.[Ch]: remove commented code
10147
10148         * LaTeXFeatures.h: add "bool floats" for float.sty
10149
10150         * LaTeXFeatures.C (LaTeXFeatures): init floats
10151         (require): handle float
10152         (getPackages): do it with floats
10153
10154 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10155
10156         * BufferView_pimpl.C (Dispatch): improve handling of
10157         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
10158
10159         * commandtags.h: #include lyxfont.h here temporarily to avoid
10160         keybinding bug.
10161
10162         * bufferlist.h: include LString.h here.
10163
10164 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10165
10166         * text2.C (getStringToIndex): new method.
10167
10168 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
10169
10170         * *: Reduced header file dependencies all over.
10171
10172 2001-07-30  Baruch Even  <baruch@lyx.org>
10173
10174         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
10175
10176 2001-07-29  Baruch Even  <baruch@lyx.org>
10177
10178         * buffer.C (readInset): Changed GRAPHICS to Graphics.
10179
10180 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10181
10182         * ParameterStruct.h (endif): add a default constructor to make
10183         sure that all variables is initialized.
10184
10185         * ParagraphParameters.C (ParagraphParameters): adjust
10186
10187 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10188
10189         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
10190         index; also, check that there is something to index, and that it
10191         does not span over several paragraphs.
10192         (doubleClick): use WHOLE_WORD_STRICT for double click.
10193
10194         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
10195
10196         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
10197         scheme.
10198
10199 2001-07-26  Baruch Even  <baruch@lyx.org>
10200
10201         * buffer.C (readInset): Changed to call up InsetGraphics when reading
10202         an InsetFig figure, backwards compatible reading of old figure code.
10203
10204 2001-07-27  Juergen Vigna  <jug@sad.it>
10205
10206         * text2.C: font.realize function adaption.
10207
10208         * text.C (draw): add a warnings lyxerr text if needed.
10209
10210         * layout.C: font.realize function adaption.
10211
10212         * language.C: add inherit_language and implement it's handlings
10213
10214         * bufferview_funcs.C (StyleReset): remove language parameter from
10215         font creation (should be language_inherit now).
10216
10217         * bufferparams.C (writeFile): handle ignore_language.
10218
10219         * paragraph.C (getFontSettings): the language has to be resolved
10220         otherwise we have problems in LyXFont!
10221
10222         * lyxfont.C (lyxWriteChanges): added document_language parameter
10223         (update): removed unneeded language parameter
10224
10225         * paragraph.C (validate): fixed wrong output of color-package when
10226         using interface colors for certain fonts in certain environments,
10227         which should not seen as that on the final output.
10228
10229 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
10230
10231         * BufferView_pimpl.C:
10232         * Thesaurus.h:
10233         * Thesaurus.C:
10234         * Makefile.am:
10235         * commandtags.h:
10236         * LyXAction.C: add thesaurus support
10237
10238         * lyxfind.h:
10239         * lyxfind.C: add "once" parameter, for thesaurus, to not
10240           move to the next match
10241
10242 2001-07-26  Juergen Vigna  <jug@sad.it>
10243
10244         * lyxfont.C (realize): honor ignore_language too!
10245         (resolved): ditto.
10246
10247         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
10248
10249         * text.C (draw): one place more for ignore_language to not draw
10250         itself!
10251
10252 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
10253
10254         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
10255
10256 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10257
10258         * buffer.C (parseSingleLyXformat2Token): a more general fix for
10259         the minipage conversion problem.
10260
10261 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10262
10263         * buffer.C (parseSingleLyXformat2Token): check minipage if we
10264         insert an inset.
10265
10266 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10267
10268         * BufferView.h: don't forward declare WorkArea
10269
10270         * BufferView.C: don't include WorkArea.h
10271
10272 2001-07-25  André Pönitz <poenitz@gmx.net>
10273
10274         * commandtags.h:
10275         * LyXAction.C:
10276         * lyxfunc.C:  new LFUN 'math-space'
10277
10278         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
10279
10280 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10281
10282         * text2.C (toggleInset): call open/close
10283
10284 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10285
10286         * lyxfunc.C (dispatch): add debug for the disabled case
10287
10288         * font.C (buttonText): make similar to rectText
10289
10290         * buffer.C (readInset): comment out parsing of insetlist and
10291         insttheorem
10292
10293         * PainterBase.C (rectText): small correction
10294
10295         * BufferView_pimpl.C: comment out insettheorem and insetlist
10296         * LyXAction.C: ditto
10297         * commandtags.h: ditto
10298
10299 2001-07-24  Juergen Vigna  <jug@sad.it>
10300
10301         * text.C (draw): honor the ignore_language.
10302
10303         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
10304
10305 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10306
10307         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
10308         char inset.
10309
10310 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
10311
10312         * lyxtext.h: remove unused (and unimplemented) methods
10313
10314 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
10315
10316         * text.C (getVisibleRow): honor background color
10317
10318         * PainterBase.h:
10319         * Painter.h: remove default color argument for fillRectangle
10320
10321         * text.C (backgroundColor): new method
10322
10323 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10324
10325         * text.C (getVisibleRow): adjust
10326
10327         * font.[Ch] (rectText): new method, metrics
10328         (buttonText): new method, metrics
10329
10330         * PainterBase.[hC]: make rectText and buttonText always draw and take
10331         fewer paramteres.
10332
10333 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
10334
10335         * ToolbarDefaults.C (read):
10336         * MenuBackend.C (read): allow escaping in all strings
10337
10338         * BufferView_pimpl.C (insertAndEditInset): new method.
10339         (Dispatch): use insertAndEditInset whenever appropriate.
10340
10341         * BufferView_pimpl.C (insertNote): removed
10342
10343         * BufferView_pimpl.C (smartQuote): new method, moved from
10344         BufferView; if an insetquote cannot be inserted, insert a '"'
10345         character instead.
10346
10347         * BufferView2.C: remove insertCorrectQuote();
10348
10349         * lyxfunc.C (getStatus): Add support for all remaingin
10350         inset-insert lfuns.
10351
10352         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
10353
10354         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
10355         command (necessary to pass " as parameter of self-insert.
10356
10357         * text.C (selectWordWhenUnderCursor):
10358         (selectWord): add word_location parameter
10359         (selectWordWhenUnderCursor): same + remove special code for word
10360         boundary.
10361         (selectNextWord): use kind() to guess type of insetspecialchar,
10362         not latex().
10363
10364         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
10365         (insertErtContents): create ert insets as collapsed.
10366         (readInset): better compatibility code for Info inset.
10367
10368 2001-07-20  Juergen Vigna  <jug@sad.it>
10369
10370         * lyxfunc.C (dispatch): use always LyXFind now!
10371
10372         * text2.C (init): add a reinit flag so that the LyXText can be
10373         reinited instead of deleted and reallocated (used in InsetText).
10374
10375         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
10376
10377         * text.C: ditto
10378
10379         * text2.C: ditto
10380
10381 2001-07-18  Juergen Vigna  <jug@sad.it>
10382
10383         * text.C (selectNextWord): handle insets inside inset by calling
10384         always the bv->text functions so that we can go up the_locking_inset!
10385
10386         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
10387         in strange locations when inside an inset!
10388
10389         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
10390         handling to include insets.
10391
10392         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
10393
10394 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10395
10396         * LyXAction.C (init):
10397         * commandtags.h:
10398         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
10399         LIGATURE_BREAK, since the name is so stupid.
10400
10401 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
10402
10403         * buffer.C (readInset): enable reading of new InsetNotes as well as old
10404         InsetInfos.
10405
10406         * FontLoader.C: remove FORMS_H_LOCATION cruft.
10407
10408         * sp_form.[Ch]: remove.
10409
10410         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
10411
10412         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
10413         InsetInfo.
10414
10415         * src/buffer.C (readInset): ditto.
10416
10417 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
10418
10419         * BufferView_pimpl.C (specialChar): new method. Obsoletes
10420         menuSeparator(), endOfSentenceDot(), ldots() and
10421         hyphenationPoint(), which are therefore removed.
10422         (Dispatch): handle LFUN_HYPHENATION_BREAK.
10423
10424         * LyXAction.C (init):
10425         * commandtags.h: add LFUN_HYPHENATION_BREAK.
10426
10427         * paragraph.C (getWord): removed.
10428
10429         * BufferView_pimpl.C (Dispatch): use last word or selection for
10430         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
10431
10432         * lyx_main.C (queryUserLyXDir): do not ask before creating
10433         user_dir, except if it has been named explicitely.
10434
10435 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
10436
10437         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
10438         a document of zero size.
10439
10440 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
10441
10442         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
10443         approriately in the c-tor and in require().
10444         (getPackages): output the appropriate LaTeX for natbib support.
10445
10446         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
10447         variables "use_natbib" and "use_numerical_citations" when reading the
10448         LyX file.
10449         (readInset): read the various natbib cite commands.
10450         (validate): white-space change.
10451
10452         * bufferparams.[Ch]: new variables "bool use_natbib" and
10453         "bool use_numerical_citations".
10454         (writeFile): output them in the LyX file.
10455
10456 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
10457
10458         * lyxfunc.C (getStatus): add support for all the inset insertion
10459         commands.
10460
10461         * text2.C (insertInset):
10462         * paragraph.C (insetAllowed):
10463         * BufferView_pimpl.C (insertInset): update to take in account the
10464         renaming of insertInsetAllowed
10465
10466         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
10467
10468         * text2.C (getInset): new method. returns inset at cursor position.
10469
10470         * BufferView_pimpl.C (Dispatch): changes because of this.
10471
10472         * LyXAction.C (init): rename open-stuff to inset-toggle.
10473
10474         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
10475
10476         * text2.C (toggleInset): renamed from openStuff; use
10477         Inset::open().
10478
10479 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
10480
10481         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
10482
10483         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
10484
10485 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
10486
10487         * buffer.C (readLyXformat2): Add filename to the error dialog
10488
10489 2001-07-18  Juergen Vigna  <jug@sad.it>
10490
10491         * tabular.C (GetCellNumber): put an assert here instead of the check!
10492
10493 2001-07-17  Juergen Vigna  <jug@sad.it>
10494
10495         * BufferView_pimpl.C (toggleSelection): adapted too.
10496
10497         * text.C (selectNextWord): adapted for use with insets.
10498         (selectSelectedWord): ditto
10499
10500 2001-07-17  Juergen Vigna  <jug@sad.it>
10501
10502         * sp_spell.C (PSpell): fix initialitation order.
10503
10504 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10505
10506         * paragraph.C: spacing
10507
10508 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
10509
10510         * sp_spell.C: repair language selection for pspell
10511
10512 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10513
10514         * lyxfunc.h: change more methods to begin with lower char.
10515
10516 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
10517
10518         * buffer.C (parseSingleLyXformat2Token): Generate error insets
10519         for unknown layouts.
10520
10521 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
10522
10523         * buffer.C (readLyXformat2): Generate an error dialog if there are
10524         unknown layouts.
10525
10526 2001-07-16  Juergen Vigna  <jug@sad.it>
10527
10528         * sp_spell.C: always compile ISpell part.
10529
10530         * lyxrc.C: added use_pspell entry and it's handling.
10531
10532 2001-07-13  Juergen Vigna  <jug@sad.it>
10533
10534         * sp_spell.C: removed double includes.
10535
10536 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
10537
10538         Consistent use of Lsstream.h:
10539         * Lsstream.h: added using std::stringstream for consistencies sake.
10540
10541         * buffer.C: removed using std::stringstream
10542
10543         * lyxfont.C (stateText):
10544         * paragraph.C (asString):
10545         * text.C (selectNextWord, selectSelectedWord):
10546         * text2.C (setCounter):
10547         * vspace.C (asString, asLatexString):
10548         std::ostringstream -> ostringstream.
10549
10550 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
10551
10552         * LyXAction.C: add LFUN_HELP_ABOUTLYX
10553         * commandtags.h: add LFUN_HELP_ABOUTLYX
10554         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
10555
10556 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
10557
10558         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
10559         cursorToggle()
10560         * lyx_gui_misc.C: remove spellchecker
10561         * lyxfunc.C: showSpellchecker
10562         * sp_base.h: added
10563         * sp_ispell.h: added
10564         * sp_pspell.h: added
10565         * sp_spell.C: added
10566         * sp_form.[Ch]: removed
10567         * spellchecker.[Ch]: removed
10568
10569 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
10570
10571         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
10572         is set.
10573         (simpleTeXSpecialChars): Simply print the input character without
10574         any special translation if pass_thru is set.
10575
10576         * layout.h: Added bool pass_thru to layout class for being able to
10577         implement pass through of a paragraph for Literate Programming.
10578
10579         * layout.C: add LT_PASS_THRU to LayoutTags enum.
10580         * layout.C (LyXLayout): set pass_thru to flase in constructor.
10581         * layout.C (Read): add "passthru" to list of layout tags and add
10582         code to set the pass_thru boolean when it is read.
10583
10584 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10585
10586         * trans_decl.h: remove allowed from KmodInfo
10587
10588         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
10589         remove allowed code
10590         (Load): adjust
10591
10592         * paragraph_pimpl.C (erase): use boost::prior
10593
10594         * Painter.C (text): use data() instead of c_str() when length is
10595         also provided.
10596         * WorkArea.C (putClipboard): ditto
10597         * font.h (width): ditto
10598
10599         * BufferView2.C: use it-> instead of (*it). for iterators
10600         * texrow.C: ditto
10601         * paragraph_pimpl.C: ditto
10602         * paragraph.C: ditto
10603         * minibuffer.C: ditto
10604         * language.C: ditto
10605         * kbmap.C: ditto
10606         * encoding.C: ditto
10607         * counters.C: ditto
10608         * converter.C: ditto
10609         * chset.C: ditto
10610         * Variables.C: ditto
10611         * TextCache.C: ditto
10612         * MenuBackend.C: ditto
10613         * LyXAction.C: ditto
10614         * LColor.C: ditto
10615         * FloatList.C: ditto
10616         * DepTable.C: ditto
10617         * ColorHandler.C (LyXColorHandler): ditto
10618
10619 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10620
10621         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
10622
10623         * text2.C (openStuff): reintroduce this method (which had been
10624         nuked in NEW_INSETS frenzy).
10625
10626         * lyxfunc.C (Dispatch): when an action has not been handled, use
10627         its name in the error message, not its number.
10628
10629         * paragraph.C (inInset): change method name to begin with lowercase.
10630
10631         * undo_funcs.C:
10632         * text2.C: updates because of this.
10633
10634 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10635
10636         * ToolbarDefaults.C (add): add spaces in error message
10637
10638 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10639
10640         * buffer.C (readLyXformat2): initialize the ert comp. variables.
10641         (readLyXformat2): rename return_par to first_par, use lyxlex's
10642         pushToken and remove the manual push handling.
10643         (parseSingleLyXformat2Token): add another ert comp. variable:
10644         in_tabular, rename return_par to first_par. handle newlines better
10645
10646 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10647
10648         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
10649
10650 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10651
10652         * text2.C (getParFromID): removed
10653
10654         * buffer.C (getParFromID): new method moved form lyxtext.
10655         * BufferView2.C (insertErrors): adjust
10656         (setCursorFromRow): adjust
10657         * BufferView_pimpl.C (restorePosition): adjust
10658         * lyxfunc.C (Dispatch): adjust
10659         * undo_funcs.C (textUndo): adjust
10660         (textRedo): adjust
10661         (textHandleUndo): adjust
10662         (textHandleUndo): adjust
10663
10664 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10665
10666         * buffer.C: up' the LYX_FORMAT
10667
10668         * lyxfont.h: turn NO_LATEX on as default
10669
10670         * buffer.C (insertErtContents): new methods of tex style compability.
10671         (parseSingleLyXformat2Token): use it several places.
10672         * tabular.C (OldFormatRead): and here
10673
10674 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10675
10676         * text2.C: remove some commented code.
10677         reindent file.
10678
10679         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
10680         * trans.C: changes because of the above.
10681
10682 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
10683
10684         * text2.C (setCounter): Fix counters bug with bibliography layout.
10685
10686 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10687
10688         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
10689         own member functions
10690         (simpleTeXSpecialChars): ditto
10691
10692 2001-07-06  Juergen Vigna  <jug@sad.it>
10693
10694         * a lot of files: changed the access to LyXText::status and the
10695         call of undo-functions.
10696
10697         * undo.[Ch]: added a inset_id to the undo informations.
10698
10699         * undo_funcs.[Ch]: added and moved here all undo functions.
10700
10701         * lyxtext.h: give the status enum a weight, made status_ a private
10702         variable and made accessor functions for it, removed the whole bunch
10703         of undo-functions as they are now in their own file, make some
10704         functions publically available. Added function ownerParagraph with
10705         int parameter.
10706
10707         * paragraph.[Ch]: added "bool same_ids" to the constructor,
10708         made InInset() a const function, added getParFromID() function.
10709
10710         * buffer.[Ch]: added const version for inset_iterator functions,
10711         added getInsetFromID() function.
10712
10713         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
10714         changed undo functions for new version.
10715
10716 2001-07-05  Juergen Vigna  <jug@sad.it>
10717
10718         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
10719         unknow mechanism does not call the proper constructor but only this
10720         one also if I request the other!?
10721
10722 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10723
10724         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
10725
10726         * text2.C (LyXText): use initialization lists.
10727
10728         * lyxtext.h (Selection): initialize set_ and mark_
10729         (init): remove method
10730
10731 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
10732
10733         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
10734
10735 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10736
10737         * screen.[Ch]: change method names to begin with lowercase
10738
10739         * BufferView_pimpl.C (updateScrollbar): simplify further and
10740         hopefully make it a bit faster.
10741
10742 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10743
10744         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
10745         calling directly xforms functions.
10746
10747         * Painter.C (Painter):
10748         * lyx_cb.C (MenuWrite):
10749         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
10750         fl_display.
10751
10752         * lyx_gui.C: remove bogus guiruntime extern declaration.
10753
10754 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10755
10756         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
10757         in NEW_INSETS
10758         (redoDrawingOfParagraph): ditto
10759         (redoParagraphs): ditto
10760         (cutSelection): don't create a object for CutAndPaste use the
10761         static method directly
10762         (pasteSelection): ditto
10763
10764         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
10765         LyXview (+ rename)
10766
10767 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10768
10769         * modifications to some other files because of this.
10770
10771         * Makefile.am (lyx_SOURCES): add XFormsView
10772
10773         * XFormsView.[Ch]: new files
10774
10775         * LyXView.[Ch]: make LyXView a base class for the gui handling for
10776         the main window. Move the gui dependent stuff to XFormsView
10777
10778 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10779
10780         * tabular.C (GetCellInset): update cur_cell also in the row/col
10781         version of this function.
10782
10783         * lyxfunc.C: no need to include figure_form.h here.
10784
10785         * FontLoader.h:
10786         * lyxfunc.h:
10787         * lyxscreen.h:
10788         * text2.C:
10789         * lyxvc.C: no need to include forms.h here.
10790
10791 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10792
10793         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
10794
10795         * lyxfunc.C (Dispatch):
10796         * Spacing.C (set):
10797         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
10798         constructor argument.
10799
10800 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10801
10802         * paragraph.C (Paragraph): dont't clear, and just set layout.
10803         (makeSameLayout): use params's copy contructor.
10804
10805         * ParagraphParameters.[Ch] (makeSame): delete method
10806
10807 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
10808
10809         * Variables.[Ch]: fix indentation, rename set to isSet
10810
10811 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10812
10813         * lyxfunc.C (Dispatch): fix typo
10814
10815 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10816
10817         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
10818         upper_bound.
10819
10820         * bufferlist.C: include assert.h for emergencyWrite().
10821
10822 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
10823
10824         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
10825           give up at last (bug #425202) !
10826
10827 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
10828
10829         * lyx_gui_misc.C:
10830         * sp_form.h:
10831         * sp_form.C:
10832         * spellchecker.h:
10833         * spellchecker.C: strip spellchecker options and bring up
10834           preferences tab instead
10835
10836 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10837
10838         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
10839         the istringstream constructor
10840
10841 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10842
10843         * paragraph.C (getLayout): fix return value
10844
10845         * paragraph.h: do not declare getLayout as inline.
10846
10847         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
10848
10849 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10850
10851         * lyxcursor.h (operator<): new func
10852         (operator>): new func
10853         (operator>=): new func
10854         (operator<=): new func
10855
10856         * text.C (changeCase): use selection.start and selection.end
10857         (changeRegionCase): require from to be <= to. Require par to be a
10858         valid paragraph.
10859
10860         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
10861
10862 2001-06-27  Juergen Vigna  <jug@sad.it>
10863
10864         * text.C (cursorLeftOneWord): changed to return the cursor and added
10865         overlay with BufferView * parameter which calls this one.
10866         (getWord): added
10867         (selectWord): use new getWord function.
10868         (changeCase): renamed from changeWordCase as and extended to work
10869         also on selections.
10870
10871         * lyxtext.h: added enum word_location
10872
10873         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
10874         changeCase as this operates now also on selections.
10875
10876 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
10877
10878         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
10879
10880         * many files: send debug output to Debug::INFO instead of
10881         Debug::ANY.
10882
10883         * converter.C (View):
10884         (Convert):
10885         (Move): send debug output to Debug::FILES instead of console.
10886
10887 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
10888
10889         * lyxfunc.C (getStatus): use func_status
10890
10891         * func_status.h: new header, describing the results of
10892         LyXFunc::getStatus;
10893
10894         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
10895         LFUN_MATH_HALIGN.
10896
10897 2001-06-25  The LyX Project  <jug@sad.it>
10898
10899         * buffer.C (sgmlOpenTag):
10900         (sgmlCloseTag):
10901         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
10902
10903 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10904
10905         * text2.C: remove some dead code
10906
10907         * tabular.C (GetCellInset): store the last cell checked (gotten)
10908
10909         * tabular.h: add the helper for the speedup
10910
10911         * lyxtext.h: remove some dead code
10912
10913 2001-06-26  The LyX Project  <Asger>
10914
10915         * paragraph.C: Change export to LaTeX of alignment to
10916         \begin{center} and family for better roundtrip work with reLyX.
10917
10918         * Tune the math drawing a bit.
10919
10920 2001-06-25  The LyX Project  <Asger>
10921
10922         * LColor.C (LColor): New color for math background. New color
10923         for buttons.
10924
10925 2001-06-25  The LyX Project  <jug@sad.it>
10926
10927         * lyxfunc.C (MenuNew): remove extra check for .lyx file
10928
10929         * lyxfunc.C (Open):
10930         * bufferlist.C (newFile): do not restrict to files ending with
10931         .lyx
10932
10933         * BufferView_pimpl.C (MenuInsertLyXFile):
10934
10935 2001-06-24  The LyX Project  <jug@sad.it>
10936
10937         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
10938         of compare_no_case
10939
10940 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10941
10942         * lyxtext.h: rename most methods to begin with a small char.
10943         Lots of changes because of this.
10944
10945         * paragraph.C (Paragraph): do not call fitToSize
10946         (erase): call Pimpl::erase
10947         (insertChar): call Pimpl::insertChar
10948         (insertInset): call Pipl::insertInset
10949         (breakParagraph): do not call fitToSize
10950         (breakParagraphConservative): do not call fitToSize
10951         (fitToSize): remove method
10952
10953         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
10954
10955 2001-06-24  The LyX Project  <Asger>
10956
10957         * Fix Qt compilation^2
10958
10959 2001-06-24  The LyX Project  <jug@sad.it>
10960
10961         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
10962         depthHook(getDepth()-1).
10963
10964         * paragraph.h:
10965         * ParagraphParameters.h:
10966         * ParameterStruct.h: change type of depth to unsigned int ==
10967         depth_type. Many adaptations to other files before of that.
10968
10969 2001-06-24  The LyX Project  <Asger>
10970
10971         * Fix Qt compilation.
10972
10973 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10974
10975         * paragraph.h: renamed several methods to begin with small letter.
10976         several changes to many parts of the code because of this.
10977
10978 2001-06-23  The LyX Project  <jug@sad.it>
10979
10980         * text2.C (InsertStringAsLines): renamed from InsertStringA;
10981         rewritten to discard all double spaces when KeepEmpty is off
10982         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
10983         to only handle newlines but not fiddle with spaces and friends.
10984
10985         * lyxfunc.C (MenuNew): when doing 'new from template', use
10986         template_path as default directory
10987
10988 2001-06-23  The LyX Project  <Asger>
10989
10990         * Clean-up of header file includes all over
10991         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
10992
10993 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10994
10995         * paragraph.h: renamed from lyxparagraph.h
10996
10997 2001-06-23  Asger  <lyx@violet.home.sad.it>
10998
10999         * Buffer.h: Removed Buffer::resize
11000         * BufferList.h: Removed BufferList::resize
11001         * LyXView.h: Added LyXView::resize. This way, we will only reflow
11002         the document lazily when we change the width, or the font settings.
11003
11004 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
11005
11006         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
11007
11008 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
11009
11010         * buffer.h: remove out of date comment
11011
11012 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
11013
11014         * lyxscreen.h:
11015         * screen.C: fix "theoretical" GC leak
11016
11017 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11018
11019         * LaTeX.C (scanAuxFile):
11020         (deplog): remove trailing \r when reading stream (useful under
11021         win32)
11022
11023 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
11024
11025         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
11026         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
11027         and BufferView::theLockingInset(Inset*), so should use them and not
11028         access bv_->text->the_locking_inset directly.
11029
11030         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
11031
11032 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
11033
11034         * Makefile.am:
11035         * tex-defs.h: remove old unused file
11036
11037 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
11038
11039         * BufferView_pimpl.C: fix typo, remove minibuffer message
11040           when buffer has loaded
11041
11042 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11043
11044         * lyxfunc.C (Dispatch): use stringstream
11045         (MenuNew): use stringstream
11046         (Open): use stringstream
11047
11048         * importer.C (Import): use stringstream
11049
11050         * bufferview_funcs.C (CurrentState): use stringstream
11051
11052         * LaTeX.C (run): use stringstream
11053
11054         * BufferView_pimpl.C (savePosition): use stringstream
11055         (restorePosition): use stringstream
11056         (MenuInsertLyXFile): use stringstream
11057
11058 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
11059
11060         * BufferView.C:
11061         * Bullet.C:
11062         * ColorHandler.C:
11063         * FontInfo.C:
11064         * FontLoader.C:
11065         * LColor.C:
11066         * LaTeXFeatures.C:
11067         * Painter.C:
11068         * gettext.C:
11069         * lyx_gui_misc.C:
11070         * lyxserver.C:
11071         * vspace.C: removed // -*- C++ -*- as first line.
11072
11073         * lyxfind.h:
11074         * version.h: added // -*- C++ -*- as first line.
11075
11076 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11077
11078         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
11079
11080         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
11081         of string
11082
11083 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11084
11085         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
11086         of floats.
11087
11088 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11089
11090         * gettext.C: include LString.h even when --disable-nls is on.
11091
11092 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
11093
11094         * converter.h (Get): changed argument type from int to
11095         FormatList::size_type to avoid unnecessary conversion.
11096
11097         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
11098         before using it.
11099
11100 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11101
11102         * gettext.h: include LString.h even when --disable-nls is on.
11103
11104 2001-06-07  Juergen Vigna  <jug@sad.it>
11105
11106         * text.C (BreakAgain): subst spaces with tabs.
11107
11108         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
11109         (resizeInsetsLyXText): set force on resizeLyXText.
11110
11111 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11112
11113         * gettext.h (gettext_init):
11114         (locale_init): use a real definition instead of a macro
11115
11116 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
11117
11118         * Bufferview_pimpl.C:
11119         * LColor.h:
11120         * LColor.C: further lcolor tidies
11121
11122 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11123
11124         * BufferView_pimpl.C (updateScrollbar): simplify.
11125
11126         * BufferView2.C: don't include insets/insetinfo.h, change
11127         prototype for insertInset and call the Pimpl version. let
11128         updateInset call Pimpl version.
11129
11130         * BufferView.h: move inset_slept to BufferView::Pimpl, move
11131         gotoInset to BufferView::Pimpl
11132
11133 2001-06-01  Juergen Vigna  <jug@sad.it>
11134
11135         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
11136         inside a LockingInset (is the update needed at all?).
11137
11138 2001-05-31  Juergen Vigna  <jug@sad.it>
11139
11140         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
11141         here not the old one otherwise how should we compare it afterwards
11142         if it's the same!
11143
11144 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11145
11146         * lyxfont.C:
11147         * tabular.C:
11148         * tabular-old.C:
11149         * FontInfo.C: bring C functions into global namespace when
11150         necessary
11151
11152 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11153
11154         * LString.h: make sure config.h has been loaded before LString.h.
11155
11156         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
11157         (one for each char read by EatLine!).
11158
11159         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
11160         variables.
11161
11162 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11163
11164         * paragraph.C (BreakParagraph): set the inset_owner in the new par
11165         to the same as the par we break from
11166
11167 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11168
11169         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
11170
11171         * MenuBackend.C (expand): also create menu entries for wide
11172         versions of the floats.
11173
11174         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
11175
11176         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
11177
11178         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
11179         frontends/Makefile.am
11180
11181         * text2.C: adjust
11182         * text.C: adjust
11183
11184
11185         * tabular.C (getTokenValue): add std::
11186
11187         * tabular-old.C (getTokenValue): add std::
11188         (getTokenValue): ditto
11189         (getTokenValue): ditto
11190
11191         * screen.C (ToggleSelection): adjust
11192
11193         * lyxtext.h: put selection cursors inside a Selection struct.
11194
11195         * lyxfunc.C (moveCursorUpdate): adjust
11196
11197         * lyxfont.C (latexWriteStartChanges): add std::
11198
11199         * lyxfind.C: adjust
11200
11201         * font.h: delete with(char const *, LyXFont const &)
11202
11203         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
11204
11205         * FontInfo.C (getFontname): add std::
11206
11207         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
11208         (workAreaButtonPress): adjust
11209         (tripleClick): adjust
11210         (update): adjust
11211         (moveCursorUpdate): adjust
11212         (Dispatch): adjust
11213
11214         * BufferView2.C (gotoInset): adjust
11215
11216 2001-05-30  Juergen Vigna  <jug@sad.it>
11217
11218         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
11219         to check pspell I add this as default as I now have new pspell
11220         libraries and they seem to use this.
11221
11222 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11223
11224         * text2.C (CutSelection): make the cursor valid before the call to
11225         ClearSelection.
11226
11227 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11228
11229         * kbsequence.C (parse): de-uglify a bit the parsing code, which
11230         relied on 0 terminated strings and other horrors. Bug found due to
11231         the new assert in lyxstring!
11232
11233         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
11234         KP_ keys.
11235
11236 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11237
11238         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
11239         to latinkeys.bind.
11240
11241         * lyxfunc.C (processKeySym): change method of getting to the
11242         self-insert char.
11243
11244         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
11245         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
11246         * BufferView_pimpl.[Ch]: here as private methods.
11247
11248 2001-05-28  Juergen Vigna  <jug@sad.it>
11249
11250         * text.C (SetHeightOfRow): added the update() call again as it is
11251         needed to initialize inset dimensions!
11252
11253 2001-05-16  Juergen Vigna  <jug@sad.it>
11254
11255         * text2.C (SetCharFont): Add new function with BufferView * and
11256         bool toggleall parameters for setting insets internal fonts.
11257         (SetFont): Freeze the undo as we may change fonts in Insets and
11258         all this change should be inside only one Undo!
11259
11260         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
11261         setting font's in insets as for them we have the SetFont function!
11262
11263 2001-05-15  Juergen Vigna  <jug@sad.it>
11264
11265         * text2.C (ClearSelection): to be sure we REALLY don't have any
11266         selection anymore!
11267
11268         * tabular.C (TeXCellPreamble): fixed the left border problem for
11269         multicolumn cells.
11270
11271 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
11272
11273         * LaTeX.C (deplog): Make sure that the main .tex file is in the
11274         dependancy file
11275
11276 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11277
11278         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
11279         LFUN_BREAKPARAGRAPH.
11280
11281         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
11282         help test to "internal only", similar for LFUN_INSERT_URL
11283
11284         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
11285         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
11286         auto_region_delete and deadkeys.
11287
11288 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
11289
11290         * LColor.h:
11291         * LColor.C: remove some dead entries, tidy a little
11292
11293 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11294
11295         * lyxfunc.C (processKeySym): comment the Escape handling, remove
11296         commented code.
11297         (Dispatch): implement LFUN_ESCAPE
11298
11299         * commandtags.h: add LFUN_ESCAPE
11300
11301         * LyXAction.C (init): add entry for LFUN_ESCAPE
11302
11303         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
11304         Remove commented code.
11305         (insertNote): moved here
11306         (open_new_inset): moved here
11307
11308         * BufferView[2].[Ch]: move insertNote and open_new_inset to
11309         BufferView_pimpl
11310
11311 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11312
11313         * kbmap.C (findbinding): clean it up and make it work correctly.
11314
11315         * lyx_main.C (init): do not pass argc and argv as parameters
11316
11317 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
11318
11319         * buffer.C: fix path for OS/2 & Win32
11320
11321         * lyx_gui.C:
11322         * lyx_main:
11323         * lyx_main.C: Added os:: class.
11324
11325         * os2_defines.h: update
11326
11327 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11328
11329         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
11330         better by trying again with reduced state.
11331
11332 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11333
11334         * lyxrc.C (read): print error about invalid key sequence only when
11335         debugging (because not all latinX keysyms are known to some X
11336         servers)
11337
11338         * kbsequence.C (getiso): add a few std:: qualifiers
11339         (getiso): comment out extra return statement.
11340
11341 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11342
11343         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
11344         handling.
11345         (Dispatch): enhance the accent inset a bit. (not perfect)
11346
11347 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11348
11349         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
11350
11351 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11352
11353         * bufferlist.C (emergencyWrite): fix assert() call
11354
11355 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
11356
11357         * text.C (InsertChar): Added trivial patch to only send the "you
11358         can not do multiple spaces this way" message once during a
11359         session.
11360
11361 2001-05-08  Baruch Even  <baruch@lyx.org>
11362
11363         * Makefile.am: Changed order of libraries to get LyX to link properly
11364         with the gnome frontend.
11365
11366 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11367
11368         * LaTeXFeatures.h: add a std:: qualifier
11369
11370 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11371
11372         * paragraph.C (String): use stringstream
11373
11374 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11375
11376         * paragraph.C (writeFile): remove footflag arg
11377
11378         * buffer.C (makeLaTeXFile): use stringstream
11379         (latexParagraphs): remove footnot gurba
11380
11381         * LaTeXFeatures.C (getPackages): use stringstream
11382         (getMacros): likewise
11383         (getTClassPreamble): likewise
11384         (getFloatDefinitions): new method
11385
11386         * paragraph.C (writeFile): reindent
11387         (Erase): reindent
11388
11389         * WorkArea.h: revert the xpos + etc changes.
11390
11391         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
11392
11393         * lyxparagraph.[Ch]: add copy constructor, remove Clone
11394
11395         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
11396         (pasteSelection): likewise
11397         * text2.C (CreateUndo): likewise
11398
11399 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11400
11401         * minibuffer.C (peek_event): temporarily reduce the functionality
11402         of the minibuffer (to allow args on lfuns)
11403
11404         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
11405         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
11406
11407         * buffer.C (readInset): add compability reading of old float
11408         lists, add reading of new style float list.
11409         (readInset): avoid reevaluation of inscmd.getCmdName()
11410         (getLists): reindent
11411
11412         * MenuBackend.C (MenuItem): implement parsing of
11413         md_floatlistinsert and md_floatinsert.
11414         (expand::LastFiles): move initalizaton of iterators out of loop,
11415         avoid reevaluation.
11416         (expand::Documents): introduce typdedef vector<string> Strings,
11417         and use it.
11418         (expand::ExportFormats): introduce typedef vector<Format const *>
11419         Formats, and use it.
11420         (expand): implement FloatListInsert and FloatInsert.
11421
11422         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
11423         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
11424         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
11425
11426         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
11427         handling.
11428         (Dispatch::LFUN_FLOAT_LIST): implement
11429
11430 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
11431
11432         * LaTeX.C (run): Fix problem with --export code.
11433
11434 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
11435
11436         * BufferView.[Ch] (workarea): removed.
11437         (getClipboard) new method; wrapper for workarea()->getClipboard()
11438
11439         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
11440         bug.
11441
11442         * WorkArea.h (width, height, xpos, ypos): These methods all
11443         returned the dimensions of the work_area sub-area of WorkArea,
11444         resulting in a position error if the WorkArea were resized. Now
11445         return the dimensions of the entire WorkArea.
11446
11447         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
11448
11449 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11450
11451         * LaTeX.C (deplog): correct the syntax of regex reg1
11452
11453 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11454
11455         * undo.C: remove !NEW_INSETS cruft
11456
11457 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11458
11459         * text2.C: remove !NEW_INSETS cruft
11460
11461         * text.C: remove !NEW_INSETS cruft
11462
11463         * tabular.C: remove !NEW_INSETS cruft
11464
11465         * spellchecker.C: remove !NEW_INSETS cruft
11466
11467         * lyxtext.h: remove !NEW_INSETS cruft
11468
11469         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
11470
11471         * lyxfunc.C: remove !NEW_INSETS cruft
11472
11473         * lyxfind.C: remove !NEW_INSETS cruft
11474
11475         * lyx_cb.C: remove !NEW_INSETS cruft
11476
11477         * figureForm.C: remove  !NEW_INSETS cruft
11478
11479         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
11480
11481         * buffer.[Ch]: remove !NEW_INSETS cruft
11482
11483         * ToolbarDefaults.C: remove !NEW_INSETS cruft
11484
11485         * CutAndPaste.C: remove !NEW_INSETS cruft
11486
11487         * BufferView_pimpl.C: remove !NEW_INSETS cruft
11488
11489         * BufferView2.C: remove !NEW_INSETS cruft
11490
11491         * BufferView.h: remove !NEW_INSETS cruft
11492
11493 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11494
11495         * Lsstream.h: include LString.h before the sstream headers to
11496         fix problem with gcc 2.95.3 and lyxstring
11497
11498 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11499
11500         * lyx_main.C: add using directives when needed for C functions
11501         declared in std:: namespace.
11502
11503 2001-04-27  Juergen Vigna  <jug@sad.it>
11504
11505         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
11506         (SetHeightOfRow): comment out the update call should not be needed!
11507
11508 2001-04-13  Juergen Vigna  <jug@sad.it>
11509
11510         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
11511         (LyXTabular): tried to minimize operator= operations (and realized
11512         hopfully Lars wish).
11513
11514 2001-04-27  Juergen Vigna  <jug@sad.it>
11515
11516         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
11517
11518 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11519
11520         * lyxfunc.C (Dispatch): hack to make listof algorithm work
11521
11522         * buffer.C (readInset): hack to make listof algorithm work
11523
11524         * BufferView_pimpl.C: hack to make listof algorithm work
11525
11526 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11527
11528         * LyXAction.C: removed all !NEW_INSETS cruft
11529         (init): moved lfun_item in method
11530
11531         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
11532
11533 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
11534
11535         * BufferView2.C (theLockingInset): white space.
11536
11537 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11538
11539         * minibuffer.C: include <iostream>
11540
11541         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
11542
11543         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
11544
11545         * commandtags.h: add LFUN_TRANSPOSE_CHARS
11546
11547         * text.[Ch] (TransposeChars): new method
11548
11549 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11550
11551         * call message directly through LyXView instead of through LyXFunc
11552         * BufferView2.C: adjust
11553         * BufferView_pimpl.C: adjust
11554         * FontLoader.C: adjust
11555         * buffer.C: adjust
11556         * bufferview_funcs.C: adjust
11557         * converter.C: adjust
11558         * figureForm.C: adjust
11559         * importer.C: adjust
11560         * lyx_cb.C: adjust
11561         * lyx_gui_misc.C: adjust
11562         * lyxfunc.C: adjust
11563         * lyxvc.C: adjust
11564         * text2.C: adjust
11565         + more files in subdirs
11566
11567         * lyxparagraph.h (size): move up int file
11568         (GetLayout): ditto
11569
11570         * adjust all uses of Assert to lyx::Assert.
11571
11572         * BufferView2.C (ChangeCitationsIfUnique): adjust for
11573         lyxfunctional in namespace lyx
11574         * layout.C (hasLayout): ditto
11575         (GetLayout): ditto
11576         (GetLayout): ditto
11577         (delete_layout): ditto
11578         (NumberOfClass): ditto
11579         * converter.C (GetFormat): ditto
11580         (GetNumber): ditto
11581         (Add): ditto
11582         (Delete): ditto
11583         (SetViewer): ditto
11584         * bufferlist.C (getFileNames): ditto
11585         (emergencyWriteAll): ditto
11586         (exists): ditto
11587         (getBuffer): ditto
11588         * MenuBackend.C (hasSubmenu): ditto
11589         (hasMenu): ditto
11590         (getMenu): ditto
11591         * BufferView_pimpl.C (getInsetByCode): ditto
11592
11593 2001-04-18  Juergen Vigna  <jug@sad.it>
11594
11595         * vspace.C (asLatexString): fixed the 100% problem.
11596
11597 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11598
11599         * lyxfunc.C (Dispatch):
11600         * minibuffer.C:
11601         * minibuffer.h: add a few std:: qualifiers
11602
11603 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11604
11605         * minibuffer.[Ch]: reimplement so that commands is initiated and
11606         run from lyxfunc, simplified som handling, and made the completion
11607         and history code for complete. wip.
11608
11609         * lyxfunc.C (processKeySym): call message
11610         (miniDispatch): new temporary method
11611         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
11612         (LFUN_MESSAGE): implement
11613         (LFUN_MESSAGE_PUSH): implement
11614         (LFUN_MESSAGE_POP): implement
11615         (initMiniBuffer): the initial/defualt minibuffer message.
11616
11617         * lyxfont.[Ch]: inline some more getters
11618
11619         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
11620
11621         * lyx_gui_misc.[Ch] (WriteStatus): remove method
11622
11623         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
11624         (AutoSave): use LFUN_MESSAGE
11625         (Reconfigure): ditto
11626
11627         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
11628
11629         * figureForm.C: use LFUN_MESSAGE
11630
11631         * converter.C (runLaTeX): use LFUN_MESSAGE
11632
11633         * bufferview_funcs.C: use LFUN_MESSAGE
11634         (Melt): ditto
11635         (changeDepth): ditto
11636
11637         * bufferparams.h: use boost::
11638
11639         * bufferlist.h: inherit privately from noncopyable
11640
11641         * bufferlist.C (loadLyXFile): remove some commented code.
11642
11643         * buffer.C (runChktex): use LFUN_MESSAGE
11644
11645         * ShareContainer.h: inherit privately from noncopyable
11646
11647         * ParagraphParameters.[hC] (depth): inline it.
11648
11649         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
11650         methods.
11651         (message): new method
11652         (messagePush): ditto
11653         (messagePop): ditto
11654         (show): init minibuffer
11655         (showState): direct call
11656
11657         * LaTeX.[Ch]: inherit privately from noncopyable
11658         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
11659         instead of WriteStatus.
11660
11661         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
11662
11663         * BufferView_pimpl.C (buffer): don't init minibuffer
11664         (workAreaButtonPress): use LFUN_MESSAGE
11665         (workAreaButtonRelease): ditto
11666         (savePosition): ditto
11667         (restorePosition): ditto
11668         (MenuInsertLyXFile): ditto
11669         (workAreaExpose): don't init minibuffer
11670         (update): remove commented code, simplify
11671
11672         * BufferView2.C (openStuff): use LFUN_MESSAGE
11673         (toggleFloat): ditto
11674         (menuUndo): ditto
11675         (menuRedo): ditto
11676         (copyEnvironment): ditto
11677         (pasteEnvironment): ditto
11678         (copy): ditto
11679         (cut): ditto
11680         (paste): ditto
11681         (gotoInset): ditto
11682         (updateInset): remove some commented code
11683
11684         * lastfiles.h: inherit privately from noncopyable
11685         * layout.h: ditto
11686         * lyx_gui.h: ditto
11687         * lyx_main.h: ditto
11688         * lyxlex.h: ditto
11689         * lyxlex_pimpl.h: ditto
11690
11691         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
11692         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
11693         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
11694
11695         * LyXAction.h: inherit privately from noncopyable, add methods
11696         func_begin, func_end, returning iterators to the func map.
11697
11698         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
11699         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
11700         (func_begin): new method
11701         (func_end): new method
11702
11703         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
11704         and not)
11705         (copySelection): ditto
11706         (pasteSelection): ditto
11707
11708         * BufferView.C: whitespace change
11709         * BufferView.h: inherit privately from noncopyable
11710
11711 2001-04-16  Allan Rae  <rae@lyx.org>
11712
11713         * tabular-old.C (l_getline):
11714         * spellchecker.C (sc_check_word):
11715         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
11716         an unrecognised preprocessor directive.  So ensure they're wrapped.
11717
11718 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
11719
11720         * src/exporter.C (Export): Give an error message when path to file
11721         contains spaces.
11722
11723 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
11724
11725         * LaTeX.C (deplog): Always check that foundfile exists.
11726
11727 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11728
11729         * lyx_main.h:
11730         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
11731
11732 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11733
11734         * tabular.[Ch] (getLabelList): implement new method
11735
11736         * minibuffer.h: comment ouf setTiimer
11737
11738         * minibuffer.C (ExecutingCB): constify res
11739         (peek_event): constify s
11740         (Set): constify ntext
11741         (Init): constify nicename
11742
11743         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
11744
11745         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
11746         (savePosition): use two params to Minibuffer::Set
11747         (restorePosition): ditto
11748
11749 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11750
11751         * lyx_main.C: include language.h
11752
11753         * Makefile.am (lyx_main.o): add language.h
11754
11755 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11756
11757         * exporter.C:
11758         * paragraph.C:
11759         * screen.C:
11760         * tabular.C:
11761         * CutAndPaste.C: include gettext.h
11762
11763         * lyxfont.h: remove old hack with ON and OFF.
11764
11765         * lyxparagraph.h:
11766         * lyxfont.h: do not include language.h...
11767
11768         * BufferView2.C:
11769         * LaTeXFeatures.C:
11770         * Painter.C:
11771         * bufferview_funcs.C:
11772         * font.C:
11773         * lyxfont.C:
11774         * text.C:
11775         * text2.C:
11776         * trans_mgr.C:
11777         * paragraph.C: ... but do it here instead
11778
11779 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11780
11781         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
11782
11783         * tabular.C: small reformat
11784
11785         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
11786         NEW_INSETS version
11787         (GetChar): ditto
11788         (BreakParagraph): ditto
11789         (SetOnlyLayout): ditto
11790         (SetLayout): ditto
11791
11792         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
11793         with one arg less.
11794
11795         * lastfiles.C: removed most using decl, add std:: where needed
11796
11797         * buffer.C: ws changes
11798
11799         * MenuBackend.C (class compare_format): put into anon namespace
11800         (expand): constify label, names, action, action2
11801         (expand):
11802
11803         * text.C (SingleWidth): constify font
11804         (IsBoundary): constify rtl2
11805         (GetVisibleRow): constify ww
11806
11807         * LaTeX.C (deplog): constify logfile
11808
11809         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
11810         start_x, end_x
11811         (workAreaExpose): constify widthChange, heightChange
11812
11813         * lyxrow.C (par): moved
11814         (height): moved
11815         (next): moved
11816         * lyxrow.h: as inlines here
11817
11818         * lyxfont.h (shape): moved from lyxfont.C
11819         (emph): moved from lyxfont.C
11820
11821         * lyxfont.C (LyXFont): use initialization list for all
11822         constructors
11823         (shape): move to lyxfont.h as inline
11824         (emph): move to lyxfont.h as inline
11825
11826
11827 2001-04-04  Juergen Vigna  <jug@sad.it>
11828
11829         * vspace.C: had to include stdio.h for use of sscanf
11830
11831 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
11832
11833         * BufferView.h:
11834         * BufferView_pimpl.h: remove xforms cruft. Both classes are
11835         independent of xforms.
11836
11837 2001-04-02  Juergen Vigna  <jug@sad.it>
11838
11839         * spellchecker.C: fixed namespace placing!
11840
11841 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
11842
11843         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
11844         the LyXParagraph * is 0.
11845
11846 2001-03-29  Juergen Vigna  <jug@sad.it>
11847
11848         * vspace.C: added support for %, c%, p%, l%.
11849         (stringFromUnit): added helper function.
11850         (asLatexString): changed to give right results for the %-values.
11851
11852         * buffer.C: convert the widthp in a width%.
11853
11854 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
11855
11856         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
11857         figureForm.[Ch].
11858
11859         * figureForm.[Ch]: stripped the FD_from_figure manipulation
11860         code out of lux_cb.[Ch], ready for its (imminent?) removal.
11861
11862         * lyx_cb.[Ch]: see above.
11863
11864         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
11865         form1.[Ch].
11866
11867         * form1.[Ch]:
11868         * lyx.[Ch]: replaced by figure_form.[Ch].
11869
11870         * lyx_gui.C:
11871         * lyx_gui_misc.C:
11872         * lyxfunc.C: changed headers associated with above changes.
11873
11874 2001-03-27  Juergen Vigna  <jug@sad.it>
11875
11876         * BufferView_pimpl.C: set the temporary cursor right!
11877
11878 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
11879
11880         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
11881
11882 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
11883
11884         * LString.h: removed "using std::getline"!
11885
11886         * BufferView_pimpl.C (Dispatch): changes due to changes in
11887         InsetInclude::Params.
11888
11889         * buffer.C (tag_name): removed redundant break statements as they were
11890         producing lots of warnings with my compiler.
11891
11892 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11893
11894         * LString.h: add "using std::getline" when using the real <string>.
11895
11896 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
11897
11898         * buffer.C: removed bitset usage.
11899         PAR_TAG moved to an anonymous name space.
11900         (tag_name): new funtion, also in the anonymous namespace.
11901         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
11902         (makeDocBookFile): clean code. Completed transition from string arrays
11903         to string vectors.
11904         (SimpleDocBookOnePar): code clean.
11905
11906 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
11907
11908         * tabular.C: add some comments.
11909
11910 2001-03-22  Juergen Vigna  <jug@sad.it>
11911
11912         * buffer.C (parseSingleLyXformat2Token): redone the minipage
11913         compatibility read a bit and fixed bug with minipage in different
11914         depth.
11915
11916 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
11917
11918         * buffer.C (pop_tag): removed.
11919         (push_tag): removed.
11920         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
11921         array replaced with vector. Added support for CDATA sections.
11922         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
11923         at any nest level.
11924         (makeDocBookFile): XML conformant declaration of CDATA section,
11925         fixed bug related to <emphasis> in the first paragraph char.
11926         (sgmlOpenTag): exclude empty tags.
11927         (sgmlCloseTag): ditto.
11928
11929         * buffer.h (pop_tag): removed.
11930         (push_tag): removed.
11931
11932 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
11933
11934         * language.h (Languages): added size_type and size().
11935
11936 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
11937
11938         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
11939         response on compability reading of minipages. One probliem is that
11940         the old usage of minipages was «flertydig»
11941
11942         * several files here and in subdirs: don't use static at file
11943         scope use anon namespaces instead.
11944
11945 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
11946
11947         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
11948         LaTeX output. This is necessary for Literate document
11949         processing.
11950
11951 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
11952
11953         * buffer.C: insert hfill when needed.
11954
11955         * tabular.C (l_getline): use string::erase, small whitespace change.
11956
11957         * BufferView_pimpl.C: try the anon namespace.
11958         * WorkArea.C: ditto
11959
11960 2001-03-16  Juergen Vigna  <jug@sad.it>
11961
11962         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
11963         otherwise it won't open options-dialogs.
11964
11965         * buffer.C: honor pextraWidth(p) on converting minipages.
11966
11967         * tabular.C (l_getline): changed the functions to strip trailing \r.
11968
11969 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
11970
11971         * BufferView_pimpl.C:
11972         * minibuffer..C: added "using SigC::slot" declaration.
11973
11974 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
11975
11976         * lyxlex_pimpl.h: noncopyable is in namespace boost.
11977
11978         * text2.C: ditto
11979
11980         * text.C: ditto
11981
11982         * paragraph.C: ditto
11983
11984         * lyxtext.h: NO_PEXTRA
11985
11986         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
11987
11988         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
11989         * ParameterStruct.h: ditto
11990         * ParagraphParameters.h: ditto
11991         * lyxparagraph.h: ditto
11992
11993 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
11994
11995         * buffer.C: add compability for minipage alignment.
11996         (latexParagraphs): remove unwanted pextra check.
11997
11998         * several files: remove CXX_WORKING_NAMESPACES
11999
12000         * buffer.C (pop_tag): tie is in namespace boost
12001
12002         * BufferView.h: noncopyable is in namespace boost
12003         * lyxlex.h: ditto
12004         * lyx_main.h: ditto
12005         * lyx_gui.h: ditto
12006         * layout.h: ditto
12007         * lastfiles.h: ditto
12008         * bufferlist.h: ditto
12009         * ShareContainer.h: ditto
12010         * LyXView.h: ditto
12011         * LyXAction.h: ditto
12012         * LaTeX.h: ditto
12013
12014 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
12015
12016         * Merging changes from BRANCH_MVC back into HEAD.
12017
12018         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
12019
12020 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
12021
12022         * BufferView_pimpl.C: change from intl.C
12023
12024         * combox.h:
12025         * combox.C:
12026         * Makefile.am: move combox.*
12027
12028         * form1.h:
12029         * form1.C:
12030         * lyx_gui.C:
12031         * intl.h:
12032         * intl.C: remove dialog (covered by prefs)
12033
12034 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
12035
12036         * lyxfunc.C (Dispatch): removed redundant break statement.
12037
12038 2001-03-14  Juergen Vigna  <jug@sad.it>
12039
12040         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
12041
12042 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12043
12044         * buffer.C: add hack to fix compability reading of minipages.
12045
12046 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
12047
12048         * buffer.C (getLists): Cleanup.
12049
12050 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12051
12052         * lyxfont.C (update): don't honor toggleall on font size.
12053
12054 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
12055
12056         * bmtable.c:
12057         * bmtable.h:
12058         * Makefile.am: moved to frontends/xforms/
12059
12060         * lyx_gui_misc.C:
12061         * lyxfunc.C:
12062         * BufferView_pimpl.C: changes for moved mathpanel
12063
12064 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
12065
12066         * gettext.h: fix gettext_init() in --disable-nls
12067
12068 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12069
12070         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
12071
12072 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
12073
12074         * lyx.C:
12075         * lyx.h: strip external form
12076
12077 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
12078
12079         * BufferView_pimpl.C: add comment, destroySplash()
12080
12081 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
12082
12083         * BufferView_pimpl.C:
12084         * LyXAction.C:
12085         * buffer.C:
12086         * commandtags.h:
12087         * lyxfunc.C: use re-worked insetinclude
12088
12089 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12090
12091         * buffer.C: add using std::stringstream.
12092
12093         * lyx_cb.C: readd using std::ios.
12094
12095         * buffer.C: add using std::map.
12096
12097         * BufferView_pimpl.C: add using std::vector.
12098
12099         * ShareContainer.h: add std:: to swap.
12100
12101         * buffer.h: add some typedefs
12102         * buffer.C (getLists): use them
12103         (getLists): renamed from getTocList.
12104         add a counter for the different float types and use it in the
12105         generated string.
12106         (getLists): use the same counter for the NEW_INSETS and the "non"
12107         NEW_INSETS
12108
12109         * lyx_cb.h: remove unused items, includes, using etc.
12110
12111         * ShareContainer.h: remove some commented code, add more comments
12112         and "documentation".
12113
12114 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12115
12116         * buffer.C (getTocList): make the list also when NEW_INSETS is
12117         defined.
12118
12119         * buffer.h: remove TocType
12120
12121         * buffer.C (getTocList): change to return a map<string,
12122         vector<TocItem> >, implement for dynamic number of list.
12123
12124         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
12125         * text2.C (PasteSelection): adjust
12126         * CutAndPaste.C (pasteSelection): adjust
12127
12128         * FloatList.C (FloatList): update from the new_insets branch.
12129         * Floating.[Ch]: ditto
12130         * LaTeXFeatures.C: ditto
12131         * buffer.C: ditto
12132         * lyxlex_pimpl.C: ditto
12133
12134         * paragraph.C (Last): remove when NEW_INSETS is defined.
12135
12136         * other file: changes because of the above.
12137
12138 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12139
12140         * lyxparagraph.h: rename next to next_, previous to previous_,
12141         make them private for NEW_INSETS. Rename Next() to next(),
12142         Previous() to previous().
12143
12144         * other files: changes because of the above.
12145
12146 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
12147
12148         * BufferView.h:
12149         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
12150         problem.
12151
12152 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12153
12154         * main.C (main): pass lyx_localedir to gettext_init().
12155
12156         * gettext.h: remove locale_init and gettext_init macros
12157
12158         * gettext.C (locale_init): new function
12159         (gettext_init): new function
12160
12161         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
12162         setlocale().
12163
12164 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
12165
12166         * Moved credits to frontends:
12167         * credits.[Ch]: removed
12168         * credits_form.[Ch]: removed
12169         * lyx_gui_misc.C: remove credits stuff
12170         * Makefile.am:
12171
12172 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12173
12174         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
12175
12176         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
12177         unneeded destructor.
12178
12179         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
12180         a standalone pointer again.
12181
12182         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
12183
12184 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
12185
12186         * Makefile.am:
12187         * filedlg.h:
12188         * filedlg.C:
12189         * LyXAction.C:
12190         * ToolbarDefaults.C:
12191         * bufferlist.C:
12192         * commandtags.h:
12193         * form1.C:
12194         * form1.h:
12195         * lyx_cb.C:
12196         * lyx_cb.h:
12197         * lyxfunc.h:
12198         * lyxfunc.C:
12199         * BufferView_pimpl.C: use new file dialog in GUII
12200
12201         * lyx_cb.h:
12202         * lyx_cb.C: remove LayoutsCB to Toolbar
12203
12204 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12205
12206         * ShareContainer.h (get): add std:: qualifier
12207
12208 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12209
12210         * ShareContainer.h: define a proper ShareContainer::value_type
12211         type (and use typename to please compaq cxx)
12212
12213 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12214
12215         * lyxparagraph.h: move serveral local vars to
12216         ParameterStruct/ParagraphParameters., use ShareContainer in
12217         FontTable., make vars in FontTable private and add getter and
12218         setter.
12219
12220         * paragraph.C: changes because of the above.
12221
12222         * lyxfont.h: remove copy constructor and copy assignment. (the
12223         default ones is ok), move number inside FontBits. move inlines to
12224         lyxfont.C
12225
12226         * lyxfont.C: add number to initializaton of statics, move several
12227         inlines here. constify several local vars. some whitespace
12228         cleanup. Dont hide outerscope variables.
12229
12230         * Spacing.h: add two new constructors to match the set methods.
12231
12232         * ShareContainer.h: new file, will perhaps be moved to support
12233
12234         * ParameterStruct.h: new file
12235
12236         * ParagraphParameters.h: new file
12237
12238         * ParagraphParameters.C: new file
12239
12240         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
12241         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
12242
12243         * BufferView_pimpl.C: ParagraphParameter changes.
12244         * buffer.C: Likewise.
12245         * bufferview_funcs.C: Likewise.
12246         * text.C: Likewise.
12247         * text2.C: Likewise.
12248
12249 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12250
12251         * lyxfind.C (LyXReplace): do not redefine default argument in
12252         implementation.
12253         (IsStringInText): ditto
12254         (SearchForward): ditto
12255         (SearchBackward): ditto
12256
12257 2001-03-06  Juergen Vigna  <jug@sad.it>
12258
12259         * lyxfind.C (IsStringInText): put parentes around expressions.
12260
12261 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
12262
12263         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
12264
12265 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
12266
12267         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
12268
12269         * stl_string_fwd.h: add comment
12270
12271         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
12272
12273         * tabular.h:
12274         * tabular.C: remove unused DocBook methods
12275
12276         * intl.C:
12277         * language.C:
12278         * paragraph.C:
12279         * buffer.C:
12280         killed DO_USE_DEFAULT_LANGUAGE
12281
12282 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12283
12284         * lyx_gui.C: do not include language.h.
12285
12286         * bufferview_funcs.C (ToggleAndShow): do not provide optional
12287         arguments in function implementation.
12288
12289 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12290
12291         * BufferView_pimpl.C: add <ctime>
12292
12293 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12294
12295         * BufferView_pimpl.C: add using std::find_if
12296
12297 2001-02-27  José Matos  <jamatos@fep.up.pt>
12298
12299         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
12300         by OnlyPath.
12301
12302 2001-02-11  José Matos  <jamatos@fep.up.pt>
12303
12304         * buffer.C (makeDocBookFile): command styles now have a parameter as
12305         "title" by default.
12306
12307 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
12308
12309         * layout_forms.[Ch]: removed
12310         * lyx_cb.[Ch]: out character
12311         * lyx_gui.C: out character
12312         * lyx_gui_misc.C: out character
12313         * bufferview_funcs.C: : out character,
12314         added toggleall as parameter in ToggleAndShow
12315
12316 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
12317
12318         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
12319
12320         * text2.C (SetCurrentFont): Disable number property at boundary.
12321
12322 2001-02-26  Juergen Vigna  <jug@sad.it>
12323
12324         * lyxfunc.C (getStatus): added a string argument override function so
12325         that this is correctly called from LyXFunc::Dispatch if it contains a
12326         do_not_use_argument which is used!
12327         (Dispatch): added check for "custom" export and call appropriate func.
12328
12329 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
12330
12331         * lyxrc.C: Add language_command_local, language_use_babel and
12332         language_global_options.
12333
12334         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
12335
12336         * buffer.C (makeLaTeXFile): Use language_use_babel and
12337         language_global_options.
12338
12339 2001-02-23  Juergen Vigna  <jug@sad.it>
12340
12341         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
12342         which works with LyXText and putted it inside BufferView. Here now we
12343         only call for that part the BufferView::Dispatch() function.
12344
12345         * BufferView.C (Dispatch): added.
12346
12347         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
12348         functions which needs to use a LyXText over from LyXFunc.
12349         (MenuInsertLyXFile): added
12350         (getInsetByCode): added
12351         (moveCursorUpdate): added
12352         (static TEXT): added
12353
12354 2001-02-22  Juergen Vigna  <jug@sad.it>
12355
12356         * BufferView_pimpl.C (update): call a status update to see if LyXText
12357         needs it.
12358
12359 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12360
12361         * vc-backend.C (revert): implement for CVS
12362         (getLog): implement for CVS
12363
12364 2001-02-20  Juergen Vigna  <jug@sad.it>
12365
12366         * text2.C (ClearSelection): added BufferView param for inset_owner call
12367
12368         * lyxfunc.C (TEXT): added this function and use it instead of
12369         directly owner->view()-text of getLyXText().
12370
12371 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
12372
12373         * src/layout_forms.C: out preamble
12374         * src/layout_forms.h: out preamble
12375         * src/lyx_cb.C: out preamble
12376         * src/lyx_cb.h: out preamble
12377         * src/lyx_gui.C: out preamble
12378         * src/lyx_gui_misc.C: out preamble
12379         * src/lyxfunc.C: connect with guii preamble
12380
12381 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
12382
12383         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
12384
12385 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
12386
12387         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
12388         whether to run bibtex.
12389
12390 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
12391
12392         * Makefile.am (lyx_SOURCES): Remove BackStack.h
12393
12394 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
12395
12396         * Makefile.am (lyx_SOURCES): removed bibforms.h
12397
12398         * vspace.h: doxygen
12399
12400         * text.C (GetVisibleRow): make several local vars const
12401
12402         * tabular.C: small cleanup.
12403
12404         * lyxserver.C (callback): use compare instead of strncmp
12405
12406         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
12407         inlines to after class or to paragraph.C
12408
12409         * lyxfont.h: remove friend operator!=
12410
12411         * converter.h: move friend bool operator< to non friend and after
12412         class def.
12413
12414         * combox.h: small cleanup
12415
12416         * buffer.h: doxygen, remove unused constructor, move inclas inlies
12417         to inlines after class def.
12418
12419         * buffer.C (pop_tag): use string operations instead of strcmp
12420
12421         * bmtable.c: doxygen, small cleanup
12422
12423         * LaTeX.h: remove friend operator==
12424
12425 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
12426
12427         * screen.C:
12428         * lyxrc.[Ch]:
12429         * lyxfunc.C:
12430         * lyxfont.[Ch]:
12431         * lyx_cb.C:
12432         * intl.[Ch]:
12433         * commandtags.h:
12434         * buffer.C:
12435         * WorkArea.[Ch]:
12436         * LyXAction.C:
12437         * BufferView_pimpl.C:
12438         * BufferView.[Ch]: remove cruft
12439
12440 2001-02-14  Juergen Vigna  <jug@sad.it>
12441
12442         * lyxfunc.C: removed #if 0 unused code
12443
12444         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
12445
12446         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
12447
12448         * text2.C (SetSelection): added a BufferView * parameter
12449
12450 2001-02-13  Juergen Vigna  <jug@sad.it>
12451
12452         * lyxfunc.C (Dispatch): fixed protected blank problem.
12453         * BufferView2.C (protectedBlank): added LyxText * parameter.
12454
12455         * tabular.C (AppendRow): forgot to set row_info of newly added row.
12456         (AppendColumn): same as above for column_info.
12457
12458         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
12459         (moveCursorUpdate): use a LyXText param for support of InsetText.
12460
12461         * BufferView_pimpl.C (doubleClick): added support for InsetText.
12462         (tripleClick): ditto
12463
12464         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
12465
12466         * BufferView_pimpl.C (update): added LyXText param to honor insets.
12467
12468         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
12469
12470         * text2.C (SetSelection): set correct update status if inset_owner
12471         (ToggleFree): ditto
12472
12473 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
12474
12475         * tabular.C: remove some commented code.
12476
12477 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
12478
12479         * BufferView_pimpl.C: call hideSplash()
12480
12481         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
12482
12483         * include_form.h:
12484         * bibforms.h: remove
12485
12486         * lyxfunc.C:
12487         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
12488           add LFUN_CHILD_CREATE
12489
12490         * counters.h: fix tiny typo
12491
12492         * lyx_cb.C:
12493         * lyx.h:
12494         * lyx_gui.C:
12495         * lyx.C: move splash to frontends/xforms/
12496
12497         * lyx_gui_misc.C: move Include and Bibform to frontends
12498
12499         * lyxvc.h: clarify comment
12500
12501         * vspace.C: tiny housekeeping
12502
12503 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
12504
12505         * text.C (PrepareToPrint): RTL Fix.
12506
12507         * paragraph.C (GetUChar): New method.
12508         (String):  Use GetUChar.
12509
12510         * buffer.C (asciiParagraph): Use GetUChar.
12511
12512 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
12513
12514         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
12515
12516 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
12517
12518         * buffer.h:
12519         * buffer.C: rename to getLogName(), handle
12520           build log / latex log nicely
12521
12522 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12523
12524         * MenuBackend.C:
12525         * MenuBackend.h: remove support for reference menuitem type.
12526
12527 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
12528
12529         * BufferView_pimpl.C: housekeeping
12530         * BufferView_pimpl.h:
12531         * LyXView.h:
12532         * Makefile.am:
12533         * Timeout.C:
12534         * Timeout.h:
12535         * minibuffer.h: move Timeout GUI-I
12536
12537 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
12538
12539         * lyxrc.C (read): Update converters data-structures.
12540
12541 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
12542
12543         * LaTeX.h (operator!=): add operator != for Aux_Info
12544
12545 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
12546
12547         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
12548
12549         * LaTeXLog.C: deleted, useful code moved to Buffer
12550
12551         * buffer.h:
12552         * buffer.C: new function getLatexLogName()
12553
12554         * lyx_gui_misc.C:
12555         * lyx_gui.C:
12556         * lyxvc.C:
12557         * lyxvc.h:
12558         * lyxfunc.C: use frontends for LaTeX and VC logs
12559
12560 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12561
12562         * LaTeX.h: yet another std:: that Allan forgot.
12563
12564         * Variables.C (set): renamed from isset(), because this clashes
12565         with some HP-UX macros (grr).
12566
12567 2001-02-06  Allan Rae  <rae@lyx.org>
12568
12569         * LaTeX.h: Another bug fix.  Missing std:: this time.
12570
12571 2001-02-04  Allan Rae  <rae@lyx.org>
12572
12573         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
12574         floats problem. I've left it commented out because it's not quite
12575         correct.  It should also test that the current object is a table or
12576         figure inset.  But I haven't gotten around to figuring out how to do
12577         that.  I *think* it'll be something like: "table" == inset.type()
12578
12579         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
12580         bool.
12581
12582 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
12583
12584         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
12585         all the citation/databases/styles in the auxilary file.
12586         (run): Rerun latex if there was a babel language error.
12587
12588 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
12589
12590         * text.C (Backspace): Preserve the font when changing newline char
12591         with a space.
12592         (BreakParagraph): If the cursor is before a space, delete the space.
12593
12594         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
12595
12596 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
12597
12598         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
12599         new argument (code).
12600         (ChangeCitationsIfUnique): New method.
12601
12602         * paragraph.C (GetPositionOfInset): Handle bibkey.
12603
12604 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12605
12606         * BufferView_pimpl.h: change type of Position::par_pos to
12607         LyXParagraph::size_type.
12608
12609 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
12610
12611         * BufferView_pimpl.C (savePosition, restorePosition): Write
12612         messages to minibuffer.
12613
12614 2001-01-28  José Matos  <jamatos@fep.up.pt>
12615
12616         * buffer.C (makeDocBookFile): adds support for document language.
12617         A silly restriction on the name of LatexCommand types where removed.
12618         Added support for CDATA sections, allows to chars unescaped, used
12619         among others in code, to avoid escape < and >.
12620
12621 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
12622
12623         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
12624         saved positions instrad of a stack. Furthermore, a position is
12625         stored using paragraph id/paragraph position.
12626
12627         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
12628         Remove LFUN_REF_BACK.
12629
12630 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
12631
12632         * converter.C (dvipdfm_options): New method.
12633
12634 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
12635
12636         * vspace.C (isValidLength): Fix for empty input string.
12637
12638 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12639
12640         * LyXAction.C (init): change description of LFUN_FIGURE to
12641         "Insert Graphics"
12642
12643 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12644
12645         * LaTeX.C: add using directive
12646
12647 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
12648
12649         * MenuBackend.C (expand): Fix the sorting of the formats.
12650
12651 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
12652
12653         * lyx_main.C: tiny error message fix
12654
12655 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12656
12657         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
12658         calling fl_initialize(). This fixes the problem with ',' as
12659         decimal separator in text files.
12660
12661 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
12662
12663         * trans.C (process): Fix the keymap bug.
12664
12665 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
12666
12667         * LaTeX.C (scanAuxFiles): New method. Provides support for
12668         multiple bibliographies (when using the bibtopic/bibunits pacakges).
12669         (scanLogFile) Scan for "run BibTeX" messages.
12670
12671         * buffer.C (makeLaTeXFile): Do not load the ae package when using
12672         OT1 font encoding. Also, load the aecompl package if the ae
12673         package is loaded.
12674
12675         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
12676
12677 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12678
12679         * texrow.C (increasePos): turn two error messages into debug
12680         messages.
12681
12682 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
12683
12684         * LaTeX.C (scanAux): Handle the \@input macro.
12685         (runBibTeX): Use scanAux().
12686
12687         * language.C (latex_options_): New field.
12688
12689         * LaTeXFeatures.C (getMacros): Add language macros.
12690
12691         * buffer.C (makeLaTeXFile): Small fix.
12692
12693 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12694
12695         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
12696
12697         * text2.C: add a using directive.
12698
12699 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
12700
12701         * BufferView2.C:
12702         * lyx_gui_misc.h:
12703         * lyxfr1.C:
12704         * lyxfunc.C: kill LyXBell.
12705
12706 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
12707
12708         * text.C (IsBoundary): Remove the error message
12709
12710         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
12711
12712         * lyxrc.C (setDefaults): Correct initialization value for
12713         font_norm_type.
12714
12715 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
12716
12717         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
12718         gotoError().
12719
12720         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
12721         and GotoNextNote().
12722
12723         * src/LyXAction.C: Added reference-next.
12724
12725         * text.C (InsertChar): Use contains instead of strchr.
12726
12727         * lyx_cb.C (MenuInsertLabel): Enable default value code.
12728
12729 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
12730
12731         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
12732         alignment commands (when needed).
12733
12734         * text.C (InsertChar): Add ':' to number separator chars.