]> git.lyx.org Git - features.git/blob - src/ChangeLog
Add an InsetOld::Code wrapper class, enabling #include "inset.h" to be
[features.git] / src / ChangeLog
1 2003-09-18  Angus Leeming  <leeming@lyx.org>
2
3         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
4         InsetOld_code to remove #include "inset.h".
5
6         * iterators.C: add #include "inset.h"
7
8 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
9
10         * BufferView.C: remove more locking stuff that apparently doesn't
11         do anything sensible.
12
13 2003-09-16  André Pönitz  <poenitz@gmx.net>
14
15         * paragraph.[Ch]:
16         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
17           performance boost.
18
19 2003-09-16  Angus Leeming  <leeming@lyx.org>
20
21         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
22
23         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
24         arg/return type.
25
26         * paragraph.h: remove #include "lyxfont.h". Forward declare LyXFont_size.
27
28 2003-09-16  Angus Leeming  <leeming@lyx.org>
29
30         * paragraph.C (IsInsetChar): new function in namespace anon, moved out of
31         support/textutils.h.
32         (isWord): move the contents of support/textutils.h's IsWordChar here.
33
34         * buffer.C:
35         * lyxfind.C:
36         * rowpainter.C:
37         * text.C:
38         * text2.C: add #include "paragraph.h".
39
40         * rowpainter.C:
41         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
42
43 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
44
45         * main.C: 
46         * lyx_main.C: 
47         * lyx_cb.C: 
48         * buffer.C: 
49         * LaTeX.C: use namespace alias for lyx::support::os
50
51 2003-09-16  Angus Leeming  <leeming@lyx.org>
52
53         * bufferparams.C:
54         * bufferview_funcs.C:
55         * factory.C:
56         * lyxfunc.C:
57         * paragraph_pimpl.C:
58         * rowpainter.C:
59         * text.C: add #include "LColor.h".
60
61 2003-09-16  Angus Leeming  <leeming@lyx.org>
62
63         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph, setUnderbar,
64         setNoun, setNumber, setColor, setLanguage): no longer return LyXFont &.
65         Store the FontBits::color variable as an int rather than as an LColor::color
66         so that we can move LColor.h out of the lyxfont.h header file.
67
68         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
69         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot string
70         calls together.
71
72         * lyxrc.C: add #include "LColor.h".
73
74 2003-09-15  Angus Leeming  <leeming@lyx.org>
75
76         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as a cow_ptr.
77
78 2003-09-15  Angus Leeming  <leeming@lyx.org>
79
80         * LColor.h: add an EnumLColor wrapper for LColor::color.
81
82         * lyxfont.[Ch] (color, setColor, realColor):
83         * lyxtext.h, text.C (backgroundColor):
84         pass EnumLColor args to/from the functions, rather than LColor::color ones.
85
86         * lyxfont.h:
87         * lyxtext.h: forward declare EnumLColor.
88
89         * lyx_main.C: add #include "LColor.h".
90
91 2003-09-15  Angus Leeming  <leeming@lyx.org>
92
93         * .cvsignore: add lyx-gtk.
94
95 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
96
97         * Chktex.C
98         * LaTeX.C
99         * LaTeXFeatures.C
100         * ParagraphParameters.C
101         * Spacing.C
102         * buffer.C
103         * bufferparams.C
104         * bufferview_funcs.C
105         * chset.C
106         * counters.C
107         * funcrequest.C
108         * lyxfont.C
109         * lyxgluelength.C
110         * lyxlength.C
111         * paragraph.C
112         * paragraph_funcs.C
113         * text3.C
114         * vc-backend.C: remove usage of STRCONV
115
116 2003-09-15  Angus Leeming  <leeming@lyx.org>
117
118         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
119         explicitly define the color passed to the painter.
120
121 2003-09-15  Angus Leeming  <leeming@lyx.org>
122
123         * bufferparams.C (BufferParams): reorder member initializers to avoid
124         compiler warning.
125
126 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
127
128         * CutAndPaste.C (pasteSelection): remove an outdated #warning
129         * text.C (updateRowPositions): remove an unusual nop
130
131 2003-09-12  André Pönitz  <poenitz@gmx.net>
132
133         * BufferView_pimpl.C:
134         * Bullet.C:
135         * layout.h:
136         * lyxfunc.C:
137         * lyxlayout.[Ch]:
138         * lyxtextclass.C:
139         * rowpainter.C:
140         * text.C:
141         * text2.C:
142         * Counters.[Ch]: finish the 'automatic counters' job
143
144 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
145
146         * aspell.C: include <boost/assert.cpp> (compile fix)
147
148 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
149
150         * boost.C (assertion_failed): use lyx::support::abort instead of
151         assert.
152
153 2003-09-10  Angus Leeming  <leeming@lyx.org>
154
155         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h with their
156         _fwd progeny.
157
158 2003-09-09  Angus Leeming  <leeming@lyx.org>
159
160         134 files throughtout the source tree: replace 'using namespace abc;'
161         directives with the appropriate 'using abc::xyz;' declarations.
162
163 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
164
165         * boost.C (emergencyCleanup): moved here from LAssert.c
166         (assertion_failed): new function, called by BOOST_ASSERT
167
168         * several files: change Assert to BOOST_ASSERT
169
170 2003-09-09  Angus Leeming  <leeming@lyx.org>
171
172         * buffer.[Ch]: Add an Impl class and move Buffer's member
173         variables into it. As a result move several header files out of
174         buffer.h.
175
176         Add header files to lots of .C files all over the tree as a result.
177
178 2003-09-09  Angus Leeming  <leeming@lyx.org>
179
180         * buffer.[Ch]: make Buffer's member variables private. Add
181         accessor functions.
182
183         Lots of changes all over the tree as a result.
184
185 2003-09-08  Angus Leeming  <leeming@lyx.org>
186
187         * graph.C: #include <config.h>.
188
189 2003-09-08  Angus Leeming  <leeming@lyx.org>
190
191         * BranchList.C:
192         * BufferView.C:
193         * BufferView_pimpl.C:
194         * CutAndPaste.C:
195         * DepTable.C:
196         * LaTeX.C:
197         * LaTeXFeatures.C:
198         * LyXAction.C:
199         * MenuBackend.C:
200         * TextCache.C:
201         * aspell.C:
202         * buffer.C:
203         * bufferlist.C:
204         * changes.C:
205         * chset.C:
206         * converter.C:
207         * counters.C:
208         * debug.C:
209         * graph.C:
210         * ispell.C:
211         * lyx_cb.C:
212         * lyxfind.C:
213         * lyxfunc.C:
214         * lyxlex_pimpl.C:
215         * lyxrc.C:
216         * lyxrow.C:
217         * paragraph.C:
218         * rowpainter.C:
219         * texrow.C:
220         * text.C:
221         * text2.C:
222         * toc.C: remove redundant using directives.
223
224 2003-09-07  Angus Leeming  <leeming@lyx.org>
225
226         * LaTeXFeatures.h: remove #include "support/types.h".
227         * ToolbarBackend.h: remove #include <algorithm>.
228         * changes.h: remove #include <ctime>.
229         * debug.h: remove #include <iosfwd>.
230         * graph.h: remove #include "support/std_string.h".
231         * lyx_main.h: remove #include <csignal>.
232         * lyxlex_pimpl.h: remove #include <fstream>.
233         * sgml.h: remove #include <algorithm>, <utility>.
234         * toc.h: remove #include "support/std_ostream.h". Add #include <iosfwd>.
235
236 2003-09-07  Angus Leeming  <leeming@lyx.org>
237
238         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
239
240         * converter.h: forward declare LatexRunParams.
241         * encoding.h: remove #include "lyxrc.h".
242         * lyxtext.h: remove #include "LColor.h".
243         * lyxtextclass.h: remove #include "support/types.h".
244         * trans.h: remove #include "tex-accent.h".
245         * trans_mgr.h: remove #include "tex-accent.h".
246         * insets/inset.h: remove #include "support/types.h", <vector>.
247         * insets/insetcollapsable.h: remove #include "LColor.h".
248         * insets/insetinclude.h: remove #include "dimension.h".
249         * insets/insetlatexaccent.h: remove #include "dimension.h".
250         * insets/insetoptarg.h:: remove #include "insettext.h".
251         * insets/insettext.h: remove #include "dimension.h", <boost/shared_ptr.hpp>
252
253         * insets/renderers.h: add #include "dimension.h".
254         * insets/updatableinset.h: add #include "support/types.h".
255
256         * many .C files: Associated changes.
257
258 2003-09-06  Angus Leeming  <leeming@lyx.org>
259
260         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just one,
261         inside testInvariant.
262
263         * PrinterParams.C: new file.
264         * PrinterParams.[Ch]: move the function bodies out of line.
265
266 2003-09-06  Angus Leeming  <leeming@lyx.org>
267
268         * ParagraphParameters.h: forward declare ParameterStruct rather than
269         including its header file.
270         (depth): moved out-of-line.
271
272 2003-09-06  Angus Leeming  <leeming@lyx.org>
273
274         * BufferView_pimpl.h:
275         * kbmap.h:
276         * kbsequence.h:
277         * lyxfunc.h: forward declare LyXKeySym rather than
278         #include "frontends/LyXKeySym.h".
279
280         * BufferView_pimpl.C:
281         * kbmap.C:
282         * kbsequence.C:
283         * lyxfunc.C: associated changes.
284
285 2003-09-06  Angus Leeming  <leeming@lyx.org>
286
287         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
288         As a result, can remove the #include "insets/inset.h" from BufferView.h
289
290 2003-09-06  Angus Leeming  <leeming@lyx.org>
291
292         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
293         As a result, can remove the #include "insets/inset.h" from BufferView.h
294
295 2003-09-06  Angus Leeming  <leeming@lyx.org>
296
297         * buffer_funcs.C:
298         * buffer.h:
299         * bufferlist.C:
300         * BufferView.C:
301         * bufferview_funcs.C:
302         * BufferView_pimpl.C:
303         * CutAndPaste.C:
304         * lyx_cb.C:
305         * lyxfunc.C:
306         * paragraph.h:
307         * ParagraphParameters.C:
308         * tabular.C:
309         * text3.C:
310         * toc.C:
311         * undo_funcs.C:
312         * frontends/controllers/ControlDocument.C:
313         * insets/insetcaption.C: rearrange the #includes into some sort of
314         coherent order.
315
316         * buffer.h: remove #includes ErrorList.h, undo.h
317
318 2003-09-06  Angus Leeming  <leeming@lyx.org>
319
320         * support/types.h: add a 'depth_type' typedef, used to store the
321         nesting depth of a paragraph.
322
323         * paragraph.h:
324         * ParameterStruct.h: use this lyx::depth_type typedef rather than
325         defining explicitly.
326
327         * buffer.h:
328         * paragraph_funcs.h:
329         * ParagraphParameters.h:
330         * sgml.h: use lyx::depth_type rather than Paragraph or
331         ParameterStruct's depth_type.
332
333         * buffer.h
334         * paragraph_funcs.h: no need to #include paragraph.h anymore.
335
336         * BufferView.C:
337         * BufferView_pimpl.C:
338         * CutAndPaste.C:
339         * ParagraphParameters.C:
340         * buffer_funcs.C:
341         * bufferlist.C:
342         * bufferview_funcs.C:
343         * lyx_cb.C:
344         * lyxfunc.C:
345         * tabular.C:
346         * text3.C:
347         * toc.C:
348         * undo_funcs.C:
349         * frontends/LyXView.C:
350         * frontends/controllers/ControlDocument.C:
351         * frontends/controllers/ControlErrorList.C:
352         * insets/insetbibitem.C:
353         * insets/insetbranch.C:
354         * insets/insetcaption.C:
355         * insets/insetcollapsable.C:
356         * insets/insetenv.C:
357         * insets/insetert.C:
358         * insets/insetfloat.C:
359         * insets/insetfoot.C:
360         * insets/insetfootlike.C:
361         * insets/insetnewline.C:
362         * insets/insetquotes.C:
363         * insets/insettabular.C:
364         * insets/insettext.C:
365         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
366
367         * frontends/controllers/ControlChanges.C: #include "changes.h".
368
369 2003-09-06  Angus Leeming  <leeming@lyx.org>
370
371         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather than
372         #including paragraph.h.
373
374         * ParagraphList.h:
375         * RowList.h: deleted. Superfluous.
376
377         * CutAndPaste.h:
378         * iterators.h:
379         * lyxcursor.h:
380         * lyxtext.h:
381         * text_funcs.h:
382         * undo.h:
383         * undo_funcs.h:
384         * insets/inset.h:
385         * insets/insettext.h: use ParagraphList_fwd.h rather than ParagraphList.h.
386
387         * paragraph.h: don't forward declare ParagraphList.
388
389         * buffer.h:
390         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
391         rather than ParagraphList.h. paragraph.h is still needed for the
392         Paragraph::depth_type parameters.
393
394         * textcursor.h: enable it to compile stand-alone in light of the
395         above changes.
396
397         * bufferview_funcs.C:
398         * iterators.C:
399         * lyxfunc.C:
400         * lyxrow_funcs.C:
401         * paragraph.C:
402         * rowpainter.C:
403         * text.C:
404         * text2.C:
405         * text3.C:
406         * text_funcs.C:
407         * textcursor.C:
408         * undo.C:
409         * frontends/controllers/ControlParagraph.C:
410         * frontends/controllers/ControlTabular.C:
411         * insets/insetmarginal.C:
412         * insets/insetminipage.C:
413         * insets/insetnote.C:
414         * insets/insetoptarg.C: add header files needed to compile again.
415
416 2003-09-06  Angus Leeming  <leeming@lyx.org>
417
418         * RowList_fwd.h: new file, forward-declaring Row rather than
419         #including lyxrow.h.
420
421         * lyxrow_funcs.h:
422         * lyxtext.h:
423         * paragraph.h:
424         * insets/insettext.h: use it instead of RowList.h
425
426         * bufferview_funcs.C:
427         * lyxfunc.C:
428         * lyxrow_funcs.C:
429         * paragraph.C:
430         * rowpainter.C:
431         * text.C:
432         * text2.C:
433         * text3.C: #include "RowList.h".
434
435 2003-09-05  Angus Leeming  <leeming@lyx.org>
436
437         * factory.C (createInset):
438         * vspace.C (c-tor): replace sscanf call with an istringstream.
439         * ispell.C: re-add missing HP/UX headers.
440         * lyxserver.C: re-add missing  os2 headers.
441
442 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
443
444         * BranchList.C:
445         * graph.C:
446         * ispell.C:
447         * lastfiles.C:
448         * lyx_cb.C:
449         * lyxserver.C:
450         * texrow.C:
451         * text3.C: re-add missing system headers, needed for 2.95.2.
452
453 2003-09-05  Angus Leeming  <leeming@lyx.org>
454
455         Changes most place everywhere due to the removal of using directives
456         from support/std_sstream.h.
457
458 2003-09-05  Angus Leeming  <leeming@lyx.org>
459
460         Replace LString.h with support/std_string.h,
461         Lsstream.h with support/std_sstream.h,
462         support/LIstream.h with support/std_istream.h,
463         support/LOstream.h with support/std_ostream.h.
464
465         Changes resulting throughout the tree.
466
467 2003-09-05  Angus Leeming  <leeming@lyx.org>
468
469         * sgml.h: ensure that the header file can be compiled stand-alone.
470         * *.C: strip out redundant #includes. (320 in total.)
471
472 2003-09-04  Angus Leeming  <leeming@lyx.org>
473
474         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
475         here (from getPackages).
476
477         * debug.[Ch]: add a new EXTERNAL tag.
478
479 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
480
481         * text2.C (cursorEnd): simplify
482         (setCursor): adjust
483         (getColumnNearX): adjust
484
485         * text.C (computeBidiTables): adjust
486         (fill): adjust
487
488         * rowpainter.C (paintChars): adjust
489         (paintSelection): adjust
490         (paintChangeBar): adjust
491         (paintText): adjust
492
493         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
494         lastPos instead.
495         (numberOfSeparators): adjust
496
497 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
498
499         * LyXAction.C:
500         * box.[Ch]:
501         * lfuns.h:
502         * lyxfunc.C:
503         * text3.C: Restricts the mouse click functionality
504         of insets like bibtex, include, toc and floatlist to the visible
505         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
506         up the dialogs. Cursor has to be in front of the inset (i.e.
507         start of row) for this to function.
508
509 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
510
511         * bufferview_funcs.C (currentState): output row information
512
513 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
514
515         * bufferview_funcs.C (currentState): output paragraph position
516
517 2003-09-04  Angus Leeming  <leeming@lyx.org>
518
519         * FloatList.h: move out #include "Floating.h".
520         * LaTeX.h: move out #include "DepTable.h".
521         * LyXAction.h: move out #include "funcrequest.h".
522         * buffer.h: move out #include "author.h", "iterators.h".
523         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
524         * lyx_main.h: move out #include "errorlist.h".
525         * lyxfunc.h: move out #include "FuncStatus.h".
526         * lyxtext: move out #include "lyxcursor.h".
527         * paragraph_pimpl.h: move out #include "counters.h".
528
529 2003-09-03  Angus Leeming  <leeming@lyx.org>
530
531         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
532         preamble_snippets list, enabling us to add snippets to the preamble only
533         if the snippet was not there already.
534
535 2003-09-04  Angus Leeming  <leeming@lyx.org>
536
537         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
538
539 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
540
541         * lyxfunc.C (dispatch): if fitCursor did something be sure to
542         update
543
544 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
545
546         * BranchList.C: point fix, earlier forgotten
547
548 2003-09-02  Angus Leeming  <leeming@lyx.org>
549
550         * box.C (contains): renamed from 'contained' after a fantastic
551         amount of hot air.
552
553 2003-09-02  John Levon  <levon@movementarian.org>
554
555         * BufferView.C:
556         * lyxcursor.h:
557         * lyxcursor.C:
558         * lyxfunc.C:
559         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
560
561 2003-09-02  John Levon  <levon@movementarian.org>
562
563         * text2.C: simplification of cursorEnd(), including partial
564         fix for bug 1376
565
566 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
567
568         * buffer.C (readFile): add a space
569
570 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
571
572         * BufferView_pimpl.C (update): remove bogus fitCursor() call
573
574 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
575
576         * buffer.C (readFile): new function, take a filename and a
577         ParagraphList::iterator
578         (readFile): adjust
579         (readFile): adjust, make it private. don't use setStream, make
580         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
581         always contain the filename.
582
583         * BufferView.C (insertLyXFile): simplify and make it work for
584         gzipped files.
585
586 2003-08-30  John Levon  <levon@movementarian.org>
587
588         * Makefile.am: fix dist (from Kayvan)
589
590 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
591
592         * most files: change to use const Buffer refs
593
594 2003-08-27  André Pönitz  <poenitz@gmx.net>
595
596         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
597         on top of ownerPar().
598
599 2003-08-27  John Levon  <levon@movementarian.org>
600
601         * funcrequest.C: properly initialise POD members
602
603 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
604
605         * lyxtext.h (top_y): move top_y from here
606         * text.C:
607         * text2.C:
608         * text3.C:
609         * BufferView.[Ch]:
610         * BufferView_pimpl.[Ch]: to here
611         * frontends/screen.C:
612         * insets/insettabular.C:
613         * insets/insettext.C: adjust
614         * rowpainter.[Ch] (paintRows): remove LyXText & argument
615
616 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
617
618         * BufferView.[Ch]:
619         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
620
621 2003-08-26  André Pönitz  <poenitz@gmx.net>
622
623         * paragraph_func.[Ch] (outerPar): new function
624
625         * paragraph.C:
626         * paragraph_funcs.C:
627         * paragraph_funcs.h:
628         * paragraph_pimpl.C:
629         * text2.C: remove Inset::par_owner
630
631 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
632
633         * lyxrow_funcs.C:
634         * lyxtext.h:
635         * text.C:
636         * text2.C: eliminates the needFullRow/display() stuff
637         altogether, putting the logic in metrics/draw in the insets.
638
639 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
640
641         * text2.C (redoParagraphInternal, redoParagraphs):
642         * text.C (redoParagraph): add a call to updateRowPositions at the
643         end of each 'metrics-like' call. Remove all others.
644         (getRow): remove the 'y-computing' version.
645         (getRowNearY): do not compute nor return the real y. Solve the
646         'y < 0' problem and simplify.
647
648 2003-08-22  Angus Leeming  <leeming@lyx.org>
649
650         * *.[Ch]: clean-up of licence and author blurbs.
651         Also move config.h out of a few .h files and into a few .C files.
652
653 2003-08-22  André Pönitz  <poenitz@gmx.net>
654
655         * lyxrow.[Ch]: add x_ and *fill_ members
656
657         * lyxtext.h:
658         * text.C:
659         * rowpainter.C:
660         * text2.C: adjust/remove prepareToPrint() calls
661
662 2003-08-22  André Pönitz  <poenitz@gmx.net>
663
664         * lyxrow.[Ch]: add  end_ member
665
666         * lyxrow_funcs.C: use LyXRow::end_
667
668         * lyxtext.h (singleWidth): add LyXFont parameter
669
670         * rowpainter.C:
671         * text2.C: adjust LyXText::singleWidth() calls
672
673         * text.C (redoParagraph): simplify row breaking logic
674
675
676 2003-08-19  André Pönitz  <poenitz@gmx.net>
677
678         * funcrequest.C: initialize button_ member
679
680         * text3.C:
681         * rowpainter.[Ch]: interface consolidation
682
683 2003-08-18  André Pönitz  <poenitz@gmx.net>
684
685         * BufferView.C:
686         * BufferView_pimpl.C:
687         * lyxfind.C:
688         * paragraph_funcs.C:
689         * rowpainter.C:
690         * text3.C: remove LyXScreen::draw() and fitCursor calls
691
692         * BranchList.h: remove spurious semicolons
693
694         * MenuBackend.C: fix branchlist related crash
695
696 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
697
698         * BranchList.[Ch]:
699         * InsetList.[Ch]:
700         * LColor.[Ch]:
701         * LyXAction.C:
702         * Makefile.am:
703         * MenuBackend.[Ch]:
704         * bufferparams.[Ch]:
705         * factory.C:
706         * lfuns.h:
707         * lyxfunc.C:
708         * text3.C: implements the 'branch inset'
709         idea. This allows the output of various versions of a document
710         from a single source version, selectively outputing or suppressing
711         output of parts of the text.
712         This implementation contains a 'branch list editor' in a separate
713         tab of the document settings dialog. Branches are user definable
714         and have a "display colour" to distinguish them on-screen.
715
716         ColorHandler was somewhat cleaned up.
717         (1) make possible a dynamically growing LColor list by allowing
718         the graphic context cache to grow along (vector);
719         (2) eliminate an IMHO unnecessary step in colour allocation.
720
721 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
722
723         * BufferView_pimpl.C: compile fix
724
725 2003-08-15  André Pönitz  <poenitz@gmx.net>
726
727         * rowpainter.C: remove extra metrics calls
728
729         * lyxtext.h: merge the two constructors into a single one,
730           pass reference to owner's par list
731
732         * BufferView_pimpl.C:
733         * text.C:
734         * text2.C: adjust
735
736 2003-08-15  André Pönitz  <poenitz@gmx.net>
737
738         * lyxrow_funcs.[Ch]:
739         * lyxtext.h:
740         * paragraph.h:
741         * paragraph_funcs.C:
742         * rowpainter.C:
743         * text.C:
744         * text2.C:
745         * text3.C:
746         * text_funcs.C: split LyXText::rowlist_ into individual
747         Paragraph::rows_ chunks
748
749         * BufferView.[Ch]:
750         * BufferView_pimpl.[Ch]:
751         * lyxfind.C:
752         * lyxtext.h:
753         * text3.C: remove toggleSelection()
754
755 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
756
757         * bufferlist.C: beautify two alerts (shorter text of buttons)
758         * buffer.C: Remove redundant ' ' from message
759         * tabular.h:
760         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
761         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
762         rename VALIGN_CENTER to VALIGN_MIDDLE
763
764 2003-08-11  André Pönitz  <poenitz@gmx.net>
765
766         * lyxtext.h (getPar):
767         * text.C: new function
768
769 2003-08-11  André Pönitz  <poenitz@gmx.net>
770
771         * Makefile.am:
772         * tracer.[Ch]: remove unneeded files
773
774         * InsetList.[Ch]: remove resizeInsetsLyXText()
775
776         * lyxtext.h:
777         * text.C:
778         * text2.C:
779         * text3.C: merge insertParagraphs() and appendParagraph()
780         remove breakAgain(), update()
781
782         * BufferView_pimpl.[Ch]:
783         * bufferview_funcs.[Ch]:
784         * lyxfunc.C:
785         * paragraph.[Ch]:
786         * rowpainter.C:
787         * tabular.C: adjust after text & InsetList changes.
788
789 2003-08-08  André Pönitz  <poenitz@gmx.net>
790
791         * text.C (insertChar, backspace): replace rowlist fiddling
792         with rebreak of full par
793
794         * lyxtext.h:
795         * text.C (breakAgainOneRow, redoHeightOfParagraph,
796         checkParagraph, updateInset): removed
797
798 2003-08-07  André Pönitz  <poenitz@gmx.net>
799
800         * paragraph.C:
801         * text3.C: merge some LFUN handlers, remove dead code
802
803 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
804
805         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
806
807 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
808
809         * text2.C (DEPM): fix part of bug 1255 and 1256
810
811 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
812
813         * BufferView_pimpl.C (workAreaDispatch): change to use
814         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
815         that are no mouse related.
816
817 2003-08-05  André Pönitz  <poenitz@gmx.net>
818
819         * BufferView.[Ch]:
820         * BufferView_pimpl.[Ch]:
821         * bufferview_funcs.C:
822         * text2.C:
823         * text3.C: rip out "deep update"
824
825         * textcursor.[Ch] (last_sel_cursor): remove unused member
826
827 2003-08-04  André Pönitz  <poenitz@gmx.net>
828
829         * BufferView.[Ch]:
830         * BufferView_pimpl.[Ch]:
831         * ParagraphParameters.C:
832         * bufferview_funcs.C:
833         * lyx_cb.C:
834         * lyxfind.C:
835         * lyxfunc.C:
836         * text.C:
837         * text2.C:
838         * text3.C: replace "complicated" BufferView::update(...) calls with
839         simpler ones.
840
841         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
842
843 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
844
845         * Makefile.am (lyx_SOURCES): add paper.h
846
847 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
848
849         * Makefile.am: move things around so that both lyx-qt and
850         lyx-xforms can be built (according to --with-frontend). Then lyx
851         is a symbolic link to lyx-[firstfrontend]
852
853 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
854
855         * Always use std::endl with lyxerr
856
857 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
858
859         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
860
861 2003-08-01  André Pönitz  <poenitz@gmx.net>
862
863         * BufferView.[Ch]:
864         * BufferView_pimpl.[Ch]:
865         * lyxfunc.C:
866         * text3.C: merge BufferView::repaint() and BufferView::update()
867
868 2003-08-01  José Matos  <jamatos@lyx.org>
869
870         * buffer.[Ch]: file_format is no longer a buffer data element.
871
872 2003-08-01  André Pönitz  <poenitz@gmx.net>
873
874         * BufferView.C:
875         * lyxtext.h:
876         * text.C:
877         * text2.C: make redoParagraph more independent of current cursor
878
879         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
880         * text.C:
881         * text2.C: remove unneeded members
882
883 2003-07-30  André Pönitz  <poenitz@gmx.net>
884
885         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
886
887         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
888           create a single function...
889
890         * paragraph_funcs.C (moveItem): ... here.
891
892         * text.C:
893           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
894
895 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
896
897         * LColor.[Ch]: Add comment and greyedout logical colors.
898
899 2003-07-30  André Pönitz  <poenitz@gmx.net>
900
901         * tabular.C: don't use Assert too heavily. This crashes where it
902           shouldn't
903
904 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
905
906         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
907         is disabled (bug 1232)
908
909 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
910
911         * factory.C: limited 'arg' scope
912
913 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
914
915         * factory.C: fixed Note submenu issues
916
917 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
918
919         * factory.C: submenu for Note/Comment/Greyedout
920
921 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
922
923         * lyx_main.C (LyX):
924         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
925
926 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
927
928         * LaTeXFeatures.C:
929         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
930         greyedout. Patch provided by Jürgen Spitzmüller.
931
932 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
933
934         * kbmap.C (read): fix error message when reading bind files
935
936 2003-07-29  Angus Leeming  <leeming@lyx.org>
937
938         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
939         certainly does not do what it purports to do. I am doing it, and
940         us, a favour by killing it.
941
942 2003-07-28  José Matos  <jamatos@lyx.org>
943
944         * buffer.C (readBody, do_writeFile):
945         * paragraph.C(readParagraph): \end_document replaces \the_end.
946
947 2003-07-29  André Pönitz  <poenitz@gmx.net>
948
949         * BufferView.[Ch]:
950         * BufferView_pimpl.[Ch]:
951         * lyxfunc.C:
952         * text2.C:
953         * text3.C:
954         * textcursor.[Ch]: remove toggleToggle & Co
955
956 2003-07-28  José Matos  <jamatos@fep.up.pt>
957
958         * buffer.C (readParagraph):
959         * params_func (readParToken, readParagraph):
960         * paragraph.C (write): \layout -> \begin_layout.
961
962 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
963
964         * lyxlex_pimpl.C (setFile): clean up slightly.
965
966         * bufferparams.h: add compressed var
967
968         * buffer_funcs.C (readFile): adjust for LyXLex change
969         (newFile): ditto + simplify
970
971         * buffer.C (writeFile): handle writing of compressed files
972
973         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
974         Check if the file is compressed and set a bufferparm if so.
975
976         * Makefile.am (lyx_LDADD): remove explicit -lz
977
978 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
979
980         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
981         makeDocBookFile): put the real LyX version in the first line of
982         the file
983
984         * version.h:
985         * version.C.in: remove lyx_docversion
986
987         * tabular.C (write_attribute): add a template-based version to
988         write enums properly
989
990 2003-07-28  André Pönitz  <poenitz@gmx.net>
991
992         * lyxtext.h:
993         * text.C:
994         * text2.C:
995         * text3.C: use doubles again for x-coordinates. They are needed.
996
997 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
998
999         * messages.C (getLocaleDir): use lyx_localedir()
1000
1001         * lyxlex_pimpl.C (setFile): compress stuff
1002
1003         * buffer.C (writeFile): add some compression stuff
1004         (do_writeFile): new func, dont call expliti close... will this
1005         breake anything?
1006
1007         * Makefile.am (lyx_LDADD): add -lz
1008
1009 2003-07-28  José Matos  <jamatos@fep.up.pt>
1010
1011         * buffer.C: increment file format.
1012         * paragraph_funcs (readParagraph, readParToken):
1013         * paragraph.C (readParagraph): add \end_layout.
1014
1015 2003-07-27  Angus Leeming  <leeming@lyx.org>
1016
1017         * Makefile.am: remove special casing for configure-time setting of
1018         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
1019
1020         * lyx_main.C (init): remove all Jean-Marc's magic setting of
1021         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
1022
1023 2003-07-26  André Pönitz  <poenitz@gmx.net>
1024
1025         * paragraph_func.[Ch]:
1026         * paragraph.C (realizeFont): inline it whereever it is used
1027
1028         * rowpainter.C:
1029         * text.C:
1030         * text2.C:
1031         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
1032
1033
1034 2003-07-26  André Pönitz  <poenitz@gmx.net>
1035
1036         *       lyxtext.h:
1037         * text.C:
1038         * text2.C: get rid of LyXText::need_break_row
1039
1040 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
1041
1042         * toc.[Ch]: put namespace toc inside namespace lyx
1043
1044         * MenuBackend.C (expandToc2): adjust for lyx::toc
1045         (expandToc): ditto
1046
1047         * lyxfunc.C (dispatch): adjust for lyx::find
1048
1049         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
1050         lyx::find instead. Reorganize a bit.
1051         (LyXReplace): rename to replace
1052         (LyXFind): rename to find
1053
1054         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
1055         (dispatch): ditto
1056
1057 2003-07-26  André Pönitz  <poenitz@gmx.net>
1058
1059         * text.C (setHeightOfRow): restrict scope of temporary variable
1060
1061         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
1062           code (never has been used?)
1063
1064 2003-07-27  Asger Alstrup  <alstrup@local>
1065
1066         * text.C (fill): Optimise algorithm to exploit that we can reuse
1067         the LyXFont for many characters.
1068         (setHeightOfRow): Same thing.
1069         (rowBreakPoint): Same thing.
1070
1071 2003-07-26  Asger Alstrup  <alstrup@local>
1072
1073         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
1074
1075         * text.C (singleWidth): Spurious font copying in hot-spot
1076         singleWidth avoided. Reorder tests for arabic for efficiency.
1077
1078         * text.C (fill): handle empty paragraphs better.
1079
1080 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1081
1082         * ispell.C:
1083         * encoding.h: add includes
1084
1085         * lyxrc.C: remove reading of bind files
1086
1087         * lyx_main.C (init): setup bindings and menus only if we have a
1088         gui.
1089
1090         * kbmap.C (read): new method. Do the actual reading of bind
1091         files.
1092
1093         * converter.C (dvipdfm_options):
1094         * bufferparams.C:
1095         * lyxrc.C (read):
1096         (output): adapt PAPER_* enums.
1097
1098         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
1099
1100         * bufferparams.h: remove paper-related enums from there
1101
1102         * paper.h: New file. A trivial header file to hold paper-related
1103         enums. It should later expand to contain many paper-related
1104         horrors access.
1105
1106         * lyxrc.C: declare extern displayTranslator
1107
1108 2003-07-27  José Matos  <jamatos@fep.up.pt>
1109
1110         * tabular.[Ch] (linuxdoc): add support for tables and figures
1111         (linuxdoc).
1112
1113 2003-07-27  José Matos  <jamatos@fep.up.pt>
1114
1115         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
1116         consistency in both functions.
1117         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
1118
1119 2003-07-26  Asger Alstrup  <alstrup@local>
1120
1121         * rowpainter.C (paintRows): Change algorithm to work directly on
1122         the insets rather than asking every character in the document
1123         whether its an inset.
1124
1125 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
1126
1127         * buffer.C (openFileWrite): factorize some code
1128
1129 2003-07-26  Angus Leeming  <leeming@lyx.org>
1130
1131         * lyx_cb.C:
1132         * lyx_main.[Ch]: replace occurances of system_tempdir with
1133         os::getTmpDir().
1134
1135 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
1136
1137         * rename Inset to InsetOld
1138
1139 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
1140
1141         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
1142         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
1143         which I think is a bit clearer. EDIT is gone, since it was
1144         premature optimisation, and broken for mathed anyway.
1145         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
1146         with cursor positioning in insets as well (math insets still do not
1147         work, but that's a different story anyway.) It mysteriously
1148         crashes sometimes with undo in the first paragraph, but I'm fairly
1149         confident that this is a compiler bug.
1150
1151 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
1152
1153         * paragraph.C (Paragraph): adjust for new clone return type
1154         (operator==): ditto
1155         (copyIntoMinibuffer): ditto
1156
1157 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
1158
1159         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
1160         by not having a special case, and always doing a full rebreak of
1161         the document after undo.
1162
1163 2003-07-23  Angus Leeming  <leeming@lyx.org>
1164
1165         * factory.C (createInset): InsetExternal::setParams now takes a
1166         Buffer const * arg.
1167
1168 2003-07-23  Angus Leeming  <leeming@lyx.org>
1169
1170         * factory.C (createInset): changed interface to the external and
1171         graphics mailers' string2params functions.
1172
1173 2003-07-23  Angus Leeming  <leeming@lyx.org>
1174
1175         * factory.C (createInset): pass a
1176         Buffer const * parameter to InsetExternalMailer's string2params.
1177
1178 2003-07-22  John Levon  <levon@movementarian.org>
1179
1180         * Thesaurus.h: include the right aiksaurus header
1181
1182 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1183
1184         * MenuBackend.C (expand): check menu shortcuts unconditionally
1185
1186 2003-07-21  Angus Leeming  <leeming@lyx.org>
1187
1188         * factory.C (createInset): pass a
1189         buffer_path parameter to InsetGraphicsMailer's string2params.
1190
1191 2003-07-21  Angus Leeming  <leeming@lyx.org>
1192
1193         * BufferView_pimpl.C (buffer):
1194         * buffer.C (d-tor):
1195         * lyx_main.C (LyX):
1196         * lyxfunc.C (dispatch):
1197         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
1198         rather than the grfx shortcut.
1199
1200 2003-07-21  André Pönitz  <poenitz@gmx.net>
1201
1202         * rowpainter.C: remove unused variables
1203
1204         * tabular_funcs.C:
1205         * tabular_funcs.h: move to tabular.C
1206         * Makefile.am: adjust
1207
1208         * tabular.[Ch]: basic optical cleaning
1209
1210         * author.h: pass references, not values
1211
1212 2003-07-18  André Pönitz  <poenitz@gmx.net>
1213
1214         * lyxtext.h:
1215         * metricsinfo.C:
1216         * metricsinfo.h:
1217         * rowpainter.C:
1218         * text.C:
1219         * text2.C:
1220         * text3.C: two-phase drawing for InsetText and InsetTabular
1221         some float -> int changes.
1222
1223 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
1224
1225         * lyx_main.C: fix the fix
1226
1227 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
1228
1229         * lyx_main.C: fix a crash in batch mode if no files specified
1230         * converter.C: ws
1231
1232 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
1233
1234         * format.[Ch] (papersize): moved to BufferParams
1235         * converter.[Ch] (dvips_options): moved to BufferParams
1236         (dvipdfm_options): moved to anon namespace
1237         * bufferparams.[Ch]: added above functions.
1238
1239 2003-07-17  André Pönitz  <poenitz@gmx.net>
1240
1241         * lyxtext.h:
1242         * rowpainter.C:
1243         * text2.C: don't call inset->update() anymore
1244
1245         * metricsinfo.[Ch]: add convenience constructor
1246
1247 2003-07-16  André Pönitz  <poenitz@gmx.net>
1248
1249         * lyxcursor.[Ch]:
1250         * lyxfunc.[Ch]:
1251         * text.C:
1252         * text2.C: replace the LyXCursor::irow_ member with
1253          on-demand computation of the value
1254
1255 2003-07-16  John Levon  <levon@movementarian.org>
1256
1257         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
1258
1259 2003-07-15  André Pönitz  <poenitz@gmx.net>
1260
1261         * text.C:
1262         * text2.C: remove no more needed refresh_row
1263
1264 2003-07-15  André Pönitz  <poenitz@gmx.net>
1265
1266         * lyxtext.h:
1267         * rowpainter.C:
1268         * text2.C:
1269         * text3.C: refresh_status tristate -> need_update bool
1270
1271 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
1272
1273         * lyxtext.h (init): remove reinit argument (act as if always true)
1274         * text2.C: adjust to that
1275
1276 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1277
1278         * bufferview_funcs.[Ch]: introduce function replaceSelection()
1279         * text3.C: use it to delete selections in some cases
1280         (bugs 441, 673, 702, 954).
1281
1282 2003-07-14  André Pönitz  <poenitz@gmx.net>
1283
1284         * rowpainter.[Ch]: reduce interface
1285
1286 2003-07-14  André Pönitz  <poenitz@gmx.net>
1287
1288         * BufferView_pimpl.C:
1289         * text2.C: adjust after removing unused BufferView * argument
1290
1291 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
1292
1293         * text2.C (init): fix a crash fired on resize
1294
1295 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
1296
1297         * buffer.[Ch]: added new closing signal
1298         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
1299         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
1300         BufferView::Pimpl via the closing the signal
1301
1302 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
1303
1304         * buffer.[Ch]: take out all bv-related from buffer
1305         * BufferView.C:
1306         * BufferView_pimpl.[Ch]: connect to new signals
1307         * CutAndPaste.C: removed useless asserts
1308         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
1309         * lyxvc.[Ch]:
1310         * vc-backend.[Ch]:
1311         * lyxfunc.C: moved view-related funciontality from vc here
1312         * paragraph.C: removed outdated comments
1313         * text.C: ws
1314
1315 2003-07-10  André Pönitz  <poenitz@gmx.net>
1316
1317         * BufferView_pimpl.C:
1318         * tabular.h:
1319         * tabular_funcs.C:
1320         * text.C:
1321         * text2.C: remove InsetText::InnerCache, clean up consequences
1322
1323 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
1324
1325         * ispell.C: fix two typos in error messages
1326
1327 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
1328
1329         * Extend Note inset to other forms of annotation like Comment
1330         and Greyedout. Right button click gives dialog.
1331
1332         Files modified or added (+):
1333
1334         * insetnote.[Ch]
1335         * FormNote.[Ch]      +
1336         * ControlNote.[Ch]   +
1337         * form_note.fd       +
1338         * Makefile.am in frontends/xforms, frontends/xforms/forms,
1339         frontends/controllers
1340         * xforms/Dialogs.C
1341         * factory.C
1342
1343 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1344
1345         * aspell.C: add missing namespace lyx::support
1346
1347 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
1348
1349         * BufferView.[Ch] (newFile): Add
1350         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
1351         * LaTeX.[Ch] (message): added this signal and use it
1352         * buffer.[Ch] (busy, message): added these signals and use them
1353         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
1354         * converter.C:
1355         * exporter.C:
1356         * format.C:
1357         * importer.C: use buffer signals instead of direct bv calling
1358         * lyx_cb.[Ch] (ShowMessage): removed
1359         * lyx_main.C:
1360         * lyxfunc.C:
1361         * paragraph_funcs.C:
1362         * text2.C: use buffer signals
1363
1364 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
1365
1366         * introduce namespace lyx::graphics
1367
1368 2003-07-02  André Pönitz  <poenitz@gmx.net>
1369
1370         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
1371
1372 2003-07-01  André Pönitz  <poenitz@gmx.net>
1373
1374         * text.C:
1375         * text2.C:
1376         * text3.C:
1377         * text_funcs.[Ch]:
1378         * textcursor.h:
1379         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
1380           text*.C to text_func.C
1381
1382 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
1383
1384         * introduce namespace lyx::support
1385
1386 2003-06-30  André Pönitz  <poenitz@gmx.net>
1387
1388         * Chktex.C:
1389         * funcrequest.C:
1390         * lyxtext.h:
1391         * text.C: re-enable --with-included-string
1392
1393 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
1394
1395         * textcursor.C: add <config.h>
1396
1397         * text.C (getWord): remove const from word_location arg
1398
1399         * lyxvc.C (getLogFile): fix const type order
1400
1401         * lyxtext.h: remove const from word_location arg, add arg name
1402
1403         * lyxlayout.h: currect type on labeltype.
1404
1405         * importer.C: correct \file
1406
1407         * converter.C (intToFormat): use std:: on ret val, ws changes
1408
1409         * bufferlist.h: correct \file
1410
1411         * buffer.C (makeLinuxDocFile): fix const type order
1412         (makeDocBookFile): ditto
1413         (fillWithBibKeys): use std:: on stdlib args.
1414
1415         * CutAndPaste.C: fix authors.
1416         (availableSelections): use std:: on return vector
1417
1418 2003-06-27  André Pönitz  <poenitz@gmx.net>
1419
1420         * BufferView_pimpl.C:
1421         * bufferview_funcs.C:
1422         * lyxcursor.C:
1423         * lyxcursor.h:
1424         * lyxfunc.C:
1425         * lyxtext.h:
1426         * rowpainter.C:
1427         * text.C:
1428         * text2.C:
1429         * text3.C: remove LyXCursor::row_ member
1430
1431         * lyxtext.h:
1432         * text.C: rename fullRebreak() to partialRebreak() and implement
1433           a fullRebreak() that really bereks fully
1434
1435         * textcursor.h: new struct for cursor-related data
1436
1437 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
1438
1439         * lyx_main.C (LyX): get full path of document loaded on the
1440         command line
1441
1442 2003-06-26  André Pönitz  <poenitz@gmx.net>
1443
1444         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
1445           remove unused/broken operator>,<,>=.
1446
1447         *       text.C: remove only use of broken operator<= in an Assert().
1448
1449 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
1450
1451         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
1452         moved errorlist_.clear to showErrorList
1453
1454 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
1455
1456         * converter.C (scanLog, runLaTeX):
1457         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
1458         move the bv->showErrorList call to the callers
1459         * lyxfunc.C: i.e. here...
1460         * text2.C: and here
1461         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
1462         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
1463         namespace, the second to...
1464         * buffer_funcs (BufferFormat, parseErrors): added
1465         * errorlist.C (ErrorList(TeXErrors const &)): removed
1466
1467 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1468
1469         * ToolbarBackend.C (getIcon): complain when icon cannot be found
1470
1471 2003-06-24  "Garst R. Reese" <reese@isn.net>
1472
1473         * debug.C: fix typo
1474
1475 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1476
1477         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
1478
1479         * version.C.in: change docversion to 1.4
1480
1481 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
1482
1483         * buffer.C: fix a bug just introduced
1484
1485 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
1486
1487         * buffer.[Ch]: added the parseError signal and use it, removed
1488         sgmlError
1489         * BufferView.[Ch] (addError): moved to ...
1490         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
1491         to the Buffer::parseError signal to catch (guess what) parse errors
1492         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
1493
1494 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
1495
1496         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
1497         ability to create a buffer and to return an existing one from
1498         the list. Moved these functions to...
1499         * buffer_funcs.[Ch]: added
1500         * BufferView.[Ch] (loadLyXFile): added
1501         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
1502         job removed from bufferlist::loadLyXFile.
1503         * buffer.C (setReadOnly): make it work without view
1504         (i.e added an if (users))
1505
1506 2003-06-19  Angus Leeming  <leeming@lyx.org>
1507
1508         * lfuns.h:
1509         * LyXAction.C (init):
1510         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
1511         with LFUN_DIALOG_SHOW <name> <data>.
1512
1513 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1514
1515         * CutAndPaste.C (availableSelections): small compilation fix for
1516         ancient (gcc 2.9x) compilers
1517
1518 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
1519
1520         * text3.C (cursorNext): add tmp var
1521
1522         * text2.C (updateCounters): for function calling out of for clause
1523         (replaceSelectionWithString): ditto
1524         (insertStringAsParagraphs): ditto
1525         (getColumnNearX): add tmp var
1526         (setCursorFromCoordinates): add tmp var
1527         (cursorDownParagraph): add tmp var
1528         (deleteEmptyParagraphMechanism): add tmp var
1529
1530         * text.C (insertChar): add tmp var
1531
1532         * rowpainter.C (paintDepthBar): add tmp var
1533
1534         * CutAndPaste.C (availableSelections): potentially check all
1535         paragraphs in a cut to fill the shown strings.
1536
1537 2003-06-18  André Pönitz  <poenitz@gmx.net>
1538
1539         * kbmap.[Ch]: use vector<> instead of list<>
1540
1541 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
1542
1543         * text3.C (dispatch): handle arg to LFUN_PASTE, call
1544         pasteSelection with index
1545
1546         * text2.C (pasteSelection): modify, call pasteSelection with index
1547
1548         * paragraph.C (asString): reimplement version with no interval to
1549         call the one with interval.
1550
1551         * lyxtext.h: add index arg to pasteSelection
1552
1553         * MenuBackend.C (MenuItem): handle PasteRecent
1554         (Menu::read::Menutags): add md_pasterecent
1555         (read): handle it
1556         (expandPasteRecent): new function
1557         (expand): use it
1558
1559         * MenuBackend.h: add PasteRecent to MenuItem::Kind
1560
1561         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
1562         the limited stack
1563         (availableSelections): new function
1564
1565 2003-06-17  Angus Leeming  <leeming@lyx.org>
1566
1567         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
1568
1569 2003-06-17  Angus Leeming  <leeming@lyx.org>
1570
1571         * lfuns.h:
1572         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
1573
1574         * lyxfunc.C (dispatch): invoke it.
1575
1576 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1577
1578         * iterators.C (operator++, ParPosition): reintroduce some
1579         const_cast for the benefit of older compilers.
1580
1581 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1582
1583         * text3.C (dispatch): do not modify clipboard when doing
1584         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
1585         LFUN_DELETE_SKIP on a selection selection
1586
1587 2003-06-16  André Pönitz  <poenitz@gmx.net>
1588
1589         * BufferView.C:
1590         * buffer.C:
1591         * buffer.h:
1592         * paragraph.C:
1593         * tabular.[Ch]: IU of clone() and getLabelList();
1594
1595 2003-06-13  André Pönitz  <poenitz@gmx.net>
1596
1597         * tabular.h: compactification
1598
1599 2003-06-12  André Pönitz  <poenitz@gmx.net>
1600
1601         * tabular.C:
1602         * tabular.h:
1603         * tabular_funcs.h: some renaming plus whitespace
1604
1605 2003-06-12  André Pönitz  <poenitz@gmx.net>
1606
1607         * BufferView.C:
1608         * BufferView_pimpl.C:
1609         * CutAndPaste.C:
1610         * buffer.C:
1611         * iterators.[Ch]:
1612         * lyxfunc.C:
1613         * text.C:
1614         * toc.C: Return a Paragraph & for ParIterator::operator*()
1615
1616 2003-06-11  John Levon  <levon@movementarian.org>
1617
1618         * lyx_main.C:
1619         * ToolbarBackend.h:
1620         * ToolbarBackend.C: add "Toolbars" section and
1621         put the flags there
1622
1623 2003-06-10  Angus Leeming  <leeming@lyx.org>
1624
1625         * lfuns.h:
1626         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
1627
1628         * lyxfunc.C (dispatch): invoke it.
1629
1630 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
1631
1632         * main.C: protect <ios> with HAVE_IOS
1633         (main): protect sync_with_stdio with HAVE_IOS
1634
1635 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
1636
1637         * text2.C (cutSelection): adjust
1638         (pasteSelection): adjust
1639
1640         * messages.C: handle get of empty string
1641
1642         * main.C (main): use sync_with_stdio(false)
1643
1644         * lyxfunc.C (dispatch): adjust
1645
1646         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
1647         (WriteAs): remove unneeded BufferView arg.
1648
1649         * bufferparams.h: use correct types on papersize, papersize2 and
1650         paperpackage.
1651
1652         * bufferparams.C (readToken): adjust for type
1653         (writeLaTeX): add missing cases to switch.
1654
1655         * bufferlist.C (quitWriteBuffer): adjust
1656         (close): adjust
1657
1658         * buffer.C (asciiParagraph): remove some commented code.
1659
1660         * CutAndPaste.C: remove current_view extern variable.
1661         (cutSelection): add BufferParams arg.
1662         (eraseSelection): add BufferParams arg.
1663         (pasteSelection): add Buffer const & arg
1664
1665 2003-06-07  John Levon  <levon@movementarian.org>
1666
1667         * buffer.C:
1668         * paragraph_funcs.C:
1669         * paragraph_pimpl.C:
1670         * text.C:
1671         * text2.C:
1672         * paragraph.h:
1673         * paragraph.C: allow InsetERT to freely space lines,
1674         and some consolidation of code
1675
1676 2003-06-06  José Matos  <jamatos@fep.up.pt>
1677
1678         * buffer.C (makeDocBookFile): fix bug #821
1679
1680 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
1681
1682         * BufferView_pimpl.C (dispatch): use Dialogs::visible
1683
1684 2003-06-04  Angus Leeming  <leeming@lyx.org>
1685
1686         * buffer.C: bump format to 224.
1687
1688 2003-06-05  André Pönitz  <poenitz@gmx.net>
1689
1690         * text2.C (redoParagraphs): remove two const_cast<>
1691
1692 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
1693
1694         * ParagraphList.h: remove last remnants of NO_STD_LIST
1695
1696 2003-06-03  Angus Leeming  <leeming@lyx.org>
1697
1698         * factory.C (createInset): small change to the way InsetExternal's params
1699         are set.
1700
1701 2003-06-04  André Pönitz  <poenitz@gmx.net>
1702
1703         * buffer.h: use Undo directly instead of shared_ptr<Undo>
1704
1705         * paragraph_pimpl.h:
1706         * paragraph.[Ch]: some Inset -> UpdatableInset changes
1707
1708         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
1709
1710         * undo_funcs.C: make some simple cases of undo work again
1711
1712 2003-06-03  John Levon  <levon@movementarian.org>
1713
1714         * ispell.C: HPUX doesn't have sys/select.h
1715         (from Albert Chin)
1716
1717 2003-06-03  John Levon  <levon@movementarian.org>
1718
1719         * CutAndPaste.C: update tabular and include inset
1720         buffer references
1721
1722         * buffer.h:
1723         * paragraph.h:
1724         * paragraph.C: remove owningBuffer(), don't pass Buffer
1725         to clone()
1726
1727         * factory.C: insetGraphicsParams changed
1728
1729 2003-06-02  John Levon  <levon@movementarian.org>
1730
1731         * LyXAction.C:
1732         * factory.C:
1733         * lfuns.h:
1734         * lyxfunc.C:
1735         * text3.C: remove insetparent
1736
1737 2003-06-02  John Levon  <levon@movementarian.org>
1738
1739         * buffer.h:
1740         * buffer.C: fix inset_iterator.end(), move out of line
1741         (bug 1149)
1742
1743 2003-06-01  John Levon  <levon@movementarian.org>
1744
1745         * text3.C: use a proper cut/paste when doing inset
1746         insert (from Jürgen Spitzmüller)
1747
1748 2003-06-01  John Levon  <levon@movementarian.org>
1749
1750         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
1751
1752 2003-05-30  André Pönitz  <poenitz@gmx.net>
1753
1754         * rowpainter.C: unify second drawing phase
1755
1756 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
1757
1758         * trans_mgr.C: remove one case of current_view
1759
1760         * text2.C (cursorBottom): delete NO_STD_LIST stuff
1761
1762         * paragraph_funcs.h: remove paragraph.h include
1763
1764         * paragraph.h: delete NO_STD_LIST stuff
1765
1766         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
1767
1768         * buffer.h: remove paragraph.h include
1769
1770         * ParagraphList.C: delete file
1771
1772         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
1773
1774         * toc.C (getTocList): adjust
1775
1776         * paragraph_pimpl.C (validate): adjust
1777
1778         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
1779
1780         * paragraph.C (Paragraph): adjust
1781         (getPositionOfInset): use const_iterator, adjust
1782         (bibitem): use const_iterator, adjust
1783         (setInsetOwner): adjust
1784
1785         * iterators.C (operator++): adjust
1786
1787         * InsetList.[Ch]: Replace selfmade iterator with standard
1788         vector::iterator also introduce const_iterator. Remove getPos,
1789         getInset and setInset from InsetTable. Adjust accordingly.
1790
1791         * BufferView.C (lockInset): adjust
1792         (ChangeInsets): adjust
1793
1794         * tabular.[Ch]: delete commented same_id functions
1795
1796 2003-05-28  John Levon  <levon@movementarian.org>
1797
1798         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
1799
1800 2003-05-28  André Pönitz  <poenitz@gmx.net>
1801
1802         * metricsinfo.[Ch]: remove 'fullredraw' member
1803
1804 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
1805
1806         * lyxtextclass.C (operator): remove caching.
1807
1808 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
1809
1810         * text3.C: adjust
1811
1812         * text2.C (cursorBottom): adjust
1813         (setCounter): use ParagraphList::find, adjust
1814
1815         * text.C (workWidth): use ParagraphList::find, adjust
1816
1817         * lyxcursor.C (LyXCursor): adjust
1818
1819         * buffer.C (inset_iterator): adjust
1820
1821         * ParagraphList.h: make iterator(value_type) private, make
1822         ParagraphList a friend of iterator.
1823
1824         * ParagraphList.C (find): new function
1825
1826         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
1827
1828 2003-05-27  André Pönitz  <poenitz@gmx.net>
1829
1830         * dimension.[Ch]: a -> asc, d -> des, w -> wid
1831
1832 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1833
1834         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
1835
1836 2003-05-26  John Levon  <levon@movementarian.org>
1837
1838         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
1839
1840 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
1841
1842         * remove same_id from function signatures, adjust.
1843
1844 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
1845
1846         * undo_funcs.C (createUndo): use the id functions directly, adjust.
1847
1848         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
1849
1850         * paragraph.C (Paragraph): get rid of same_ids parameter
1851
1852         * ParagraphList.C (insert): adjust
1853         (push_back): adjust
1854
1855 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
1856
1857         * paragraph_funcs.C (breakParagraph): adjust
1858         (breakParagraphConservative): adjust
1859
1860         * buffer.C (readParagraph): adjust
1861
1862         * ParagraphList.C (insert): take a reference instead of a pointer
1863         (insert): adjust
1864
1865         * paragraph.[Ch] (id): new function
1866
1867         * bufferlist.C (newFile): adjust
1868
1869         * ParagraphList.C (ParagraphList): adjust
1870         (assign): adjust
1871         (push_back): take a reference instead of a pointer.
1872
1873         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
1874
1875         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
1876         instead.
1877
1878         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
1879         set else use old code.
1880
1881         * ParagraphList.C: remove all NO_NEXT code and only compile this
1882         code of NO_STD_LIST is set.
1883
1884 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
1885
1886         * BufferView_pimpl.C:
1887         * TextCache.C:
1888         * TextCache.h:
1889         * bufferlist.C:
1890         * errorlist.h:
1891         * format.C:
1892         * format.h:
1893         * graph.C:
1894         * lyxfunc.C:
1895         * lyxrc.C:
1896         * graphics/GraphicsConverter.C:
1897         * graphics/PreviewLoader.C: header adjustment
1898
1899 2003-05-23  Angus Leeming  <leeming@lyx.org>
1900
1901         * LaTeXFeatures.[Ch] (useBabel): new method.
1902         * bufferparams.C (writeLaTeX): use it.
1903
1904 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
1905
1906         * ParagraphList.h (set): remove unused function.
1907
1908 2003-05-23  André Pönitz  <poenitz@gmx.net>
1909
1910         * BufferView.C:
1911         * BufferView_pimpl.C:
1912         * buffer.C:
1913         * buffer.h:
1914         * lyxfunc.C:
1915         * undo_funcs.C: setUndo reworked
1916
1917         * iterators.[Ch]: add access to topmost ParagraphList
1918
1919         * lyxtext.[Ch] (workWidth): add a const
1920
1921 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
1922
1923         * texrow.[Ch] (increasePos): remove function
1924         * exporter.C (export): removed unused var and outdated comment
1925
1926 2003-05-23  Angus Leeming  <leeming@lyx.org>
1927
1928         * latexrunparams.h: rename fragile as moving_arg.
1929         * paragraph.C (simpleTeXOnePar): ditto.
1930         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
1931
1932 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
1933
1934         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
1935         (createUndo): ditto
1936         (textUndoOrRedo): comment out a currently unused var.
1937
1938         * paragraph.h (NO_NEXT): enable NO_NEXT
1939
1940         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
1941
1942         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
1943
1944         * exporter.C (Export): adjust for removeAutoInsets removal.
1945
1946         * buffer.C (runChktex): adjust for removeAutoInsets removal.
1947
1948         * LyXAction.C (init): remove LFUN_REMOVEERRORS
1949
1950         * BufferView.[Ch] (removeAutoInsets): delete function
1951
1952 2003-05-22  Angus Leeming  <leeming@lyx.org>
1953
1954         * latexrunparams.h: add a free_spacing variable.
1955
1956         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
1957         to pass moving_arg, as the data is stored in runparams.fragile.
1958
1959         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
1960         to Inset::latexOptional or to simpleTeXOnePar.
1961
1962         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
1963         free_spacing arg to Inset::latexOptional.
1964
1965         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
1966         free_spacing arg.
1967
1968 2003-05-22  Angus Leeming  <leeming@lyx.org>
1969
1970         * latexrunparams.h: add fragile and use_babel variables.
1971
1972         * bufferparams.[Ch] (writeLaTeX): return use_babel.
1973         * buffer.C (makeLaTeXFile): store this returned value in
1974         runparams.use_babel, thus passing it to the inset::latex methods.
1975
1976         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
1977         simpleTeXSpecialChars as it is now stored in runparams.fragile.
1978
1979         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
1980         longer has a fragile arg, as it is stored in runparams.fragile.
1981
1982         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
1983         moving_arg parameter as the data is stored in runparams.fragile.
1984
1985         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
1986         a fragile parameter as the data is stored in runparams.fragile.
1987
1988 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
1989
1990         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
1991
1992 2003-05-22  Angus Leeming  <leeming@lyx.org>
1993
1994         * latexrunparams.h: add a 'bool nice' which defaults to false.
1995
1996         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
1997         now encapsulated within runparams.
1998
1999         * bufferlist.C (updateIncludedTeXfiles):
2000         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
2001
2002 2003-05-22  Angus Leeming  <leeming@lyx.org>
2003
2004         * latexrunparams.h: new file containing struct LatexRunParams.
2005         * Makefile.am: add new file.
2006
2007         * LaTeX.[Ch] (c-tor, run):
2008         * buffer.[Ch] (makeLaTeXFile):
2009         * bufferlist.[Ch] (updateIncludedTeXfiles):
2010         * converter.C (convert, scanLog):
2011         * converter.[Ch] (runLaTeX):
2012         * exporter.C (Export):
2013         * paragraph.[Ch] (simpleTeXOnePar):
2014         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
2015         * paragraph_funcs.[Ch] (latexParagraphs):
2016         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
2017         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
2018         pass around a LatexRunParams parameter.
2019
2020 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
2021
2022         * paragraph.[Ch]: remove unused constructor
2023
2024         * ParagraphList.C (erase): new function, taking two iterators
2025
2026 2003-05-22  André Pönitz  <poenitz@gmx.net>
2027
2028         * undo_funcs.C: remove duplicated code
2029
2030         * iterator.[Ch]: operator=
2031
2032 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
2033
2034         * tabular.C (SetMultiColumn): ws changes
2035
2036         * rowpainter.C (paintFirst): get rid of a ->previous
2037
2038         * lyx_cb.C (getPossibleLabel): parlist simplification
2039
2040         * BufferView.C (ChangeInsets): simplify slightly.
2041
2042 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2043
2044         * LyXAction.C: new lfun space-insert, kill protected-space-insert
2045         * lfuns.h: new LFUN_SPACE
2046         * lyxfunc.C: protected space has a new lfun
2047         * paragraph_funcs.C: read new space insets
2048         * text3.C:
2049         * factory.C: handle new space insets
2050
2051 2003-05-22  André Pönitz  <poenitz@gmx.net>
2052
2053         * BufferView.C:
2054         * BufferView_pimpl.C:
2055         * buffer.[Ch]:
2056         * lyxfunc.C:
2057         * undo_funcs.C: return a ParIterator from getParFromID.
2058
2059         * iterators.[Ch]: add two const's
2060
2061 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
2062
2063         * toc.C (getTocList): adjust
2064
2065         * iterators.[Ch]: rework for parlist
2066
2067         * buffer.C (par_iterator_begin): adjust
2068         (par_iterator_end): adjust
2069
2070         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
2071
2072         * BufferView.C (removeAutoInsets): adjust
2073         (ChangeInsets): adjust
2074
2075 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
2076
2077         * text.C (top_y): fix bug 1110
2078
2079 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
2080
2081         * errorlist.[Ch]: added
2082         * buffer.C:
2083         * BufferView.[Ch]:
2084         * BufferView_pimpl.C:
2085         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
2086         instead
2087
2088 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
2089
2090         * Makefile.am: ensure that lyx is relinked upon changes to the
2091         various "convenience" libs.
2092
2093 2003-05-20  Angus Leeming  <leeming@lyx.org>
2094
2095         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
2096         files are compiled in alphabetical order again.
2097
2098         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
2099
2100 2003-05-19  Angus Leeming  <leeming@lyx.org>
2101
2102         * gettext.[Ch]: remove "char const * _(char const *)".
2103
2104 2003-05-19  André Pönitz  <poenitz@gmx.net>
2105
2106         * dimension.[Ch]: promote from mathed/dimension.[Ch]
2107
2108         * Makefile.am:
2109         * BufferView.C:
2110         * DepTable.h:
2111         * LaTeXFeatures.C:
2112         * buffer.C:
2113         * lyxfont.C:
2114         * lyxlex.h:
2115         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
2116
2117 2003-05-19  André Pönitz  <poenitz@gmx.net>
2118
2119         * buffer.C:
2120         * lyxlayout.[Ch]:
2121         * lyxtextclass.[Ch]:
2122         * paragraph.C:
2123         * paragraph_funcs.[Ch]:
2124         * text2.C:
2125         * text3.C: more insetenv work
2126
2127 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
2128
2129         * ParagraphParameters.C (params2string): small bug fixed
2130
2131 2003-05-16  André Pönitz  <poenitz@gmx.net>
2132
2133         * debug.C:
2134         * bufferview_funcs.C: patch from Kornel Benko to prevent
2135           crash when _(...) is called twice in a statement
2136
2137 2003-05-16  André Pönitz  <poenitz@gmx.net>
2138
2139         * BufferView.C:
2140         * lyxfunc.C:
2141         * text.C:
2142         * text2.C:
2143         * text3.C:
2144         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
2145
2146 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
2147
2148         * lyx_main.C (init): remove spurious static_cast
2149
2150 2003-05-14  André Pönitz  <poenitz@gmx.net>
2151
2152         * BufferView.C: fix format string
2153
2154 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
2155
2156         * BufferView.[Ch] (insertErrors): removed
2157         * BufferView.[Ch] (showErrorList): added
2158         * buffer.C (runChkTeX):
2159         * converter.C (scanLog): call showErrorList instead of inserterrors
2160
2161 2003-05-13  André Pönitz  <poenitz@gmx.net>
2162
2163         * BufferView_pimpl.C:
2164         * buffer.C:
2165         * bufferview_func.C:
2166         * MenuBackend.C:
2167         * lyxfunc.C:
2168         * lyxrc.C:
2169         * tex-accent.C:
2170         * text3.C:
2171         * toc.C:
2172         * tabular_funcs.h: tostr() from its own header
2173
2174         * ParagraphParameters.C:
2175         * ToolbarBackend.C:
2176         * bufferparams.C:
2177         * format.C:
2178         * lyxlex_pimpl.C:
2179         * text3.C: STRCONV()
2180
2181 2003-05-12  André Pönitz  <poenitz@gmx.net>
2182
2183         * BufferView.C:
2184         * BufferView_pimpl.C:
2185         * CutAndPaste.C:
2186         * LaTeX.C:
2187         * LaTeXFeatures.C:
2188         * ParagraphParameters.C:
2189         * buffer.C:
2190         * bufferlist.C:
2191         * bufferparams.C:
2192         * bufferview_funcs.C:
2193         * converter.C:
2194         * counters.C:
2195         * debug.C:
2196         * exporter.C:
2197         * format.C:
2198         * importer.C:
2199         * lyx_cb.C:
2200         * lyx_main.C:
2201         * lyxfont.C:
2202         * lyxfunc.C:
2203         * lyxvc.C:
2204         * paragraph.C:
2205         * paragraph_funcs.C:
2206         * tabular.C:
2207         * tabular_funcs.C:
2208         * text2.C:
2209         * text3.C:  boost::format -> bformat  all over the place
2210
2211
2212 2003-05-09  André Pönitz  <poenitz@gmx.net>
2213
2214         * LColor.[Ch]: Pimpl the #include <map> away
2215
2216 2003-05-09  John Levon  <levon@movementarian.org>
2217
2218         * bufferlist.C: never remove emergency saves
2219
2220 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
2221
2222         * Makefile.am: better lib building
2223
2224 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
2225
2226         * texrow.[Ch]: remove dependency on Paragraph and just store a id
2227         instead.
2228         * paragraph_pimpl.C (simpleTeXBlanks): adjust
2229         (simpleTeXSpecialChars): adjust
2230         (simpleTeXSpecialChars): adjust
2231         * paragraph.C (simpleTeXOnePar): adjust
2232         * buffer.C (makeLaTeXFile): adjust
2233
2234         * Makefile.am (BOOST_LIBS): allow boost as system lib.
2235
2236         * text2.C (changeDepth): parlist cleanup
2237         (getColumnNearX): ditto
2238
2239         * rowpainter.C (getLabelFont): parlist cleanup
2240
2241         * bufferlist.C (newFile): parlist cleanup
2242
2243         * CutAndPaste.C (eraseSelection): parlist cleanup
2244
2245         * BufferView_pimpl.C (trackChanges): parlist cleanup
2246         (dispatch): ditto
2247
2248         * BufferView.C (lockInset): parlist cleanup.
2249         (ChangeInsets): ditto
2250
2251 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
2252
2253         * CutAndPaste.h: Update file header.
2254
2255         * CutAndPaste.C: Update file header.
2256         Store the parts cut out of the Document in a limited_stack.
2257         (copySelection): adjust
2258         (pasteSelection): new function, takes the index in the limited stack.
2259         (nrOfParagraphs): adjust
2260         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
2261         simplify error inset insertion.
2262         (checkPastePossible): adjust
2263
2264 2003-05-06  John Levon  <levon@movementarian.org>
2265
2266         * text2.C: don't cast wrap inset to float
2267
2268 2003-05-05  André Pönitz  <poenitz@gmx.net>
2269
2270         * iterator.C:
2271         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
2272
2273         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
2274           few naked Paragraph *.
2275
2276 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
2277
2278         * bufferparams.C: Output warning if a document with missing
2279         TeX document class is loaded
2280         * exporter.C: Disable TeX exports if the document class is missing
2281         * lyxtextclass.C:
2282         * lyxtextclass.h:
2283         * lyxtextclasslist.C: Handle new textclass.lst format; new method
2284         isTeXClassAvailable()
2285
2286 2003-05-03  John Levon  <levon@movementarian.org>
2287
2288         * BufferView.h:
2289         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
2290         explicit cursor show/hide
2291
2292         * BufferView_pimpl.h:
2293         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
2294         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
2295
2296         * lyxfunc.C: hide cursor before dispatching.
2297
2298         * lyx_cb.C:
2299         * lyxfind.C:
2300         * text.C:
2301         * text3.C: remove explicit cursor hides
2302
2303 2003-05-02  André Pönitz  <poenitz@gmx.net>
2304
2305         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
2306
2307         * undo_funcs.C:
2308         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
2309           linked lists
2310
2311         * text2.C: tiny whitespace
2312
2313 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
2314
2315         * undo_funcs.C: almost only ws changes.
2316
2317         * ParagraphList.C (splice): just return if pl is empty.
2318
2319 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
2320
2321         * ParagraphList.C (splice): new function.
2322
2323         * CutAndPaste.C (pasteSelection): use it
2324
2325 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2326
2327         * CutAndPaste.C (pasteSelection): remove the last next and
2328         previous from this file.
2329
2330 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2331
2332         * CutAndPaste.C (pasteSelection): more clean up, user proper
2333         ParagraphList functions for pasteing.
2334
2335         * ParagraphList.C (insert): new function, three arg insert
2336
2337 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2338
2339         * ParagraphList.C (insert): new function, three arg insert
2340
2341         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
2342         not on paragraphs.
2343
2344 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2345
2346         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
2347
2348 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2349
2350         * CutAndPaste.C (pasteSelection): remove some unneeded code.
2351
2352 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2353
2354         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
2355         (copySelection): clean up a bit.
2356         (pasteSelection): use make_pair
2357
2358         * ParagraphList.C (ParagraphList): implement copy constructor
2359         (operator=): implement, base on copy constructor.
2360         (assign): new func
2361
2362         * paragraph.C (erase): return a bool
2363
2364         * paragraph_pimpl.C (erasePos): remove function, move contents...
2365         (erase): ... here. Return a bool.
2366         (erase): call erase instead of erasePos.
2367
2368 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
2369
2370         * ParagraphList.h: define PitPosPair
2371         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
2372         ParagraphList, fix a bug on pasting multiple pars
2373         * text2.C: change interface to C&P
2374
2375 2003-04-30  André Pönitz  <poenitz@gmx.net>
2376
2377         * undo_func.C: revert part of yesterday's patch 2
2378
2379 2003-04-30  John Levon  <levon@movementarian.org>
2380
2381         * LColor.C: s/tabular/table/
2382
2383 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
2384
2385         * text3.C (dispatch): do not convert iterator -> pointer
2386         * undo_funcs.C (setCursorParUndo): ditto
2387         * text_funcs.C (transposeChars): ditto
2388
2389         * text2.C (setLayout): ws changes only
2390
2391         * text.C (breakParagraph): do not convert iterator -> pointer
2392         (insertChar): ditto
2393         (acceptChange): ditto
2394         (rejectChange): ditto
2395         (changeCase): ditto
2396         (Delete): ditto
2397         (backspace): ditto
2398
2399         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
2400         pointer
2401
2402 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
2403
2404         * text3.C (gotoInset): YABG (yet another bad getChar)
2405
2406 2003-04-29  André Pönitz  <poenitz@gmx.net>
2407
2408         * paragraph.h: make operator= private unimplemented as long as
2409           it is unusable
2410
2411         * ParagraphList.C: whitespace
2412
2413         * paragraph.[Ch]:
2414         * paragraph_pimpl.[Ch]:
2415         * paragraph_funcs.C:
2416         * CutAndPaste.C:
2417         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
2418
2419         * text2.C:
2420           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
2421
2422 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
2423
2424         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
2425         * paragraph.[Ch] (erase):
2426         * paragraph_pimpl.[Ch] (erase): change return type and value
2427         * text2.C (cutSelection): some rework
2428
2429 2003-04-28  John Levon  <levon@movementarian.org>
2430
2431         * bufferlist.C: changes for unsaved changes dialog
2432
2433 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2434
2435         * bufferlist.C (newFile): set language (messages_) for new
2436         documents also.
2437
2438         * buffer.C (readFile): ws changes only.
2439
2440 2003-04-28  André Pönitz  <poenitz@gmx.net>
2441
2442         * undo_funcs.C:
2443         * lyxfunc.C:
2444         * buffer.[Ch]:
2445         * BufferView_pimpl.C:
2446         * BufferView.C: getParFromID related ParagraphList::iterator changes
2447
2448 2003-04-28  André Pönitz  <poenitz@gmx.net>
2449
2450         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
2451           Changes
2452
2453 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2454
2455         * messages.C: remove one more localedir class variable.
2456
2457 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2458
2459         * messages.C (getLocaleDir): singleton generation function
2460         (Pimpl): use it.
2461         (Messages): add a default constructor.
2462
2463         * main.C (main): do not setup localedir here, do not call
2464         gettext_init.
2465
2466         * gettext.C (_): use it.
2467         (gettext_init): delete funciton
2468
2469 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
2470
2471         * gettext.C (getLyXMessages): new singleton generating function.
2472
2473         * buffer.C (updateDocLang): adjust
2474
2475         * Makefile.am (messages.o): add target
2476         (main.o): remove target
2477
2478 2003-04-27  John Levon  <levon@movementarian.org>
2479
2480         * bufferlist.C:
2481         * lyx_cb.C:
2482         * lyxfunc.C:
2483         * lyxvc.C: specify cancel button in Alert::prompt
2484
2485 2003-04-26  John Levon  <levon@movementarian.org>
2486
2487         * text3.C:
2488         * lyxfunc.C:
2489         * lfuns.h:
2490         * LyXAction.C: add LFUN_INSET_SETTINGS
2491
2492         * lyxfunc.C: don't enable tabular-feature when there's
2493         just any locking inset
2494
2495 2003-04-26  John Levon  <levon@movementarian.org>
2496
2497         * bufferlist.C: re-add Cancel to buffer close question
2498
2499         * lyxfunc.C: fix import UI a bit
2500
2501 2003-04-25  John Levon  <levon@movementarian.org>
2502
2503         * gettext.C: remove the broken asserts for now
2504
2505 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2506
2507         * messages.C: make case where setlocale cannot comply work better.
2508
2509         * buffer.C (updateDocLang): new function
2510         (changeLanguage): use it
2511         (readFile): use it
2512
2513         * text2.C (setCounter): use B_ a bit.
2514
2515         * lyxlayout.C (Read): be sure to trim the label strings.
2516
2517         * messages.C (Messages): fix typo in comment
2518
2519         * buffer.C (readFile): set message_ after file is loaded.
2520         (makeDocBookFile): remove double return
2521         (changeLanguage): reset message_ upon language change.
2522         (B_): new func, use this to get translated buffer strings.
2523
2524         * main.C: add myself and Jean Marc as authors.
2525
2526 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
2527
2528         * messages.[hC]: pimplify Messages, and three different pimpls to be
2529         used in different circumstances.
2530
2531         * gettext.[Ch]: change for use with new message code.
2532
2533 2003-04-24 André Pönitz <poenitz@gmx.net>
2534
2535         * factory.C: support for eqref
2536
2537 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
2538
2539         * messages.[Ch]: add missing char
2540
2541         * Makefile.am (lyx_SOURCES): add messages.[Ch]
2542
2543         * messages.[Ch]: New files
2544
2545 2003-04-18  John Levon  <levon@movementarian.org>
2546
2547         * BufferView.h:
2548         * BufferView.C:
2549         * BufferView_pimpl.C:
2550         * lfuns.h:
2551         * LyXAction.C:
2552         * lyxtext.h:
2553         * text2.C: remove layout-copy/paste (bug 778)
2554
2555 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
2556
2557         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
2558
2559 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
2560
2561         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
2562         if they succeed. Act accordingly.
2563
2564 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2565
2566         * text2.C (setCharFont): adjust
2567         (setCounter): adjust
2568         (insertStringAsLines): adjust
2569
2570         * text.C (leftMargin): adjust
2571         (setHeightOfRow): adjust
2572
2573         * rowpainter.C (paintFirst): adjust
2574         (paintLast): adjust
2575
2576         * paragraph_funcs.C (depthHook): ParagraphList::iterators
2577         (outerHook): ditto
2578         (isFirstInSequence): ditto
2579         (getEndLabel): ditto
2580         (outerFont): adjust
2581
2582         * paragraph.C (getParLanguage): comment out some hard stuff.
2583
2584         * buffer.C (insertStringAsLines): take a ParagraphList as arg
2585         (sgmlError): ditto
2586         (simpleDocBookOnePar): ditto
2587         (makeDocBookFile): use ParagraphList::iterator
2588
2589         * CutAndPaste.C (pasteSelection): adjust
2590
2591 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2592
2593         * text2.C (getFont): adjust
2594         (getLayoutFont): adjust
2595         (getLabelFont): adjust
2596
2597         * paragraph_funcs.C (TeXOnePar): adjust
2598
2599         * buffer.C (simpleLinuxDocOnePar): adjust
2600         (simpleDocBookOnePar): adjust
2601
2602         * CutAndPaste.C (pasteSelection): adjust
2603
2604         * BufferView.C (getEncoding): adjust
2605
2606         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
2607
2608 2003-04-16  John Levon  <levon@movementarian.org>
2609
2610         * lyxfind.C: use parlist stuff for search/changes
2611
2612 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2613
2614         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
2615
2616         * text2.C (deleteEmptyParagraphMechanism): adjust
2617
2618         * text2.[Ch] (ownerParagraph): delete func (both of them
2619
2620 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
2621
2622         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
2623
2624 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
2625
2626         * ParagraphList.C: prepare for NO_NEXT
2627
2628 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
2629
2630         * text2.C (getFont): adjust
2631         (getLayoutFont): adjust
2632         (getLabelFont): adjust
2633
2634         * paragraph.C (getFont): adjust
2635         (getLabelFont): adjust
2636         (getLayoutFont): adjust
2637
2638         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
2639
2640 2003-04-15  John Levon  <levon@movementarian.org>
2641
2642         From Angus Leeming
2643
2644         * lyx_main.C: handle Include in .ui files
2645
2646 2003-04-15  John Levon  <levon@movementarian.org>
2647
2648         * MenuBackend.C: make the doc files length shorter
2649
2650         * ToolbarBackend.h:
2651         * ToolbarBackend.C: handle toolbar placement flags,
2652         Minibuffer
2653
2654 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
2655
2656         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
2657         adjust
2658
2659         * paragraph_funcs.C (TeXOnePar): adjust
2660
2661         * paragraph.C (getLabelFont): add outerfont arg, adjust
2662         (getLayoutFont): ditto
2663         (simpleTeXOnePar): adjust
2664
2665         * paragraph_pimpl.C (realizeFont): delete func
2666
2667 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
2668
2669         * text2.C (beforeFullRowInset): added a bad getchar check, removed
2670         row argument, constify cur argument.
2671
2672 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
2673
2674         * text2.C (getFont): adjust
2675         (getLayoutFont): adjust
2676         (getLabelFont): adjust
2677
2678         * paragraph_funcs.C (TeXOnePar): adjust
2679         (outerFont): new func...
2680         (realizeFont): ...moved out from here, changed this to facilitate
2681         transition
2682
2683         * paragraph.C (getFont): take outerfont as arg, adjust
2684         (simpleTeXOnePar): add outerfont arg, adjust
2685
2686         * buffer.C (simpleLinuxDocOnePar): adjust
2687         (simpleDocBookOnePar): adjust
2688
2689         * CutAndPaste.C (pasteSelection): adjust
2690
2691         * BufferView.C (getEncoding): adjust
2692
2693 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
2694
2695         * text2.C (setCharFont): adjust
2696         (setCounter): adjust
2697
2698         * text.C (leftMargin): adjust
2699         (setHeightOfRow): adjust
2700
2701         * rowpainter.C (paintFirst): adjust
2702         (paintLast): adjust
2703
2704         * paragraph_pimpl.C (realizeFont): adjust
2705
2706         * paragraph.C (isFirstInSequence): move from here...
2707         * paragraph_funcs.C (isFirstInSequence): ...to here
2708
2709         * paragraph.C (outerHook): move from here...
2710         * paragraph_funcs.C (outerHook): ...to here
2711
2712         * paragraph.C (depthHook): move from here...
2713         * paragraph_funcs.C (depthHook): ...to here
2714
2715         * paragraph.C (getEndLabel): move from here...
2716         * paragraph_funcs.C (getEndLabel): ...to here
2717
2718         * text2.C (realizeFont): move from here...
2719         * paragraph_funcs.C (realizeFont): ...to here
2720
2721 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
2722
2723         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
2724
2725 2003-04-14  Angus Leeming  <leeming@lyx.org>
2726
2727         * LColor.[Ch]: scrap LColor mathcursor.
2728
2729 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
2730
2731         * lyxlex.[Ch] (text): delete function
2732         * trans.C (Load): adjust
2733         * paragraph_funcs.C (readParToken): adjust
2734
2735 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
2736
2737         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
2738         vector<char> instead of a char[].
2739
2740         * lyxlex_pimpl.C (getString): adjust
2741         (next): adjust
2742         (lex): use getString
2743         (eatLine): adjust
2744         (nextToken): adjust
2745
2746         * lyxlex.C (text): use pimpl_->getString()
2747         (getBool): ditto
2748         (findToken): ditto
2749
2750 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
2751
2752         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
2753         (makeFontEntriesLayoutSpecific): temp var for par.size()
2754         (setLayout): temp var for ownerParagraphs().end()
2755         (fullRebreak): temp var for rows().end()
2756         (selectionAsString): temp var for boost::next(startpit), realize
2757         that the while really is a regular for loop.
2758         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
2759         setCursor in one place.
2760         (setParagraph): temp vr for ownerParagraphs().end()
2761         (updateCounters): make the while loop a for loop
2762         (cutSelection): temp var for ownerParagraphs().end()
2763         (updateInset): make the do {} while() a regular for loop
2764         (getCursorX): use temp vars
2765         (setCurrentFont): use temp vars
2766         (getColumnNearX): use temp vars
2767
2768 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
2769
2770         * text.C (transformChar): use temp var for getChar
2771         (computeBidiTables): use temp var for row->par()
2772         (fill): move temp vars for row->par() and pit->layout() earlier in
2773         the function.
2774         (labelFill): use temp var for row->par()
2775         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
2776         asc and desc, realize that pit never changes and that firstpit is
2777         just a duplicate and not needed. Exchange rit->par() with pit in a
2778         lot of places.
2779         (breakAgain): use a temp var for boost::next(rit)
2780         (breakAgainOneRow): ditto
2781         (breakParagraph): use a temp var for rows().begin()
2782         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
2783         (cursorRightOneWord): use temp var for cursor.par() and
2784         cursor.pos(), remove usage of tmpcursor.
2785         (cursorLeftOneWord): use temp var for cursor.par() and
2786         cursor.pos() only set cur at end of function.
2787
2788 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
2789
2790         * text.C, text2.C: exchange all usage of Paragraph::next with
2791         boost::next(ParagraphList::iterator)
2792
2793         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
2794
2795         * text2.C (cursorTop): simplify implementation
2796         (cursorBottom): ditto
2797         (setParagraph): use ParagraphList::iterator
2798         (setCurrentFont): adjust
2799         (getColumnNearX): adjust
2800         (cursorRight): adjust
2801         (cursorLeft): remove usage of Paragraph::previous
2802         (cursorUpParagraph): ditto
2803         (deleteEmptyParagraphMechanism): slight cleanup
2804
2805         * text.C (isBoundary): take a Paragraph const & instead of a
2806         pointer as arg.
2807         (addressBreakPoint): ditto
2808         (leftMargin): remove usage of Paragraph::previous.
2809         (setHeightOfRow): ditto
2810         (cursorLeftOneWord): ditto
2811         (selectNextWordToSpellcheck): ditto
2812         (Delete): ditto
2813         (backspace): ditto
2814         (breakParagraph): remove one usage of Paragraph::next
2815         (redoParagraph): ditto
2816         (acceptChange): ditto
2817         (insertChar): adjust
2818         (rowBreakPoint): adjust
2819
2820         * bufferview_funcs.C (toggleAndShow): adjust
2821
2822 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
2823
2824         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
2825         methods to access it.
2826         * lyxtext.h:
2827         * text.C: Added updateRowPositions to compute all row positions.
2828         Make top_y and getRowNearY() to use the cached y position
2829
2830 2003-04-11  John Levon  <levon@movementarian.org>
2831
2832         * text.C (rowBreakPoint): reintroduce the labelEnd
2833         checks, code copied from the row fill stuff. Deep voodoo.
2834
2835         * text.C (fill): add a comment and debugging for the
2836         next poor soul.
2837
2838 2003-04-11  John Levon  <levon@movementarian.org>
2839
2840         * text.C: make sure fullrow insets get wrapped to the next line,
2841         even when they're in a manual label
2842
2843 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
2844
2845         * text2.C (insertParagraph): make it take ParagraphList::iterator
2846         as arg.
2847         (setLayout): make it return ParagraphList::iterator
2848         (redoParagraphs): ditto
2849         (setCounter): ditto
2850         (checkParagraph): ditto
2851
2852         * text.C (getRow): make getrow take ParagraphList::iterator as arg
2853
2854         * text2.C: adjust several funcs.
2855         (realizeFont): take a ParagraphList::iterator as arg.
2856         (getLayoutFont): ditto
2857         (getLabelFont): ditto
2858         (setCharFont): ditto
2859
2860         * text.C: adjust several funcs.
2861
2862 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
2863
2864         * text.C (selectNextWordToSpellcheck): don't accidentally
2865         skip insets
2866
2867 2003-04-10  John Levon  <levon@movementarian.org>
2868
2869         * ToolbarBackend.C (getIcon): special handling for
2870         LFUN_MATH_DELIM
2871
2872 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
2873
2874         * text2.C (cursorRight): a getChar assert fixed
2875
2876 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
2877
2878         * text2.C (getFont): change to take a ParagraphList::iterator
2879         instead of Paragraph*
2880         Adjust several functions.
2881
2882         * text.C (transformChar): change to take a ParagraphList::iterator
2883         instead of Paragraph*
2884         (singleWidth): ditto
2885         Adjust several functions.
2886
2887         * rowpainter.C: adjust several functions
2888         * rowpainter.h:store a ParagraphList::iterator and not a
2889         Paragraph&.
2890
2891
2892 2003-04-09  John Levon  <levon@movementarian.org>
2893
2894         * lyxfunc.C:
2895         * lfuns.h:
2896         * LyXAction.h:
2897         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
2898         and the "help" bits as well
2899
2900 2003-04-09  John Levon  <levon@movementarian.org>
2901
2902         * ToolbarBackend.h:
2903         * ToolbarBackend.C: allow multiple toolbars
2904
2905 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
2906
2907         * undo_funcs.C (setCursorParUndo): adjust
2908
2909         * text_funcs.C (transposeChars): adjust
2910
2911         * text3.C (gotoNextInset): adjust
2912         (dispatch): adjust
2913
2914         * text2.C (setLayout): adjust
2915         (changeDepth): adjust
2916         (setFont): adjust
2917         (redoParagraphs): adjust
2918         (selectionAsString): adjust
2919         (setParagraph): adjust
2920         (insertInset): adjust
2921         (cutSelection): adjust
2922         (copySelection): adjust
2923         (pasteSelection): adjust
2924         (insertStringAsLines): adjust
2925         (updateInset): adjust
2926         (setCursor): change to take a ParagraphList::iterator parameter
2927         (setCursorIntern): change to take a ParagraphList::iterator parameter
2928         (setCurrentFont): adjust
2929         (cursorLeft): adjust
2930         (cursorRight): adjust
2931         (deleteEmptyParagraphMechanism): adjust
2932
2933         * text.C (breakParagraph): adjust
2934         (insertChar): adjust
2935         (acceptChange): adjust
2936         (rejectChange): adjust
2937         (selectNextWordToSpellcheck): adjust
2938         (changeCase): adjust
2939         (Delete): adjust
2940         (backspace): adjust
2941
2942         * lyxfind.C (SearchForward): adjust
2943         (SearchBackward): adjust
2944         (nextChange): adjust
2945
2946         * lyxcursor.C (par): adjust
2947
2948         * lyxcursor.h: store a ParagraphList::iterator instead of a
2949         Paragraph*
2950
2951         * lyx_cb.C (getPossibleLabel): adjust
2952
2953         * bufferview_funcs.C (toggleAndShow): adjust
2954
2955         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
2956         (dispatch): adjust
2957
2958         * BufferView.C (removeAutoInsets): adjust
2959         (lockedInsetStoreUndo): adjust
2960
2961 2003-04-09  John Levon  <levon@movementarian.org>
2962
2963         * ToolbarBackend.C: try icon without argument
2964         if with argument fails
2965
2966 2003-04-08  John Levon  <levon@movementarian.org>
2967
2968         * ToolbarBackend.h:
2969         * ToolbarBackend.C: add getIcon(), handle tooltip,
2970         and change from "Icon" to "Item".
2971
2972 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
2973
2974         * BufferView.C (lockInset): another bad getchar crunched
2975
2976 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
2977
2978         * text2.C (changeDepth): do not setUndo on test_only (make undo work
2979         again)
2980
2981 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
2982
2983         * lyxfind.C (searchForward, searchBackwards): bug 782
2984
2985 2003-04-07  John Levon  <levon@movementarian.org>
2986
2987         * paragraph.C: remove dead comment
2988
2989         * text.C: remove troublesome depth-fiddling code
2990         in leftMargin() and rightMargin() (bug 1017)
2991
2992         * text.C: fix breaking of rows in nested lists
2993         (bug 1004)
2994
2995         * text2.C (updateCounters): fix up depth values
2996         (bug 1013)
2997
2998 2003-04-07  John Levon  <levon@movementarian.org>
2999
3000         * BufferView_pimpl.C: clear message when doc finishes resizing,
3001         and after a mouse event
3002
3003         * lyxfunc.C: clear message after exiting inset
3004
3005 2003-04-07  John Levon  <levon@movementarian.org>
3006
3007         * bufferview_funcs.C: show math status not outside
3008         status in the statusbar
3009
3010 2003-04-07  John Levon  <levon@movementarian.org>
3011
3012         * lyxfunc.C: note status changed after a depth change
3013
3014 2003-04-04  Angus Leeming  <leeming@lyx.org>
3015
3016         * LaTeX.h: move AuxInfo operator==, != out of line.
3017         Remove LaTeX virtual destructor; nothing derives from it.
3018         Move operator()() out of public area and rename it startscript().
3019         Change protected for private.
3020
3021 2003-04-04  Angus Leeming  <leeming@lyx.org>
3022
3023         * lyxfunc.C:
3024         * text2.C: remove unneeded #includes.
3025
3026 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
3027
3028         * text2.C (dEPM): fix the heigth of the next row
3029
3030 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
3031
3032         * text.C: squashed an invalid getChar requester + some ws changes
3033
3034 2003-04-03  John Levon  <levon@movementarian.org>
3035
3036         * bufferview_funcs.h:
3037         * bufferview_funcs.C:
3038         * lyxfunc.C:
3039         * lyxtext.h:
3040         * text2.C: make getStatus work for the env depth lfuns
3041
3042 2003-04-03  John Levon  <levon@movementarian.org>
3043
3044         * bufferview_funcs.h:
3045         * bufferview_funcs.C:
3046         * lyxfunc.C:
3047         * lyxtext.h:
3048         * text2.C: parlistize decDepth(), by merging it with incDepth()
3049
3050 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
3051
3052         * lyxrow.h: store a ParagraphList::iterator instead of a
3053         Paragraph* and adjust other class functions to suit.
3054
3055         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
3056         above.
3057
3058 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
3059
3060         * text2.C (setCursor): do not anchor to cursor row for the time being
3061
3062 2003-04-02  John Levon  <levon@movementarian.org>
3063
3064         * LyXAction.C:
3065         * lfuns.h:
3066         * lyx_main.C:
3067         * lyxtext.h:
3068         * text.C:
3069         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
3070
3071 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3072
3073         * paragraph.h: make ParagraphList and ParagraphList::iterator
3074         friends of Paragraph.
3075
3076         * buffer.C (makeLinuxDocFile): move towards ParagraphList
3077
3078         * ParagraphList.C: Use the private next_ and previous_ from
3079         Paragraph.
3080
3081 2003-04-01  John Levon  <levon@movementarian.org>
3082
3083         * ToolbarBackend.h:
3084         * ToolbarBackend.C:
3085         * Makefile.am: rename, remove defaults gunk
3086
3087         * MenuBackend.h:
3088         * MenuBackend.C: remove defaults gunk
3089
3090         * Languages.h:
3091         * Languages.C: remove defaults gunk
3092
3093         * lyx_main.h:
3094         * lyx_main.C: error out if files couldn't be found.
3095
3096 2003-04-02  John Levon  <levon@movementarian.org>
3097
3098         * text2.C: make incDepth() use parlist
3099
3100 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3101
3102         * undo_funcs.C (firstUndoParagraph): adjust
3103
3104         * text3.C (gotoInset): adjust
3105         (dispatch): adjust, and rewrite loop.
3106
3107         * text2.C (init): adjust, and rewrite loop.
3108         (redoParagraphs): adjust
3109         (updateInset): adjust, and rewrite loop.
3110         (deleteEmptyParagraphMechanism): adjust
3111
3112         * tabular.C (LyXTabular): adjust
3113         (SetMultiColumn): adjust
3114         (TeXRow): adjust
3115
3116         * lyxtext.[Ch] (ownerParagraph): delete function
3117         (ownerParagraphs): new function returns a ParagraphList.
3118
3119         * BufferView.C (removeAutoInsets): adjust
3120         (insertErrors): adjust
3121         (setCursorFromRow): adjust
3122
3123 2003-04-01  Angus Leeming  <leeming@lyx.org>
3124
3125         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
3126         in the frontends.
3127
3128 2003-04-02  John Levon  <levon@movementarian.org>
3129
3130         * lyxtext.h:
3131         * text.C:
3132         * Makefile.am:
3133         * text_funcs.h:
3134         * text_funcs.C: make transposeChars a free function
3135
3136         * lyxrow_funcs.C: remove wrong comment
3137
3138 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3139
3140         * lyxtext.h: adjust
3141         * rowpainter.C: adjust
3142         * text.C: adjust
3143         * text2.C: adjust
3144         * text3.C: adjust
3145
3146         * lyxrow_funcs. [Ch]: new files
3147
3148         * lyxrow.[Ch]: remove next and previous pointers
3149         (next,previous): remove accessor functions
3150         (isParEnd): move to lyxrow_funcs
3151         (lastPos): move to lyxrow_funcs
3152         (nextRowIsAllInset): move to lyxrow_funcs
3153         (lastPrintablePos): move to lyxrow_funcs
3154         (numberOfSeparators): move to lyxrow_funcs
3155         (numberOfHfills): move to lyxrow_funcs
3156         (numberOfLabelHfills): move to lyxrow_funcs
3157         (hfillExpansion): move to lyxrow_funcs
3158
3159         * lyxfunc.C: adjust
3160
3161         * bufferview_funcs.C (toggleAndShow): adjust
3162
3163         * RowList.h: Remove class RowList from file leave just a
3164         std::list<Row>.
3165
3166         * RowList.C: delete file
3167
3168         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
3169         and lyxrow_funcs.h
3170
3171 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3172
3173         * text3.C (cursorPrevious): adjust
3174         (cursorNext): adjust
3175         (dispatch): adjust
3176
3177         * text2.C (redoHeightOfParagraph): adjust
3178         (redoDrawingOfParagraph): adjust
3179         (setCursor): adjust
3180
3181         * text.C (breakParagraph): adjust
3182         (insertChar): adjust
3183         (backspace): adjust
3184
3185         * rowpainter.C (RowPainter): adjust
3186         (leftMargin): simplify and adjust
3187         (most rowpainter functions): adjust.
3188
3189         * rowpainter.h: store the row as RowList::iterator not as Row*
3190
3191         * lyxcursor.C (row): taka RowList::iterator as arg
3192         (irow): ditto
3193
3194         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
3195         of Row*.
3196
3197 2003-04-01  Angus Leeming  <leeming@lyx.org>
3198
3199         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
3200         stuff like bool Bool.
3201
3202 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
3203
3204         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
3205         rewrite a loop
3206
3207 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3208
3209         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
3210         RowList::iterator.
3211
3212         * lyxtext.h (rows): drop one version and leve a const variant that
3213         returns a RowList::iterator.
3214
3215 2003-03-31  Angus Leeming  <leeming@lyx.org>
3216
3217         * text.C (fill): ensure that the signature is the same as that in the
3218         header file.
3219
3220 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
3221
3222         * text2.C (redoParagraphs): adjust
3223         (updateCounters): adjust
3224         (checkParagraph): adjust
3225         (getColumnNearX): adjust and reformat a bit.
3226
3227         * text.C (top_y): adjust
3228         (workWidth): adjust
3229         (leftMargin): adjust
3230         (prepareToPrint): adjust
3231         (getRow): adjust
3232         (getRowNearY): adjust
3233
3234         * lyxtext.h: make rowlist_ mutable.
3235
3236         * RowList.h: add const_iterator
3237         * RowList.C: adjust for RowList::const_iterator.
3238
3239         * text2.C (getCursorX): make it take a RowList::iterator as arg,
3240         adjust.
3241
3242 2003-03-31  John Levon  <levon@movementarian.org>
3243
3244         * lyxrc.h:
3245         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
3246
3247         * lyx_main.C: set default fonts from using lyx_gui funcs
3248
3249         * exporter.C: pdf_mode moved from lyxrc
3250
3251         * lyx_cb.C:
3252         * lyxfunc.C: changes from above
3253
3254 2003-03-31  John Levon  <levon@movementarian.org>
3255
3256         * lyx_main.C: fix to the last fix
3257
3258 2003-03-31  John Levon  <levon@movementarian.org>
3259
3260         * bufferlist.C: "Load original" -> "Load Original"
3261
3262         * converter.C:
3263         * exporter.C:
3264         * importer.C:
3265         * lyx_main.C:
3266         * format.C: more Alert cleanups
3267
3268 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
3269
3270         * text2.C (removeParagraph): make it take a RowList::iterator as
3271         arg, adjust.
3272         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
3273         (postRowPaint): make it take a RowList::iterator as arg, adjust.
3274
3275         * text.C (anchor_row): make it take a RowList::iterator as arg,
3276         adjust.
3277         (computeBidiTables): make it take a const reference to Row instead
3278         of Row pointer, adjust.
3279         (leftMargin): make it take a RowList::iterator as arg, adjust.
3280         (rowBreakPoint): adjust
3281         (breakAgainOneRow): make it take a RowList::iterator as arg,
3282         adjust.
3283         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
3284
3285         * bufferview_funcs.C (toggleAndShow): adjust
3286
3287 2003-03-30  John Levon  <levon@movementarian.org>
3288
3289         * Makefile.am:
3290         * BoostFormat.h:
3291         * boost-inst.C: moved to support
3292
3293         * several files: changes as a result
3294
3295 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
3296
3297         * text2.C (LyXText): adjust.
3298         (init): adjust
3299         (removeRow): make it take a RowList::iterator as arg, adjust.
3300         (fullRebreak): adjust
3301         (deleteEmptyParagraphMechanism): adjust
3302         (clearPaint): adjust
3303         (postPaint): adjust
3304
3305         * text.C (top_y): adjust
3306         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
3307         (breakAgain): make it take a RowList::iterator as arg, adjust.
3308         (breakParagraph): adjust
3309         (insertChar): adjust
3310         (backspace): adjust
3311
3312         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
3313         need_break_row, and refresh_row.
3314
3315         * text3.C (dispatch): adjust
3316
3317         * text2.C (checkParagraph): adjust
3318         (setCursor): adjust
3319         (setCursorFromCoordinates): adjust
3320
3321         * text.C (top_y): adjust
3322         (workWidth): adjust
3323         (getRow): make it return a RowList::iterator, adjust
3324         (getRowNearY): make it return a RowList::iterator, adjust
3325
3326         * text2.C (init): adjust
3327         (insertRow): remove function
3328         (insertParagraph): adjust
3329         (redoParagraphs): adjust
3330         (fullRebreak): adjust
3331         (updateCounters): adjust
3332
3333         * text.C (top_y): rewrite to use RowList iterators.
3334         (top_y): adjust
3335         (setHeightOfRow): rewrite to sue RowList iterators.
3336         (appendParagraph): adjust
3337         (breakAgain): adjust
3338         (breakAgainOneRow): adjust
3339         (breakParagraph): adjust
3340         (getRow): adjust
3341         (getRowNearY): adjust, and remove commented code.
3342
3343         * lyxtext.h (firstRow): delete function
3344         (lastRow): delete function
3345         (rows): new function (const and non-const versions.)
3346         (insertRow): delete function
3347
3348         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
3349
3350 2003-03-29  John Levon  <levon@movementarian.org>
3351
3352         * BufferView_pimpl.C: always update scrollbar top
3353         because pasting text when we're anchored could mean we
3354         miss an update altogether
3355
3356 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3357
3358         * text2.C (init): use rowlist_.end() and not 0.
3359         (insertRow): change to take a RowList::iterator as arg, adjust
3360         for this.
3361         (insertParagraph): change to take a RowList::iterator as arg,
3362         adjust for this.
3363         (redoParagraphs): remove some debug msgs.
3364
3365         * text.C (appendParagraph): change to take a RowList::iterator
3366         arg, adjust for this.
3367         (breakAgain): add an assert
3368         (breakAgainOneRow): ditto
3369
3370 2003-03-29  John Levon  <levon@movementarian.org>
3371
3372         * text2.C: do not clear selection after inc/decDepth
3373         (bug 550)
3374
3375 2003-03-29  John Levon  <levon@movementarian.org>
3376
3377         * BufferView.C:
3378         * buffer.C: fix broken strerrors according to Lars
3379
3380 2003-03-29  John Levon  <levon@movementarian.org>
3381
3382         * converters.C: more Alert cleanups
3383
3384 2003-03-29  John Levon  <levon@movementarian.org>
3385
3386         * bufferview_funcs.C: remove pointless Alert
3387
3388         * buffer.C: fix confusing error message when
3389         a template is chmoded 000
3390
3391 2003-03-29  John Levon  <levon@movementarian.org>
3392
3393         * BufferView.C:
3394         * BufferView.h:
3395         * BufferView_pimpl.C: Alert fixes
3396
3397         * Makefile.am:
3398         * tabular.C:
3399         * tabular-old.C: remove unused table compat reading
3400
3401 2003-03-29  John Levon  <levon@movementarian.org>
3402
3403         * BufferView.C:
3404         * buffer.C:
3405         * lyx_cb.h:
3406         * lyx_cb.C: more Alert cleanups
3407
3408         * lyxfunc.C: don't allow chktex if not latex document
3409
3410 2003-03-29  John Levon  <levon@movementarian.org>
3411
3412         * lyx_cb.C:
3413         * BufferView.C:
3414         * buffer.C: warnings pushed down from support/,
3415         kill err_alert
3416
3417 2003-03-29  John Levon  <levon@movementarian.org>
3418
3419         * lyxfunc.C: safety check for C-r (revert)
3420
3421 2003-03-29  John Levon  <levon@movementarian.org>
3422
3423         * bufferlist.h:
3424         * bufferlist.C: several UI fixes using Alert::prompt.
3425         Fix the pointless looping quit code. Fix stupid revert
3426         behaviour (bug 938)
3427
3428         * lyxvc.h:
3429         * lyxvc.C:
3430         * lyx_cb.C: use Alert::prompt
3431
3432         * lyx_main.C: remove a silly question
3433
3434         * lyxfunc.C: remove a couple of silly questions,
3435         use Alert::prompt
3436
3437 2003-03-28  John Levon  <levon@movementarian.org>
3438
3439         * text2.C: fix bug 974 (End on empty par)
3440
3441 2003-03-28  John Levon  <levon@movementarian.org>
3442
3443         * BufferView_pimpl.C:
3444         * LyXAction.C:
3445         * lfuns.h: remove do-nothing math greek lfuns
3446
3447 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
3448
3449         * lyxgluelength.h (isValidGlueLength): add default arg on
3450         parameter 2. Remove default arg from friend in class.
3451
3452         * lyxlength.h (isValidLength): add default arg on parameter 2.
3453         Remove default arg from friend in class.
3454
3455         * text2.C (LyXText): adjust, initialize refresh_row.
3456         (init): adjust
3457         (removeRow): adjust
3458         (insertRow): adjust
3459         (insertParagraph): adjst
3460         (redoParagraphs): adjust
3461         (fullRebreak): adjust
3462         (updateCounters): adjust
3463         (deleteEmptyParagraphMechanism): first attempt at fixing a
3464         crashing bug.
3465
3466         * text.C (top_y): adjust
3467         (setHeightOfRow): adjust
3468         (getRow): adjust
3469         (getRowNearY): adjust
3470
3471         * lyxtext.h: include RowList.h
3472         (~LyXText): not needed anymore, deleted.
3473         (firstRow): modify for RowList
3474         (lastRow): new function
3475         Delete firstrow and lastrow class variables, add a Rowlist
3476         rowlist_ class variable.
3477
3478         * lyxrow.C (lastPos): use empty() and not !size() to check if a
3479         paragraph is empty.
3480
3481         * RowList.C (insert): fix case where it == begin().
3482
3483 2003-03-26  Angus Leeming  <leeming@lyx.org>
3484
3485         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
3486         the thesaurus dialog.
3487
3488 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
3489
3490         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
3491
3492         * RowList.[Ch]: new files
3493
3494         * ParagraphList.C (erase): handle the case where it == begin
3495         correctly.
3496
3497 2003-03-25  John Levon  <levon@movementarian.org>
3498
3499         * Makefile.am:
3500         * aspell_local.h:
3501         * aspell.C: add new aspell support
3502
3503         * lyxrc.h:
3504         * lyxrc.C: Make use_pspell be use_spell_lib. Always
3505         have it accessible.
3506
3507 2003-03-25  Angus Leeming  <leeming@lyx.org>
3508
3509         * lfuns.h:
3510         * LyXAction.C (init): new LFUN_INSET_INSERT.
3511
3512         * BufferView_pimpl.C (dispatch): split out part of the
3513         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
3514
3515         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
3516         LFUN_INSET_APPLY.
3517
3518 2003-03-25  Angus Leeming  <leeming@lyx.org>
3519
3520         * lyxfunc.C (dispatch): changes to the Dialogs interface.
3521
3522 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
3523
3524         * text2.C:
3525         * text3.C: remove useless row->height(0)
3526
3527 2003-03-25  John Levon  <levon@movementarian.org>
3528
3529         * lyxtext.h:
3530         * text2.C:
3531         * text3.C: rename the refreshing stuff to better names
3532
3533 2003-03-24  John Levon  <levon@movementarian.org>
3534
3535         * BufferView_pimpl.h:
3536         * BufferView_pimpl.C: update layout choice on a mouse
3537         press/release
3538
3539 2003-03-23  John Levon  <levon@movementarian.org>
3540
3541         * Makefile.am: fix commandtags.h reference
3542
3543 2003-03-22  John Levon  <levon@movementarian.org>
3544
3545         * BufferView_pimpl.C:
3546         * lyxtext.h:
3547         * rowpainter.C:
3548         * rowpainter.h:
3549         * text.C:
3550         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
3551
3552 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
3553
3554         * lyxtext.h:
3555         * text.C: take the rtl methods out of line
3556
3557 2003-03-21 André Pönitz <poenitz@gmx.net>
3558
3559         * metricsinfo.[Ch]: new files containing structures to be passed around
3560         during the two-phase-drawing...
3561
3562 2003-03-21 André Pönitz <poenitz@gmx.net>
3563
3564         * lyxtextclass.C: read 'environment' tag.
3565
3566 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
3567
3568         * text2.C (removeRow): fix bug 964
3569
3570 2003-03-20  John Levon  <levon@movementarian.org>
3571
3572         * rowpainter.C:
3573         * text.C:
3574         * text2.C: paint cleanups. Inset::update() dropped font
3575         parameter
3576
3577 2003-03-19  John Levon  <levon@movementarian.org>
3578
3579         * lyxfunc.C: only fitcursor/markDirty if available()
3580
3581 2003-03-19  John Levon  <levon@movementarian.org>
3582
3583         * commandtags.h: rename to ...
3584
3585         * lfuns.h: ... this, and renumber / cleanup
3586
3587 2003-03-19  John Levon  <levon@movementarian.org>
3588
3589         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
3590         fit the cursor after an lfun
3591
3592         * BufferView.h:
3593         * BufferView.C:
3594         * BufferView_pimpl.h:
3595         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
3596
3597         * LyXAction.C: layout-character should have ReadOnly
3598
3599         * ParagraphParameters.C:
3600         * buffer.C:
3601         * bufferview_funcs.C:
3602         * lyx_cb.C:
3603         * lyxfind.C:
3604         * lyxtext.h:
3605         * text.C:
3606         * text2.C:
3607         * text3.C:
3608         * undo_funcs.C: changes from above
3609
3610 2003-03-18  John Levon  <levon@movementarian.org>
3611
3612         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
3613         remove it from update()
3614
3615         * lyxfunc.C: update layout choice after an lfun
3616
3617         * text3.C: remove extra updateLayoutChoice()s
3618
3619 2003-03-18  John Levon  <levon@movementarian.org>
3620
3621         * text.C: top_y change means full repaint, fix
3622         a drawing bug with cursor movement
3623
3624 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
3625
3626         * lyxtext.h:
3627         * text.C:
3628         * text2.C: anchor row on setCursor
3629
3630 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
3631
3632         * lyxtext.h: remove almost all mutable keywords
3633         * text.C:
3634         * text2.C:
3635         * text3.C: remove const keywords accordingly
3636
3637 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
3638
3639         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
3640         anon namespace
3641         (TeXEnvironment): ditto
3642         (TeXOnePar): ditto
3643
3644 2003-03-17  John Levon  <levon@movementarian.org>
3645
3646         * text.C (rowBreakPoint): remove attempt to fix displayed
3647         math insets inside a manual label
3648
3649 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
3650
3651         * lyxtext.h: remove BufferView* as first arg from almost all class
3652         functions.
3653         * other files: adjust.
3654
3655 2003-03-17  John Levon  <levon@movementarian.org>
3656
3657         * lyxtext.h:
3658         * undo_funcs.C:
3659         * text2.C: more paint cleanups
3660
3661         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
3662
3663         * rowpainter.h:
3664         * rowpainter.C: remove "smart" background painting code
3665
3666 2003-03-16  John Levon  <levon@movementarian.org>
3667
3668         * lyxtext.h:
3669         * text.C:
3670         * text2.C:
3671         * text3.C: add helper functions for setting refresh_row/y
3672
3673 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
3674
3675         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
3676         newline inset which *can* get inserted in the pass_thru layouts.
3677         This is primarily for literate documents.
3678
3679 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
3680
3681         * buffer.C: increment LYX_FORMAT to 223
3682
3683 2003-03-14 André Pönitz <poenitz@gmx.net>
3684
3685         * textclass.h: prepare for environment handling, ws changes
3686         * lyxlayout.C: read latexheader and latexfooter tags
3687
3688 2003-03-14  John Levon  <levon@movementarian.org>
3689
3690         * text2.C: rewrite ::status() a bit
3691
3692 2003-03-13  John Levon  <levon@movementarian.org>
3693
3694         * lyxtext.h: add some docs
3695
3696 2003-03-13  John Levon  <levon@movementarian.org>
3697
3698         * lyxtext.h:
3699         * text.C:
3700         * text2.C:
3701         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
3702
3703 2003-03-13  John Levon  <levon@movementarian.org>
3704
3705         * text3.C: fix appendix redrawing
3706
3707 2003-03-13  John Levon  <levon@movementarian.org>
3708
3709         * text.C (setHeightOfRow):
3710         * rowpainter.h:
3711         * rowpainter.C: make appendix mark have the text
3712           "Appendix" so the user knows what it is
3713
3714         * LColor.h:
3715         * LColor.C: s/appendixline/appendix/ from above
3716
3717 2003-03-13  John Levon  <levon@movementarian.org>
3718
3719         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
3720
3721         * text.C: fix a getChar(pos) bug properly
3722
3723 2003-03-13  Angus Leeming  <leeming@lyx.org>
3724
3725         * commandtags.h:
3726         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
3727         Probably only temporary. Let's see how things pan out.
3728
3729         * BufferView.C (unlockInset):
3730         * BufferView_pimpl.C (fitCursor):
3731         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
3732
3733         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
3734         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
3735
3736         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
3737         new functions that convert ParagraphParameters to and from a string.
3738
3739         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
3740         BufferView::Pimpl's dispatch.
3741         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
3742
3743 2003-03-13 André Pönitz <poenitz@gmx.net>
3744
3745         * lyxfunc.C:
3746         * text3.C:
3747         * factory.C: make it aware of InsetEnv
3748
3749 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3750
3751         * text2.C (setCursor): never ask for one past last
3752         (setCursor): add some debugging messages.
3753
3754         * text.C (singleWidth): never ask for one past last
3755         (singleWidth): ditto
3756         (leftMargin): ditto
3757         (rightMargin): ditto
3758         (rowBreakPoint): ditto
3759         (setHeightOfRow): ditto
3760         (prepareToPrint): ditto
3761
3762         * rowpainter.C (paintBackground): never ask for one past last
3763         (paintText): never ask for one past last
3764
3765         * paragraph_pimpl.C (getChar): make the assert stricter, never
3766         allow the one past last pos to be taken
3767
3768         * paragraph.C (getChar): ws changes only
3769
3770         * lyxrow.C (nextRowIsAllInset): never ask for one past last
3771         (numberOfSeparators): ditto
3772         (numberOfHfills): ditto
3773
3774 2003-03-12  John Levon  <levon@movementarian.org>
3775
3776         * author.h:
3777         * author.C:
3778         * bufferparams.h:
3779         * bufferparams.C:
3780         * paragraph_funcs.C: fix per-buffer authorlists
3781
3782 2003-03-12  John Levon  <levon@movementarian.org>
3783
3784         * text.C: fix newline in right address
3785
3786 2003-03-12  Angus Leeming  <leeming@lyx.org>
3787
3788         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
3789         duplicate those in LyXFunc::dispatch.
3790
3791         * commandtags.h:
3792         * LyXAction.C:
3793         * ToolbarDefaults.C:
3794         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
3795         Add LFUN_FONTFREE_UPDATE.
3796
3797         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
3798         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
3799
3800         * bufferview_func.[Ch]: several new functions to facilliate
3801         transfer of data to and from the character dialog.
3802
3803 2003-03-12  John Levon  <levon@movementarian.org>
3804
3805         * buffer.C:
3806         * paragraph.h:
3807         * paragraph.C:
3808         * paragraph_funcs.C:
3809         * paragraph_pimpl.C:
3810         * sgml.C:
3811         * tabular.C:
3812         * text.C:
3813         * text3.C: remove META_NEWLINE in favour of an inset
3814
3815         * rowpainter.h:
3816         * rowpainter.C: remove paintNewline (done by inset)
3817
3818 2003-03-12  John Levon  <levon@movementarian.org>
3819
3820         * paragraph_pimpl.C: complain about bad getChar()s
3821         for a while at least
3822
3823 2003-03-12  John Levon  <levon@movementarian.org>
3824
3825         * buffer.h:
3826         * buffer.C: move paragraph read into a separate function,
3827         a little renaming to reflect that.
3828
3829         * bufferparams.h:
3830         * bufferparams.C: remove the author_ids map, not necessary now
3831
3832         * factory.h:
3833         * factory.C: moved Buffer::readInset to here
3834
3835         * paragraph_funcs.h:
3836         * paragraph_funcs.C: readParagraph free function moved from
3837         buffer.C
3838
3839         * tabular.C: name change
3840
3841 2003-03-12  John Levon  <levon@movementarian.org>
3842
3843         * buffer.C:
3844         * ParagraphParameters.C: move par params input to
3845         a read() method
3846
3847         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
3848         behave like a normal read from the stream wrt reading
3849         a line vs. a \\token
3850
3851 2003-03-12  John Levon  <levon@movementarian.org>
3852
3853         * paragraph.C:
3854         * ParagraphParameters.h:
3855         * ParagraphParameters.C: move output code to a
3856         ::write() method
3857
3858 2003-03-12  John Levon  <levon@movementarian.org>
3859
3860         * BufferView.C (insertLyXFile):
3861         * buffer.h:
3862         * buffer.C:
3863         * tabular.C: use a parlist iterator for creating the
3864           document.
3865
3866 2003-03-12  John Levon  <levon@movementarian.org>
3867
3868         * buffer.C: make current_change static local not
3869           static file-scope
3870
3871 2003-03-12  John Levon  <levon@movementarian.org>
3872
3873         * buffer.C: fix insertStringAsLines for change tracking
3874
3875 2003-03-12  John Levon  <levon@movementarian.org>
3876
3877         * BufferView.C:
3878         * tabular.C:
3879         * buffer.h:
3880         * buffer.C:
3881         * bufferparams.h:
3882         * bufferparams.C: move author list into params. Rename some
3883           functions. Move the header reading into a separate token
3884           loop. Move the header token reading into BufferParams.
3885
3886 2003-03-12  John Levon  <levon@movementarian.org>
3887
3888         * changes.C: put debug inside lyxerr.debugging() checks
3889
3890 2003-03-11 André Pönitz <poenitz@gmx.net>
3891
3892         * factory.C: make it aware of InsetHFill
3893
3894 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
3895
3896         * buffer.C (latexParagraphs): move function from here...
3897         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
3898         args.
3899
3900 2003-03-10  Angus Leeming  <leeming@lyx.org>
3901
3902         * LyXAction.C (init): fix bug in poplating array with multiple entries
3903         with the same LFUN (spotted by JMarc).
3904
3905 2003-03-10  John Levon  <levon@movementarian.org>
3906
3907         * text.C:
3908         * text2.C: move getColumnNearX() near its
3909         only call site
3910
3911 2003-03-10  John Levon  <levon@movementarian.org>
3912
3913         * text.C: fix break before a minipage
3914
3915 2003-03-10  John Levon  <levon@movementarian.org>
3916
3917         * text.C: fix the last commit
3918
3919 2003-03-09  John Levon  <levon@movementarian.org>
3920
3921         * lyxtext.h:
3922         * text.C:
3923         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
3924         bug 365 (don't break before insets unless needed). Don't
3925         return a value > last under any circumstances.
3926
3927 2003-03-09  Angus Leeming  <leeming@lyx.org>
3928
3929         * BufferView_pimpl.C (trackChanges, dispatch): call
3930         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
3931
3932 2003-03-09  Angus Leeming  <leeming@lyx.org>
3933
3934         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
3935         than Dialogs::showAboutlyx().
3936
3937 2003-03-09  Angus Leeming  <leeming@lyx.org>
3938
3939         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
3940         than Dialogs::showTabularCreate().
3941
3942 2003-03-09  John Levon  <levon@movementarian.org>
3943
3944         * lyxtext.h:
3945         * text.C:
3946         * text2.C: 3rd arg to nextBreakPoint was always the same.
3947           Use references.
3948
3949 2003-03-08  John Levon  <levon@movementarian.org>
3950
3951         * lyxrow.C:
3952         * paragraph.C:
3953         * paragraph.h:
3954         * rowpainter.C:
3955         * text.C:
3956         * text2.C: Remove the "main" bit from the "main body"
3957           notion.
3958
3959 2003-03-08  John Levon  <levon@movementarian.org>
3960
3961         * text.C (leftMargin): The left margin of an empty
3962         manual label paragraph should not include the label width
3963         string length.
3964
3965         * text.C (prepareToPrint): don't attempt to measure hfills
3966         for empty manual label paragraphs - the answer should be 0
3967
3968 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
3969
3970         * CutAndPaste.C: remove commented code and reindent.
3971
3972 2003-03-08  John Levon  <levon@movementarian.org>
3973
3974         * lyxfunc.h:
3975         * lyxfunc.C: move reloadBuffer()
3976
3977         * BufferView.h:
3978         * BufferView.C: to here
3979
3980         * lyxvc.C: add comment
3981
3982         * vc-backend.h:
3983         * vc-backend.C: call bv->reload() to avoid
3984           getStatus() check on MENURELOAD
3985
3986 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
3987
3988         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
3989         to an old format .dep file.
3990
3991 2003-03-07  Angus Leeming  <leeming@lyx.org>
3992
3993         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
3994         when the LFUN_MOUSE_RELEASE should have been handled by
3995         inset->localDispatch.
3996
3997 2003-03-07  Angus Leeming  <leeming@lyx.org>
3998
3999         * BufferView_pimpl.C (dispatch):
4000         * LyXAction.C (init):
4001         * ToolbarDefaults.C (init):
4002         * commandtags.h:
4003         * lyxfunc.C (getStatus):
4004         remove LFUN_INSET_GRAPHICS.
4005
4006         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
4007
4008 2003-03-07  Angus Leeming  <leeming@lyx.org>
4009
4010         * commandtags.h:
4011         * LyXAction.C (init):
4012         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
4013
4014         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
4015
4016         * commandtags.h:
4017         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
4018
4019         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
4020         localDispatch method LFUN_INSET_DIALOG_UPDATE.
4021
4022 2003-03-07  Angus Leeming  <leeming@lyx.org>
4023
4024         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
4025         remove "ert".
4026
4027 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4028
4029         * ParagraphList.C (front): new function
4030         (back): implement
4031
4032 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
4033
4034         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
4035         and top_row_offset_. removed var first_y.
4036         * text.C (top_y):
4037         * text2.C (LyXText, removeRow):
4038         * text3.C:
4039         * BufferView_pimpl.C:
4040         use these methods instead of using first_y
4041
4042 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4043
4044         * text2.C (pasteSelection): adjust for checkPastePossible
4045
4046         * CutAndPaste.C: remove Paragraph * buf and replace with
4047         ParagraphList paragraphs.
4048         (DeleteBuffer): delete
4049         (cutSelection): change the tc type to textclass_type
4050         (copySelection): change the tc type to textclass_type
4051         (copySelection): adjust for ParagraphList
4052         (pasteSelection): change the tc type to textclass_type
4053         (pasteSelection): adjust for Paragraphlist
4054         (nrOfParagraphs): simplify for ParagraphList
4055         (checkPastePossible): simplify for ParagraphList
4056         (checkPastePossible): remove unused arg
4057
4058         * ParagraphList.C (insert): handle the case where there are no
4059         paragraphs yet.
4060
4061         * CutAndPaste.h: make CutAndPaste a namespace.
4062
4063         * text3.C (dispatch): adjust
4064
4065         * text.C (breakParagraph): add a ParagraphList as arg
4066
4067         * paragraph_funcs.C (breakParagraph): change to take a
4068         BufferParams and a ParagraphList as args.
4069         (breakParagraphConservative): ditto
4070         (mergeParagraph): ditto
4071         (TeXDeeper): add a ParagraphList arg
4072         (TeXEnvironment): ditto
4073         (TeXOnePar): ditto
4074
4075         * buffer.C (readLyXformat2): adjust
4076         (insertStringAsLines): adjust
4077         (latexParagraphs): adjust
4078
4079         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
4080         (cutSelection): adjust
4081         (pasteSelection): adjust
4082
4083         * BufferView_pimpl.C (insertInset): adjust
4084
4085 2003-03-05  Angus Leeming  <leeming@lyx.org>
4086
4087         * commandtags.h:
4088         * LyXAction.C (init):
4089         * BufferView_pimpl.C (dispatch):
4090         * lyxfunc.C (getStatus):
4091         remove LFUN_CHILD_INSERT.
4092
4093         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
4094
4095 2003-03-05  Angus Leeming  <leeming@lyx.org>
4096
4097         * commandtags.h:
4098         * LyXAction.C (init):
4099         * src/factory.C (createInset):
4100         * lyxfunc.C (getStatus):
4101         * text3.C (dispatch):
4102         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
4103
4104         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
4105
4106 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
4107
4108         * ParagraphList.C (insert): handle insert right before end()
4109         (erase): fix cases where it can be first or last paragraph.
4110
4111 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
4112
4113         * paragraph_funcs.C (TeXEnvironment): remove all usage of
4114         Paragraph::next and Paragraph::previous
4115         (TeXOnePar): ditto
4116
4117         * text.C (breakParagraph): adjust
4118
4119         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
4120         BufferParams& as arg.
4121         (breakParagraph): use ParagraphList::insert
4122         (breakParagraphConservative): take a Buffer* instead of a
4123         BufferParams& as arg.
4124         (breakParagraphConservative): use ParagraphList::insert.
4125
4126         * buffer.C (insertStringAsLines): un-const it
4127         (insertStringAsLines): adjust
4128
4129         * ParagraphList.C (insert): new function
4130
4131         * CutAndPaste.C (pasteSelection): adjust
4132
4133         * text.C (backspace): adjust
4134
4135         * tabular.C (SetMultiColumn): adjust
4136
4137         * CutAndPaste.C (cutSelection): adjust
4138         (pasteSelection): adjust
4139
4140         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
4141         Buffer const * as arg
4142
4143         * ParagraphList.C (erase): new function
4144         * paragraph_funcs.C (mergeParagraph): use it
4145         (mergeParagraph): make it take a Buffer* instead of a
4146         BufferParams* as arg
4147
4148         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
4149         as arg
4150         (breakParagraphConservative): ditto
4151
4152         * paragraph.h: remove the breakParagraph friend
4153
4154         * paragraph.C (eraseIntern): new function
4155         (setChange): new function
4156
4157         * paragraph_funcs.C (mergeParagraph): make it take a
4158         ParagraphList::iterator instead of a Paragraph *, adjust
4159         accordingly.
4160
4161         * paragraph.h: move an #endif so that the change tracking stuff
4162         also works in the NO_NEXT case.
4163
4164 2003-03-04  Angus Leeming  <leeming@lyx.org>
4165
4166         * commandtags.h:
4167         * LyXAction.C: new LFUN_INSET_MODIFY.
4168
4169         * BufferView_pimpl.C (dispatch): if an inset is found to be open
4170         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
4171
4172 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
4173
4174         * several files: ws changes only
4175
4176         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
4177         (TeXEnvironment): ditto
4178         (TeXDeeper): ditto
4179
4180         * buffer.C (makeLaTeXFile): adjust
4181         (latexParagraphs): make it take ParagraphList::iterator as args
4182
4183 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4184
4185         * buffer.C (latexParagraphs): adjust
4186
4187         * paragraph.C (TeXOnePar): move function...
4188         (optArgInset): move function...
4189         (TeXEnvironment): move function...
4190         * paragraph_pimpl.C (TeXDeeper): move function...
4191         * paragraph_funcs.C: ...here
4192
4193         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
4194
4195 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4196
4197         * buffer.C (readInset): remove compability code for old Figure and
4198         InsetInfo insets
4199
4200 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4201
4202         * buffer.C: ws changes
4203         (readInset):
4204
4205         * BufferView_pimpl.C: ditto
4206         * author.C: ditto
4207         * buffer.h: ditto
4208         * bufferlist.h: ditto
4209         * changes.h: ditto
4210         * lyxfunc.C: ditto
4211
4212 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
4213
4214         * converter.[Ch]: split into itself +
4215         * graph.[Ch]
4216         * format.[Ch]
4217         * Makefile.am: += graph.[Ch] + format.[Ch]
4218         * MenuBackend.C
4219         * buffer.C
4220         * exporter.C
4221         * importer.C
4222         * lyx_main.C
4223         * lyxfunc.C
4224         * lyxrc.C: added #include "format.h"
4225
4226 2003-02-27  Angus Leeming  <leeming@lyx.org>
4227
4228         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
4229           a label.
4230
4231         * factory.C (createInset): add "label" to the factory.
4232
4233         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
4234           string and do no more.
4235
4236 2003-02-27  Angus Leeming  <leeming@lyx.org>
4237
4238         * commandtags.h:
4239         * LyXAction.C (init):
4240         * factory.C (createInset):
4241         * BufferView_pimpl.C (dispatch):
4242           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
4243
4244         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
4245
4246         * lyxfunc.C (dispatch):
4247         * text3.C (dispatch): pass name to params2string.
4248
4249 2003-02-26  Angus Leeming  <leeming@lyx.org>
4250
4251         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
4252           blocks together.
4253           Rearrange the ~includes. Strip out the unnecessary ones.
4254
4255         * factory.C (createInset): reformat.
4256           create new insets for the various LFUN_XYZ_APPLY lfuns.
4257
4258 2003-02-26  John Levon  <levon@movementarian.org>
4259
4260         * lyxrow.h:
4261         * lyxrow.C: add isParStart,isParEnd helpers
4262
4263         * paragraph.h: make isInserted/DeletedText take refs
4264
4265         * paragraph_funcs.h:
4266         * paragraph_funcs.C: remove #if 0'd code
4267
4268         * lyxtext.h:
4269         * text3.C:
4270         * text2.C:
4271         * text.C: use lyxrow helpers above.
4272           Move draw and paint routines to RowPainter.
4273           Make several methods use refs not pointers.
4274           Make backgroundColor() const.
4275           Add markChangeInDraw(), isInInset().
4276           Merge changeRegionCase into changeCase.
4277           Make workWidth() shouldn't-happen code into an Assert.
4278
4279         * rowpainter.h:
4280         * rowpainter.C: new class for painting a row.
4281
4282         * vspace.h:
4283         * vspace.C: make inPixels take a ref
4284
4285 2003-02-26  Angus Leeming  <leeming@lyx.org>
4286
4287         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
4288         LFUN_REF_APPLY.
4289
4290 2003-02-25  John Levon  <levon@movementarian.org>
4291
4292         * ispell.C: give the forked command a more accurate name
4293
4294 2003-02-22  John Levon  <levon@movementarian.org>
4295
4296         * toc.h:
4297         * toc.C: make TocItem store an id not a Paragraph *
4298           (bug #913)
4299
4300 2003-02-21  Angus Leeming  <leeming@lyx.org>
4301
4302         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
4303           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
4304           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
4305           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
4306           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
4307           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
4308
4309         * BufferView_pimpl.C (dispatch):
4310         * LyXAction.C (init):
4311         * factory.C (createInset):
4312         * lyxfunc.C (getStatus, dispatch):
4313         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
4314
4315 2003-02-21  Angus Leeming  <leeming@lyx.org>
4316
4317         * BufferView_pimpl.C (MenuInsertLyXFile):
4318         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
4319         * lyxfunc.C (menuNew, open, doImport):
4320           no longer pass a LyXView & to fileDlg.
4321
4322 2003-02-21  Angus Leeming  <leeming@lyx.org>
4323
4324         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
4325         * LyXAction.C: change, BIBKEY to BIBITEM.
4326         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
4327         Change InsetBibKey to InsetBibitem.
4328         Change BIBKEY_CODE to BIBITEM_CODE.
4329         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
4330         * factory.C: replace insetbib.h with insetbibitem.h.
4331         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
4332         * paragraph.C: replace insetbib.h with insetbibitem.h.
4333         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
4334         Change bibkey() to bibitem().
4335         * text.C: remove insetbib.h.
4336         * text2.C: replace insetbib.h with insetbibitem.h.
4337         change bibkey() to bibitem().
4338         * text3.C: remove insetbib.h.
4339         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
4340
4341 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4342
4343         * lyxrc.C (output): enclose user email in quotes (in case there are
4344         several words)
4345
4346 2003-02-18  John Levon  <levon@movementarian.org>
4347
4348         * buffer.h: add std::
4349
4350 2003-02-17  John Levon  <levon@movementarian.org>
4351
4352         * SpellBase.h:
4353         * ispell.h:
4354         * ispell.C:
4355         * pspell.h:
4356         * pspell.C: reworking. Especially in ispell, a large
4357           number of clean ups and bug fixes.
4358
4359         * lyxfunc.C: fix revert to behave sensibly
4360
4361 2003-02-17 André Pönitz <poenitz@gmx.net>
4362
4363         * LyXAction.C:
4364         * commandtags.h: new LFUN_INSERT_BIBKEY
4365
4366         * layout.h:
4367         * lyxlayout.C:
4368         * buffer.C:
4369         * factory.C:
4370         * text.C:
4371         * text2.C:
4372         * text3.C:
4373         * paragraph.[Ch]:
4374         * paragraph_func.C: remove special bibkey handling
4375
4376 2003-02-17  John Levon  <levon@movementarian.org>
4377
4378         * text.C (Delete): fix case where delete at the end of
4379           the very first paragraph would not merge the pars
4380
4381 2003-02-17  John Levon  <levon@movementarian.org>
4382
4383         * lyxrow.C: fix lastPrintablePos()
4384
4385 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4386
4387         * bufferparams.C (writeLaTeX): add a std:here
4388
4389         * buffer.C: and remove a using directive there
4390
4391 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4392
4393         * buffer.C (makeLaTeXFile): move the code that generates the
4394           preamble...
4395
4396         * bufferparams.C (writeLaTeX): ... in this new method
4397
4398         * LaTeXFeatures.C (getEncodingSet): make const
4399           (getLanguages): make const
4400
4401         * MenuBackend.C (binding): returns the binding associated to this
4402           action
4403           (add): sets the status of each item by calling getStatus. Adds
4404           some intelligence.
4405           (read): add support for OptSubMenu
4406           (expand): remove extra separator at the end of expanded menu
4407
4408 2003-02-15  John Levon  <levon@movementarian.org>
4409
4410         * BufferView.C:
4411         * BufferView_pimpl.C:
4412         * bufferlist.h:
4413         * bufferlist.C: remove pointless BufferStorage bloat. Remove
4414           inset code that had no actual effect. Remove unneeded status
4415           code.
4416
4417 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4418
4419         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
4420           in preamble
4421
4422 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
4423
4424         * text.C (drawLengthMarker): also draw an arrow marker for
4425           symbolic lengths (medskip...)
4426
4427 2003-02-14  John Levon  <levon@movementarian.org>
4428
4429         * tabular.h:
4430         * tabular.C: better method names
4431
4432 2003-02-14  John Levon  <levon@movementarian.org>
4433
4434         * BufferView_pimpl.C:
4435         * bufferlist.C:
4436         * buffer.C:
4437         * converter.C:
4438         * lyx_cb.C:
4439         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
4440           it's a more accurate name. Remove some pointless uses.
4441
4442 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4443
4444         * text2.C (LyXText): change order of initilizers to shut off
4445           warnings
4446
4447 2003-02-14  John Levon  <levon@movementarian.org>
4448
4449         * buffer.C: use ParIterator for getParFromID()
4450
4451         * paragraph.h:
4452         * paragraph.C:
4453         * paragraph_pimpl.h:
4454         * paragraph_pimpl.C: remove unused getParFromID()
4455
4456 2003-02-14  John Levon  <levon@movementarian.org>
4457
4458         * buffer.C: remove some very old #if 0'd parse code
4459
4460 2003-02-13  John Levon  <levon@movementarian.org>
4461
4462         * text.h:
4463         * text.C:
4464         * text2.C: move hfillExpansion(), numberOfSeparators(),
4465           rowLast(), rowLastPrintable(), numberofHfills(),
4466           numberOfLabelHfills() ...
4467
4468         * lyxrow.h:
4469         * lyxrow.C: ... to member functions here.
4470
4471         * paragraph.h:
4472         * paragraph.C:
4473         * lyxtext.h:
4474         * text.C: remove LyXText::beginningOfMainBody(), and call
4475           p->beginningOfMainBody() directly. Move the check for
4476           LABEL_MANUAL into the latter.
4477
4478         * text.h:
4479         * text.C:
4480         * text2.C:
4481         * vspace.C:
4482         * BufferView.h:
4483         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
4484
4485         * text.h:
4486         * text.C:
4487         * text2.C:
4488         * text3.C:
4489         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
4490           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
4491
4492 2003-02-13  John Levon  <levon@movementarian.org>
4493
4494         * CutAndPaste.C: remove debug
4495
4496 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4497
4498         * paragraph.C (asString): remove two unused variables
4499
4500         * lyxtextclass.C (readTitleType):
4501           (Read):
4502           (LyXTextClass): handle new members titletype_ and titlename_
4503
4504         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
4505
4506 2003-02-09  John Levon  <levon@movementarian.org>
4507
4508         * buffer.h:
4509         * buffer.C: replace hand-coded list with a map for the dep clean
4510
4511 2003-02-08  John Levon  <levon@movementarian.org>
4512
4513         * LaTeX.C: consolidate code into showRunMessage() helper
4514
4515 2003-02-08  John Levon  <levon@movementarian.org>
4516
4517         * lyxfind.C:
4518         * lyxtext.h:
4519         * text2.C:
4520         * BufferView.C: change setSelectionOverString() to setSelectionRange()
4521           and pass the size in explicitly
4522
4523         * BufferView_pimpl.h:
4524         * BufferView_pimpl.C:
4525         * BufferView.h:
4526         * BufferView.C: add getCurrentChange()
4527
4528         * BufferView_pimpl.h:
4529         * BufferView_pimpl.C: handle change lfuns
4530
4531         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
4532           for changes. Mark pasted paragraphs as new.
4533
4534         * support/lyxtime.h:
4535         * support/lyxtime.C:
4536         * DepTable.C: abstract time_t as lyx::time_type
4537
4538         * LColor.h:
4539         * LColor.C: add colours for new text, deleted text, changebars
4540
4541         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
4542           package use "usenames" option.
4543
4544         * commandtags.h:
4545         * lyxfunc.C:
4546         * LyXAction.C: add change lfuns
4547
4548         * Makefile.am:
4549         * author.h:
4550         * author.C: author handling
4551
4552         * buffer.h:
4553         * buffer.C: add a per-buffer author list, with first entry as
4554           current author. Handle new .lyx tokens for change tracking. Output
4555           author list to .lyx file. Output dvipost stuff to .tex preamble.
4556           Bump lyx format to 222.
4557
4558         * bufferlist.h:
4559         * bufferlist.C: add setCurrentAuthor() to reset current author details
4560           in all buffers.
4561
4562         * bufferparams.h:
4563         * bufferparams.C: add param for tracking
4564
4565         * bufferview_funcs.C: output change info in minibuffer
4566
4567         * Makefile.am:
4568         * changes.h:
4569         * changes.C: add change-tracking structure
4570
4571         * debug.h:
4572         * debug.C: add CHANGES debug flag
4573
4574         * lyxfind.h:
4575         * lyxfind.C: add code for finding the next change piece
4576
4577         * lyxrc.h:
4578         * lyxrc.C: add user_name and user_email
4579
4580         * lyxrow.h:
4581         * lyxrow.C: add a metric for the top of the text line
4582
4583         * lyxtext.h:
4584         * text.C: implement accept/rejectChange()
4585
4586         * lyxtext.h:
4587         * text.C: paint changebars. Paint new/deleted text in the chosen
4588         colours. Strike through deleted text.
4589
4590         * paragraph.h:
4591         * paragraph.C:
4592         * paragraph_pimpl.h:
4593         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
4594           in the current change to the insert functions. Rework erase to
4595           mark text as deleted, adding an eraseIntern() and a range-based
4596           erase(). Implement per-paragraph change lookup and
4597           accept/reject.
4598
4599         * paragraph_funcs.C: Fixup paste for change tracking.
4600
4601         * tabular.C: mark added row/columns as new.
4602
4603         * text.C: fix rowLast() to never return -1. Don't allow
4604           spellchecking of deleted text. Track transpose changes. Don't
4605           allow paragraph break or merge where appropriate.
4606
4607         * text2.C: leave cursor at end of selection after a cut.
4608
4609 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4610
4611         * text.C (getLengthMarkerHeight):
4612         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
4613         visible on screen too.
4614
4615 2003-02-07  John Levon  <levon@movementarian.org>
4616
4617         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
4618
4619 2003-02-05  Angus Leeming  <leeming@lyx.org>
4620
4621         * lyxserver.C (read_ready): revert my patch of 11 September last year
4622         as it sends PC cpu through the roof. Presumably this means that
4623         the lyxserver will no longer run on an Alpha...
4624
4625 2003-01-30  Angus Leeming  <leeming@lyx.org>
4626
4627         * factory.C (createInset): create an InsetCommandParam of type "index"
4628         and use it to 'do the right thing'.
4629
4630         * text2.C (getStringToIndex): ensure that cursor position is always
4631         reset to the reset_cursor position.
4632
4633 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4634
4635         * lyxfunc.C (getStatus): "buffer-export custom" should never be
4636         disabled.
4637
4638 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
4639
4640         * bufferview.C:
4641         * lyxcb.C:
4642         * lyxfunc.C: Output messages with identical spelling, punctuation,
4643         and spaces
4644
4645 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
4646
4647         * MenuBackend.C (expandFormats): List only viewable export formats
4648         in "View" menu
4649
4650         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
4651         message
4652
4653         * lyxfunc.C (getStatus): Make sure that formats other than
4654         "fax" can also be disabled
4655
4656 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4657
4658         * text3.C (dispatch): put the lfuns that insert insets in 3
4659         groups, and call doInsertInset with appropriate arguments.
4660         (doInsertInset): new function, that creates an inset and inserts
4661         it according to some boolean parameters.
4662
4663 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4664
4665         * buffer.C (readFile): remember to pass on 'par' when calling
4666         readFile recursively.
4667
4668 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4669
4670         * MenuBackend.C (expandFormats): add "..." to import formats.
4671
4672 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
4673
4674         * paragraph.C (asString): Remove XForms RTL hacks.
4675
4676 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
4677         * buffer.C: fix typo
4678
4679 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
4680
4681         * Makefile.am (LIBS): delete var
4682         (lyx_LDADD): add @LIBS@ here instead.
4683
4684 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
4685
4686         * Clarify the meaning of "wheel mouse jump"
4687
4688 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4689
4690         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
4691         tabular in a float
4692
4693 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4694
4695         * importer.C (Loaders): do not preallocate 3 elements in the
4696         vector, since one ends up with 6 elements otherwise
4697
4698 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4699
4700         * DepTable.C (write): write the file name as last element of the
4701         .dep file (because it may contain spaces)
4702         (read): read info in the right order
4703
4704 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4705
4706         * paragraph_pimpl.C (simpleTeXBlanks):
4707         (simpleTeXSpecialChars):
4708         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
4709
4710         * tabular.C (latex): add some missing case statements. Reindent.
4711
4712         * MenuBackend.C (expandToc): remove unused variable.
4713
4714 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
4715
4716         * LColor.C:
4717         * LaTeX.C:
4718         * LyXAction.C:
4719         * MenuBackend.C:
4720         * buffer.C:
4721         * exporter.C:
4722         * lyxfunc.C:
4723         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
4724         and the like.
4725
4726 2003-01-05  John Levon  <levon@movementarian.org>
4727
4728         * BufferView.h:
4729         * BufferView.C: add getEncoding()
4730
4731         * kbsequence.h:
4732         * kbsequence.C: do not store last keypress
4733
4734         * lyxfunc.h:
4735         * lyxfunc.C: store last keypress here instead. Pass encoding
4736           to getISOEncoded()
4737
4738 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4739
4740         * lyx_main.C (init): remove annoying error message when following
4741         symbolic links (bug #780)
4742
4743 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4744
4745         * text.C (insertChar):
4746         * lyxrc.C (getDescription): remove extra spaces
4747
4748 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4749
4750         * lyxrc.C (getDescription): remove extra spaces
4751
4752 2002-12-20  John Levon  <levon@movementarian.org>
4753
4754         * text3.C: hack fix for page up/down across tall rows
4755
4756 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4757
4758         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
4759         not been invoked
4760
4761 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4762
4763         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
4764         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
4765         thesaurus is not compiled in
4766
4767 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
4768
4769         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
4770
4771 2002-12-16  Angus Leeming  <leeming@lyx.org>
4772
4773         * lyxrc.[Ch]:
4774         * lyx_main.C (init): remove override_x_deadkeys stuff.
4775
4776 2002-12-12  John Levon  <levon@movementarian.org>
4777
4778         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
4779           insert. Only remove shift modifier under strict
4780           circumstances.
4781
4782 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
4783
4784         * MenuBackend.C (expandToc): fix crash.
4785
4786 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
4787
4788         * MenuBackend.C (expandToc): gettext on float names.
4789
4790 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4791
4792         * lyxlength.[Ch]: set default unit to UNIT_NONE,
4793         implement bool empty() [bug 490]
4794
4795 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4796
4797         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
4798
4799 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4800
4801         * several files: ws changes
4802
4803 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4804
4805         * text2.C (setCounter): clean up a bit, use boost.format.
4806         (updateCounters): initialize par upon declaration.
4807
4808         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
4809         if the layout exists. We do not just store the layout any more.
4810         (SwitchLayoutsBetweenClasses): use boost.format
4811
4812 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4813
4814         * converter.C (convert): if from and to files are the same, use a
4815         temporary files as intermediary
4816
4817 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4818
4819         * commandtags.h:
4820         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
4821
4822 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
4823
4824         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
4825
4826 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4827
4828         * tabular.C (asciiPrintCell): use string(size, char) instead of
4829         explicit loop.
4830
4831         * sgml.C (openTag): fix order of arguments to string constructor
4832         (closeTag): ditto
4833
4834         * lyxfunc.C (dispatch): use boost.format
4835
4836         * lots of files: change "c" -> 'c'
4837
4838 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
4839
4840         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
4841
4842 2002-11-25  Angus Leeming  <leeming@lyx.org>
4843
4844         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
4845
4846         * lyx_main.C (init): compile fix.
4847
4848 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4849
4850         * lyx_cb.C (start): boost.formatify
4851         do not include <iostream>
4852
4853         * lengthcommon.C: ws only
4854
4855         * boost-inst.C,BoostFormat.h: add more explict instantations
4856
4857 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
4858
4859         * lots of files: handle USE_BOOST_FORMAT
4860
4861 2002-11-21  John Levon  <levon@movementarian.org>
4862
4863         * pspell.C: fix compile
4864
4865 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4866
4867         * lyxfunc.C (dispatch): use boost::format
4868         (open): ditto
4869         (doImport): ditto
4870
4871         * lyxfont.C (stateText): use boost::format
4872
4873         * lyx_main.C (LyX): use boost::format
4874         (init): ditto
4875         (queryUserLyXDir): ditto
4876         (readRcFile): ditto
4877         (parse_dbg): ditto
4878         (typedef boost::function): use the recommened syntax.
4879
4880         * importer.C (Import): use boost::format
4881
4882         * debug.C (showLevel): use boost::format
4883
4884         * converter.C (view): use boost::format
4885         (convert): ditto
4886         (move): ditto
4887         (scanLog): ditto
4888
4889         * bufferview_funcs.C (currentState): use boost::format
4890
4891         * bufferlist.C (emergencyWrite): use boost::format
4892
4893         * buffer.C (readLyXformat2): use boost::format
4894         (parseSingleLyXformat2Token): ditto
4895
4896         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
4897
4898         * LaTeX.C (run): use boost::format
4899
4900         * Chktex.C (scanLogFile): use boost::format
4901
4902         * BufferView_pimpl.C (savePosition): use boost::format
4903         (restorePosition): ditto
4904         (MenuInsertLyXFile): ditto
4905
4906         * BoostFormat.h: help file for explicit instation.
4907
4908 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
4909
4910         * tabular.C (latex): Support for block alignment in fixed width
4911         columns.
4912
4913 2002-11-17  John Levon  <levon@movementarian.org>
4914
4915         * BufferView_pimpl.C:
4916         * lyx_cb.C:
4917         * lyxfunc.C: split filedialog into open/save
4918
4919 2002-11-08  Juergen Vigna  <jug@sad.it>
4920
4921         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
4922         by my last patch (hopefully).
4923
4924 2002-11-08  John Levon  <levon@movementarian.org>
4925
4926         * iterators.h:
4927         * iterators.C:
4928         * buffer.h:
4929         * buffer.C:
4930         * paragraph.h:
4931         * paragraph.C:
4932         * toc.h:
4933         * toc.C: ParConstIterator, and use it (from Lars)
4934
4935 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
4936
4937         * lyxtextclass.[Ch]: revise and add doxygen comments
4938
4939 2002-11-07  John Levon  <levon@movementarian.org>
4940
4941         * text.C: fix progress value for spellchecker
4942
4943         * toc.C: fix navigate menu for insetwrap inside minipage
4944
4945         * paragraph_funcs.C: added FIXME for suspect code
4946
4947 2002-11-07  John Levon  <levon@movementarian.org>
4948
4949         * BufferView_pimpl.C: fix redrawing of insets
4950           on buffer switch
4951
4952 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4953
4954         * text2.C (updateCounters): fix bug 668
4955
4956 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
4957
4958         * text3.C (dispatch): Do not make the buffer dirty when moving the
4959         cursor.
4960
4961 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
4962
4963         * vc-backend.C: STRCONV
4964         (scanMaster): ditto
4965
4966         * text2.C (setCounter): STRCONV
4967
4968         * paragraph.C (asString): STRCONV
4969
4970         * lyxlength.C (asString): STRCONV
4971         (asLatexString): ditto
4972
4973         * lyxgluelength.C (asString): STRCONV
4974         (asLatexString): ditto
4975
4976         * lyxfunc.C (dispatch): STRCONV
4977         (open): ditto
4978
4979         * lyxfont.C (stateText): STRCONV
4980
4981         * importer.C (Import): STRCONV
4982
4983         * counters.C (labelItem): STRCONV
4984         (numberLabel): ditto
4985         (numberLabel): remove unused ostringstream o
4986
4987         * chset.C: STRCONV
4988         (loadFile): ditto
4989
4990         * bufferview_funcs.C (currentState): STRCONV
4991
4992         * buffer.C (readFile): STRCONV
4993         (asciiParagraph): ditto
4994         (makeLaTeXFile): ditto
4995
4996         * Spacing.C (writeEnvirBegin): STRCONV
4997
4998         * LaTeXFeatures.C (getLanguages): STRCONV
4999         (getPackages): ditto
5000         (getMacros): ditto
5001         (getBabelOptions): ditto
5002         (getTClassPreamble): ditto
5003         (getLyXSGMLEntities): ditto
5004         (getIncludedFiles): ditto
5005
5006         * LaTeX.C: STRCONV
5007         (run): ditto
5008         (scanAuxFile): ditto
5009         (deplog): ditto
5010
5011         * LString.h: add the STRCONV macros
5012
5013         * BufferView_pimpl.C (savePosition): STRCONV
5014         (restorePosition): ditto
5015         (MenuInsertLyXFile): ditto
5016
5017         * vc-backend.C (scanMaster): change from submatch[...] to
5018         submatch.str(...)
5019
5020         * funcrequest.C: include config.h
5021
5022         * factory.C: include config.h
5023
5024         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
5025
5026         * box.C: include config.h
5027
5028         * LaTeX.C (scanAuxFile): change from submatch[...] to
5029         submatch.str(...)
5030         (deplog): ditto
5031
5032 2002-10-25  Angus Leeming  <leeming@lyx.org>
5033
5034         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
5035
5036         * ispell.[Ch] (setError): new method.
5037         * ispell.C (c-tor): move out child process into new class LaunchIspell.
5038         Use setError() insetead of goto END.
5039
5040         * lyx_cb.C (AutoSave): move out child process into new class
5041         AutoSaveBuffer.
5042
5043 2002-10-30  John Levon  <levon@movementarian.org>
5044
5045         * text3.C: make start appendix undoable
5046
5047 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
5048
5049         * lyxlength.C (inPixels): Fix returned value.
5050
5051         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
5052         environment.
5053
5054 2002-10-24  Angus Leeming  <leeming@lyx.org>
5055
5056         * lyxgluelength.h: no need to forward declare BufferParams
5057         or BufferView, so don't.
5058
5059 2002-10-21  John Levon  <levon@movementarian.org>
5060
5061         * BufferView.C: menuUndo ->undo, redo
5062
5063         * BufferView.h: document, remove dead, make some methods private
5064
5065         * paragraph_funcs.h:
5066         * paragraph_funcs.C:
5067         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
5068
5069         * buffer.h:
5070         * buffer.C:
5071         * sgml.h:
5072         * sgml.C: move sgml open/close tag into sgml.C
5073
5074         * bufferview_funcs.h: unused prototype
5075
5076         * lyxfunc.h:
5077         * lyxfunc.C: remove unused
5078
5079         * lyxtext.h:
5080         * text.C: remove unused
5081
5082 2002-10-21  John Levon  <levon@movementarian.org>
5083
5084         * BufferView.h:
5085         * BufferView.C:
5086         * BufferView_pimpl.h:
5087         * BufferView_pimpl.C: fix mouse wheel handling based on
5088           patch from Darren Freeman
5089
5090 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
5091
5092         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
5093
5094 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
5095
5096         * lyxlength.C (inPixels): Fix hanfling of negative length.
5097         Fix LyXLength::MU case.
5098
5099 2002-10-16  John Levon  <levon@movementarian.org>
5100
5101         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
5102
5103 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5104
5105         * converter.C (view): add support for $$i (file name) and $$p
5106         (file path) for the viewer command. If $$i is not specified, then
5107         it is appended to the command (for compatibility with old syntax)
5108
5109 2002-10-14  Juergen Vigna  <jug@sad.it>
5110
5111         * undo_funcs.C (textHandleUndo): alter the order in which the
5112         new undopar is added to the LyXText, as we have to set first
5113         the right prev/next and then add it as otherwise the rebuild of
5114         LyXText is not correct. Also reset the cursor to the right paragraph,
5115         with this IMO we could remove the hack in "redoParagraphs()".
5116
5117 2002-10-09  Angus Leeming  <leeming@lyx.org>
5118
5119         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
5120         to turn off an optimisation if a new inset is to be inserted.
5121
5122 2002-10-11 André Pönitz <poenitz@gmx.net>
5123
5124         * lyxtext.h: make some functions public to allow access
5125         from inset/lyxtext for handling LFUN_PRIOR/NEXT
5126
5127 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5128
5129         * text3.C (dispatch): when changing layout, avoid an infinite loop
5130         [bug #652]
5131
5132 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5133
5134         * lyxrc.C (read): treat a viewer or converter command of "none" as
5135         if it were empty.
5136
5137         * MenuBackend.C (expandFormats): for an update, also allow the
5138         formats that are not viewable
5139
5140         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
5141         script if it is newer than the lyxrc.defaults in user directory
5142
5143 2002-10-07 André Pönitz <poenitz@gmx.net>
5144
5145         * text.C: Vitaly Lipatov's small i18n fix
5146
5147 2002-09-25  Angus Leeming  <leeming@lyx.org>
5148
5149         * ispell.h: doxygen fix.
5150
5151 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
5152
5153         * buffer.h (readFile): Add a new argument to the method, to allow
5154         reading of old-format templates.
5155
5156 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
5157
5158         * toc.C (getTocList): Get TOC from InsetWrap.
5159
5160 2002-09-16  John Levon  <levon@movementarian.org>
5161
5162         * lyxfunc.C: check tabular for cut/copy too
5163
5164 2002-09-12  John Levon  <levon@movementarian.org>
5165
5166         * LyXAction.C: tidy
5167
5168         * factory.h:
5169         * factory.C: add header
5170
5171         * paragraph_funcs.h:
5172         * paragraph_funcs.C: cleanup
5173
5174 2002-09-11  John Levon  <levon@movementarian.org>
5175
5176         * PrinterParams.h: odd/even default to true
5177
5178 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
5179
5180         * PrinterParams.h: update printer parameters for new xforms dialog
5181
5182 2002-09-11  Angus Leeming  <leeming@lyx.org>
5183
5184         * lyxserver.C (read_ready): re-write to make it more transparent
5185         and to make it work in coherent fashion under Tru64 Unix.
5186
5187 2002-09-11  André Pönitz <poenitz@gmx.net>
5188
5189         * commandtags.h:
5190         * LyXAction.C:
5191         * text3.C: implement LFUN_WORDSEL
5192
5193 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
5194
5195         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
5196         make floatlist_ a boost::shared_ptr<FloatList>
5197
5198         * lyxtextclass.C: include FloatList.h
5199         (LyXTextClass): initialize floatlist_
5200         (TextClassTags): add TC_NOFLOAT
5201         (Read): match "nofloat" to TC_NOFLOAT and use it.
5202         (readFloat): modify call to floatlist_
5203         (floats): ditto
5204         (floats): ditto
5205
5206         * FloatList.[Ch] (FloatList): remove commented out float
5207         initialization.
5208         (erase): new function
5209
5210 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5211
5212         * MenuBackend.C (expandToc): fix crash when there is no document
5213         open
5214
5215 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
5216
5217         * many files: Add insetwrap.
5218
5219 2002-09-09  John Levon  <levon@movementarian.org>
5220
5221         * text2.C: remove confusing and awkward depth wraparound
5222
5223 2002-09-09  John Levon  <levon@movementarian.org>
5224
5225         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
5226
5227         * buffer.h:
5228         * buffer.C: remove getIncludeonlyList()
5229
5230         * paragraph.C:
5231         * lyxfunc.C: remove headers
5232
5233 2002-09-09  Juergen Vigna  <jug@sad.it>
5234
5235         * text.C (getColumnNearX): fix form Michael this is most
5236         probably a cut&paste bug.
5237
5238 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5239
5240         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
5241
5242         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
5243         references, ws changes.
5244
5245         * text2.C (init): update counters after init
5246         (insertParagraph): no need to set counter on idividual paragraphs.
5247         (setCounter): access the counters object in the textclass object
5248         on in the buffer object.
5249         (updateCounters): ditto
5250
5251         * lyxtextclass.C: include counters.h, add variable ctrs_ as
5252         shared_ptr<Counters> to avoid loading counters.h in all
5253         compilation units.
5254         (LyXTextClass): initialize ctrs_
5255         (TextClassTags): add TC_COUNTER, and ...
5256         (Read): use it here.
5257         (CounterTags): new tags
5258         (readCounter): new function
5259         (counters): new funtion
5260         (defaultLayoutName): return a const reference
5261
5262         * counters.C (Counters): remove contructor
5263         (newCounter): remove a couple of unneeded statements.
5264         (newCounter): simplify a bit.
5265         (numberLabel): some small formatting changes.
5266
5267         * buffer.[Ch]: remove all traces of counters, move the Counters
5268         object to the LyXTextClass.
5269
5270 2002-09-06  Alain Castera  <castera@in2p3.fr>
5271
5272         * tabular.C: uses \tabularnewline; uses >{...} construct from array
5273         package to set the horizontal alignment on fixed width columns.
5274
5275         * lyx_sty.C:
5276         * lyx_sty.h: added tabularnewline macro def.
5277
5278         * LaTeXFeatures.C: added NeedTabularnewline macro feature
5279
5280 2002-09-06  John Levon  <levon@movementarian.org>
5281
5282         * LyXAction.C: tooltips for sub/superscript
5283
5284         * MenuBackend.C: a bit more verbose
5285
5286         * lyxfunc.C: tiny clean
5287
5288         * undo_funcs.C: document undo_frozen
5289
5290 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
5291
5292         * counters.C (Counters): add missing algorithm counter.
5293
5294         * text2.C (setCounter): lookup the counter with layouts latexname
5295         instead of by section number.
5296         (setCounter): use a hackish way to lookup the correct enum
5297         counter.
5298         a float name->type change
5299         reset enum couners with counter name directly instead of depth value.
5300
5301         * counters.C (Counters): remove the push_backs, change to use the
5302         float type not the float name.
5303         (labelItem): remove unused string, float name->type change
5304
5305         * counters.h: don't include vector, loose the enums and sects vectors
5306
5307 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5308
5309         * lyxtextclass.C (TextClassTags): add TC_FLOAT
5310         (Read): add float->TC_FLOAT to textclassTags
5311         (Read): and handle it in the switch
5312         (readFloat): new function
5313
5314         * FloatList.C (FloatList): comment out the hardcoded float
5315         definitions.
5316
5317         * lyxlayout.h: ws change.
5318
5319 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
5320
5321         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
5322
5323 2002-09-03  Angus Leeming  <leeming@lyx.org>
5324
5325         * BufferView_pimpl.h: qualified name is not allowed in member
5326         declaration: WorkArea & Pimpl::workarea() const;
5327
5328         * factory.C: added using std::endl directive.
5329
5330         * text3.C: added using std::find and std::vector directives.
5331
5332 2002-08-29  André Pönitz <poenitz@gmx.net>
5333
5334         * lyxtext.h:
5335         * text2.C: remove unused member number_of_rows
5336
5337         * Makefile.am:
5338         * BufferView2.C: remove file, move contents to...
5339         * BufferView.C: ... here
5340
5341         * BufferView_pimpl.C:
5342         * factory.C: move more inset creation to factory
5343
5344         * vspace.C: avoid direct usage of LyXText, ws changes
5345
5346         * BufferView.[Ch]:
5347                 don't provide direct access to WorkArea, use two simple
5348                 acessors haveSelction() and workHeight() instead
5349
5350
5351 2002-08-29  John Levon  <levon@movementarian.org>
5352
5353         * BufferView_pimpl.C (dispatch): do not continue when
5354           no buffer
5355
5356 2002-08-28  André Pönitz <poenitz@gmx.net>
5357
5358         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
5359
5360         * BufferView.h:
5361         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
5362
5363 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
5364
5365         * buffer.C: increment LYX_FORMAT to 221
5366
5367         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
5368         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
5369
5370         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
5371
5372         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
5373
5374 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5375
5376         * factory.C (createInset): use LyXTextClass::floats
5377
5378         * MenuBackend.C (expandFloatListInsert):
5379         (expandFloatInsert):
5380         (expandToc):
5381
5382         * text2.C (setCounter):
5383
5384         * LaTeXFeatures.C (useFloat):
5385         (getFloatDefinitions):
5386
5387         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
5388
5389         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
5390         floatlist_, with accessor floats().
5391
5392         * FloatList.h: remove global FloatList
5393
5394 2002-08-26  André Pönitz <poenitz@gmx.net>
5395
5396         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
5397
5398         * BufferView.h:
5399         * BufferView2.C:
5400         * BufferView_pimpl.C:
5401         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
5402
5403 2002-08-25  John Levon  <levon@movementarian.org>
5404
5405         * LyXAction.C: fix margin note description
5406
5407 2002-08-24  John Levon  <levon@movementarian.org>
5408
5409         * buffer.C:
5410         * bufferlist.C:
5411         * bufferview_funcs.C:
5412         * lyxfont.C:
5413         * undo_funcs.C: cleanups
5414
5415         * lyxfunc.C: disable CUT/COPY when no selection
5416
5417 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
5418
5419         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
5420         in "enum UNIT"; e.g. PTW for Percent of TextWidth
5421
5422         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
5423         Add backward compatibility to "mono", "gray" and "no".
5424
5425 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
5426
5427         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
5428         (and file_format >= 200).
5429
5430 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5431
5432         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
5433
5434 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5435
5436         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
5437
5438 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
5439
5440         * BufferView_pimpl.C:
5441         * LyXAction.C:
5442         * buffer.C:
5443         * commandtags.h:
5444         * lyxfunc.C:
5445         * paragraph.[Ch]:
5446         * text2.C:
5447         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
5448         inset and code to make it  work with the paragraph code. The inset
5449         can be anywhere in the paragraph, but will only do the expected
5450         thing in LaTeX if the layout file contains the parameter line
5451                         OptionalArgs    1
5452         (or more generally, a nonzero value) for that layout.
5453
5454 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5455
5456         * paragraph.h: remove the declaration of undefined counters class
5457         function.
5458
5459 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
5460
5461         * text2.C (setCounter):  fixed enumeration mis-count as reported by
5462         Dr. Richard Hawkins.
5463
5464 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5465
5466         * paragraph_funcs.h: remove some unneeded includes
5467
5468         * text.C (backspace): pasteParagraph now in global scipe
5469
5470         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
5471         (pasteSelection): ditto
5472
5473         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
5474         * paragraph_funcs.C (pasteParagraph): ... here
5475
5476 2002-08-20  André Pönitz <poenitz@gmx.net>
5477
5478         * commandtags.h: new LFUNs for swapping/copying table row/colums
5479
5480         * LyXAction.C:
5481         * lyxfunc.C: support for new lfuns
5482
5483 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
5484
5485         * tabular.C:
5486         * buffer.[Ch]: remove NO_COMPABILITY stuff
5487
5488 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
5489
5490         * boost.C (throw_exception): new file, with helper function for
5491         boost compiled without exceptions.
5492
5493         * paragraph.h:
5494         * lyxlength.C:
5495         * buffer.C:
5496         * ParameterStruct.h:
5497         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
5498
5499         * bufferlist.C (emergencyWriteAll): use boost bind
5500
5501         * BufferView_pimpl.C (moveCursorUpdate): remove inline
5502
5503         * text.C: include paragraph_funcs.h
5504         (breakParagraph): breakParagraph is now in global scope
5505
5506         * paragraph_funcs.[Ch]: new files
5507
5508         * paragraph.C (breakParagraph,breakParagraphConservative): move to
5509         global scope
5510
5511         * buffer.C: include paragraph_funcs.h
5512         (insertStringAsLines): breakParagraph is now in global scope
5513
5514         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
5515         paragraph_funcs.C
5516
5517         * CutAndPaste.C: include paragraph_funcs.h
5518         (cutSelection): breakParagraphConservative is now in global scope
5519         (pasteSelection): ditto
5520
5521         * buffer.h: declare oprator== and operator!= for
5522         Buffer::inset_iterator
5523
5524         * bufferlist.C (emergencyWrite): don't use fmt(...)
5525
5526         * text3.C: add using std::endl
5527
5528         * BufferView.C (moveCursorUpdate): remove default arg
5529
5530 2002-08-20  André Pönitz <poenitz@gmx.net>
5531
5532         * buffer.[Ch]: move inline functions to .C
5533
5534         * BufferView2.C:
5535         * BufferView_pimpl.C:
5536         * text.C:
5537         * buffer.[Ch]: use improved inset_iterator
5538
5539         * buffer.C:
5540         * paragraph.[Ch]: write one paragraph at a time
5541
5542 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
5543
5544         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
5545         style if style is not specified.
5546
5547 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5548
5549         * text2.C (setCounter): when searching for right label for a
5550         caption, make sure to recurse to parent insets (so that a caption
5551         in a minipage in a figure float works) (bug #568)
5552
5553 2002-08-20  André Pönitz <poenitz@gmx.net>
5554
5555         * text3.C: new file for LyXText::dispatch() and helpers
5556
5557         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
5558
5559         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
5560
5561 2002-08-19  André Pönitz <poenitz@gmx.net>
5562
5563         * lyxtext.h:
5564         * text.C: new LyXText::dispatch()
5565
5566         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
5567
5568 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
5569
5570         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
5571
5572         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
5573         Hebrew text.
5574
5575 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5576
5577         * Makefile.am: use $(variables) instead of @substitutions@
5578
5579 2002-08-15  André Pönitz <poenitz@gmx.net>
5580
5581         * lyxfunc.C:
5582         * BufferView_pimpl.C: streamlining mathed <-> outer world
5583         interaction
5584
5585         * commandtags.h:
5586         * LyXAction.C: remove unused LFUN_MATH
5587
5588 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5589
5590         * paragraph.[Ch]: add some NO_NEXT ifdefs.
5591
5592 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5593
5594         * paragraph.C (Paragraph): reformat a bit
5595         (cutIntoMinibuffer): use builtin InsetList function instad of
5596         doing it manually.
5597         (getInset): ditto
5598
5599         * buffer.C: include boost/bind.hpp, add using std::for_each
5600         (writeFileAscii): use ParagraphList iterators
5601         (validate): use for_each for validate traversal of paragraphs
5602         (getBibkeyList): use ParagraphList iterators
5603         (resizeInsets): use for_each to resizeInsetsLyXText for all
5604         paragraphs.
5605         (getParFromID): use ParagraphList iterators
5606
5607         * BufferView2.C (lockInset): use paragraph list and iterators
5608
5609 2002-08-14  John Levon  <levon@movementarian.org>
5610
5611         * lyxserver.C: remove spurious xforms include
5612
5613 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5614
5615         * lyxfunc.C (getStatus): disable math-extern outside of math mode
5616
5617 2002-08-13  André Pönitz <poenitz@gmx.net>
5618
5619         * LyXAction.[Ch]:
5620         * lyxfunc.C: further cleaning
5621
5622 2002-08-13  André Pönitz <poenitz@gmx.net>
5623
5624         * funcrequest.h: new constructor
5625
5626         * funcrequest.C: move stuff here from .h
5627
5628         * Makefile.am:
5629         * BufferView_pimpl.C:
5630         * LyXAction.C:
5631         * toc.C:
5632         * lyxfunc.C: subsequent changes
5633
5634         * lyxfunc.h: new view() member function
5635
5636         * lyxfunc.C: subsequent changes
5637
5638 2002-08-13  Angus Leeming  <leeming@lyx.org>
5639
5640         * BufferView2.C:
5641         * BufferView_pimpl.C:
5642         * buffer.C:
5643         * converter.C:
5644         * importer.C:
5645         * lyxfunc.C:
5646         * lyxvc.C:
5647         * toc.C:
5648         * vc-backend.C:
5649         changes due to the changed LyXView interface that now returns references
5650         to member variables not pointers.
5651
5652 2002-08-13  Angus Leeming  <leeming@lyx.org>
5653
5654         * WordLangTuple (word, lang_code): return references to strings,
5655         not strings.
5656
5657         * BufferView.h:
5658         * SpellBase.h:
5659         * lyxtext.h: forward-declare WordLangTuple.
5660
5661         * BufferView2.C:
5662         * ispell.C:
5663         * pspell.C:
5664         * text.C: #include "WordLangTuple.h".
5665
5666         * lyxtext.h:
5667         * text.C: (selectNextWordToSpellcheck): constify return type.
5668
5669 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
5670
5671         * buffer.C:
5672         * buffer.h:
5673         * lyxtext.h:
5674         * paragraph.C:
5675         * paragraph_pimpl.h:
5676         * text.C:
5677         * text2.C:
5678         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
5679         suggested by Angus.
5680         Made updateCounter always count from start of buffer, and removed
5681         second argument (par).
5682         Reverted floats number display to '#'. Perhaps I'll try again when the
5683         code base is sanitized a bit.
5684
5685 2002-08-12  Angus Leeming  <leeming@lyx.org>
5686
5687         * buffer.[Ch] (getLabelList): constify.
5688
5689 2002-08-07  André Pönitz <poenitz@gmx.net>
5690
5691         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
5692
5693         * funcrequest.h: extension to keep mouse (x,y) position
5694
5695 2002-08-12  Juergen Vigna  <jug@sad.it>
5696
5697         * BufferView2.C (insertErrors): forbid undo when inserting error
5698         insets.
5699
5700         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
5701
5702 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
5703
5704         * ParagraphList.[Ch]: new files
5705
5706         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
5707
5708         * BufferView2.C (lockInset): ParagraphList changes
5709         * toc.C: ditto
5710         * text2.C: ditto
5711         * bufferlist.C: ditto
5712         * buffer.h: ditto
5713         * buffer.C: ditto
5714
5715 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
5716
5717         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
5718         unused class variable counter_,
5719
5720         * paragraph.[Ch] (getFirstCounter): delete unused function
5721
5722         * counters.C: include LAssert.h
5723         (reset): add a new function with no arg, change other version to
5724         not have def. arg and to not allow empty arg.
5725
5726         * text2.C (setCounter): remove empty arg from call to Counters::reset
5727
5728 2002-08-11  John Levon  <levon@movementarian.org>
5729
5730         * Makefile.am: add WordLangTuple.h
5731
5732 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
5733
5734         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
5735         lyxfunc.C lyxlex_pimpl.C: ws changes only.
5736
5737         * insets/insettext.C: InsetList changes
5738
5739         * graphics/GraphicsSupport.C (operator()): InsetList changes
5740
5741         * toc.C (getTocList): InsetList changes
5742
5743         * paragraph_pimpl.[Ch]: InsetList changes
5744
5745         * paragraph.[Ch]: InsetList changes
5746
5747         * buffer.C (inset_iterator): InsetList changes
5748         (setParagraph): ditto
5749         * buffer.h (inset_iterator): ditto
5750         * iterators.C (operator++): ditto
5751         * iterators.h: ditto
5752
5753         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
5754
5755         * InsetList.[Ch]: new files, most InsetList handling moved out of
5756         paragraph.C.
5757
5758         * BufferView2.C (removeAutoInsets): InsetList changes
5759         (lockInset): ditto
5760         (ChangeInsets): ditto
5761
5762 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
5763
5764         * paragraph_pimpl.h (empty): new function
5765
5766         * paragraph.[Ch] (empty): new function
5767
5768         * other files: use the new Paragraph::empty function
5769
5770 2002-08-09  John Levon  <levon@movementarian.org>
5771
5772         * lyxtext.h: remove unused refresh_height
5773
5774 2002-08-09  John Levon  <levon@movementarian.org>
5775
5776         * Makefile.am:
5777         * sgml.h:
5778         * sgml.C:
5779         * buffer.C:
5780         * paragraph.h:
5781         * paragraph.C: move sgml char escaping out of paragraph
5782
5783         * paragraph.h:
5784         * paragraph.C: remove id setter
5785
5786         * buffer.C:
5787         * paragraph.C:
5788         * paragraph_pimpl.C: remove dead tex_code_break_column
5789
5790         * bufferview_funcs.C: small cleanup
5791
5792         * lyxfunc.C: remove dead proto
5793
5794         * lyxtext.h: make some stuff private. Remove some dead stuff.
5795
5796         * lyxgluelength.C: make as[LyX]String() readable
5797
5798 2002-08-08  John Levon  <levon@movementarian.org>
5799
5800         * LyXAction.h:
5801         * LyXAction.C:
5802         * MenuBackend.C:
5803         * ToolbarDefaults.C:
5804         * lyxfunc.C:
5805         * lyxrc.C:
5806         * toc.C: lyxaction cleanup
5807
5808 2002-08-08  John Levon  <levon@movementarian.org>
5809
5810         * BufferView2.C: small cleanup
5811
5812         * lyxfind.h:
5813         * lyxfind.C: move unnecessary header into the .C
5814
5815 2002-08-08  John Levon  <levon@movementarian.org>
5816
5817         * funcrequest.h: just tedious nonsense
5818
5819         * lyx_main.h:
5820         * lyx_main.C: cleanups
5821
5822         * buffer.C:
5823         * vspace.C: remove dead header lyx_main.h
5824
5825 2002-08-07  Angus Leeming  <leeming@lyx.org>
5826
5827         * Paragraph.[Ch]:
5828         * paragraph_pimpl.h:
5829         Forward declare class Counters in paragraph.h by moving the ctrs member
5830         variable into Paragraph::Pimpl.
5831         (counters): new method, returning a reference to pimpl_->ctrs.
5832
5833         * text2.C: ensuing changes.
5834
5835 2002-08-07  John Levon  <levon@movementarian.org>
5836
5837         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
5838
5839         * BufferView_pimpl.C: announce X selection on double/triple
5840           click
5841
5842         * lyx_main.C: use correct bool in batch dispatch
5843
5844         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
5845
5846 2002-08-07  André Pönitz <poenitz@gmx.net>
5847
5848         * funcrequest.h: new class to wrap a kb_action and its argument
5849
5850         * BufferView.[Ch]:
5851         * BufferView_pimpl[Ch]:
5852         * LaTeX.C:
5853         * LyXAction.[Ch]:
5854         * lyxfunc.[Ch]:
5855         * lyxrc.C: subsequent changes
5856
5857
5858 2002-08-07  John Levon  <levon@movementarian.org>
5859
5860         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
5861           document options change.
5862
5863 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
5864
5865         * counters.[Ch]
5866         * text2.C
5867         * paragraph.[Ch]
5868         * makefile.am: move counters functionality over from
5869         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
5870
5871 2002-08-06  John Levon  <levon@movementarian.org>
5872
5873         * WordLangTuple.h: new file for word + language code tuple
5874
5875         * SpellBase.h:
5876         * pspell.h:
5877         * pspell.C:
5878         * ispell.h:
5879         * ispell.C:
5880         * lyxtext.h:
5881         * text.C:
5882         * text2.C:
5883         * BufferView.h:
5884         * BufferView2.C: use WordLangTuple
5885
5886         * layout.h:
5887         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
5888
5889 2002-08-06  John Levon  <levon@movementarian.org>
5890
5891         * lyx_main.C: fix cmdline batch handling
5892
5893 2002-08-06  André Pönitz <poenitz@gmx.net>
5894
5895         * lyxrc.C: set default for show_banner to true
5896
5897 2002-08-06  John Levon  <levon@movementarian.org>
5898
5899         * pspell.C: fix a crash, and allow new aspell to work
5900
5901 2002-08-06  John Levon  <levon@movementarian.org>
5902
5903         * lyxfunc.C:
5904         * kbmap.C: small cleanup
5905
5906         * vspace.h:
5907         * vspace.C: add const
5908
5909 2002-08-05  John Levon  <levon@movementarian.org>
5910
5911         * LyXAction.C: back to tabular-insert
5912
5913 2002-08-04  John Levon  <levon@movementarian.org>
5914
5915         * BufferView.h:
5916         * BufferView.C: cosmetic change
5917
5918         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
5919
5920         * bufferlist.C:
5921         * buffer.h:
5922         * buffer.C:
5923         * lyxcb.h:
5924         * lyxcb.C:
5925         * lyxserver.C:
5926         * lyxvc.C:
5927         * vc-backend.C:
5928         * BufferView2.C: purge all "Lyx" not "LyX" strings
5929
5930         * lyxcursor.h:
5931         * lyxcursor.C: attempt to add some documentation
5932
5933         * lyxfunc.C:
5934         * commandtags.h:
5935         * LyXAction.C:
5936         * ToolbarDefaults.C:
5937         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
5938           merge with LFUN_TABULAR_INSERT
5939
5940         * Makefile.am:
5941         * SpellBase.h:
5942         * ispell.h:
5943         * ispell.C:
5944         * pspell.h:
5945         * pspell.C: split up i/pspell implementations into separate
5946           files, many cleanups
5947
5948         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
5949
5950         * text2.C: some cleanup
5951
5952         * lyxfunc.C: don't check for isp_command == "none" any more, it
5953           didn't make any sense
5954
5955 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
5956
5957         * counters.[Ch]
5958         * text2.C
5959         * paragraph.[Ch]
5960         * makefile.am: move counters functionality over
5961         from text2.C/paragraph.[Ch] to counters.[Ch], and
5962         make proper C++.
5963 2002-08-02  John Levon  <levon@movementarian.org>
5964
5965         * buffer.C: s/lyxconvert/lyx2lyx/
5966
5967 2002-08-02  Angus Leeming  <leeming@lyx.org>
5968
5969         * lyxlex.C: revert John's change as it breaks reading of the user
5970         preamble.
5971
5972 2002-08-02  Angus Leeming  <leeming@lyx.org>
5973
5974         * importer.C (Import):
5975         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
5976         changes due to LyXView::view() now returning a boost::shared_ptr.
5977
5978 2002-08-02  John Levon  <levon@movementarian.org>
5979
5980         * lyxlex.C: small cleanup
5981
5982 2002-08-02  John Levon  <levon@movementarian.org>
5983
5984         * text2.C (status): small cleanup, no logic change
5985
5986 2002-08-01  John Levon  <levon@movementarian.org>
5987
5988         * buffer.h:
5989         * buffer.C (writeFile): don't output alerts, caller
5990           handles this
5991
5992         * bufferlist.C:
5993         * lyx_cb.C: from above
5994
5995         * lyxfunc.C: allow to open non-existent files
5996
5997 2002-07-31  John Levon  <levon@movementarian.org>
5998
5999         * lyxserver.C: don't let incidental errors get
6000           in the way (errno)
6001
6002 2002-07-30  John Levon  <levon@movementarian.org>
6003
6004         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
6005
6006 2002-07-30  John Levon  <levon@movementarian.org>
6007
6008         * lyxserver.h:
6009         * lyxserver.C: remove I/O callback too
6010
6011 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6012
6013         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
6014         log.
6015
6016 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
6017
6018         * many files: strip,frontStrip -> trim,ltrim,rtrim
6019
6020 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6021
6022         * PrinterParams.h: remove extern containsOnly, and include
6023         support/lstrings.h instead.
6024
6025         * LaTeX.C (scanAuxFile): modify because of strip changes
6026         (deplog): ditto
6027         * buffer.C (makeLaTeXFile): ditto
6028         * bufferparams.C (writeFile): ditt
6029         * lyxfont.C (stateText): ditto
6030         * lyxserver.C (read_ready): ditto
6031         * vc-backend.C (scanMaster): ditto
6032
6033         * BufferView_pimpl.h: ws changes
6034
6035         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
6036
6037 2002-07-26  André Pönitz <poenitz@gmx.net>
6038
6039         * kb_sequence.C: remove unnedred usings
6040
6041 2002-07-26  Juergen Vigna  <jug@sad.it>
6042
6043         * lyxfind.C (LyXReplace): we have to check better if the returned
6044         text is not of theLockingInset()->getLockingInset().
6045
6046 2002-07-25  Juergen Vigna  <jug@sad.it>
6047
6048         * lyxfind.C (LyXReplace): don't replace if we don't get the
6049         right LyXText.
6050
6051         * undo_funcs.C (createUndo): remove debugging code.
6052
6053 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
6054
6055         * buffer.C (parseSingleLyXformat2Token): Use default placement
6056         when reading old floats.
6057
6058         * FloatList.C (FloatList): Change the default placement of figure
6059         and tables to "tbp".
6060
6061 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
6062
6063         * MenuBackend.C: using std::max
6064
6065 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6066
6067         * MenuBackend.C (expandToc):
6068         (expandToc2): code moved from xforms menu frontend. It is now
6069         generic and TOCs are transparent to menu frontends.
6070
6071 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6072
6073         * toc.C (getTocList): protect against buf=0
6074
6075         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
6076         Menu as first parameter. Now, this calls itself recursively to
6077         expand a whole tree (this will be useful for TOC handling)
6078         (expandFloatInsert): remove 'wide' version of floats
6079
6080         * MenuBackend.h (submenuname): returns the name of the submenu.
6081         (submenu): returns the submenu itself, provided it has been
6082         created by MenuBackend::expand
6083
6084 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6085
6086         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
6087         insets which have noFontChange == true. (bug #172)
6088
6089 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6090
6091         * BufferView_pimpl.C: add connection objects and use them...
6092         (Pimpl): here.
6093
6094 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6095
6096         * MenuBackend.C (expandLastfiles):
6097         (expandDocuments):
6098         (expandFormats):
6099         (expandFloatListInsert):
6100         (expandFloatInsert):
6101         (expand): split expand in parts
6102
6103 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
6104
6105         * lyx_gui.C: use lyx_gui::exit()
6106
6107 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
6108
6109         * LyXAction.C: show the failing pseudo action
6110
6111 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
6112
6113         * buffer.C (readFile): Run the lyxconvert script in order to read
6114         old files.
6115
6116 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
6117
6118         * LyXAction.C:
6119         * commandtags.h:
6120         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
6121
6122 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
6123
6124         * LyXAction.C:
6125         * commandtags.h:
6126         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
6127
6128 2002-07-22  Herbert Voss  <voss@lyx.org>
6129
6130         * lengthcommon.C:
6131         * lyxlength.[Ch]: add support for the vertical lengths
6132
6133 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
6134
6135         * toc.[Ch]: std:: fixes
6136
6137 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6138
6139         * lyxrc.C: do not include lyx_main.h
6140
6141         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
6142         for layouts
6143
6144         * lyxrc.C:
6145         * encoding.C:
6146         * bufferlist.C:
6147         * BufferView2.C: include "lyxlex.h"
6148
6149         * tabular.h:
6150         * bufferparams.h: do not #include "lyxlex.h"
6151
6152         * lyxtextclasslist.C (Add): remove method
6153         (classlist): renamed to classlist_
6154
6155         * paragraph_pimpl.C:
6156         * paragraph.C:
6157         * text2.C:
6158         * CutAndPaste.C:
6159         * bufferview_funcs.C:
6160         * bufferlist.C:
6161         * text.C:
6162         * LaTeXFeatures.C:
6163         * buffer.C:
6164         * toc.C (getTocList): use BufferParams::getLyXTextClass
6165
6166         * toc.C (getTocList): use InsetFloat::addToToc
6167
6168         * toc.[Ch]: new files, containing helper functions to handle table
6169         of contents
6170
6171         * lyxfunc.C (dispatch): no need to remove spaces around command
6172         given as a string
6173         (getStatus): handle LFUN_SEQUENCE by returning the status of the
6174         first command of the sequence; it is not very clever, but I do not
6175         have a better idea, actually
6176
6177         * LyXAction.C (LookupFunc): make sure to remove space at the
6178         beginning and end of the command
6179
6180 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6181
6182         * MenuBackend.C (getMenubar): new method: return the menubar of
6183         this menu set
6184         (read): treat differently reading of menu and menubar (in
6185         particular, the menubar has no name now)
6186         (Menu::menubar): remove
6187
6188         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
6189         saving is finished
6190
6191 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
6192
6193         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
6194         a bibitem inset in a RTL paragraph.
6195
6196 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
6197
6198         * paragraph_pimpl.C: constify
6199
6200         * BufferView_pimpl.C:
6201         * LaTeX.C:
6202         * lyxfunc.C: fix dispatch in a nicer way
6203
6204 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6205
6206         * lyxfunc.C (dispatch):
6207         * BufferView_pimpl.C:
6208         * BufferView_pimpl.h:
6209         * BufferView.C:
6210         * BufferView.h: rename Dispatch() to dispatch()
6211
6212         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
6213
6214         * lyxlayout.C (Read): honor DependsOn tag
6215
6216         * lyxlayout.[Ch] (depends_on): new method
6217
6218         * version.C.in: update lyx_docversion
6219
6220         * LaTeXFeatures.C (getMacros): only define \LyX when needed
6221
6222         * paragraph.C (validate): remove from here...
6223         * paragraph_pimpl.C (validate): ... and move here
6224         (isTextAt): make it const
6225
6226         * buffer.C (getLists): ws cleanup
6227
6228 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
6229
6230         * language.C (read): Use iso8859-1 encoding in latex_lang
6231         (this prevents LyX from crashing when using iso10646-1 encoding).
6232
6233 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6234
6235         * text2.C (toggleInset): if cursor is inside an inset, close the
6236         inset and leave cursor _after_ it
6237
6238 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
6239
6240         * lyxfunc.C: move minibuffer completion handling out of here
6241
6242 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
6243
6244         * BufferView_pimpl.C:
6245         * LaTeX.C: fix dispatch calls
6246
6247 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
6248
6249         * text.C (drawChars): Fix Arabic text rendering.
6250
6251 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
6252
6253         * LyXAction.C:
6254         * commandtags.h:
6255         * lyxfunc.C: remove message-push/pop
6256
6257         * lyxserver.C:
6258         * lyxfunc.h:
6259         * lyxfunc.C: rationalise some code by removing verboseDispatch
6260           in favour of a bool argument to dispatch()
6261
6262 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6263
6264         * lyx_main.C (init): make sure to read symlinks as absolute paths
6265
6266 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
6267
6268         * lyxfunc.h:
6269         * lyxfunc.C: no need for commandshortcut to be a member
6270
6271 2002-07-15  André Pönitz <poenitz@gmx.net>
6272
6273         * converter.C: add support for $$s (scripts from lib/scripts dir)
6274         * lyx_main.C: white space
6275
6276 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
6277
6278         * bufferlist.C:
6279         * lyxrc.h:
6280         * lyxrc.C: remove second exit confirmation
6281
6282 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
6283
6284         * BufferView.h:
6285         * BufferView.C:
6286         * BufferView2.C:
6287         * BufferView_pimpl.h:
6288         * BufferView_pimpl.C:
6289         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
6290
6291 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6292
6293         * MenuBackend.C (expand): add numeric shortcuts to document menu
6294
6295         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
6296
6297 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6298
6299         * lyxfont.C (setLyXFamily):
6300         (setLyXSeries):
6301         (setLyXShape):
6302         (setLyXSize):
6303         (setLyXMisc):
6304         (lyxRead):
6305         * debug.C (value):
6306         * buffer.C (asciiParagraph): use ascii_lowercase
6307
6308 2002-07-15  Mike Fabian  <mfabian@suse.de>
6309
6310         * lyxlex_pimpl.C (search_kw):
6311         * lyxlex.C (getLongString):
6312         * converter.h (operator<):
6313         * converter.C (operator<):
6314         * buffer.C (parseSingleLyXformat2Token):
6315         (asciiParagraph):
6316         * ToolbarDefaults.C (read):
6317         * MenuBackend.C (checkShortcuts):
6318         (read):
6319         * LColor.C (getFromGUIName):
6320         (getFromLyXName): use the compare_ascii_no_case instead of
6321         compare_no_case, because in turkish, 'i' is not the lowercase
6322         version of 'I', and thus turkish locale breaks parsing of tags.
6323
6324 2002-07-16  Angus Leeming  <leeming@lyx.org>
6325
6326         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
6327         now takes a Buffer const & argument.
6328
6329 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
6330
6331         * BufferView.C (resize): check there's a buffer to resize
6332
6333 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
6334
6335         * lyxfunc.C: remove dead code
6336
6337         * lyxserver.h:
6338         * lyxserver.C: use lyx_guii::set_read_callback
6339
6340 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
6341
6342         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
6343         an inset in a RTL paragraph.
6344
6345 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
6346
6347         * lyxfunc.C: repaint after a font size update
6348
6349 2002-07-15  André Pönitz <poenitz@gmx.net>
6350
6351         * lyxlength.C: inBP should be able to return negative values
6352
6353 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
6354
6355         * lyxfunc.C: use lyx_gui::update_fonts()
6356
6357 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
6358
6359         * lyxfunc.C: use lyx_gui::update_color()
6360
6361 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
6362
6363         * bufferlist.C:
6364         * lyxfunc.h:
6365         * lyxfunc.C:
6366         * lyxrc.h:
6367         * lyxrc.C: remove file->new asks for name option, and let
6368           buffer-new take an argument
6369
6370 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
6371
6372         * BufferView_pimpl.C: remove unneeded extra repaint()
6373
6374 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
6375
6376         * LyXAction.C: allow command-sequence with NoBuffer
6377
6378         * lyxfunc.C: don't insist on trailing ';' for command-sequence
6379
6380 2002-07-10  Angus Leeming  <leeming@lyx.org>
6381
6382         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
6383
6384 2002-07-09  Angus Leeming  <leeming@lyx.org>
6385
6386         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
6387
6388 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
6389
6390         * lengthcommon.h: whitespace
6391
6392         * lyxfunc.C: update scrollbar after goto paragraph
6393
6394         * lyxtext.h: factor out page break drawing, and fix it so
6395           page break/added space paints as selected nicely
6396
6397 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
6398
6399         * BufferView_pimpl.C: add FIXMEs, clean up a little
6400
6401 2002-07-09  André Pönitz <poenitz@gmx.net>
6402
6403         * lyxfont.[Ch]: support for wasy symbols
6404
6405 2002-07-08  André Pönitz <poenitz@gmx.net>
6406
6407         * BufferView_pimpl.C: apply John's patch for #93.
6408
6409 2002-07-05  Angus Leeming  <leeming@lyx.org>
6410
6411         * BufferView_pimpl.C (buffer): generate previews if desired.
6412
6413         * LColor.h: add "preview" to the color enum.
6414
6415         * LColor.C (LColor): add a corresponding entry to the items array.
6416
6417         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
6418         with this buffer.
6419
6420 2002-07-05  Angus Leeming  <leeming@lyx.org>
6421
6422         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
6423         The body of the code is now in the method that is passed an ostream &
6424         rather than a file name.
6425         Pass an additional only_preamble parameter, useful for the forthcoming
6426         preview stuff.
6427
6428 2002-07-03  André Pönitz <poenitz@gmx.net>
6429
6430         * lyxfunc.C: simplify getStatus() a bit for math stuff
6431
6432 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6433
6434         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
6435
6436 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6437
6438         * text.C (changeRegionCase): do not change case of all the
6439         document when region ends at paragraph end (bug #461)
6440
6441 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6442
6443         * paragraph.C (startTeXParParams):
6444         (endTeXParParams): add \protect when necessary
6445
6446 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6447
6448         * BufferView_pimpl.C (workAreaExpose): remove warning
6449
6450 2002-06-27  Angus Leeming  <leeming@lyx.org>
6451
6452         * Makefile.am: add lyxlayout_ptr_fwd.h.
6453
6454 2002-06-26  André Pönitz <poenitz@gmx.net>
6455
6456         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
6457
6458 2002-06-25  Angus Leeming  <leeming@lyx.org>
6459
6460         * lyxfunc.C (dispatch): Comment out the call to
6461         grfx::GCache::changeDisplay. The method no longer exists now that the
6462         pixmap generation part of the graphics loader has been moved into
6463         InsetGraphics.
6464
6465 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6466
6467         * text2.C: layout as layout
6468
6469         * text.C: layout as layout
6470
6471         * tabular.C (OldFormatRead): layout as layout
6472
6473         * paragraph_pimpl.C (TeXDeeper): layout as layout
6474         (realizeFont): layout as layout
6475
6476         * paragraph.C (writeFile): layout as layout
6477         (validate): layout as layout
6478         (getFont): layout as layout
6479         (getLabelFont): layout as layout
6480         (getLayoutFont): layout as layout
6481         (breakParagraph): layout as layout
6482         (stripLeadingSpaces): layout as layout
6483         (getEndLabel): layout as layout
6484         (getMaxDepthAfter): layout as layout
6485         (applyLayout): layout as layout
6486         (TeXOnePar): layout as layout
6487         (simpleTeXOnePar): layout as layout
6488         (TeXEnvironment): layout as layout
6489         (layout): layout as layout
6490         (layout): layout as layout
6491
6492         * lyxtextclass.C (compare_name): new functor to work with
6493         shared_ptr, layout as layout
6494         (Read): layout as layout
6495         (hasLayout): layout as layout
6496         (operator): layout as layout
6497         (delete_layout): layout as layout
6498         (defaultLayout): layout as layout
6499
6500         * lyxlayout_ptr_fwd.h: new file
6501
6502         * lyxlayout.C (Read): layout as layout
6503
6504         * lyx_cb.C (MenuInsertLabel): layout as layout
6505
6506         * bufferlist.C (newFile): layout as layout
6507
6508         * buffer.C (readLyXformat2): layout as layout
6509         (parseSingleLyXformat2Token): layout as layout
6510         (insertStringAsLines): layout as layout
6511         (asciiParagraph): layout as layout
6512         (latexParagraphs): layout as layout
6513         (makeLinuxDocFile): layout as layout
6514         (simpleLinuxDocOnePar): layout as layout
6515         (makeDocBookFile): layout as layout
6516         (simpleDocBookOnePar): layout as layout
6517         (getLists): layout as layout
6518
6519         * LaTeXFeatures.C (getTClassPreamble): layout as layout
6520
6521         * CutAndPaste.C (cutSelection): layout as layout
6522         (pasteSelection): layout as layout
6523         (SwitchLayoutsBetweenClasses): layout as layout
6524
6525         * BufferView_pimpl.C (Dispatch): layout as layout
6526         (smartQuote): layout as layout
6527
6528         * BufferView2.C (unlockInset): layout as layout
6529
6530 2002-06-24  André Pönitz <poenitz@gmx.net>
6531
6532         * lyxfunc.C: fix #487
6533
6534 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
6535
6536         * lyxrc.h:
6537         * lyxrc.C:
6538         * lyxfunc.C: remove display_shortcuts, show_banner
6539
6540 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
6541
6542         * Buffer_pimpl.C: oops, update on resize
6543
6544 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
6545
6546         * buffer.C:
6547         * converter.C:
6548         * exporter.C:
6549         * lyxfunc.C:
6550         * BufferView.h:
6551         * BufferView.C: use repaint()
6552
6553         * BufferView_pimpl.h:
6554         * BufferView_pimpl.C: s/updateScreen()/repaint()/
6555           as it's a clearer description. Remove superfluous
6556           redraws.
6557
6558 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
6559
6560         * text.C: fix bug 488. Not ideal, but getting
6561           getWord() to work properly for the insets that
6562           matter is more difficult ...
6563
6564 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
6565
6566         * BufferView_pimpl.C:
6567         * LyXAction.C:
6568         * commandtags.h:
6569         * lyxfunc.C: remove the six million index lyxfuncs to just
6570           one, and DTRT (bug 458)
6571
6572 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
6573
6574         * BufferView.h:
6575         * BufferView.C:
6576         * BufferView_pimpl.h:
6577         * BufferView_pimpl.C: clean up resize() stuff,
6578           and unnecessary updateScreen()s
6579
6580 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
6581
6582         * BufferView.h:
6583         * BufferView.C:
6584         * BufferView_pimpl.h:
6585         * BufferView_pimpl.C:
6586         * lyxfind.h:
6587         * lyxfind.C:
6588         * minibuffer.C: remove focus management of workarea,
6589           not needed. Use screen's greyOut()
6590
6591 2002-06-17  Herbert Voss  <voss@lyx.org>
6592
6593         * converter.C: (convert) do not post a message, when converting
6594         fails, let the calling function decide what to do in this case
6595
6596 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
6597
6598         * lyxfunc.C: tidy up a little
6599
6600 2002-06-16    <alstrup@diku.dk>
6601
6602         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
6603         Got rid of FORMS_H_LOCATION include. Now we are
6604         GUII.
6605
6606 2002-06-15  LyX Development team  <lyx@rilke>
6607
6608         * buffer.[Ch] (sgmlOpenTag):
6609         (sgmlCloseTag): Added support for avoiding pernicious mixed
6610         content. Return number of lines written.
6611
6612         (makeLinuxDocFile):
6613         (makeDocBookFile): Fixed calls to sgml*Tag.
6614         Simple white space clean.
6615
6616         (simpleDocBookOnePar): Simple white space clean.
6617
6618         * tabular.[Ch] (docBook): Renamed to docbook and got another
6619         argument to related with the pernicious mixed content.
6620
6621         (docbookRow): Fixed calls for docbook inset method.
6622
6623 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
6624
6625         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
6626         so it's X11 independent.
6627
6628         * kb*.[Ch]: ditto.
6629
6630         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
6631
6632 2002-06-15  Lyx Development team  <lyx@electronia>
6633
6634         * intl.h: Renamed getTrans to getTransManager.
6635
6636 2002-06-14  Angus Leeming  <leeming@lyx.org>
6637
6638         * Makefile.am: nuke forgotten stl_string_fwd.h.
6639
6640 2002-06-12  Angus Leeming  <leeming@lyx.org>
6641
6642         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
6643
6644 2002-06-13  Angus Leeming  <leeming@lyx.org>
6645
6646         * LaTeX.C:
6647         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
6648
6649 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
6650
6651         * kbmap.C (getiso): add support for cyrillic and greek
6652
6653 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
6654
6655         * BufferView.h:
6656         * BufferView.C:
6657         * BufferView_pimpl.h:
6658         * BufferView_pimpl.C: move bogus scrolling logic
6659           to xforms
6660
6661 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
6662
6663         * lyxfunc.C:
6664         * BufferView_pimpl.C: view->resize() change
6665
6666 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
6667
6668         * BufferView_pimpl.C: topCursorVisible
6669           prototype change
6670
6671 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
6672
6673         * Makefile.am:
6674         * lyx_gui.h:
6675         * lyx_gui.C: move to frontends/
6676
6677         * main.C:
6678         * lyx_main.h:
6679         * lyx_main.C: changes from above
6680
6681 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
6682
6683         * intl.C:
6684         * intl.h:
6685         * kbmap.C:
6686         * kbsequence.C:
6687         * lyx_cb.C:
6688         * lyx_main.C: minor tidy
6689
6690 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
6691
6692         * BufferView_pimpl.h:
6693         * BufferView_pimpl.C:
6694         * BufferView.h:
6695         * BufferView.C: make painter() const,
6696           remove dead code
6697
6698         * BufferView2.C: use screen() accessor
6699
6700         * lyx_main.h:
6701         * lyx_main.C: some minor cleanup
6702
6703 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
6704
6705         * BufferView_pimpl.h:
6706         * BufferView_pimpl.C: remove enter/leaveView,
6707           use workHeight()
6708
6709 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
6710
6711         * BufferView.h:
6712         * BufferView.C:
6713         * BufferView2.C:
6714         * BufferView_pimpl.h:
6715         * BufferView_pimpl.C: only construct screen once,
6716           rename
6717
6718         * lyxrc.C: remove pointless comment
6719
6720 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
6721
6722         * BufferView.h:
6723         * BufferView.C: remove active() and belowMouse()
6724
6725         * BufferView_pimpl.h:
6726         * BufferView_pimpl.C: use workarea() not workarea_,
6727           and make it use a scoped_ptr instead
6728
6729 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
6730
6731         * lyx_gui.C: add debug message on BadWindow
6732
6733 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6734
6735         * sp_spell.C: fdopen is not part of the C++ standard.
6736
6737         * paragraph.C (InsetIterator): use >= instead of ==
6738
6739 2002-06-07  Angus Leeming  <leeming@lyx.org>
6740
6741         Fixes needed to compile with Compaq cxx 6.5.
6742         * BufferView_pimpl.C:
6743         * DepTable.C:
6744         * buffer.C:
6745         * converter.C:
6746         * encoding.C:
6747         * lyx_gui.C:
6748         * lyx_main.C:
6749         * lyxtextclasslist.C:
6750         * minibuffer.C:
6751         * sp_spell.C:
6752         * tabular_funcs.C:
6753         * vc-backend.C:
6754         all c-library variables have been moved into namespace std. Wrap
6755         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
6756
6757         * lyxlength.C:
6758         * tabular-old.C:
6759         * tabular.C:
6760         Add a using std::abs declaration.
6761
6762         * kbmap.h (modifier_pair):
6763         * paragraph.h (InsetTable, InsetList):
6764         * lyxfont.h (FontBits):
6765         type definition made public.
6766
6767         * bufferlist.C (emergencyWriteAll): the compiler complains that
6768         there is more than one possible lyx::class_fun template to choose from.
6769         I re-named the void specialisation as lyx::void_class_fun.
6770
6771         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
6772
6773         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
6774         the compiler is is unable to find tostr in write_attribute.
6775
6776 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6777
6778         * buffer.C (sgmlError): hide #warning
6779
6780 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6781
6782         * xtl/*: get rid of xtl, which is not in use anyway
6783
6784         * LyXAction.C (init):
6785         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
6786         were unimplemented xtl experimentation
6787
6788 2002-06-04  André Pönitz <poenitz@gmx.net>
6789
6790         * lyxfunc.C: disable array operation on simple formulae
6791
6792 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
6793
6794         * converter.C: constify a bit
6795
6796 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
6797
6798         * lyx_gui.C: check xforms version correctly
6799
6800 2002-04-30  Herbert Voss  <voss@lyx.org>
6801
6802         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
6803         "keep" option
6804
6805 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
6806
6807         * lyxvc.C: fix bug 416 (make sure buffer is saved before
6808           attempt to register it with a VCS)
6809
6810 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6811
6812         * lyx_main.C (init): honor variables LYX_DIR_13x and
6813         LYX_USERDIR_13x
6814
6815 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
6816
6817         * buffer.h:
6818         * buffer.C:
6819         * lyx_main.C: fix a crash on bad command line,
6820           and give a useful exit status on error
6821
6822         * lyxfunc.C (doImport): allow -i lyx to work
6823
6824 2002-03-30  André Pönitz <poenitz@gmx.net>
6825
6826         * lyxfunc.C: mathed font changes
6827
6828 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
6829
6830         * LaTeX.C:
6831         * importer.h:
6832         * importer.C:
6833         * lyx_sty.h:
6834         * lyx_sty.C:
6835         * lyxlex.C:
6836         * lyxrow.h:
6837         * lyxtext.h:
6838         * paragraph.h:
6839         * paragraph.C:
6840         * texrow.h:
6841         * texrow.C:
6842         * text.C:
6843         * trans_mgr.h: srcdocs, and some minor cleanups
6844
6845 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6846
6847         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
6848         call getFont all the time)
6849
6850 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6851
6852         * switch from SigC signals to boost::signals
6853
6854 2002-05-29  André Pönitz <poenitz@gmx.net>
6855
6856         * paragraph_pimpl.C (getChar): don't call size() too often...
6857
6858 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6859
6860         * paragraph_pimpl.C (insertChar): do not try to update tables when
6861         appending (pos == size())
6862
6863         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
6864         in order to reduce drastically the number of comparisons needed to
6865         parse a large document
6866
6867 2002-05-29  André Pönitz <poenitz@gmx.net>
6868
6869         * text.C:
6870         * text2.C:
6871         * lyxtextclass.C:
6872         * sp_pspell.h:
6873         * textclasslist.[Ch]:
6874         * sp_ispell.h: whitespace change
6875
6876 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6877
6878         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
6879         lyxaction directly now.
6880
6881 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
6882
6883         * trans.C:
6884         * lyxfont.C:
6885         * lyxvc.C: remove unused headers
6886
6887 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
6888
6889         * Makefile.am:
6890         * buffer.h:
6891         * undostack.h:
6892         * undostack.C:
6893         * undo_funcs.h:
6894         * undo_funcs.C: some cleanups. Use shared_ptr
6895           and a template for the undo stacks.
6896
6897 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
6898
6899         * BufferView_pimpl.h:
6900         * BufferView_pimpl.C:
6901         * kbmap.h:
6902         * kbmap.C:
6903         * kbsequence.h:
6904         * kbsequence.C:
6905         * lyxfunc.h:
6906         * lyxfunc.C:
6907         * text2.C: use key_state/mouse_state
6908
6909 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6910
6911         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
6912         and LSubstring
6913
6914         * chset.C: change include order
6915         (loadFile): use boost regex and get rid of LRegex and LSubstring
6916
6917         * Makefile.am (BOOST_LIBS): new variable
6918         (lyx_LDADD): use it
6919
6920         * LaTeX.C: change include order.
6921         (scanAuxFile): use boost regex and get rid of LRegex and
6922         LSubstring
6923         (deplog): ditto
6924
6925 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
6926
6927         * ColorHandler.h:
6928         * ColorHandler.C:
6929         * FontInfo.h:
6930         * FontInfo.C: moved to frontends/xforms/
6931
6932         * FontLoader.h:
6933         * FontLoader.C: moved into frontends for GUIIzation
6934
6935         * Makefile.am:
6936         * lyx_gui.C:
6937         * lyxfont.C:
6938         * lyxfunc.C: changes from above
6939
6940 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
6941
6942         * LColor.C: remove spurious X include
6943
6944         * BufferView_pimpl.C:
6945         * Makefile.am:
6946         * font.h:
6947         * font.C:
6948         * text.C:
6949         * text2.C: move font metrics to frontends/
6950
6951 2002-05-24  Juergen Vigna  <jug@sad.it>
6952
6953         * undo_funcs.C (textHandleUndo): fix the cursor selection after
6954         setting the undo_cursor.
6955
6956         * ParagraphParameters.h: include local includes first.
6957
6958 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
6959
6960         * BufferView_pimpl.C:
6961         * BufferView_pimpl.h:
6962         * Makefile.am:
6963         * WorkArea.h:
6964         * WorkArea.C:
6965         * screen.C: move WorkArea into frontends/
6966
6967         * lyxscreen.h:
6968         * screen.C:
6969         * text.C:
6970         * BufferView.C:
6971         * BufferView2.C: move LyXScreen into frontends/
6972
6973         * lyxlookup.h:
6974         * lyxlookup.C:
6975         * lyx_gui.C: move lyxlookup into frontends/xforms/
6976
6977 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
6978
6979         * BufferView2.C:
6980         * BufferView_pimpl.C:
6981         * FontLoader.C:
6982         * LyXView.h:
6983         * LyXView.C:
6984         * Makefile.am:
6985         * WorkArea.C:
6986         * XFormsView.h:
6987         * XFormsView.C:
6988         * buffer.C:
6989         * bufferlist.C:
6990         * bufferview_funcs.C:
6991         * converter.C:
6992         * importer.C:
6993         * lyx_cb.C:
6994         * lyx_gui.C:
6995         * lyx_main.C:
6996         * lyx_find.C:
6997         * lyxfunc.C:
6998         * lyxvc.C:
6999         * minibuffer.C:
7000         * text.C:
7001         * text2.C:
7002         * trans.C:
7003         * vc-backend.C: move LyX/XFormsView into frontends/
7004
7005 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
7006
7007         * Makefile.am:
7008         * PainterBase.C:
7009         * PainterBase.h:
7010         * Painter.C:
7011         * Painter.h:
7012         * WorkArea.C:
7013         * WorkArea.h:
7014         * screen.C:
7015         * tabular.C:
7016         * text.C:
7017         * text2.C: move Painter to frontends/
7018
7019 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7020
7021         * buffer.C: comment out some some code that depend upon lyx_format
7022         < 220
7023
7024         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
7025         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
7026
7027         * buffer.h (NO_COMPABILITY): turn off compability
7028
7029         * ColorHandler.C: include scoped_array.hpp
7030
7031         * font.C: Use more specific smart_ptr header.
7032         * Painter.C: ditto
7033         * gettext.C: ditto
7034         * ShareContainer.h: ditto
7035         * lyx_main.h: ditto
7036         * kbmap.h: ditto
7037         * FontInfo.h: ditto
7038         * BufferView_pimpl.h: ditto
7039         * ColorHandler.h: ditto
7040
7041         * kbmap.C (defkey): change call to shared_ptr::reset
7042
7043 2002-05-21  Juergen Vigna  <jug@sad.it>
7044
7045         * buffer.C (insertErtContents): fix to insert ert asis if it is
7046         non empty. Skip it completely if it contains only whitespaces.
7047
7048 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
7049
7050         * BufferView_pimpl.C:
7051         * BufferView2.C: clear selection on paste (bug 393)
7052
7053 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7054
7055         * DepTable.C: include ctime
7056
7057 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
7058
7059         * buffer.C (latexParagraphs): Add new argument (moving_arg).
7060
7061 2002-05-14  Juergen Vigna  <jug@sad.it>
7062
7063         * text.C (breakParagraph): fixed function to honor the keepempty
7064         layout in the right maner and also to permit the right breaking
7065         algorithm on empty or non empyt keepempty paragraphs.
7066
7067         * paragraph.C (breakParagraph): we have to check also if the par
7068         is really empty (!size()) for isempty otherwise we do the wrong
7069         paragraph break.
7070
7071 2002-05-10  Juergen Vigna  <jug@sad.it>
7072
7073         * buffer.[Ch] : The following are only changes to the ert
7074         compatibility read reading old LaTeX layout and font stuff and
7075         convert it to ERTInsets.
7076
7077         * buffer.h: added isErtInset().
7078
7079         * buffer.C (struct ErtComp): add a fromlayout bool to check
7080         if we're inside a LaTeX layout.
7081         (isErtInset): new helper function.
7082         (insertErtContents): look for other ert insets before this one
7083         and insert the contents there, so that we don't have subsequent
7084         ERT insets with nothing between them. This way we create only one
7085         inset with multiple paragraphs. Also check if we don't insert only
7086         spaces ' ' as they are ignored anyway afterwards in the .tex file
7087         so if we have only spaces we will ignore this latex part in the
7088         new file.
7089         (parseSingleLyXformat2Token \\layout): better compatibility when
7090         reading layout-latex stuff.
7091         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
7092         language tag.
7093         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
7094         stuff after reading the inset only get the information back from
7095         the stack.
7096
7097 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
7098
7099         * buffer.C (makeLaTeXFile): Put language options after loading babel.
7100
7101         * LaTeXFeatures.C (getBabelOptions): New method.
7102
7103 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7104
7105         * BufferView_pimpl.C (Dispatch): work around missing argument for
7106         'layout'
7107
7108 2002-05-08  Juergen Vigna  <jug@sad.it>
7109
7110         * text.C (leftMargin): handle paragraph leftindent.
7111
7112         * paragraph.C (writeFile): write the new \\leftindent tag.
7113         (validate): handle leftindent code.
7114         (TeXEnvironment): handle paragraphleftindent code again.
7115
7116         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
7117
7118         * buffer.C (parseSingleLyXformat2Token): added compatibility code
7119         for paragrap_extra indent code and new token \\leftindent.
7120         (latexParagraphs): handle the leftindent as environment.
7121
7122         * ParameterStruct.h: added leftindent support.
7123
7124         * ParagraphParameters.C (leftIndent): added support functions for
7125         the paragraph left indent.
7126
7127         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
7128         more appropriate.
7129
7130 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
7131
7132         * paragraph.C (isRightToLeftPar): Return false for a paragraph
7133         inside insetERT.
7134
7135         * text.C (computeBidiTables): No bidi in insetERT.
7136
7137         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
7138         in RTL documents.
7139
7140 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7141
7142         * version.C.in: pre 5
7143
7144 2002-05-02  José Matos  <jamatos@fep.up.pt>
7145         * buffer.C (makeDocBookFile): white space changes, add newline to
7146         command styles.
7147         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
7148
7149         * tabular.C (docBook): fix typo.
7150
7151 2002-05-03  Juergen Vigna  <jug@sad.it>
7152
7153         * screen.C (drawFromTo): recalculate the rowpointer if we had a
7154         change in LyXText as we can not be sure it was not freed.
7155         (drawOneRow): remove unused code.
7156
7157         * text.C (drawInset): redo the calculation of the need_break_row as
7158         it could have a row which was already freed.
7159         (draw): look at the return value of drawInset and return false if
7160         it also returned false.
7161         (paintRowText): look at the return value of draw and return false if
7162         it also returned false.
7163
7164         * lyxtext.h: added bool return type to drawInset() and draw() so that
7165         if we have a change in the row so that the rowbreak has to be redone
7166         we abort drawing as it will be called again.
7167
7168 2002-05-02  Juergen Vigna  <jug@sad.it>
7169
7170         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
7171         a change in the maintext also if we're inside an inset.
7172         (Dispatch): set the cursor again after a break line and after the
7173         screen has been updated as it could be we're in a different row.
7174
7175         * text2.C (fixCursorAfterDelete): check to make sure we don't request
7176         to set the cursor behind the pargraph with > size().
7177         (setCursor): check also for the same paragraph when checking where
7178         to put the cursor if we have a NFR inset.
7179
7180         * buffer.C (parseSingleLyXformat2Token): move the compatibility
7181         parts of layout read further up as it still was in the wrong
7182         position.
7183
7184 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7185
7186         * screen.C (drawFromTo): change sine fullRebreak always return
7187         true.
7188
7189         * buffer.C (parseSingleLyXformat2Token): reindent some
7190
7191         * BufferView_pimpl.C (update): change since fullRebreak always
7192         return true.
7193         (Dispatch): git rid of the last hardcoded "Standard"s.
7194
7195 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7196
7197         * text2.[Ch] (fullRebreak): make it return void now that we always
7198         returned true.
7199
7200 2002-04-30  Juergen Vigna  <jug@sad.it>
7201
7202         * buffer.C (parseSingleLyXformat2Token): reset the font before the
7203         ert compatibility check for "latex" layout.
7204
7205 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
7206
7207         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
7208         minipages: use col% instead of p%, and also use the current font.
7209         (makeLaTeXFile): Fix use babel condition.
7210         (parseSingleLyXformat2Token): Correct font when reading old floats.
7211
7212 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
7213
7214         * BufferView_pimpl.C (Dispatch): Check that float type exists when
7215         inserting list of floats.
7216
7217 2002-04-25  Herbert Voss  <voss@lyx.org>
7218
7219         * MenuBackend.C (expand): don't add the graphics extensions to the
7220         export menu
7221
7222 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7223
7224         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
7225         non-existing layout, do not complain if it was the default layout
7226         of the original class (bug #342)
7227
7228 2002-04-24  Juergen Vigna  <jug@sad.it>
7229
7230         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
7231         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
7232
7233 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
7234
7235         * buffer.C (getBibkeyList): If using \bibliography, return the
7236         option field with the reference itself. Enables us to provide natbib
7237         support when using \bibliography.
7238
7239 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
7240
7241         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
7242
7243         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
7244         natbib is provided by the LaTeX class.
7245
7246 2002-04-23  Juergen Vigna  <jug@sad.it>
7247
7248         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
7249         Wakeup functions.
7250
7251         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
7252
7253 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7254
7255         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
7256
7257         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
7258         ensuremath around textordmasculine, textordfeminine and
7259         textdegree.
7260
7261 2002-04-19  Juergen Vigna  <jug@sad.it>
7262
7263         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
7264         reinitializing the buffer otherwise row-dimensions may be wrong.
7265         (update): reset also the selection cursors if they do exits otherwise
7266         their x/y positions may be wrong.
7267
7268         * text2.C (cursorDown): don't enter the inset if we came from a row
7269         above and are one row over the inset.
7270
7271         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
7272         really leaving an inset.
7273
7274 2002-04-18  Juergen Vigna  <jug@sad.it>
7275
7276         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
7277         of the selected paragraph does not have the selected layout also if
7278         the last one had!
7279
7280         * text2.C (setLayout): fixed bug which did not change last selected
7281         paragraph.
7282
7283         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
7284         changed the read and substituted \\end_float with \\end_inset!
7285
7286         * BufferView_pimpl.C (cursorPrevious):
7287         (cursorNext): fixed to make it work with rows heigher than the work
7288         area without moving the cursor only the draw of the row.
7289         (workAreaMotionNotify): fix jumping over high rows.
7290
7291 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7292
7293         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
7294         Ressler.
7295
7296 2002-04-16  Juergen Vigna  <jug@sad.it>
7297
7298         * text2.C (setCursor): set also the irow().
7299         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
7300         (cursorUp):
7301         (cursorDown): support for locking an inset if the x_fix value goes
7302         inside it. That way I can transverse insets too with cursor up/down.
7303
7304         * lyxrow.h: added irow helper function same as other (i) functions.
7305
7306         * BufferView_pimpl.C (cursorPrevious):
7307         (cursorNext): fixed for insets!
7308
7309 2002-04-15  Juergen Vigna  <jug@sad.it>
7310
7311         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
7312         position otherwise it is wrong in some cases.
7313
7314         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
7315         inside the inset before the call.
7316
7317 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
7318
7319         * buffer.[Ch] (getBibkeyList): make it const.
7320
7321 2002-04-12  Juergen Vigna  <jug@sad.it>
7322
7323         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
7324
7325         * text2.C (getCursorX): new helper function
7326         (setCursor): compute also ix_
7327         (setCursorFromCoordinates): set also ix.
7328
7329         * lyxcursor.h: added ix_ and helper functions.
7330
7331         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
7332
7333         * buffer.C (insertStringAsLines): dont break paragraph if the this
7334         paragraph is inside an inset which does not permit it!
7335
7336         * text.C (breakParagraph): honor keepempty flag and break the paragraph
7337         also with no chars on this paragraph.
7338         (paintRowText): only paint stuff if it's inside the workarea!
7339
7340         * paragraph.C (breakParagraph): honor keepempty flag and break the
7341         paragraph always below not above.
7342
7343         * BufferView2.C (unlockInset): update the paragraph layout on inset
7344         unlock as we changed paragraph in such a case.
7345
7346         * lyxfind.C (LyXFind): clear the former selection if not found!
7347
7348         * text2.C (insertInset): freeze Undo after setUndo so that it is not
7349         again called in insertChar().
7350
7351         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
7352         an inset which uses the whole row!
7353         (rightMargin): ditto.
7354         (insertChar): force a rebreak if we inserted an inset!
7355
7356 2002-03-28  Herbert Voss  <voss@lyx.org>
7357
7358         * lyxlength.[Ch]: add inBP() to get the right PS-point
7359         units (BigPoint). With inPixels we have rounding errors
7360
7361 2002-04-11  Juergen Vigna  <jug@sad.it>
7362
7363         * text2.C (setCursorFromCoordinates): set iy to the right value.
7364         (setCursor): add check if row->previous exists!
7365
7366         * buffer.C (parseSingleLyXformat2Token): reset font after read of
7367         an old float_type as this was the case in the old code!
7368
7369         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
7370
7371         * BufferView2.C (showLockedInsetCursor): use iy
7372         (fitLockedInsetCursor): ditto
7373
7374         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
7375         locked insets as there we have the right value now.
7376
7377         * lyxcursor.C: added iy_ variable and iy functions to set to the
7378         baseline of cursor-y of the locked inset.
7379
7380         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
7381         (setCursor): fixed for insets which need a full row.
7382
7383         * text.C (rowLastPrintable): don't ignore the last space when before
7384         an inset which needs a full row.
7385         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
7386         as last character of a row when before a inset which needs a full row.
7387
7388 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7389
7390         * version.C.in: update date
7391
7392         * text2.C (fullRebreak): try to always return true and see what
7393         happens...
7394
7395 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7396
7397         * MenuBackend.C (expand): use Floating::listName
7398
7399         * FloatList.C (FloatList): add listName argument to the built-in
7400         floats
7401
7402         * Floating.[Ch]: add listName member, which is the 'List of XXX'
7403         text associated with the float.
7404
7405 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7406
7407         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
7408
7409 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7410
7411         * ShareContainer.h: add a couple of missing typenames.
7412
7413 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
7414
7415         * lyxrc.C (getDescription): use _() correctly rather than N_().
7416
7417 2002-03-28  Herbert Voss  <voss@lyx.org>
7418
7419         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
7420         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
7421
7422 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7423
7424         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
7425         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
7426
7427 2002-03-29  Juergen Vigna  <jug@sad.it>
7428
7429         * lyxfunc.C (dispatch): add a missing fitCursor call.
7430
7431         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
7432         it was scrolled by a cursor move, so return the bool status.
7433
7434         * BufferView.C (fitCursor): return the bool flag also to the outside
7435         world as this is needed.
7436
7437         * screen.C (toggleToggle): don't subtract the offset if it's positive.
7438
7439         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
7440         call the edit() as it is not needed (and wrong) IMO.
7441         (workAreaButtonPress): set the screen_first variable before evt.
7442         unlock the inset as this may change screen_first and then we have
7443         a wrong y position for the click!
7444
7445 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7446
7447         * MenuBackend.C (expand): another translation that I missed
7448
7449 2002-03-28  Juergen Vigna  <jug@sad.it>
7450
7451         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
7452
7453         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
7454
7455 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7456
7457         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
7458
7459         * MenuBackend.C (expand): fix export/view/update when there is no
7460         document open.
7461
7462 2002-03-27  Herbert Voss  <voss@lyx.org>
7463
7464         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
7465         and text%
7466
7467 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7468
7469         * bufferview_funcs.C (currentState): only show paragraph number
7470         for is DEVEL_VERSION is set.
7471
7472         * lyxfunc.C (dispatch): put warning in INFO channel
7473
7474         * MenuBackend.C (expand): translate the name of floats
7475
7476         * FloatList.C (FloatList): mark the float names for translation
7477
7478         * converter.C (convert): use LibScriptSearch
7479
7480 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7481
7482         * MenuBackend.C (defaults): fix default menu (we might as well get
7483         rid of it...)
7484
7485 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7486
7487         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
7488         directory.
7489
7490 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7491
7492         * lyxvc.C: reorder includes.
7493
7494 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
7495
7496         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
7497           properly
7498
7499 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
7500
7501         * CutAndPaste.C: change layouts earlier on paste
7502           to avoid crashing when calling getFont()
7503
7504 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
7505
7506         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
7507         irritating #error.
7508
7509 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7510
7511         * WorkArea.C: remove 'Pending' debug message.
7512
7513         * most files: ws cleanup
7514
7515         * buffer.[Ch]: ws changes
7516
7517         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
7518
7519 2002-03-21  Juergen Vigna  <jug@sad.it>
7520
7521         * tabular.C (SetMultiColumn): collapse also the contents of the
7522         cells and set the last border right. Added a Buffer const * param.
7523
7524 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7525
7526         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
7527         linking or not.
7528
7529 2002-03-19  Juergen Vigna  <jug@sad.it>
7530
7531         * text2.C (clearSelection): reset also xsel_cache.
7532
7533         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
7534         where it needs to be called (John tells us to do so too :)
7535         (selectionLost): reset sel_cache.
7536
7537         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
7538
7539 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7540
7541         * text2.C (setCursorIntern): put debuging code in INSETS channel
7542
7543 2002-03-19  André Pönitz <poenitz@gmx.net>
7544
7545         * lyxfunc.C: tiny whitespace change
7546
7547 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7548
7549         * ToolbarDefaults.C (init):
7550         * LyXAction.C (init):
7551         * commandtags.h:
7552         * BufferView_pimpl.C (Dispatch):
7553         * lyxfunc.C (dispatch): remove LFUN_DEPTH
7554
7555 2002-03-19  Allan Rae  <rae@lyx.org>
7556
7557         * exporter.C (Export): removeAutoInsets before doing anything else.
7558         While I've just introduced a dependency on BufferView this really is
7559         the best place to clean the buffer otherwise you need to cleanup in
7560         a dozen places before calling export or cleanup in a dozen functions
7561         that export calls.
7562
7563         * converter.C (runLaTeX):
7564         (scanLog): Better handling of removeAutoInsets and screen updates.
7565
7566         * lyxfunc.C (dispatch): small whitespace changes
7567
7568 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7569
7570         * WorkArea.C (C_WorkAreaEvent): return a value.
7571         (event_cb): return 1 if we handled the event, 0 otherwise.
7572
7573         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
7574
7575 2002-03-18  Juergen Vigna  <jug@sad.it>
7576
7577         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
7578         (GetAdditionalWidth): ditto.
7579         (RightLine): ditto.
7580         (LeftLine): ditto.
7581
7582         * BufferView2.C (copy): use getLyXText() so that we do it inside an
7583         inset if we're there actually (probably not used right now but this
7584         is the direction to go for unifying code).
7585         (paste): disable code to clear the selection.
7586
7587         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
7588         inside an InsetText and move the check further up as it is in the
7589         wrong place.
7590
7591         * text2.C (pasteSelection): set a selection over the pasted text.
7592
7593 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
7594
7595         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
7596         and libgraphics to build on Cygwin.
7597
7598 2002-03-15  Juergen Vigna  <jug@sad.it>
7599
7600         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
7601         inserting an Inset into the paragraph. I know this is not the best
7602         fix but we already use current_view in CutAndPaste so we will remove
7603         all of it's using at the same time.
7604
7605         * buffer.C (sgmlError): deactivated function till it is rewritten in
7606         the right mode, now it can create problems.
7607
7608         * paragraph.C (isLineSeparator): check if getInset returns != 0,
7609         before accessing it.
7610
7611 2002-03-14  Juergen Vigna  <jug@sad.it>
7612
7613         * undo_funcs.C (textHandleUndo): do the right thing when updating
7614         the inset after the undo/redo.
7615
7616         * text2.C (setCursor): just some testcode for #44 not ready yet.
7617
7618         * undo_funcs.C (textHandleUndo): set the next() and previous()
7619         pointers of the paragraph to 0 before deleting otherwise we have
7620         problems with the Paragraph::[destructor].
7621
7622         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
7623         on a paragraph insertion.
7624
7625 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7626
7627         * buffer.C (asciiParagraph): use += operator for char append to
7628         string.
7629
7630         * paragraph.C (getFontSettings): compare >= not just >
7631         (highestFontInRange): ditto
7632         (setFont): ditto
7633
7634 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7635
7636         * paragraph.C: change several algorithm to be more appripriate for
7637         the problem domain. This is lookip in FontList and in the InsetList.
7638
7639 2002-03-13  André Pönitz <poenitz@gmx.net>
7640
7641         * commandtags.h:
7642         * LyXAction.C: remove unused LFUN_MATH_MACROARG
7643
7644 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
7645
7646         * commandtags.h:
7647         * LyXAction.C:
7648         * lyxfunc.C:
7649         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
7650
7651 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7652
7653         * Painter.C (display): anon helper function, adjust code for this
7654         change.
7655         (pixmap): remove function.
7656
7657         * Painter.h: remove private display variable.
7658
7659         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
7660
7661 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
7662
7663         * WorkArea.[Ch]: remove figinset_canvas cruft.
7664
7665 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7666
7667         * lyxtextclass.C (operator): add one item cache optimization.
7668
7669         * bufferlist.h: doxy changes
7670
7671         * bufferlist.C: ws changes
7672
7673         * DepTable.[Ch] (ext_exist): place const in the right spot.
7674
7675         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
7676         call resizeInsets.
7677         (workAreaExpose): call resizeInsets when the with BufferView changes.
7678         (Dispatch): adjust for protectedBlank removal
7679         (specialChar): call updateInset if the insert went ok.
7680
7681         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
7682         specialChar instead.
7683
7684         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
7685
7686         * BufferView.h: doxy change
7687
7688         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
7689
7690         * lyxtextclass.C (operator[]): remove non-const version
7691         (defaultLayout): remove non-const version
7692
7693 2002-03-12  Juergen Vigna  <jug@sad.it>
7694
7695         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
7696         did resize the LyXText too.
7697
7698         * buffer.C (readLyXformat2): set layout information on newly allocated
7699         paragraphs.
7700
7701         * tabular.C (OldFormatRead): set layout information on the paragraph.
7702
7703 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
7704
7705         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
7706
7707 2002-03-11  Juergen Vigna  <jug@sad.it>
7708
7709         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
7710         plainly wrong.
7711         (resizeCurrentBuffer): force also the insets to resize themselfes.
7712         (moveCursorUpdate): fixed up for InsetText.
7713
7714 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
7715
7716         * commandtags.h:
7717         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
7718         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
7719         value of Dialogs::tooltipsEnabled().
7720         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
7721
7722 2002-03-08  Juergen Vigna  <jug@sad.it>
7723
7724         * BufferView_pimpl.C (updateInset): update inset inside inset also
7725         if it isn't inside theLockingInset().
7726
7727 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7728
7729         * buffer.C (asciiParagraph): redo some of the word and line length
7730         handling.
7731         (getLists): look for Caption instead of caption.
7732
7733 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7734
7735         * buffer.C (Buffer): initialize niceFile to true
7736         (makeLaTeXFile):
7737         (makeLinuxDocFile):
7738         (makeDocBookFile): make sure niceFile is true on exit
7739
7740 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7741
7742         * buffer.C (makeLaTeXFile): escape ~ in \input@path
7743
7744 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
7745
7746         * LyXSendto.C: remove.
7747         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
7748         * lyx_gui.C: remove now-redundant comment.
7749         * ColorHandler.h: remove forward declaration of class WorkArea.
7750         * lyxfunc.C: remove #include "WorkArea.h".
7751
7752 2002-03-07  Juergen Vigna  <jug@sad.it>
7753
7754         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
7755         got moved away with the DEPM and also set the inset_owner always
7756         right which before could have been omitted.
7757
7758 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7759
7760         * buffer.C (parseSingleLyXformat2Token): use default layout is the
7761         wanted layout is not found.
7762
7763 2002-03-07  Juergen Vigna  <jug@sad.it>
7764
7765         * CutAndPaste.C (cutSelection): another layout settings forgotten.
7766
7767 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7768
7769         * paragraph.C (breakParagraph): use default layout not layout of
7770         prev paragraph.
7771         (Paragraph): clear ParagraphParameters.
7772
7773 2002-03-06  Juergen Vigna  <jug@sad.it>
7774
7775         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
7776         otherwise it would not be a valid lenght. Fixed a special case in
7777         the minipage compatibility read where we end the document with a
7778         minipage.
7779
7780         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
7781         was set as it could be 0 for InsetTexts first entry.
7782
7783 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7784
7785         * paragraph.C (writeFile): if layout is empty write out
7786         defaultLayoutName().
7787
7788         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
7789         file without named layout we set layout to defaultLayoutName().
7790
7791 2002-03-06  Juergen Vigna  <jug@sad.it>
7792
7793         * CutAndPaste.C (copySelection): set layout for new paragraph.
7794
7795         * text.C (prepareToPrint): leave ERT inset left aligned
7796         (leftMargin): don't indent paragraphs inside ERT insets
7797
7798 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7799
7800         * paragraph.C (breakParagraph): dont call clear do the work manually
7801
7802         * paragraph.[Ch] (clear): remove function
7803
7804 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7805
7806         * paragraph.C (Paragraph): dont call clear, the work has already
7807         been done.
7808
7809         * lyxtextclass.C (operator): assert if n is empty
7810
7811         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
7812         work manually instead.
7813
7814 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
7815
7816         * BufferView_pimpl.C: protect selectionLost against text == 0
7817
7818 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7819
7820         * text.C (breakParagraph): fix a setting layout to '0' problem.
7821
7822 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
7823
7824         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
7825         final location of file, for the included files, and graphics.
7826
7827 2002-03-05  Juergen Vigna  <jug@sad.it>
7828
7829         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
7830
7831 2002-03-04  Juergen Vigna  <jug@sad.it>
7832
7833         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
7834
7835         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
7836         last column of multicolumn cells.
7837         (SetWidthOfMulticolCell): recalculate NMC and real columns.
7838
7839 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
7840
7841         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
7842         file if it doesn't go to a temporary file.
7843
7844         * buffer.C (sgmlOpenTag):
7845         (sgmlCloseTag):  remove extra newline insertion.
7846
7847 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7848
7849         * text.C (getRowNearY): comment out debug msg
7850
7851 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7852
7853         * text2.C: first -> first_y
7854
7855         * text.C (getRowNearY): add some attemts at a possible
7856         optimization, not working.
7857
7858         * tabular.[Ch]: add BufferParams to several function so that newly
7859         created paragraph can be initialized to he default layotu for the
7860         buffers textclass.
7861
7862         * tabular-old.C (ReadOld): add buf->params to call of Init
7863
7864         * screen.C: rename text->first to text->first_y
7865
7866         * paragraph.C (breakParagraph): always set layout in the broken
7867         paragraph
7868
7869         * lyxtextclass.C (Read): remove lowercase
7870         (hasLayout): ditto
7871         (operator): ditto
7872         (delete_layout): ditto
7873
7874         * lyxtext.h: rename first -> first_y
7875
7876         * lyxlayout.C (Read): remove lowercase
7877         (name): ditto
7878         (setName): ditto
7879         (obsoleted_by): ditto
7880
7881         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
7882
7883         * buffer.C (insertErtContents): add params are to InsetERT
7884         (parseSingleLyXformat2Token): add code to check if a paragraphs
7885         layout really exist.
7886         (parseSingleLyXformat2Token): add params to several inset
7887         constructors
7888         (asciiParagraph): remove lowercase, do the layout comparisons with
7889         no_case
7890
7891         * BufferView_pimpl.C (cursorNext): first -> first_y
7892         (resizeCurrentBuffer): first -> first_y
7893         (updateScrollbar): first -> first_y
7894         (scrollCB): first -> first_y
7895         (workAreaMotionNotify): first -> first_y
7896         (workAreaButtonPress): first -> first_y
7897         (checkInsetHit): first -> first_y
7898         (cursorPrevious): first -> first_y
7899         (cursorNext): first -> first_y
7900         (Dispatch): add buffer_->params to severl inset contructors
7901
7902 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7903
7904         * lyxlayout.C (Read): remove some debug info that I forgot.
7905
7906         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
7907         clean up the code slightly.
7908         (makeLinuxDocFile): ditto
7909         (makeDocBookFile): ditto
7910
7911         * text2.C: layout as string
7912
7913         * text.C: layout as string
7914
7915         * paragraph_pimpl.C: layout as string
7916
7917         * paragraph.[Ch]: layout as string
7918
7919         * lyxtextclasslist.[Ch]: layout as string
7920
7921         * lyxtextclass.[Ch]: layout as string
7922
7923         * lyxtext.h: layout as string
7924
7925         * lyxlayout.[Ch]: layout as string
7926
7927         * lyx_cb.C: layout as string
7928
7929         * bufferview_funcs.C: layout as string
7930
7931         * bufferparams.C: layout as string
7932
7933         * buffer.C: layout as string
7934
7935         * LyXView.[Ch]: layout as string
7936
7937         * LaTeXFeatures.[Ch]: layout as string
7938
7939         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
7940
7941         * BufferView_pimpl.C: change current_layout to string, remove
7942         lyx::layout_type.
7943         (Dispatch):
7944         (smartQuote):
7945         (insertInset):
7946         (workAreaButtonRelease): layout as string
7947
7948         * BufferView2.C (unlockInset): adjust
7949
7950         * vspace.C (asLatexCommand): use an explict temp variable.
7951
7952 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
7953
7954         * Makefile.am: use FRONTEND_*
7955
7956 2002-03-01  Juergen Vigna  <jug@sad.it>
7957
7958         * tabular.C (SetWidthOfMulticolCell): changed to something better
7959         I hope but still work in progress.
7960         (recalculateMulticolumnsOfColumn): renamed function from
7961         recalculateMulticolCells as it is more appropriate now.
7962         (SetWidthOfCell): calculate multicols better.
7963
7964 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7965
7966         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
7967
7968         * lyxfunc.C (processKeySym): print sequence also if it is
7969         `deleted' (complete)
7970
7971         * kbsequence.C (print): print sequence even if it is deleted
7972         (complete would be a better word, actually).
7973
7974         * lyxfunc.C (dispatch): print complete options after a prefix key
7975
7976         * vspace.C (asLatexCommand): rewrite in a slightly different form.
7977
7978 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
7979
7980         * text2.C (setCharFont): eliminate setCharFont code duplication.
7981
7982 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7983
7984         * BufferView_pimpl.C (Dispatch): remove bogus handling of
7985         LFUN_TABULAR_FEATURE (bug #177)
7986
7987 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
7988
7989         * Makefile.am: remove figure.h
7990
7991 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
7992
7993         * Bufferview_pimpl.C:
7994         * CutAndPasteC:
7995         * LaTeX.C:
7996         * LyXSendto.C:
7997         * buffer.C:
7998         * bufferlist.C:
7999         * converter.C:
8000         * language.C:
8001         * lyxfunc.C:
8002         * lyxvc.C:
8003         * paragraph.C:
8004         * text.C:
8005         * text2.C: remove #include "lyx_gui_misc.h".
8006
8007         * LaTeX.C: added #include <cstdio>
8008
8009 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8010
8011         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
8012         that the paragraph following this one can have.
8013
8014         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
8015
8016         * vspace.C (asLatexCommand): fix bogus gcc warning
8017
8018         * Makefile.am (lyx_SOURCES): remove vms_defines.h
8019
8020 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
8021
8022         * text2.C (setLayout): get rid of redundant code
8023
8024 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
8025
8026         * text2.C (incDepth): make sure depth cannot be increased beyond
8027         reasonable values.
8028
8029 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
8030
8031         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
8032         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
8033
8034         * PainterBase.h (image):
8035         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
8036         a LyXImage const *.
8037
8038 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
8039
8040         * BufferView.C:
8041         * BufferView.h:
8042         * BufferView_pimpl.C:
8043         * BufferView_pimpl.h:
8044         * LaTeXFeatures.C:
8045         * LyXAction.C:
8046         * LyXView.C:
8047         * Makefile.am:
8048         * UpdateList.h:
8049         * UpdateList.C:
8050         * buffer.C:
8051         * figure.h:
8052         * figureForm.C:
8053         * figureForm.h:
8054         * figure_form.C:
8055         * figure_form.h:
8056         * lyx_cb.C:
8057         * lyx_gui.C:
8058         * lyx_gui_misc.C:
8059         * lyxfunc.C:
8060         * sp_base.h:
8061         * sp_ispell.h:
8062         * sp_pspell.h:
8063         * sp_spell.C: remove fig inset, and the crap house of
8064           cards that follows it
8065
8066 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
8067
8068         * Makefile.am:
8069         * lyxserver.C:
8070         * os2_defines.h:
8071         * os2_errortable.h:
8072         * nt_defines.h: move .h into support/
8073
8074         * vms_defines.h: remove
8075
8076         * WorkArea.C: add space in debug output
8077
8078         * text2.C:
8079         * paragraph.C:
8080         * buffer.C: add WITH_WARNINGS
8081
8082         * vc-backend.h:
8083         * vc-backend.C:
8084         * bufferlist.C: s/retrive/retrieve/, add docs
8085
8086         * vspace.h:
8087         * vspace.C:
8088         * kbmap.h:
8089         * lyxlength.h:
8090         * lyxgluelength.h:
8091         * length_common.h:
8092         * chset.h:
8093         * chset.C: add docs
8094
8095         * lyxgui.C: add ID to X error handler
8096
8097         * lyxtestclass.c: fix typo
8098
8099 2002-02-26  Juergen Vigna  <jug@sad.it>
8100
8101         * tabular_funcs.C (write_attribute): changed so that some default
8102         attributes are not written at all.
8103         (getTokenValue): set default values before trying to read the
8104         value so we have the return value always set as default if we don't
8105         find the token we search for.
8106
8107         * tabular.C (Write): write bools as bools not as strings!
8108
8109 2002-02-22  Juergen Vigna  <jug@sad.it>
8110
8111         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
8112         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
8113
8114         * text.C (leftMargin): don't add an indent for paragraphs inside
8115         tabular cells (fix #208).
8116
8117 2002-02-21  José Matos  <jamatos@fep.up.pt>
8118
8119         * tabular.C (docBook): fixed support for long tables.
8120
8121 2002-02-20  Juergen Vigna  <jug@sad.it>
8122
8123         * text2.C (getFont): get the drawing font of the Inset if this
8124         paragraph is inside an inset (only important for InsetERT for now).
8125
8126         * buffer.C (insertErtContents): use new lanugage params in ERT
8127         constructor.
8128
8129         * CutAndPaste.C: commenting out seemingly uneeded code.
8130
8131 2002-02-19  Allan Rae  <rae@lyx.org>
8132
8133         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
8134         Iterators might be simple to use but they also get invalidated.
8135         (removeAutoInsets): renamed saved cursor tracking variables and added
8136         some comments to clarify what everything does.
8137
8138 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
8139
8140         * Chktex.C:
8141         * LaTeX.C:
8142         * LyXSendto.C:
8143         * converter.C:
8144         * lyx_cb.C:
8145         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
8146         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
8147
8148         * lyxfunc.C:
8149         * vc-backend.h: remove #include "support/syscall.h"
8150
8151         * LaTeX.C:
8152         * LyXSendto.C:
8153         * converter.C: rearrange #includes in Lars' approved fashion.
8154
8155         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
8156         forward declare class Timeout in the header file.
8157
8158         * XFormsView.C: changes due to the above.
8159
8160         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
8161         similar to LyXView.
8162
8163         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
8164         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
8165
8166 2002-02-18  José Matos  <jamatos@fep.up.pt>
8167
8168         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
8169         insets contents.
8170
8171 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
8172
8173         * a lot of small ws changes
8174         * add a lot of using std::XXX
8175         * use std construcs some places where approp.
8176         * use some exisint stuff from lyxfunctional where approp.
8177         * Make file changes to use partial linking (lets test this now...)
8178
8179 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
8180
8181         * Chktex.C:
8182         * buffer.C:
8183         remove #include "support/syscontr.h" as it's redundant. Always has been.
8184
8185         * Chktex.C:
8186         * LaTeX.C:
8187         * LyXSendto.C:
8188         * converter.C:
8189         * lyx_cb.C:
8190         * vc-backend.C:
8191         change Systemcalls::System to Systemcalls::Wait and
8192         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
8193         No change of functionality, just reflects the stripped down Systemcalls
8194         class.
8195
8196 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
8197
8198         * debug.[Ch]: add a GRAPHICS type to the enum.
8199
8200 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8201
8202         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
8203
8204         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
8205         there is an inset.
8206
8207 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8208
8209         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
8210         match the changes below.
8211
8212         * text2.C (toggleInset): if there is not editable inset at cursor
8213         position, try to see if cursor is _inside_ a collapsable inset
8214         and close it.
8215
8216 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8217
8218         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
8219         document menu has a nice checkbox
8220
8221 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8222
8223         * lyxlength.C (asLatexString): change PW to output as percent of
8224         \textwidth.
8225
8226         * lengthcommon.C: change '%' to 't%'
8227
8228         * lyxfunc.C (dispatch): a few comments from Martin
8229
8230 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
8231
8232         * WorkArea.h:
8233         * WorkArea.C:
8234         * BufferView_pimpl.h:
8235         * BufferView_pimpl.C: clear our selection when X tells us we've lost
8236           the X selection.
8237
8238 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8239
8240         * vspace.C (inPixels): fix compiler warning
8241
8242 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8243
8244         * lyxfunc.C (getStatus): fix status message for disabled commands.
8245
8246 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
8247
8248         * BufferView_pimpl.C: fix crash on close buffer
8249         during selection (#227)
8250
8251 2002-01-27  Herbert Voss  <voss@lyx.org>
8252
8253         * buffer.C: link old Figure to new graphic inset
8254
8255 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
8256
8257         * FontLoader.C (getFontinfo): Change the latex font names in order
8258         to match the names of type1inst.
8259
8260 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8261
8262         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
8263
8264         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
8265         (extchanged): ditto
8266         (ext_exist): ditto
8267         (remove_files_with_extension): ditto
8268         (remove_file): ditto
8269         (write): ditto
8270
8271         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
8272         document is smaller than the work area height. Do not initialize
8273         static variables to 0.
8274
8275 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8276
8277         * lyx_gui.C (init): give the toolbar tooltips a normal font.
8278
8279         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
8280         LFUN_LAYOUT_PARAGRAPHS.
8281
8282         * tabular.C (GetCellFromInset): new method. Finds an inset in a
8283         tabular. It is possible to provide a possible cell, which will
8284         typically be the actcell from the corresponding insettabular
8285
8286         * lyxfunc.C (getStatus): small cleanup; disable
8287         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
8288         true
8289
8290 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8291
8292         * tabular.C (Validate): remove broken optimization (fixes bug #201)
8293
8294         * paragraph.C (startTeXParParams):
8295         (endTeXParParams): new methods. The LaTeX code to
8296         start/end paragraph formatting
8297         (simpleTeXOnePar): call startTeXParParams also when paragraph is
8298         empty (fixes bug #200)
8299
8300         * vspace.C (inPixels): adapt to the change below
8301         (inPixels): [later] more cleanups (remove unused variables)
8302
8303         * lyxlength.C (inPixels): change to use a width and a height as
8304         parameter.
8305
8306 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8307
8308         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
8309         Replaced with \paperwidth
8310
8311         * DepTable.C (insert): add std:: qualifier
8312
8313 2002-01-18  Allan Rae  <rae@lyx.org>
8314
8315         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
8316         updated also?
8317
8318         * text.C (drawInset): Turned out I didn't know enough about how
8319         rebreaking worked.  This fixes most of the redraw problems.  I see
8320         an occasional cursor trail when a line is broken now and the cursor
8321         placement can seem out by a few pixels also after a rebreak.
8322
8323 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8324
8325         * buffer.C (parseSingleLyXformat2Token): update because minipage
8326         width is now a LyXLength
8327
8328         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
8329
8330         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
8331         math insets
8332
8333 2002-01-17  Juergen Vigna  <jug@sad.it>
8334
8335         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
8336
8337         * BufferView2.C (lockInset): call edit() so that theLockingInset()
8338         is set correctly and the inset is updated correctly.
8339
8340 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8341
8342         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
8343         the beginning of the loop.
8344
8345 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
8346
8347         * lyxrc.C: improve help for use_scalable_fonts
8348
8349 2002-01-17  Allan Rae  <rae@lyx.org>
8350
8351         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
8352
8353 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8354
8355         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
8356         make sure to set their inset_owner to the right value (bug #171)
8357
8358 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
8359
8360         * DepTable.h
8361         * DepTable.C: Implement mtime checking to reduce time spent doing
8362         CRCs.
8363
8364 2002-01-16  Juergen Vigna  <jug@sad.it>
8365
8366         * tabular.C (GetAdditionalHeight): one of error fixed.
8367
8368         * lyxrc.C (output): small fix in writing use_pspell.
8369
8370 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
8371
8372         * sp_base.h: #include LString.h
8373
8374 2002-01-16  Allan Rae  <rae@lyx.org>
8375
8376         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
8377         Can someone check this please?
8378
8379         * text.C (drawInset): It was possible that p.row would be removed by
8380         breakAgainOneRow upsetting a few other settings.  There may be another
8381         small tweak possible by setting need_break_row = 0 when p.row has been
8382         removed but I don't know enough about the logic here.
8383
8384 2002-01-15  Allan Rae  <rae@lyx.org>
8385
8386         * text.C (insertChar): removed conditional truism.
8387
8388         * BufferView2.C (removeAutoInsets): More tweaks.
8389         cur_par_prev could be a stray pointer.  Check for trailing empty line
8390         in case last line was cur_par and only had an error inset on it.
8391
8392 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8393
8394         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
8395         absolute
8396
8397         * vc-backend.C (most methods):
8398         * exporter.C (Export):
8399         * converter.C (convert):
8400         (runLaTeX):
8401         * LyXSendto.C (SendtoApplyCB):
8402         * lyxfunc.C (dispatch):
8403         (menuNew):
8404         (open):
8405         (doImport):
8406         * lyx_cb.C (AutoSave):
8407         (InsertAsciiFile):
8408         * BufferView_pimpl.C (MenuInsertLyXFile):
8409         * buffer.C (runChktex): use Buffer::filePath().
8410
8411         * buffer.h: rename filename to filename_; rename filepath to
8412         filepath_ and make it private
8413         (filePath): new method
8414
8415         * buffer.C (writeFile): use fileName()
8416         (getLatexName):
8417
8418         * lyx_main.C (init): fix starting  of LyX when the binary is a
8419         link from so,ewhere else.
8420
8421         * minibuffer.C: include <cctype> for isprint
8422
8423 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
8424
8425         * buffer.C (parseSingleLyXformat2Token): changes associated with the
8426         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
8427         name clash with InsetCollapsable's width function.
8428
8429 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8430
8431         * lastfiles.C: include <iterator>
8432
8433 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
8434
8435         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
8436         std::count.
8437
8438         * buffer.C (makeLaTeXFile): ditto.
8439         Also make loop operation more transparent.
8440
8441 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
8442
8443         * ToolbarDefaults.C: remove trailing comma closing namespace.
8444
8445         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
8446
8447         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
8448         as in WorkArea.
8449
8450         * trans.C (Load): comment out unused variable, allowed.
8451
8452 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
8453
8454         * minibuffer.[Ch] (append_char): new method to recieve input from the
8455         drop-down completion browser. If a key was pressed, then recieve this
8456         char and append it to the existing string.
8457         (peek_event): modify the positioning data passed to the completion
8458         browser so that it can be placed above the minibuffer rather than below.
8459 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8460
8461         * LyXAction.C (init): alloe error-next for readonly documents.
8462
8463         * BufferView2.C (ChangeRefsIfUnique): use standard version of
8464         count.
8465
8466 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8467
8468         * bufferlist.C (readFile): create the buffer _after_ checking that
8469         the file exists.
8470
8471         * lyxfunc.C (verboseDispatch): fix handling of arguments
8472
8473         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
8474
8475         * lyxrc.C: use string::erase() instead of initializing to "".
8476
8477
8478 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
8479
8480         * BufferView_pimpl.h:
8481         * BufferView_pimpl.C:
8482         * WorkArea.h:
8483         * WorkArea.C:
8484         * text2.C: tell X when we have made a selection for copying
8485
8486 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8487
8488         * BufferView_pimpl.C (MenuInsertLyXFile):
8489         * lyxfunc.C (menuNew):
8490         (open):
8491         (doImport): add shortcuts to directory buttons
8492
8493         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
8494         open a float)
8495
8496         * lyxfunc.C (setStatusMessage):
8497         (getStatusMessage): new methods
8498         (getStatus):use setStatusMessage instead of setErrorMessage
8499         (dispatch): when function is disabled, set error message here
8500         [instead of in getStatus previously]
8501
8502         * BufferView_pimpl.C (workAreaButtonRelease): update
8503         toolbar/menubar here too.
8504
8505 2002-01-13  Allan Rae  <rae@lyx.org>
8506
8507         * BufferView2.C (removeAutoInsets): finished off earlier fix.
8508         Now seems indestructible.  Remaining task is to audit all other
8509         code affected by deleteEmptyParagraphMechanism.  One small quirk
8510         left is that an empty document with an error in the preamble can
8511         be made to report an error but no error box appears.  I don't know
8512         where it goes.
8513         (removeAutoInsets): Improved comments.
8514
8515 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
8516
8517         * Thesaurus.h:
8518         * Thesaurus.C: update for Aiksaurus 0.14
8519
8520 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8521
8522         * text2.C (firstParagraph): removed member function, all uses
8523         replaces with ownerParagraph
8524         (redoParagraphs): here
8525         (updateInset): here
8526         (toggleAppendix): here
8527         * BufferView2.C (insertErrors): here
8528         (setCursorFromRow): here
8529
8530 2002-01-13  Allan Rae  <rae@lyx.org>
8531
8532         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
8533         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
8534         There is still a way to segfault this although you may have to do this
8535         multiple times: Have an InsetERT with an unknown command in it.
8536         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
8537         <down-arrow>, <Enter> again, View->DVI, BANG!
8538
8539         * text2.C (setCursor):
8540         (deleteEmptyParagraphMechanism):
8541         * lyxtext.h (setCursor):
8542         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
8543         Making use of the return value may help fix other bugs.
8544
8545 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8546
8547         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
8548
8549         * LyXView.C (updateMenubar): call MenuBar::update here
8550         (updateToolbar): but not here
8551         (showState): do not update toolbar/menubar
8552
8553         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
8554         should need to care about that.
8555
8556         * lyxfunc.C (verboseDispatch): simplify a bit
8557         (getStatus): have a version which takes a pseudoaction, and
8558         another which requires a (kb_action,string).
8559
8560         * LyXAction.C (retrieveActionArg): make it work also when action
8561         is not a pseudo-action.
8562         (getActionName): simplify a bit
8563         (helpText):
8564
8565 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8566
8567         * lyxfunc.C (verboseDispatch): new families of methods with
8568         several ways to specify a command and a bool to indicate whether
8569         the command name and shortcut should be displayed in minibuffer
8570         (eventually, we could extend that to a finer bitmask like
8571         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
8572         (dispatch): the pristine dispatch command which just, well,
8573         dispatchs! Note it still sets its result to minibuffer; I'm not
8574         sure we want that.
8575
8576         * lyxfunc.h: remove setHintMessage
8577
8578         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
8579
8580 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8581
8582         * BufferView_pimpl.C (specialChar): delete new inset if we have
8583         not been able to insert it.
8584
8585         * kbmap.C: revert to using int instead of kb_action, since all we
8586         are dealing with is pseudo-actions.
8587
8588         * LyXAction.C (searchActionArg): change to return int instead of
8589         kb_action, since the result is a pseudoaction.
8590
8591 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
8592
8593         * buffer.C (insertErtContents): Fix (partially) the font bug.
8594
8595 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
8596
8597         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
8598         as the other one is broken on my machine!
8599
8600 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
8601
8602         * commandtags.h:
8603         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
8604
8605 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
8606
8607         * lyxrc.[Ch]: change names and descriptions of popup font variables to
8608         reflect their actual use. Provide compatibility code for older lyxrc
8609         files.
8610
8611         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
8612         FL_NORMAL_STYLE.
8613         change names of popup font variables in line with the changes to lyxrc.C
8614
8615 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8616
8617         * buffer.C (asciiParagraph): avoid outputing a word twice after
8618         an inset.
8619
8620         * lyxrc.C (getDescription): document that document_path and
8621         template_path can be empty.
8622
8623 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8624
8625         * LaTeXFeatures.C (getMacros):
8626         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
8627
8628         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
8629
8630         * LaTeXFeatures.C (useFloat): require "float" here instead of in
8631         getPackages.
8632         (getPackages): rename feature "floats" to "float". Use an array to
8633         iterate over 'simple' features (i.e. just a \usepackage). Add
8634         handling of "amsmath" (renamed from "amsstyle").
8635
8636 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
8637
8638         * LaTeXFeatures.C (require): Prevent duplicate entries in the
8639         features list.
8640
8641 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
8642
8643         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
8644         FuncStaus::FuncStatus & FuncStaus::some_method().
8645
8646 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
8647
8648         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
8649         of the func_satus stuff. Edited and massaged in various ways by
8650         JMarc.
8651
8652         * lyxfunc.C (getStatus): use FuncStatus
8653
8654 2002-01-08  Juergen Vigna  <jug@sad.it>
8655
8656         * text.C (nextBreakPoint): use function Inset::isChar().
8657
8658         * paragraph.C (TeXOnePar): use function
8659         Inset::forceDefaultParagraphs.
8660
8661         * buffer.C (latexParagraphs): use function
8662         Inset::forceDefaultParagraphs.
8663
8664 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
8665
8666         * lyx_gui.C (init): set the style of the menu popups to
8667         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
8668
8669 2002-01-07  Juergen Vigna  <jug@sad.it>
8670
8671         * text.C (setHeightOfRow): small fix
8672         (prepareToPrint): don't look at alignment if we don't have the place
8673         for doing it.
8674
8675 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
8676
8677         * box.C: New file. Move the Box methods and functions out of box.h,
8678         following Lars' suggestion.
8679
8680 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
8681
8682         * box.h: #include "support/LOstream.h", needed for inlined function.
8683
8684         * lyxtextclass.C:
8685         * lyxtextclasslist.C: added some using std declarations.
8686
8687 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
8688
8689         * box.h: make signed dimensions to allow insets wider than
8690           the screen (bug #162)
8691
8692         * BufferView_pimpl.C: add some insetHit debug
8693
8694 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
8695
8696         * vc-backend.C: add FIXME
8697
8698 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8699
8700         * lyxfunc.C (getStatus): enable code for showing math font status
8701         in toolbar/menu.
8702
8703 2002-01-07  Juergen Vigna  <jug@sad.it>
8704
8705         * text.C (nextBreakPoint): removed debug output not needed anymore.
8706
8707 2002-01-06  Juergen Vigna  <jug@sad.it>
8708
8709         * text.C (nextBreakPoint): fixed up this function we had this bug
8710         since ever but now hopefully we break row better.
8711         (insertChar): we have to check if an inset is the next char as it
8712         could now happen that a large inset is causing a break.
8713
8714 2002-01-05  Juergen Vigna  <jug@sad.it>
8715
8716         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
8717         if it doesn't like to be drawed.
8718
8719 2002-01-04  Juergen Vigna  <jug@sad.it>
8720
8721         * BufferView2.C (lockInset): forgot to set a cursor.
8722
8723         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
8724
8725 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
8726
8727         * FormMathsPanel.C:
8728         * FormMathsPanel.h
8729         * MathsSymbols.C:
8730         * form_maths_panel.C:
8731         * form_maths_panel.h:
8732         * form_maths_panel.fd: implemented sub- and super- buttons in math
8733         panel.
8734
8735         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
8736         (or ^ space) to be used as in TeX (req'd by André).
8737
8738         * lyxfunc.C: Allow ^ and _ again to be used both as
8739         super/subscript (mathed) and as themselves (in text).
8740
8741 2002-01-03  Allan Rae  <rae@lyx.org>
8742
8743         * LyXView.C (updateWindowTitle): Setup a short icon title of either
8744         "LyX" or the filename of the current buffer if it has one.  This is a
8745         modified form of John Levon's patch.
8746
8747         * XFormsView.C (setWindowTitle): also set icon title.
8748
8749         * LyXView.h (setWindowTitle): signature changed.
8750         * XFormsView.h (setWindowTitle): ditto.
8751
8752 2002-01-02  Juergen Vigna  <jug@sad.it>
8753
8754         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
8755
8756 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8757
8758         * screen.C (topCursorVisible): introduce a temp var for
8759         text->cursor.row(), handle the case where this row is null. (kindo
8760         hachish)
8761
8762         * text2.C (setCursor): add a couple of asserts.
8763
8764         * paragraph.h (inset_iterator): add -> operator
8765
8766         * paragraph.[Ch] (autoDeleteInsets): remove member function
8767
8768         * BufferView2.C (removeAutoInsets): rewrite to handle the old
8769         cursor pos correctly and handle inset deletion by itself.
8770         (insertErrors): move iterator declaration out of for expression
8771
8772         * lyxtextclass.C: add <algorithm>
8773
8774         * Makefile.am: added the new files to sources, removed layout.C
8775
8776         * layout.C: removed file
8777
8778         * layout.h: remove LYX_DUMMY_LAYOUT
8779
8780         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
8781         layout.
8782
8783         * lyxlayout.[Ch]:
8784         * lyxtextclass.[Ch]:
8785         * lyxtextclasslist.[Ch]: new files
8786
8787         * include order changes to a lot of files, also changes because of
8788         the six new files.
8789
8790 2001-12-27  Juergen Vigna  <jug@sad.it>
8791
8792         * buffer.C (asciiParagraph): more fixes.
8793
8794         * tabular.C (ascii): make ascii export support export of only the
8795         data separated by a column-delimiter.
8796         (ascii): better support for ascii export.
8797
8798         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
8799
8800 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8801
8802         * tabular_funcs.C: use a "using std::getline" instead of the
8803         previous fix from Angus (necessary for cxx + lyxstring)
8804
8805 2001-12-24  Juergen Vigna  <jug@sad.it>
8806
8807         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
8808
8809         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
8810         problems. First check a minipage also if we have some ert-contents
8811         (not only on par->size(), second set the right depth of the paragraph
8812         on the relink to the root-paragraph-list!
8813
8814         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
8815         which then did not anymore update the main paragraphs on undo/redo!
8816
8817 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8818
8819         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
8820         code. Support all font-changing funcs (even those which are not in
8821         menu currently). Support for reporting font settings in
8822         mathed (disabled until Andre provides a function on mathed's side).
8823
8824         * func_status.h (toggle): small helper function to set toggle
8825         state on a flag.
8826
8827 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
8828
8829         * tabular_funcs.C: getline -> std::getline
8830
8831 2001-12-21  Juergen Vigna  <jug@sad.it>
8832
8833         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
8834         accessed and could be 0 (I couldn't generate this but it seems
8835         Michael could!).
8836
8837 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8838
8839         * tabular_funcs.C: add LIstream.h, move write_attribute to..
8840         * tabular_funcs.h: here and include iosfwd
8841
8842 2001-12-20  Juergen Vigna  <jug@sad.it>
8843
8844         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
8845         inside inset but undo_par was.
8846
8847 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8848
8849         * Thesaurus.C: always include <config.h> in sources.
8850
8851         * Painter.h:
8852         * lyxlookup.h:
8853         * box.h: do not include <config.h> in header files
8854
8855         * text.C (paintLastRow): remove unused variable
8856
8857         * text.C (transformChar):
8858         (insertChar):
8859         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
8860
8861         * Painter.C (text):
8862         * font.C (width): rewrite to use uppercase() instead of
8863         islower/toupper.
8864
8865         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
8866
8867 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
8868
8869         * lyxfind.C: clean up of find failure position change
8870
8871 2001-12-20  Juergen Vigna  <jug@sad.it>
8872
8873         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
8874
8875         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
8876         (TeXRow): added to LaTeX a single tabular row.
8877         (TeXLongtableHeaderFooter): added to output LT-h/f data.
8878         (Latex): simplified and finally good LT-h/f support.
8879         (various_functions): just small adaptions for LT-h/f support.
8880
8881         * tabular_funcs.[hC]: added and moved here all not classfunctions
8882         of LyXTabular.
8883
8884 2001-12-19  Juergen Vigna  <jug@sad.it>
8885
8886         * tabular.[Ch]: better support for longtabular options (not finished
8887         yet!)
8888
8889 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8890
8891         * text.C (paintLastRow): use the label font instead of the font of
8892         the last character to compute the size of *_BOX. This makes more
8893         sense and avoids a crash with empty paragraphs.
8894         Use Painter::rectangle to draw EMPTY_BOX.
8895
8896 2001-12-19  Juergen Vigna  <jug@sad.it>
8897
8898         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
8899         the paragraphs if the replaced paragraph is not the first one!
8900         Tried to delete not used paragraphs but does not work yet so for
8901         now it's inside #ifdef's and by default off!
8902
8903 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8904
8905         * MenuBackend.C: include "lyx_main.h" instead of declaring
8906         lastfiles (actually was declared as LastFiles* instead of a
8907         scoped_ptr).
8908
8909 2001-12-17  Juergen Vigna  <jug@sad.it>
8910
8911         * tabular.C (AppendColumn): applied John's fix
8912
8913 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
8914
8915         * BufferView.h:
8916         * BufferView.C:
8917         * BufferView_pimpl.h:
8918         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
8919
8920         * Makefile.am:
8921         * box.h: new start of class for above
8922
8923         * lyxfunc.C: ignore space-only minibuffer dispatches.
8924           Show the command name when it doesn't exist
8925
8926         * minibuffer.C: don't add empty lines to the history
8927
8928         * minibuffer.C: add a space on dropdown completion
8929
8930 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
8931
8932         * text.C: fix line above/below drawing in insets
8933
8934 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8935
8936         * lyxlength.C (LyXLength): Initialize private variables.
8937
8938 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
8939
8940         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
8941         when inserting error insets.
8942
8943 2001-12-13  Juergen Vigna  <jug@sad.it>
8944
8945         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
8946         actually sometimes the before-paragraph.
8947         (setUndo): don't clear the redostack if we're not actually undoing!
8948
8949 2001-12-06  Juergen Vigna  <jug@sad.it>
8950
8951         * undo_funcs.C (textHandleUndo): well after John's hint I got here
8952         and fixed redoing of main paragraph, so we can use it now ;)
8953
8954         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
8955
8956 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8957
8958         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
8959         Juergen's request
8960
8961 2001-12-13  André Pönitz <poenitz@gmx.net>
8962
8963         * undostack.[Ch]:
8964         * undo_func.C: minor cleanup
8965
8966 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8967
8968         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
8969         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
8970         font in urw-fonts package which is marked as -urw-fontspecific and
8971         does not work (incidentally, changing the encoding in the
8972         fonts.dir of this package to -adobe-fontspecific fixes the
8973         problem).
8974
8975         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
8976         is a crash when undoing first paragraph (Juergen, please take a
8977         look). THis does not mean the undo fix is wrong, just that it
8978         uncovers problems.
8979
8980         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
8981         the (Paragraph*) version when needed instead of duplicating the
8982         code.
8983
8984         * text.C (workWidth): use Inset::parOwner to find out where the
8985         inset has been inserted. This is a huge performance gain for large
8986         documents with lots of insets. If Inset::parOwner is not set, fall
8987         back on the brute force method
8988
8989         * paragraph_pimpl.C (insertInset):
8990         * paragraph.C (Paragraph):
8991         (cutIntoMinibuffer): set parOwner of insets when
8992         inserting/removing them
8993
8994         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
8995
8996 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
8997
8998         * commandtags.h:
8999         * LyXAction.C:
9000         * lyx_main.C:
9001         * lyxfunc.C:
9002         * mathed/formulabase.C:
9003         * mathed/math_cursor.[Ch]:
9004         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
9005
9006
9007 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9008
9009         * lyxlength.[Ch] (operator!=): new function
9010
9011 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9012
9013         * text.C (workWidth): use Inset::parOwner to find out where the
9014         inset has been inserted. This is a huge performance gain for large
9015         documents with lots of insets. If Inset::parOwner is not set, fall
9016         back on the brute force method
9017
9018         * paragraph_pimpl.C (insertInset):
9019         * paragraph.C (Paragraph):
9020         (cutIntoMinibuffer): set parOwner of insets when
9021         inserting/removing them
9022
9023         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
9024
9025 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9026
9027         * tabular-old.C (getTokenValue):
9028         * tabular.C (getTokenValue):
9029         (write_attribute): new versions for LyXLength
9030         (everywhere): adjust the use of widths
9031
9032         * tabular.h: change the type of widths from string to LyXLength
9033
9034 2001-12-11  Ben Stanley <bds02@uow.edu.au>
9035
9036         * paragraph.C: fixed missing line number count when exporting
9037         Environments to LaTeX file
9038
9039         * buffer.C: added informational message for checking line numbers.
9040
9041 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9042
9043         * text2.C (deleteEmptyParagraphMechanism): if there is only one
9044         paragraph, do the 'double space' part, but not the 'empty
9045         paragraph' one.
9046
9047         * text.C (workWidth): small optimization
9048         (getLengthMarkerHeight): use minimal size for negative lengths.
9049
9050 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
9051
9052         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
9053
9054         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
9055
9056 2001-12-11  André Pönitz <poenitz@gmx.net>
9057
9058         * FontLoader.C:
9059         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
9060
9061 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
9062
9063         * text2.C: keep selection on a setFont()
9064
9065 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
9066
9067         * lyx_cb.C: another bv->text misuse, from insert label
9068
9069 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
9070
9071         * kbsequence.h:
9072         * kbsequence.C: re-instate nmodifier mask
9073
9074 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
9075
9076         * lyx_main.h: make lyxGUI private.
9077
9078 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
9079
9080         * lyxfind.C: place the cursor correctly on failed search
9081
9082 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9083
9084         * text.C (getLengthMarkerHeight): for small heights, the arrows
9085         are not always on top/bottom of the text
9086         (drawLengthMarker): smaller arrows; take the left margin in
9087         account; draw also vfills.
9088         (paintFirstRow):
9089         (paintLastRow): remove special code for vfill and standard spaces,
9090         since everything is handled in drawLengthMarker now.
9091
9092 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9093
9094         * buffer.C (insertErtContents): try to handle font and language
9095         interaction a bit better.g
9096
9097         * ColorHandler.C (updateColor): change the hash to cover the whole
9098         LColor enum, ws cleanup
9099         (getGCLinepars): ditto
9100         (getGCLinepars): only lookup in the linecache once.
9101
9102 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
9103
9104         * iterators.C (operator++): Make the iterator more robust
9105
9106         * BufferView2.C (removeAutoInsets): Use paragraph iterators
9107         (John's patch)
9108         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
9109
9110 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9111
9112         * lyxtext.h:
9113         * text.C: better added space drawing
9114
9115 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9116
9117         * LyXView.C:
9118         * BufferView2.C: fix layout combo update on inset unlock
9119
9120 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9121
9122         * Makefile.am: don't compile unused files
9123
9124 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9125
9126         * lyxfunc.C:
9127         * commandtags.h:
9128         * LyXAction.C: remove old LFUN_LAYOUTNO
9129
9130 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9131
9132         * paragraph_pimpl.h:
9133         * paragraph_pimpl.C: isTextAt() doesn't need font param
9134
9135 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9136
9137         * lyxlex.h:
9138         * lyxlex.C: little cleanup
9139
9140 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9141
9142         * BufferView_pimpl.C: fix insertAscii for insets
9143
9144 2001-12-05  Juergen Vigna  <jug@sad.it>
9145
9146         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
9147         set the right font on the "multi" paragraph paste!
9148
9149 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9150
9151         * trans_decl.h:
9152         * trans_mgr.[Ch]:
9153         * trans.[Ch]:
9154         * lyxgluelength.C:
9155         * lyxlength.C: remove out-commented code.
9156
9157         * BufferView_pimpl:
9158         * CutAndPaste.C:
9159         * DepTable.C:
9160         * buffer.C:
9161         * chset.C:
9162         * lastfiles.C:
9163         * lyxlex.C:
9164         * lyxlex_pimpl.C:
9165         * lyxserver.C:
9166         * screen.C:
9167         * tabular-old.C:
9168         * tabular.C:
9169         * text.C:
9170         * trans_mgr.C:
9171         * vc-backend.C: change "while(" to "while ("
9172
9173         * lyxlength.[Ch]: add zero function to check if length is zero or
9174         not
9175         * lyxgluelength.C: use it
9176
9177 2001-12-05  Allan Rae  <rae@lyx.org>
9178
9179         * lyxlength.C: Attempted a fix for the abs(int) header selection.
9180         Works for 2.95.3, from what I understand of Garst's reports this should
9181         work for other g++ versions.  We're screwed if the abs(int) definition
9182         changed between bugfix releases of gcc.
9183
9184 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
9185
9186         * text.C: fix chapter label offset !
9187
9188 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
9189
9190         * lyxtext.h:
9191         * text.C: fix hfill at end of line, clean up
9192
9193 2001-12-04  Juergen Vigna  <jug@sad.it>
9194
9195         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
9196         that we force an update of the inset and it's owners if neccessary.
9197
9198 2001-12-03  Juergen Vigna  <jug@sad.it>
9199
9200         * text.C (rowLast): simplified code
9201
9202 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
9203
9204         * lyxfunc.C: fix show options on timeout
9205
9206 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9207
9208         * screen.C (topCursorVisible): scroll half a page when the cursor
9209         reached top of bottom of screen
9210
9211 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
9212
9213         * minibuffer.C: deactivate on loss of focus
9214
9215 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9216
9217         * vspace.[Ch] (operator!=): add operator.
9218
9219 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
9220
9221         * BufferView_pimpl.C: refuse to open an inset when
9222         there's a selection.
9223
9224 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
9225
9226         * BufferView_pimpl.C: allow to click on RHS of full row insets
9227
9228 2001-11-30  Juergen Vigna  <jug@sad.it>
9229
9230         * tabular.C (LyXTabular): add a same_id to set the same id's in the
9231         insets for undo reasons.
9232
9233 2001-11-28  André Pönitz <poenitz@gmx.net>
9234
9235         * vspace.[Ch]: cosmetical changes
9236
9237 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
9238
9239         * LyXAction.h:
9240         * LyXAction.C:
9241         * lyxfunc.h:
9242         * lyxfunc.C:
9243         * kbmap.h:
9244         * kbmap.C:
9245         * lyxrc.C:
9246         * kbsequence.h:
9247         * kbsequence.C: part re-write of old kb code
9248
9249         * Painter.C:
9250         * WorkArea.C: remove Lgb_bug_find_hack
9251
9252 2001-11-30  José Matos <jamatos@fep.up.pt>
9253
9254         * buffer.C (makeDocBookFile): add a comment to point a hack.
9255         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
9256         Fixed a double write of labels.
9257
9258 2001-11-29 Ben Stanley <bds02@uow.edu.au>
9259
9260         * LaTeX.C:
9261         * LaTeX.h Fixed bug in LaTeX class where it would not
9262         re-run latex if no depfiles were changed, but the .dvi was removed.
9263
9264 2001-11-28  André Pönitz <poenitz@gmx.net>
9265
9266         * all the files from the change on 2001/11/26:
9267         use lyx::layout_type instead of LyXTextClass::size_type
9268         use lyx::textclass_type instead of LyXTextClassList::size_type
9269
9270 2001-11-29  Juergen Vigna  <jug@sad.it>
9271
9272         * text.C: added support for paragraph::isFreeSpacing()
9273
9274         * buffer.C: same as above
9275
9276         * paragraph.h: inserted isFreeSpacing() function to enable
9277         FreeSpacing inside InsetERT.
9278
9279         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
9280         of the paragraph's in the cut/copy buffer to 0!
9281
9282         * text2.C (removeRow): remove the assert as it can!
9283
9284         * lyxtext.h: added helper function firstRow returning firstrow and
9285         made firstrow private again.
9286
9287         * BufferView2.C (lockInset): don't relock if we're already locked!
9288
9289         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
9290         the only paragraph.
9291         (removeRow): added Assert::(firstrow)
9292
9293         * debug.C: forgot to add INSETTEXT here.
9294
9295 2001-11-28  Juergen Vigna  <jug@sad.it>
9296
9297         * sp_spell.C (initialize): changed error text to more general
9298         spellchecker command use (not only ispell!)
9299
9300         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
9301
9302         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
9303
9304 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
9305
9306         * vspace.C: initialise lyxgluelength on failure
9307
9308 2001-11-28  Allan Rae  <rae@lyx.org>
9309
9310         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
9311         declaration & definition that looks like a function declaration.
9312
9313 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9314
9315         * BufferView2.C (copy):
9316         (copyEnvironment): do not clear the selection when doing a copy.
9317
9318         * text.C (paintFirstRow): compilation fix
9319
9320 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
9321
9322         * tabular.C (Latex): correct line count when writing latex.
9323
9324 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
9325
9326         * paragraph_pimpl.h:
9327         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
9328           bug a bit
9329
9330 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
9331
9332         * text.C:
9333         * LColor.h:
9334         * LColor.C: change vfillline->added_space
9335
9336         * text.C: add markers and text for added space
9337
9338         * vspace.C: fix comment
9339
9340 2001-11-28  André Pönitz <poenitz@gmx.net>
9341
9342         * paragraph.C: whitespace changes
9343         * all the other files from the change on 2001/11/26:
9344         change *::pos_type into lyx::pos_type
9345
9346 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
9347
9348         * buffer.C (parseSingleLyXformat2Token): Set the language to the
9349         language of the document when inserting error insets.
9350
9351 2001-11-26  André Pönitz <poenitz@gmx.net>
9352
9353         * BufferView_pimpl.[Ch]:
9354         *       CutAndPaste.C:
9355         * buffer.[Ch]:
9356         * lyxcursor.[Ch]:
9357         * lyxfind.C:
9358         * lyxfunc.C:
9359         * lyxrow.[Ch]:
9360         * paragraph.[Ch]:
9361         * paragraph_pimpl.[Ch]:
9362         * sp_spell.C:
9363         * text.C:
9364         * text2.C: reduce header dependencies, introduce type for positions
9365
9366 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
9367
9368         * <various>: change to use Alert.h
9369
9370 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
9371
9372         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
9373         when encountering an unknown token.
9374         (readLyXformat2): Show an error message if there were unknown tokens.
9375
9376 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
9377
9378         * BufferView2.C:
9379         * BufferView_pimpl.C:
9380         * buffer.C:
9381         * paragraph.h:
9382         * text.C:
9383         * text2.C: use par->isInset()
9384
9385 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
9386
9387         * paragraph_pimpl.h:
9388         * paragraph_pimpl.C: cleanup
9389
9390 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9391
9392         * text2.C (removeRow):
9393         * text.C (setHeightOfRow): remove useless (and costly) call to
9394         getRow.
9395
9396 2001-11-20  Allan Rae  <rae@lyx.org>
9397
9398         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
9399         Now need Inset*::checkInsertChar() to return true for appropriate
9400         cases so that the characters in the minibuffer will actually be
9401         inserted.
9402
9403 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9404
9405         * text.C: change the order of the includes.
9406         (workWidth): initialize it at once.
9407         (workWidth): make maxw unsigned
9408         (setHeightOfRow): remove unused variable (inset)
9409         (selectSelectedWord): remove unused variable (inset)
9410         (paintRowText): fix drawing of hfill characters, and clean up a bit.
9411
9412 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9413
9414         * lyxserver.C (emergencyCleanup): do not try to close pipes if
9415         server is not running.
9416         (openConnection):
9417         (closeConnection): add debug info when server is disabled.
9418
9419         * ColorHandler.C (getGCForeground): send debug message to GUI
9420         channel.
9421
9422         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
9423
9424         * kbmap.C (bind): modify because return conventions of
9425         kb_sequence::parse have changed.
9426
9427         * kbsequence.C (parse): only ignore spaces and not any stupid
9428         control character. This avoids tests like s[i] <= ' ', which are
9429         guaranteed to fail with 8bit characters and signed chars.
9430         Change return code to string::npos when there have been no error
9431         (0 was a bad idea when error is at first character)
9432
9433 2001-11-14  José Matos  <jamatos@fep.up.pt>
9434
9435         * buffer.h:
9436         * buffer.C (simpleDocBookOnePar): removed unused argument.
9437
9438 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9439
9440         * text.C (selectNextWordToSpellcheck): do not test explicitely for
9441         insets which are part of a word. Paragraph::isLetter takes care of
9442         that now. Use Paragraph::isInset to identify insets.
9443         (selectSelectedWord): do not test for hyphenation break.
9444
9445         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
9446         that protected spaces are considered as spaces.
9447
9448         * paragraph.C (isLetter): cleanup the code for ispell extras; use
9449         Inset::isLetter.
9450
9451 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
9452
9453         * lyxserver.h:
9454         * lyxserver.C: fix it. and small cleanup.
9455
9456 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
9457
9458         * BufferView_pimpl.C: use inline helpers
9459
9460         * LaTeXFeatures.h:
9461         * LaTeXFeatures.C: fix typos
9462
9463         * Spacing.h:
9464         * Spacing.C: move spacing_string into class
9465
9466         * ToolbarDefaults.C: move stuff into namespace anon
9467
9468         * layout.h: update enum
9469
9470         * lyxfunc.C: use better debug
9471
9472         * minibuffer.h: fix typo
9473
9474         * debug.h:
9475         * debug.C:
9476         * WorkArea.C: add and use Debug::WORKAREA
9477
9478         * lyxtext.h:
9479         * text.C:
9480         * text2.C: code re-organisation, inline helpers
9481
9482 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
9483
9484         * Layout.C: replaced a few cases of std::vector.size() == 0 with
9485         std::vector.empty().
9486
9487 2001-11-09  Allan Rae  <rae@lyx.org>
9488
9489         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
9490         '\n's after tables.  Tabular and ERT inset work now makes this no
9491         longer necessary.
9492
9493 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
9494
9495         * minibuffer.h:
9496         * minibuffer.C: fix crash, improve drop-down completion
9497
9498 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
9499
9500         * lyxserver.h:
9501         * lyxserver.C: invalidate fd's when doing endPipe()
9502
9503 2001-11-08  José Matos  <jamatos@fep.up.pt>
9504
9505         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
9506         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
9507
9508         * paragraph.h:
9509         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
9510
9511 2001-11-07  José Matos  <jamatos@fep.up.pt>
9512
9513         * buffer.h:
9514         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
9515         const qualifier.
9516
9517         * buffer.C (sgmlOpenTag):
9518         * buffer.C (sgmlCloseTag): removed debug info.
9519
9520         * buffer.h (sgmlOpenTag):
9521         * buffer.h (sgmlCloseTag): made public.
9522
9523 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9524
9525         * buffer.C (saveParamsAsDefaults):
9526         * lyx_cb.C (MenuLayoutSave): remove
9527
9528         * LyXAction.C (init):
9529         * commandtags.h:
9530         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
9531
9532 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9533
9534         * buffer.C (setPaperStuff): removed from here...
9535
9536         * bufferparams.C (setPaperStuff): ... and moved there.
9537
9538 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
9539
9540         * minibuffer.h:
9541         * minibuffer.C:
9542         * XFormsView.C: add support for drop-down completion
9543
9544 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
9545
9546         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
9547         commands.
9548
9549 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9550
9551         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
9552         disabled.
9553
9554 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
9555
9556         * lyx_main.C: change ref to known bugs
9557
9558 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
9559
9560         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
9561         to work around older babel problems.
9562
9563 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
9564
9565         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
9566
9567 2001-10-24  Juergen Vigna  <jug@sad.it>
9568
9569         * tabular-old.C (ReadOld): below variable changes reflected.
9570
9571         * tabular.[Ch]: added ltType struct for longtable header/footer
9572         defines and changed all instances where they are used. Added
9573         future support for double top/bottom rows.
9574
9575 2001-10-24  José Matos  <jamatos@fep.up.pt>
9576
9577         * buffer.h (docbookHandleCaption):
9578         * buffer.C (docbookHandleCaption): removed unused function.
9579         (makeDocBookFile): moved docbook supported version to v4.1.
9580
9581 2001-10-24  José Matos  <jamatos@fep.up.pt>
9582
9583         * tabular.h:
9584         * tabular.C (docbookRow): new function to export docbook code of a row.
9585         (DocBook): now honors the longtable flags.
9586
9587 2001-10-23  José Matos  <jamatos@fep.up.pt>
9588
9589         * LaTeXFeatures.h:
9590         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
9591         of the lyx defined sgml entities used in a docbook/linuxdoc document.
9592
9593         * buffer.C (makeLinuxDocFile):
9594         (makeDocBookFile): reworked the preamble, more clean, and with
9595         support for lyx defined entities. Changed the document declaration
9596         to be more XML friendly.
9597
9598         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
9599         if we need to output XML that should be done with a filter.
9600
9601 2001-10-22  Juergen Vigna  <jug@sad.it>
9602
9603         * sp_pspell.h (class PSpell): add alive function needed in the
9604         controller to see if the spellchecker could be started.
9605
9606 2001-10-22  Juergen Vigna  <jug@sad.it>
9607
9608         * buffer.C (insertStringAsLines): modify the font for inserting
9609         chars in certain conditions by calling checkInsertChar(font).
9610
9611 2001-10-19  Juergen Vigna  <jug@sad.it>
9612
9613         * text.C (workWidth): use getRow instead of wrong algorithm.
9614         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
9615
9616 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
9617
9618         * lyxserver.h:
9619         * lyxserver.C:
9620         * lyx_main.h:
9621         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
9622
9623 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9624
9625         * text.C (workWidth): do not search for the exact row when
9626         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
9627         optimization for big documents.
9628
9629 2001-10-18  Juergen Vigna  <jug@sad.it>
9630
9631         * text.C (workWidth): new function with added Inset * parameter.
9632
9633 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9634
9635         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
9636
9637         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
9638         change return type of getColumnNearX.
9639
9640
9641         * text.C (changeRegionCase): use uppercase/lowercase instead of
9642         toupper/tolower.
9643         (leftMargin):
9644         (rightMargin): simplify code by factoring out the uses of
9645         textclasslist.
9646         (labelFill):
9647         (numberOfHfills):
9648         (setHeightOfRow):
9649         (appendParagraph): use Paragraph::size_type
9650
9651 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9652
9653         * vspace.C (asLatexString): add a missing break
9654
9655 2001-10-15  Herbert Voss  <voss@perce.de>
9656
9657         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
9658
9659 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9660
9661         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
9662         is not available.
9663
9664 2001-10-10  André Pönitz <poenitz@gmx.net>
9665
9666         * lyxfunc.C: removed greek_kb_flag.
9667
9668 2001-10-10  Herbert Voss  <voss@perce.de>
9669
9670         * lyx_main.C: delete global string help_lyxdir.
9671
9672 2001-10-09  Herbert Voss  <voss@perce.de>
9673
9674         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
9675
9676         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
9677
9678         * lyx_main.C: added global string help_lyxdir.
9679
9680         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
9681
9682 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
9683
9684         * lyxrc.C (set_font_norm_type): support iso8859-4
9685
9686 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
9687
9688         * LaTeX.C (deplog): add another regex for MikTeX
9689
9690 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
9691
9692         * lyxrc.C (set_font_norm_type): support iso8859-3
9693
9694 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9695
9696         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
9697
9698         * LaTeXFeatures.C: remove special case of french and index
9699
9700         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
9701         before \begin{document}). This solves several incompatibilities.
9702
9703 2001-10-03  Garst Reese  <reese@isn.net>
9704
9705         * lyx_cb.C: change CheckTex error msg.
9706
9707 2001-10-03  José Matos  <jamatos@fep.up.pt>
9708
9709         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
9710
9711 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9712
9713         * .cvsignore: update
9714
9715         * lyx_main.C (commandLineVersionInfo): use new style version info.
9716
9717         * buffer.C (writeFile):
9718         (makeLaTeXFile):
9719         (makeLinuxDocFile):
9720         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
9721
9722         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
9723
9724         * version.h: update to use stuff in version.C
9725
9726         * version.C.in: new file. Contains version information determined
9727         at compile time. This is a merging of version.h and
9728         version_info.h.in.
9729
9730 2001-10-03  Juergen Vigna  <jug@sad.it>
9731
9732         * BufferView_pimpl.C (update): don't change "dirty" status in
9733         updateInset call.
9734
9735 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
9736
9737         * WorkArea.C (c-tor): re-position version string slightly.
9738
9739 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
9740
9741         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
9742         revert to previous code.
9743
9744         WorkArea.[Ch]: (show, destroySplash): methods removed.
9745
9746         WorkArea.C: rework code so that it's an amalgam of the codes before and
9747         after the splash screen was moved to WorkArea.
9748
9749 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9750
9751         * lyxrc.C (read):
9752         * vspace.C (inPixels):
9753         (lyx_advance):
9754         * kbmap.C (bind):
9755         * buffer.C (insertStringAsLines):
9756         (asciiParagraph): fix types to be large enough
9757
9758         * lyxlex_pimpl.h: change member status from short to int
9759
9760         * layout.h: fix type of endlabeltype
9761
9762         * kbmap.C (bind):
9763         * kbsequence.C (parse): change return type to string::size_type
9764
9765         * LaTeX.C (updateBibtexDependencies): comment out unneeded
9766         variable
9767
9768         * Bullet.C (bulletSize):
9769         (bulletEntry): do not use short ints as parameters
9770
9771         * BufferView2.C (insertLyXFile): change a char to an int.
9772
9773         * WorkArea.C (WorkArea): remove unneeded floats in computation
9774
9775 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
9776
9777         * buffer.C (asciiParagraph): Treat '\\' as other chars.
9778
9779         * paragraph.C (asString): Do not ignore newline/hfill chars when
9780         copying to the clipboard.
9781
9782 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
9783
9784         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
9785         after a multi-line inset.
9786
9787 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
9788
9789         * paragraph.C (validate): Set NeedLyXFootnoteCode
9790
9791 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
9792
9793         * lyxfont.C (LyXSizeNames): changed increase-error to increase
9794         and decrease-error to decrease.
9795
9796 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9797
9798         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
9799         it more readable (should be equivalent)
9800
9801 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
9802
9803         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
9804
9805 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9806
9807         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
9808         of a cursor (row, etc.) after a character has been deleted
9809         (deleteEmptyParagraphMechanism): call the method above on _all_
9810         cursors held by the LyXText when a double space has been
9811         detected/deleted.
9812
9813 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
9814
9815         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
9816         pixmap.
9817         (resizeCurrentBuff): remove code to destroy the old splash dialog.
9818
9819         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
9820         background. Use greyOut() and the new show() methods to toggle between
9821         the foreground and background. Add code to remove the splash after
9822         its initial showing.
9823
9824         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
9825         (create_forms): no longer call Dialogs::showSplash.
9826
9827 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9828
9829         * .cvsignore: add version_info.h
9830
9831 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9832
9833         * version_info.h.in: new file
9834
9835         * Makefile.am: add version_info.h.in
9836
9837         * lyx_main.C (commandLineVersionInfo): use version_info defined in
9838         version_info.h instead of VERSION_INFO
9839
9840 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
9841
9842         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
9843         The ERT inset now returns string().
9844
9845 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
9846
9847         * lyxtext.h, text.C (selectNextWord): renamed as
9848         selectNextWordToSpellcheck.
9849
9850         * text.C (selectNextWordToSpellcheck): Modified to not select
9851         words inside an ERT inset.
9852
9853 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9854
9855         * lyx_cb.C (MenuLayoutSave): change a bit the question
9856
9857         * sp_base.h: include <sys/types.h>
9858
9859 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
9860
9861         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
9862
9863 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
9864
9865         * several files: fix typos in user-visible strings
9866
9867 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9868
9869         * text2.C (pasteSelection): do not set the selection, since it
9870         will be cleared later. Actually, the intent was to fix the way the
9871         selection was set, but I figured rmoving the code was just as good.
9872
9873 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
9874
9875         * FontLoader.C (available): Check if font is available without
9876         loading the font.
9877
9878 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
9879
9880         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
9881
9882 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
9883
9884         * lyxrc.[Ch]: added display_graphics variable and associated code.
9885
9886 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9887
9888         * bufferparams.C (hasClassDefaults): new method. Returns true if
9889         the buffer parameters correspond to known class defaults
9890
9891 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
9892
9893         * XFormsView.C (show): set minimum size to the main window.
9894
9895 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9896
9897         * text2.C (copySelection):
9898         (cutSelection):
9899         * lyxfind.C (LyXReplace):
9900         * BufferView_pimpl.C (Dispatch): pass the correct flag to
9901         LyXText::selectionAsString.
9902
9903         * paragraph.C (asString): add "label" argument to the second form
9904
9905         * text2.C (selectionAsString): add "label" argument and pass it to
9906         Paragraph::asString.
9907
9908 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9909
9910         * lyx_main.C (commandLineHelp): remove version information
9911
9912 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
9913
9914         * lyx_main.C: add -version commandline option
9915
9916 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9917
9918         * paragraph.h: make the optional constructor arg required instead.
9919         some modifications to other files because of this.
9920
9921         * minibuffer.C (C_MiniBuffer_peek_event): make it static
9922
9923         * lyxserver.C (C_LyXComm_callback): make it static
9924
9925         * lyx_main.C (error_handler): make it static
9926
9927         * lyx_gui.C (LyX_XErrHandler): make it static
9928
9929         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
9930
9931         * WorkArea.C: make the extern "C" methods static.
9932
9933         * Makefile.am (lyx_LDADD): simplify
9934
9935 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
9936
9937         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
9938         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
9939
9940         * LyXAction.C (init):
9941         * lyxfunc.C (dispatch): associated code removal.
9942
9943 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9944
9945         * lyxfont.h (isSymbolFont): shut off warning
9946
9947         * text.C (setHeightOfRow):
9948         (getVisibleRow): fix crash with empty paragraphs which have a
9949         bottom line
9950
9951 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
9952
9953         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
9954         code.
9955
9956 2001-09-04  José Matos  <jamatos@fep.up.pt>
9957         * buffer.C
9958         * buffer.h
9959         * tabular.C (docbook): rename docBook method to docbook.
9960
9961 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
9962
9963         * Makefile.am: add dependencies to main.o.
9964
9965 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
9966
9967         * FontLoader.C (available): Return false if !lyxrc.use_gui
9968
9969 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
9970
9971         * FontInfo.C (query):
9972         * converter.C (view):
9973         * importer.C (Import):
9974         * exporter.C (Export): Can not -> cannot.
9975
9976 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
9977
9978         * BufferView_pimpl.C: allow to create index inset even if
9979           string is empty
9980
9981 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
9982
9983         * buffer.C (getLists): replace boost::tie code with an explicit pair
9984         as boost::tie can break some compilers.
9985
9986         * iterators.h: Added a std:: declaration to the return type of
9987         ParIterator::size.
9988
9989 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
9990
9991         * lyxrc.C: add help for view_dvi_paper_option, default to safe
9992           case.
9993
9994 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
9995
9996         * iterators.[Ch]: New files. Provide paragraph iterators.
9997
9998         * buffer.C (changeLanguage): Use paragraph iterators.
9999         (isMultiLingual): ditto
10000
10001         * BufferView2.C (ChangeInsets): Use paragraph iterators.
10002
10003 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
10004
10005         * FontLoader.C: Support for cmr font.
10006
10007 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
10008
10009         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
10010         (available): New method.
10011
10012         * FontInfo.C (getFontname): Use scalable fonts even when
10013         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
10014         found.
10015
10016 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
10017
10018         * converter.C (Formats::view): reverted! Incorrect fix.
10019
10020 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
10021
10022         * converter.C (Formats::view): only output the -paper option
10023         if the dvi viewer is xdvi, thereby fixing bug #233429.
10024
10025 2001-08-23  Herbert Voss  <voss@perce>
10026
10027         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
10028
10029 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
10030
10031         * Spacing.h (Spacing): Set space to Default on in the default
10032         constructor.
10033
10034 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10035
10036         * vc-backend.h (RCS::versionString): add RCS to version
10037         (CVS::versionString): add CVS to version
10038
10039         * vc-backend.C (scanMaster): do not add CVS to version.
10040         (scanMaster): do not add RCS to version
10041
10042         * lyxvc.C (versionString): new method
10043
10044         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
10045
10046 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10047
10048         * Spacing.C (set): initialize fval
10049
10050 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
10051
10052         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
10053         " or \.
10054
10055 2001-08-16  Juergen Vigna  <jug@sad.it>
10056
10057         * lyxfunc.C (dispatch): implemented the new FINISHED states.
10058
10059 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
10060
10061         * BufferView_pimpl.C:
10062         * figureForm.C:
10063         * lyxtext.h:
10064         * text2.C: setParagraph takes linespacing now
10065
10066 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
10067
10068         * LyxAction.C: add internal LFUN_CITATION_INSERT
10069
10070         * LyXView.C: actually apply fix
10071
10072         * bufferlist.C: fix open non-existent file
10073
10074         * lyxfind.C: fix indentation
10075
10076         * lyxfunc.C: remove unneeded assert, fix typo
10077
10078 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
10079
10080         * MenuBackend.C: use "Floatname List"
10081
10082 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
10083
10084         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
10085         when converting LaTeX layout to insetERT.
10086         Generate a non-collapsed float when reading old float
10087
10088 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
10089
10090         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
10091         ERT insets.
10092
10093 2001-08-13  Juergen Vigna  <jug@sad.it>
10094
10095         * text.C (fill): return 0 instead of 20 as this seems to be the more
10096         correct value.
10097
10098 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
10099
10100         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
10101         lyxrc.font_norm.
10102
10103 2001-08-13  Juergen Vigna  <jug@sad.it>
10104
10105         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
10106         casesensitive off.
10107         (SearchBackward): comment out the unlocking of the inset_owner this
10108         should not be needed!
10109
10110 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
10111
10112         * Many files: Remove inherit_language, and add latex_language
10113
10114         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
10115         collapsible insets.
10116
10117 2001-08-10  Juergen Vigna  <jug@sad.it>
10118
10119         * text.C (prepareToPrint): fixed hfill-width in draw!
10120
10121         * BufferView2.C (selectLastWord): save the selection cursor as this
10122         now is cleared in the function LyXText::clearSelection!
10123
10124 2001-08-08  Juergen Vigna  <jug@sad.it>
10125
10126         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
10127         BACKSPACE type functions.
10128
10129         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
10130         is only cutted from the document but not put in the cut-buffer, where
10131         still the old stuff should be.
10132
10133         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
10134
10135         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
10136
10137         * tabular.C (SetWidthOfCell): fixed special case where the width
10138         was not updated!
10139         (LeftLine): handle '|' in align_special.
10140         (RightLine): ditto
10141         (LeftAlreadyDrawed): ditto
10142         (SetWidthOfCell): ditto
10143
10144 2001-08-07  Juergen Vigna  <jug@sad.it>
10145
10146         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
10147
10148 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10149
10150         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
10151         * lyxlex.[hC]: ditto
10152
10153 2001-08-06  Juergen Vigna  <jug@sad.it>
10154
10155         * text.C (getVisibleRow): fix up row clearing a bit.
10156
10157 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10158
10159         * minibuffer.C: make sure the X server sees the changes in the input.
10160
10161 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10162
10163         * paragraph.C (getFont): split into...
10164         (getLabelFont): this
10165         (getLayoutFont): and this
10166         * paragraph_pimpl.C (realizeFont): calling this
10167
10168         * text2.C (getFont): split into...
10169         (getLayoutFont): this
10170         (getLabelFont): and this
10171         (realizeFont): all three calling this
10172
10173         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
10174         files where used.
10175
10176 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10177
10178         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
10179
10180 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
10181
10182         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
10183         layouts from the Quote inset insertion.
10184
10185 2001-08-03  Juergen Vigna  <jug@sad.it>
10186
10187         * BufferView_pimpl.C (update): do the fitCursor only at the end!
10188
10189         * screen.C (drawFromTo): don't call fitcursor here and do the loop
10190         only if status not is already CHANGED_IN_DRAW (second level).
10191
10192         * text.C (draw): don't set the need_break_row when inside an
10193         InsetText LyXText.
10194
10195 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10196
10197         * buffer.C (parseSingleLyXformat2Token): handle more latex
10198         conversion cases.
10199
10200         * bufferview_funcs.[hC]: change function names to
10201         begin with small char, adjust other files.
10202
10203 2001-08-02  André Pönitz <poenitz@gmx.net>
10204
10205         * lyxfunc.C:
10206         BufferView_pimpl.C: remove broken special code for math-greek
10207
10208 2001-08-02  Juergen Vigna  <jug@sad.it>
10209
10210         * BufferView_pimpl.C (update): redone this function so that we
10211         update the text again if there was a CHANGE_IN_DRAW.
10212
10213         * screen.C (cursorToggle): removed LyXText parameter and recoded.
10214         (drawFromTo): added a new internal bool which is used by draw() and
10215         redraw() function.
10216         (general): some cursor drawing problems fixed.
10217
10218 2001-08-01  Juergen Vigna  <jug@sad.it>
10219
10220         * lyxfind.C (LyXFind): fixed
10221         (SearchForward): ditto
10222         (SearchBackward): ditto
10223
10224         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
10225         spurius drawing of the cursor in the main area.
10226
10227         * text2.C (status): small fix which could lead to a segfault!
10228         (clearSelection): remove unneeded BufferView param.
10229
10230 2001-08-01  André Pönitz <poenitz@gmx.net>
10231
10232         * lyxfunc.C: small change due to changed mathed interface
10233
10234 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10235
10236         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
10237
10238 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
10239
10240         * lyxfunc.c: fail gracefully if file doesn't exist
10241
10242         * LyXSendto.C:
10243         * buffer.C:
10244         * lyxfunc.C:
10245         * BufferView_pimpl.C: IsDirWriteable() proto changed
10246
10247         * LyXView.C: fix updateWindowTitle() to store the last title
10248
10249 2001-07-31  Juergen Vigna  <jug@sad.it>
10250
10251         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
10252         the font (wrong since using of Paragraph::highestFontInRange).
10253
10254         * paragraph.C (highestFontInRange): added a default_size parameter.
10255
10256         * text.C (getVisibleRow): minor clear row changes (still not perfect).
10257         (setHeightOfRow): reformat
10258
10259 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10260
10261         * converter.[hC] + affected files: move to (inital-char)lowercase
10262         function names.
10263
10264         * ParagraphParameters.C (ParagraphParameters): remove commented code
10265
10266         * PainterBase.[Ch]: remove commented code
10267
10268         * LaTeXFeatures.h: add "bool floats" for float.sty
10269
10270         * LaTeXFeatures.C (LaTeXFeatures): init floats
10271         (require): handle float
10272         (getPackages): do it with floats
10273
10274 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10275
10276         * BufferView_pimpl.C (Dispatch): improve handling of
10277         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
10278
10279         * commandtags.h: #include lyxfont.h here temporarily to avoid
10280         keybinding bug.
10281
10282         * bufferlist.h: include LString.h here.
10283
10284 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10285
10286         * text2.C (getStringToIndex): new method.
10287
10288 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
10289
10290         * *: Reduced header file dependencies all over.
10291
10292 2001-07-30  Baruch Even  <baruch@lyx.org>
10293
10294         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
10295
10296 2001-07-29  Baruch Even  <baruch@lyx.org>
10297
10298         * buffer.C (readInset): Changed GRAPHICS to Graphics.
10299
10300 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10301
10302         * ParameterStruct.h (endif): add a default constructor to make
10303         sure that all variables is initialized.
10304
10305         * ParagraphParameters.C (ParagraphParameters): adjust
10306
10307 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10308
10309         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
10310         index; also, check that there is something to index, and that it
10311         does not span over several paragraphs.
10312         (doubleClick): use WHOLE_WORD_STRICT for double click.
10313
10314         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
10315
10316         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
10317         scheme.
10318
10319 2001-07-26  Baruch Even  <baruch@lyx.org>
10320
10321         * buffer.C (readInset): Changed to call up InsetGraphics when reading
10322         an InsetFig figure, backwards compatible reading of old figure code.
10323
10324 2001-07-27  Juergen Vigna  <jug@sad.it>
10325
10326         * text2.C: font.realize function adaption.
10327
10328         * text.C (draw): add a warnings lyxerr text if needed.
10329
10330         * layout.C: font.realize function adaption.
10331
10332         * language.C: add inherit_language and implement it's handlings
10333
10334         * bufferview_funcs.C (StyleReset): remove language parameter from
10335         font creation (should be language_inherit now).
10336
10337         * bufferparams.C (writeFile): handle ignore_language.
10338
10339         * paragraph.C (getFontSettings): the language has to be resolved
10340         otherwise we have problems in LyXFont!
10341
10342         * lyxfont.C (lyxWriteChanges): added document_language parameter
10343         (update): removed unneeded language parameter
10344
10345         * paragraph.C (validate): fixed wrong output of color-package when
10346         using interface colors for certain fonts in certain environments,
10347         which should not seen as that on the final output.
10348
10349 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
10350
10351         * BufferView_pimpl.C:
10352         * Thesaurus.h:
10353         * Thesaurus.C:
10354         * Makefile.am:
10355         * commandtags.h:
10356         * LyXAction.C: add thesaurus support
10357
10358         * lyxfind.h:
10359         * lyxfind.C: add "once" parameter, for thesaurus, to not
10360           move to the next match
10361
10362 2001-07-26  Juergen Vigna  <jug@sad.it>
10363
10364         * lyxfont.C (realize): honor ignore_language too!
10365         (resolved): ditto.
10366
10367         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
10368
10369         * text.C (draw): one place more for ignore_language to not draw
10370         itself!
10371
10372 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
10373
10374         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
10375
10376 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10377
10378         * buffer.C (parseSingleLyXformat2Token): a more general fix for
10379         the minipage conversion problem.
10380
10381 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10382
10383         * buffer.C (parseSingleLyXformat2Token): check minipage if we
10384         insert an inset.
10385
10386 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10387
10388         * BufferView.h: don't forward declare WorkArea
10389
10390         * BufferView.C: don't include WorkArea.h
10391
10392 2001-07-25  André Pönitz <poenitz@gmx.net>
10393
10394         * commandtags.h:
10395         * LyXAction.C:
10396         * lyxfunc.C:  new LFUN 'math-space'
10397
10398         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
10399
10400 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10401
10402         * text2.C (toggleInset): call open/close
10403
10404 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10405
10406         * lyxfunc.C (dispatch): add debug for the disabled case
10407
10408         * font.C (buttonText): make similar to rectText
10409
10410         * buffer.C (readInset): comment out parsing of insetlist and
10411         insttheorem
10412
10413         * PainterBase.C (rectText): small correction
10414
10415         * BufferView_pimpl.C: comment out insettheorem and insetlist
10416         * LyXAction.C: ditto
10417         * commandtags.h: ditto
10418
10419 2001-07-24  Juergen Vigna  <jug@sad.it>
10420
10421         * text.C (draw): honor the ignore_language.
10422
10423         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
10424
10425 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10426
10427         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
10428         char inset.
10429
10430 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
10431
10432         * lyxtext.h: remove unused (and unimplemented) methods
10433
10434 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
10435
10436         * text.C (getVisibleRow): honor background color
10437
10438         * PainterBase.h:
10439         * Painter.h: remove default color argument for fillRectangle
10440
10441         * text.C (backgroundColor): new method
10442
10443 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10444
10445         * text.C (getVisibleRow): adjust
10446
10447         * font.[Ch] (rectText): new method, metrics
10448         (buttonText): new method, metrics
10449
10450         * PainterBase.[hC]: make rectText and buttonText always draw and take
10451         fewer paramteres.
10452
10453 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
10454
10455         * ToolbarDefaults.C (read):
10456         * MenuBackend.C (read): allow escaping in all strings
10457
10458         * BufferView_pimpl.C (insertAndEditInset): new method.
10459         (Dispatch): use insertAndEditInset whenever appropriate.
10460
10461         * BufferView_pimpl.C (insertNote): removed
10462
10463         * BufferView_pimpl.C (smartQuote): new method, moved from
10464         BufferView; if an insetquote cannot be inserted, insert a '"'
10465         character instead.
10466
10467         * BufferView2.C: remove insertCorrectQuote();
10468
10469         * lyxfunc.C (getStatus): Add support for all remaingin
10470         inset-insert lfuns.
10471
10472         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
10473
10474         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
10475         command (necessary to pass " as parameter of self-insert.
10476
10477         * text.C (selectWordWhenUnderCursor):
10478         (selectWord): add word_location parameter
10479         (selectWordWhenUnderCursor): same + remove special code for word
10480         boundary.
10481         (selectNextWord): use kind() to guess type of insetspecialchar,
10482         not latex().
10483
10484         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
10485         (insertErtContents): create ert insets as collapsed.
10486         (readInset): better compatibility code for Info inset.
10487
10488 2001-07-20  Juergen Vigna  <jug@sad.it>
10489
10490         * lyxfunc.C (dispatch): use always LyXFind now!
10491
10492         * text2.C (init): add a reinit flag so that the LyXText can be
10493         reinited instead of deleted and reallocated (used in InsetText).
10494
10495         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
10496
10497         * text.C: ditto
10498
10499         * text2.C: ditto
10500
10501 2001-07-18  Juergen Vigna  <jug@sad.it>
10502
10503         * text.C (selectNextWord): handle insets inside inset by calling
10504         always the bv->text functions so that we can go up the_locking_inset!
10505
10506         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
10507         in strange locations when inside an inset!
10508
10509         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
10510         handling to include insets.
10511
10512         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
10513
10514 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10515
10516         * LyXAction.C (init):
10517         * commandtags.h:
10518         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
10519         LIGATURE_BREAK, since the name is so stupid.
10520
10521 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
10522
10523         * buffer.C (readInset): enable reading of new InsetNotes as well as old
10524         InsetInfos.
10525
10526         * FontLoader.C: remove FORMS_H_LOCATION cruft.
10527
10528         * sp_form.[Ch]: remove.
10529
10530         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
10531
10532         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
10533         InsetInfo.
10534
10535         * src/buffer.C (readInset): ditto.
10536
10537 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
10538
10539         * BufferView_pimpl.C (specialChar): new method. Obsoletes
10540         menuSeparator(), endOfSentenceDot(), ldots() and
10541         hyphenationPoint(), which are therefore removed.
10542         (Dispatch): handle LFUN_HYPHENATION_BREAK.
10543
10544         * LyXAction.C (init):
10545         * commandtags.h: add LFUN_HYPHENATION_BREAK.
10546
10547         * paragraph.C (getWord): removed.
10548
10549         * BufferView_pimpl.C (Dispatch): use last word or selection for
10550         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
10551
10552         * lyx_main.C (queryUserLyXDir): do not ask before creating
10553         user_dir, except if it has been named explicitely.
10554
10555 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
10556
10557         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
10558         a document of zero size.
10559
10560 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
10561
10562         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
10563         approriately in the c-tor and in require().
10564         (getPackages): output the appropriate LaTeX for natbib support.
10565
10566         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
10567         variables "use_natbib" and "use_numerical_citations" when reading the
10568         LyX file.
10569         (readInset): read the various natbib cite commands.
10570         (validate): white-space change.
10571
10572         * bufferparams.[Ch]: new variables "bool use_natbib" and
10573         "bool use_numerical_citations".
10574         (writeFile): output them in the LyX file.
10575
10576 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
10577
10578         * lyxfunc.C (getStatus): add support for all the inset insertion
10579         commands.
10580
10581         * text2.C (insertInset):
10582         * paragraph.C (insetAllowed):
10583         * BufferView_pimpl.C (insertInset): update to take in account the
10584         renaming of insertInsetAllowed
10585
10586         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
10587
10588         * text2.C (getInset): new method. returns inset at cursor position.
10589
10590         * BufferView_pimpl.C (Dispatch): changes because of this.
10591
10592         * LyXAction.C (init): rename open-stuff to inset-toggle.
10593
10594         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
10595
10596         * text2.C (toggleInset): renamed from openStuff; use
10597         Inset::open().
10598
10599 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
10600
10601         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
10602
10603         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
10604
10605 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
10606
10607         * buffer.C (readLyXformat2): Add filename to the error dialog
10608
10609 2001-07-18  Juergen Vigna  <jug@sad.it>
10610
10611         * tabular.C (GetCellNumber): put an assert here instead of the check!
10612
10613 2001-07-17  Juergen Vigna  <jug@sad.it>
10614
10615         * BufferView_pimpl.C (toggleSelection): adapted too.
10616
10617         * text.C (selectNextWord): adapted for use with insets.
10618         (selectSelectedWord): ditto
10619
10620 2001-07-17  Juergen Vigna  <jug@sad.it>
10621
10622         * sp_spell.C (PSpell): fix initialitation order.
10623
10624 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10625
10626         * paragraph.C: spacing
10627
10628 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
10629
10630         * sp_spell.C: repair language selection for pspell
10631
10632 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10633
10634         * lyxfunc.h: change more methods to begin with lower char.
10635
10636 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
10637
10638         * buffer.C (parseSingleLyXformat2Token): Generate error insets
10639         for unknown layouts.
10640
10641 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
10642
10643         * buffer.C (readLyXformat2): Generate an error dialog if there are
10644         unknown layouts.
10645
10646 2001-07-16  Juergen Vigna  <jug@sad.it>
10647
10648         * sp_spell.C: always compile ISpell part.
10649
10650         * lyxrc.C: added use_pspell entry and it's handling.
10651
10652 2001-07-13  Juergen Vigna  <jug@sad.it>
10653
10654         * sp_spell.C: removed double includes.
10655
10656 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
10657
10658         Consistent use of Lsstream.h:
10659         * Lsstream.h: added using std::stringstream for consistencies sake.
10660
10661         * buffer.C: removed using std::stringstream
10662
10663         * lyxfont.C (stateText):
10664         * paragraph.C (asString):
10665         * text.C (selectNextWord, selectSelectedWord):
10666         * text2.C (setCounter):
10667         * vspace.C (asString, asLatexString):
10668         std::ostringstream -> ostringstream.
10669
10670 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
10671
10672         * LyXAction.C: add LFUN_HELP_ABOUTLYX
10673         * commandtags.h: add LFUN_HELP_ABOUTLYX
10674         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
10675
10676 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
10677
10678         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
10679         cursorToggle()
10680         * lyx_gui_misc.C: remove spellchecker
10681         * lyxfunc.C: showSpellchecker
10682         * sp_base.h: added
10683         * sp_ispell.h: added
10684         * sp_pspell.h: added
10685         * sp_spell.C: added
10686         * sp_form.[Ch]: removed
10687         * spellchecker.[Ch]: removed
10688
10689 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
10690
10691         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
10692         is set.
10693         (simpleTeXSpecialChars): Simply print the input character without
10694         any special translation if pass_thru is set.
10695
10696         * layout.h: Added bool pass_thru to layout class for being able to
10697         implement pass through of a paragraph for Literate Programming.
10698
10699         * layout.C: add LT_PASS_THRU to LayoutTags enum.
10700         * layout.C (LyXLayout): set pass_thru to flase in constructor.
10701         * layout.C (Read): add "passthru" to list of layout tags and add
10702         code to set the pass_thru boolean when it is read.
10703
10704 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10705
10706         * trans_decl.h: remove allowed from KmodInfo
10707
10708         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
10709         remove allowed code
10710         (Load): adjust
10711
10712         * paragraph_pimpl.C (erase): use boost::prior
10713
10714         * Painter.C (text): use data() instead of c_str() when length is
10715         also provided.
10716         * WorkArea.C (putClipboard): ditto
10717         * font.h (width): ditto
10718
10719         * BufferView2.C: use it-> instead of (*it). for iterators
10720         * texrow.C: ditto
10721         * paragraph_pimpl.C: ditto
10722         * paragraph.C: ditto
10723         * minibuffer.C: ditto
10724         * language.C: ditto
10725         * kbmap.C: ditto
10726         * encoding.C: ditto
10727         * counters.C: ditto
10728         * converter.C: ditto
10729         * chset.C: ditto
10730         * Variables.C: ditto
10731         * TextCache.C: ditto
10732         * MenuBackend.C: ditto
10733         * LyXAction.C: ditto
10734         * LColor.C: ditto
10735         * FloatList.C: ditto
10736         * DepTable.C: ditto
10737         * ColorHandler.C (LyXColorHandler): ditto
10738
10739 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10740
10741         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
10742
10743         * text2.C (openStuff): reintroduce this method (which had been
10744         nuked in NEW_INSETS frenzy).
10745
10746         * lyxfunc.C (Dispatch): when an action has not been handled, use
10747         its name in the error message, not its number.
10748
10749         * paragraph.C (inInset): change method name to begin with lowercase.
10750
10751         * undo_funcs.C:
10752         * text2.C: updates because of this.
10753
10754 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10755
10756         * ToolbarDefaults.C (add): add spaces in error message
10757
10758 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10759
10760         * buffer.C (readLyXformat2): initialize the ert comp. variables.
10761         (readLyXformat2): rename return_par to first_par, use lyxlex's
10762         pushToken and remove the manual push handling.
10763         (parseSingleLyXformat2Token): add another ert comp. variable:
10764         in_tabular, rename return_par to first_par. handle newlines better
10765
10766 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10767
10768         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
10769
10770 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10771
10772         * text2.C (getParFromID): removed
10773
10774         * buffer.C (getParFromID): new method moved form lyxtext.
10775         * BufferView2.C (insertErrors): adjust
10776         (setCursorFromRow): adjust
10777         * BufferView_pimpl.C (restorePosition): adjust
10778         * lyxfunc.C (Dispatch): adjust
10779         * undo_funcs.C (textUndo): adjust
10780         (textRedo): adjust
10781         (textHandleUndo): adjust
10782         (textHandleUndo): adjust
10783
10784 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10785
10786         * buffer.C: up' the LYX_FORMAT
10787
10788         * lyxfont.h: turn NO_LATEX on as default
10789
10790         * buffer.C (insertErtContents): new methods of tex style compability.
10791         (parseSingleLyXformat2Token): use it several places.
10792         * tabular.C (OldFormatRead): and here
10793
10794 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10795
10796         * text2.C: remove some commented code.
10797         reindent file.
10798
10799         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
10800         * trans.C: changes because of the above.
10801
10802 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
10803
10804         * text2.C (setCounter): Fix counters bug with bibliography layout.
10805
10806 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10807
10808         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
10809         own member functions
10810         (simpleTeXSpecialChars): ditto
10811
10812 2001-07-06  Juergen Vigna  <jug@sad.it>
10813
10814         * a lot of files: changed the access to LyXText::status and the
10815         call of undo-functions.
10816
10817         * undo.[Ch]: added a inset_id to the undo informations.
10818
10819         * undo_funcs.[Ch]: added and moved here all undo functions.
10820
10821         * lyxtext.h: give the status enum a weight, made status_ a private
10822         variable and made accessor functions for it, removed the whole bunch
10823         of undo-functions as they are now in their own file, make some
10824         functions publically available. Added function ownerParagraph with
10825         int parameter.
10826
10827         * paragraph.[Ch]: added "bool same_ids" to the constructor,
10828         made InInset() a const function, added getParFromID() function.
10829
10830         * buffer.[Ch]: added const version for inset_iterator functions,
10831         added getInsetFromID() function.
10832
10833         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
10834         changed undo functions for new version.
10835
10836 2001-07-05  Juergen Vigna  <jug@sad.it>
10837
10838         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
10839         unknow mechanism does not call the proper constructor but only this
10840         one also if I request the other!?
10841
10842 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10843
10844         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
10845
10846         * text2.C (LyXText): use initialization lists.
10847
10848         * lyxtext.h (Selection): initialize set_ and mark_
10849         (init): remove method
10850
10851 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
10852
10853         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
10854
10855 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10856
10857         * screen.[Ch]: change method names to begin with lowercase
10858
10859         * BufferView_pimpl.C (updateScrollbar): simplify further and
10860         hopefully make it a bit faster.
10861
10862 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10863
10864         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
10865         calling directly xforms functions.
10866
10867         * Painter.C (Painter):
10868         * lyx_cb.C (MenuWrite):
10869         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
10870         fl_display.
10871
10872         * lyx_gui.C: remove bogus guiruntime extern declaration.
10873
10874 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10875
10876         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
10877         in NEW_INSETS
10878         (redoDrawingOfParagraph): ditto
10879         (redoParagraphs): ditto
10880         (cutSelection): don't create a object for CutAndPaste use the
10881         static method directly
10882         (pasteSelection): ditto
10883
10884         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
10885         LyXview (+ rename)
10886
10887 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10888
10889         * modifications to some other files because of this.
10890
10891         * Makefile.am (lyx_SOURCES): add XFormsView
10892
10893         * XFormsView.[Ch]: new files
10894
10895         * LyXView.[Ch]: make LyXView a base class for the gui handling for
10896         the main window. Move the gui dependent stuff to XFormsView
10897
10898 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10899
10900         * tabular.C (GetCellInset): update cur_cell also in the row/col
10901         version of this function.
10902
10903         * lyxfunc.C: no need to include figure_form.h here.
10904
10905         * FontLoader.h:
10906         * lyxfunc.h:
10907         * lyxscreen.h:
10908         * text2.C:
10909         * lyxvc.C: no need to include forms.h here.
10910
10911 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10912
10913         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
10914
10915         * lyxfunc.C (Dispatch):
10916         * Spacing.C (set):
10917         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
10918         constructor argument.
10919
10920 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10921
10922         * paragraph.C (Paragraph): dont't clear, and just set layout.
10923         (makeSameLayout): use params's copy contructor.
10924
10925         * ParagraphParameters.[Ch] (makeSame): delete method
10926
10927 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
10928
10929         * Variables.[Ch]: fix indentation, rename set to isSet
10930
10931 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10932
10933         * lyxfunc.C (Dispatch): fix typo
10934
10935 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10936
10937         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
10938         upper_bound.
10939
10940         * bufferlist.C: include assert.h for emergencyWrite().
10941
10942 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
10943
10944         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
10945           give up at last (bug #425202) !
10946
10947 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
10948
10949         * lyx_gui_misc.C:
10950         * sp_form.h:
10951         * sp_form.C:
10952         * spellchecker.h:
10953         * spellchecker.C: strip spellchecker options and bring up
10954           preferences tab instead
10955
10956 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10957
10958         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
10959         the istringstream constructor
10960
10961 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10962
10963         * paragraph.C (getLayout): fix return value
10964
10965         * paragraph.h: do not declare getLayout as inline.
10966
10967         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
10968
10969 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10970
10971         * lyxcursor.h (operator<): new func
10972         (operator>): new func
10973         (operator>=): new func
10974         (operator<=): new func
10975
10976         * text.C (changeCase): use selection.start and selection.end
10977         (changeRegionCase): require from to be <= to. Require par to be a
10978         valid paragraph.
10979
10980         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
10981
10982 2001-06-27  Juergen Vigna  <jug@sad.it>
10983
10984         * text.C (cursorLeftOneWord): changed to return the cursor and added
10985         overlay with BufferView * parameter which calls this one.
10986         (getWord): added
10987         (selectWord): use new getWord function.
10988         (changeCase): renamed from changeWordCase as and extended to work
10989         also on selections.
10990
10991         * lyxtext.h: added enum word_location
10992
10993         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
10994         changeCase as this operates now also on selections.
10995
10996 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
10997
10998         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
10999
11000         * many files: send debug output to Debug::INFO instead of
11001         Debug::ANY.
11002
11003         * converter.C (View):
11004         (Convert):
11005         (Move): send debug output to Debug::FILES instead of console.
11006
11007 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
11008
11009         * lyxfunc.C (getStatus): use func_status
11010
11011         * func_status.h: new header, describing the results of
11012         LyXFunc::getStatus;
11013
11014         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
11015         LFUN_MATH_HALIGN.
11016
11017 2001-06-25  The LyX Project  <jug@sad.it>
11018
11019         * buffer.C (sgmlOpenTag):
11020         (sgmlCloseTag):
11021         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
11022
11023 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11024
11025         * text2.C: remove some dead code
11026
11027         * tabular.C (GetCellInset): store the last cell checked (gotten)
11028
11029         * tabular.h: add the helper for the speedup
11030
11031         * lyxtext.h: remove some dead code
11032
11033 2001-06-26  The LyX Project  <Asger>
11034
11035         * paragraph.C: Change export to LaTeX of alignment to
11036         \begin{center} and family for better roundtrip work with reLyX.
11037
11038         * Tune the math drawing a bit.
11039
11040 2001-06-25  The LyX Project  <Asger>
11041
11042         * LColor.C (LColor): New color for math background. New color
11043         for buttons.
11044
11045 2001-06-25  The LyX Project  <jug@sad.it>
11046
11047         * lyxfunc.C (MenuNew): remove extra check for .lyx file
11048
11049         * lyxfunc.C (Open):
11050         * bufferlist.C (newFile): do not restrict to files ending with
11051         .lyx
11052
11053         * BufferView_pimpl.C (MenuInsertLyXFile):
11054
11055 2001-06-24  The LyX Project  <jug@sad.it>
11056
11057         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
11058         of compare_no_case
11059
11060 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11061
11062         * lyxtext.h: rename most methods to begin with a small char.
11063         Lots of changes because of this.
11064
11065         * paragraph.C (Paragraph): do not call fitToSize
11066         (erase): call Pimpl::erase
11067         (insertChar): call Pimpl::insertChar
11068         (insertInset): call Pipl::insertInset
11069         (breakParagraph): do not call fitToSize
11070         (breakParagraphConservative): do not call fitToSize
11071         (fitToSize): remove method
11072
11073         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
11074
11075 2001-06-24  The LyX Project  <Asger>
11076
11077         * Fix Qt compilation^2
11078
11079 2001-06-24  The LyX Project  <jug@sad.it>
11080
11081         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
11082         depthHook(getDepth()-1).
11083
11084         * paragraph.h:
11085         * ParagraphParameters.h:
11086         * ParameterStruct.h: change type of depth to unsigned int ==
11087         depth_type. Many adaptations to other files before of that.
11088
11089 2001-06-24  The LyX Project  <Asger>
11090
11091         * Fix Qt compilation.
11092
11093 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11094
11095         * paragraph.h: renamed several methods to begin with small letter.
11096         several changes to many parts of the code because of this.
11097
11098 2001-06-23  The LyX Project  <jug@sad.it>
11099
11100         * text2.C (InsertStringAsLines): renamed from InsertStringA;
11101         rewritten to discard all double spaces when KeepEmpty is off
11102         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
11103         to only handle newlines but not fiddle with spaces and friends.
11104
11105         * lyxfunc.C (MenuNew): when doing 'new from template', use
11106         template_path as default directory
11107
11108 2001-06-23  The LyX Project  <Asger>
11109
11110         * Clean-up of header file includes all over
11111         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
11112
11113 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11114
11115         * paragraph.h: renamed from lyxparagraph.h
11116
11117 2001-06-23  Asger  <lyx@violet.home.sad.it>
11118
11119         * Buffer.h: Removed Buffer::resize
11120         * BufferList.h: Removed BufferList::resize
11121         * LyXView.h: Added LyXView::resize. This way, we will only reflow
11122         the document lazily when we change the width, or the font settings.
11123
11124 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
11125
11126         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
11127
11128 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
11129
11130         * buffer.h: remove out of date comment
11131
11132 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
11133
11134         * lyxscreen.h:
11135         * screen.C: fix "theoretical" GC leak
11136
11137 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11138
11139         * LaTeX.C (scanAuxFile):
11140         (deplog): remove trailing \r when reading stream (useful under
11141         win32)
11142
11143 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
11144
11145         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
11146         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
11147         and BufferView::theLockingInset(Inset*), so should use them and not
11148         access bv_->text->the_locking_inset directly.
11149
11150         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
11151
11152 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
11153
11154         * Makefile.am:
11155         * tex-defs.h: remove old unused file
11156
11157 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
11158
11159         * BufferView_pimpl.C: fix typo, remove minibuffer message
11160           when buffer has loaded
11161
11162 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11163
11164         * lyxfunc.C (Dispatch): use stringstream
11165         (MenuNew): use stringstream
11166         (Open): use stringstream
11167
11168         * importer.C (Import): use stringstream
11169
11170         * bufferview_funcs.C (CurrentState): use stringstream
11171
11172         * LaTeX.C (run): use stringstream
11173
11174         * BufferView_pimpl.C (savePosition): use stringstream
11175         (restorePosition): use stringstream
11176         (MenuInsertLyXFile): use stringstream
11177
11178 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
11179
11180         * BufferView.C:
11181         * Bullet.C:
11182         * ColorHandler.C:
11183         * FontInfo.C:
11184         * FontLoader.C:
11185         * LColor.C:
11186         * LaTeXFeatures.C:
11187         * Painter.C:
11188         * gettext.C:
11189         * lyx_gui_misc.C:
11190         * lyxserver.C:
11191         * vspace.C: removed // -*- C++ -*- as first line.
11192
11193         * lyxfind.h:
11194         * version.h: added // -*- C++ -*- as first line.
11195
11196 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11197
11198         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
11199
11200         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
11201         of string
11202
11203 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11204
11205         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
11206         of floats.
11207
11208 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11209
11210         * gettext.C: include LString.h even when --disable-nls is on.
11211
11212 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
11213
11214         * converter.h (Get): changed argument type from int to
11215         FormatList::size_type to avoid unnecessary conversion.
11216
11217         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
11218         before using it.
11219
11220 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11221
11222         * gettext.h: include LString.h even when --disable-nls is on.
11223
11224 2001-06-07  Juergen Vigna  <jug@sad.it>
11225
11226         * text.C (BreakAgain): subst spaces with tabs.
11227
11228         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
11229         (resizeInsetsLyXText): set force on resizeLyXText.
11230
11231 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11232
11233         * gettext.h (gettext_init):
11234         (locale_init): use a real definition instead of a macro
11235
11236 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
11237
11238         * Bufferview_pimpl.C:
11239         * LColor.h:
11240         * LColor.C: further lcolor tidies
11241
11242 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11243
11244         * BufferView_pimpl.C (updateScrollbar): simplify.
11245
11246         * BufferView2.C: don't include insets/insetinfo.h, change
11247         prototype for insertInset and call the Pimpl version. let
11248         updateInset call Pimpl version.
11249
11250         * BufferView.h: move inset_slept to BufferView::Pimpl, move
11251         gotoInset to BufferView::Pimpl
11252
11253 2001-06-01  Juergen Vigna  <jug@sad.it>
11254
11255         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
11256         inside a LockingInset (is the update needed at all?).
11257
11258 2001-05-31  Juergen Vigna  <jug@sad.it>
11259
11260         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
11261         here not the old one otherwise how should we compare it afterwards
11262         if it's the same!
11263
11264 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11265
11266         * lyxfont.C:
11267         * tabular.C:
11268         * tabular-old.C:
11269         * FontInfo.C: bring C functions into global namespace when
11270         necessary
11271
11272 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11273
11274         * LString.h: make sure config.h has been loaded before LString.h.
11275
11276         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
11277         (one for each char read by EatLine!).
11278
11279         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
11280         variables.
11281
11282 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11283
11284         * paragraph.C (BreakParagraph): set the inset_owner in the new par
11285         to the same as the par we break from
11286
11287 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11288
11289         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
11290
11291         * MenuBackend.C (expand): also create menu entries for wide
11292         versions of the floats.
11293
11294         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
11295
11296         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
11297
11298         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
11299         frontends/Makefile.am
11300
11301         * text2.C: adjust
11302         * text.C: adjust
11303
11304
11305         * tabular.C (getTokenValue): add std::
11306
11307         * tabular-old.C (getTokenValue): add std::
11308         (getTokenValue): ditto
11309         (getTokenValue): ditto
11310
11311         * screen.C (ToggleSelection): adjust
11312
11313         * lyxtext.h: put selection cursors inside a Selection struct.
11314
11315         * lyxfunc.C (moveCursorUpdate): adjust
11316
11317         * lyxfont.C (latexWriteStartChanges): add std::
11318
11319         * lyxfind.C: adjust
11320
11321         * font.h: delete with(char const *, LyXFont const &)
11322
11323         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
11324
11325         * FontInfo.C (getFontname): add std::
11326
11327         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
11328         (workAreaButtonPress): adjust
11329         (tripleClick): adjust
11330         (update): adjust
11331         (moveCursorUpdate): adjust
11332         (Dispatch): adjust
11333
11334         * BufferView2.C (gotoInset): adjust
11335
11336 2001-05-30  Juergen Vigna  <jug@sad.it>
11337
11338         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
11339         to check pspell I add this as default as I now have new pspell
11340         libraries and they seem to use this.
11341
11342 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11343
11344         * text2.C (CutSelection): make the cursor valid before the call to
11345         ClearSelection.
11346
11347 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11348
11349         * kbsequence.C (parse): de-uglify a bit the parsing code, which
11350         relied on 0 terminated strings and other horrors. Bug found due to
11351         the new assert in lyxstring!
11352
11353         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
11354         KP_ keys.
11355
11356 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11357
11358         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
11359         to latinkeys.bind.
11360
11361         * lyxfunc.C (processKeySym): change method of getting to the
11362         self-insert char.
11363
11364         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
11365         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
11366         * BufferView_pimpl.[Ch]: here as private methods.
11367
11368 2001-05-28  Juergen Vigna  <jug@sad.it>
11369
11370         * text.C (SetHeightOfRow): added the update() call again as it is
11371         needed to initialize inset dimensions!
11372
11373 2001-05-16  Juergen Vigna  <jug@sad.it>
11374
11375         * text2.C (SetCharFont): Add new function with BufferView * and
11376         bool toggleall parameters for setting insets internal fonts.
11377         (SetFont): Freeze the undo as we may change fonts in Insets and
11378         all this change should be inside only one Undo!
11379
11380         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
11381         setting font's in insets as for them we have the SetFont function!
11382
11383 2001-05-15  Juergen Vigna  <jug@sad.it>
11384
11385         * text2.C (ClearSelection): to be sure we REALLY don't have any
11386         selection anymore!
11387
11388         * tabular.C (TeXCellPreamble): fixed the left border problem for
11389         multicolumn cells.
11390
11391 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
11392
11393         * LaTeX.C (deplog): Make sure that the main .tex file is in the
11394         dependancy file
11395
11396 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11397
11398         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
11399         LFUN_BREAKPARAGRAPH.
11400
11401         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
11402         help test to "internal only", similar for LFUN_INSERT_URL
11403
11404         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
11405         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
11406         auto_region_delete and deadkeys.
11407
11408 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
11409
11410         * LColor.h:
11411         * LColor.C: remove some dead entries, tidy a little
11412
11413 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11414
11415         * lyxfunc.C (processKeySym): comment the Escape handling, remove
11416         commented code.
11417         (Dispatch): implement LFUN_ESCAPE
11418
11419         * commandtags.h: add LFUN_ESCAPE
11420
11421         * LyXAction.C (init): add entry for LFUN_ESCAPE
11422
11423         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
11424         Remove commented code.
11425         (insertNote): moved here
11426         (open_new_inset): moved here
11427
11428         * BufferView[2].[Ch]: move insertNote and open_new_inset to
11429         BufferView_pimpl
11430
11431 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11432
11433         * kbmap.C (findbinding): clean it up and make it work correctly.
11434
11435         * lyx_main.C (init): do not pass argc and argv as parameters
11436
11437 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
11438
11439         * buffer.C: fix path for OS/2 & Win32
11440
11441         * lyx_gui.C:
11442         * lyx_main:
11443         * lyx_main.C: Added os:: class.
11444
11445         * os2_defines.h: update
11446
11447 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11448
11449         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
11450         better by trying again with reduced state.
11451
11452 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11453
11454         * lyxrc.C (read): print error about invalid key sequence only when
11455         debugging (because not all latinX keysyms are known to some X
11456         servers)
11457
11458         * kbsequence.C (getiso): add a few std:: qualifiers
11459         (getiso): comment out extra return statement.
11460
11461 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11462
11463         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
11464         handling.
11465         (Dispatch): enhance the accent inset a bit. (not perfect)
11466
11467 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11468
11469         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
11470
11471 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11472
11473         * bufferlist.C (emergencyWrite): fix assert() call
11474
11475 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
11476
11477         * text.C (InsertChar): Added trivial patch to only send the "you
11478         can not do multiple spaces this way" message once during a
11479         session.
11480
11481 2001-05-08  Baruch Even  <baruch@lyx.org>
11482
11483         * Makefile.am: Changed order of libraries to get LyX to link properly
11484         with the gnome frontend.
11485
11486 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11487
11488         * LaTeXFeatures.h: add a std:: qualifier
11489
11490 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11491
11492         * paragraph.C (String): use stringstream
11493
11494 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11495
11496         * paragraph.C (writeFile): remove footflag arg
11497
11498         * buffer.C (makeLaTeXFile): use stringstream
11499         (latexParagraphs): remove footnot gurba
11500
11501         * LaTeXFeatures.C (getPackages): use stringstream
11502         (getMacros): likewise
11503         (getTClassPreamble): likewise
11504         (getFloatDefinitions): new method
11505
11506         * paragraph.C (writeFile): reindent
11507         (Erase): reindent
11508
11509         * WorkArea.h: revert the xpos + etc changes.
11510
11511         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
11512
11513         * lyxparagraph.[Ch]: add copy constructor, remove Clone
11514
11515         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
11516         (pasteSelection): likewise
11517         * text2.C (CreateUndo): likewise
11518
11519 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11520
11521         * minibuffer.C (peek_event): temporarily reduce the functionality
11522         of the minibuffer (to allow args on lfuns)
11523
11524         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
11525         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
11526
11527         * buffer.C (readInset): add compability reading of old float
11528         lists, add reading of new style float list.
11529         (readInset): avoid reevaluation of inscmd.getCmdName()
11530         (getLists): reindent
11531
11532         * MenuBackend.C (MenuItem): implement parsing of
11533         md_floatlistinsert and md_floatinsert.
11534         (expand::LastFiles): move initalizaton of iterators out of loop,
11535         avoid reevaluation.
11536         (expand::Documents): introduce typdedef vector<string> Strings,
11537         and use it.
11538         (expand::ExportFormats): introduce typedef vector<Format const *>
11539         Formats, and use it.
11540         (expand): implement FloatListInsert and FloatInsert.
11541
11542         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
11543         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
11544         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
11545
11546         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
11547         handling.
11548         (Dispatch::LFUN_FLOAT_LIST): implement
11549
11550 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
11551
11552         * LaTeX.C (run): Fix problem with --export code.
11553
11554 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
11555
11556         * BufferView.[Ch] (workarea): removed.
11557         (getClipboard) new method; wrapper for workarea()->getClipboard()
11558
11559         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
11560         bug.
11561
11562         * WorkArea.h (width, height, xpos, ypos): These methods all
11563         returned the dimensions of the work_area sub-area of WorkArea,
11564         resulting in a position error if the WorkArea were resized. Now
11565         return the dimensions of the entire WorkArea.
11566
11567         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
11568
11569 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11570
11571         * LaTeX.C (deplog): correct the syntax of regex reg1
11572
11573 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11574
11575         * undo.C: remove !NEW_INSETS cruft
11576
11577 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11578
11579         * text2.C: remove !NEW_INSETS cruft
11580
11581         * text.C: remove !NEW_INSETS cruft
11582
11583         * tabular.C: remove !NEW_INSETS cruft
11584
11585         * spellchecker.C: remove !NEW_INSETS cruft
11586
11587         * lyxtext.h: remove !NEW_INSETS cruft
11588
11589         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
11590
11591         * lyxfunc.C: remove !NEW_INSETS cruft
11592
11593         * lyxfind.C: remove !NEW_INSETS cruft
11594
11595         * lyx_cb.C: remove !NEW_INSETS cruft
11596
11597         * figureForm.C: remove  !NEW_INSETS cruft
11598
11599         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
11600
11601         * buffer.[Ch]: remove !NEW_INSETS cruft
11602
11603         * ToolbarDefaults.C: remove !NEW_INSETS cruft
11604
11605         * CutAndPaste.C: remove !NEW_INSETS cruft
11606
11607         * BufferView_pimpl.C: remove !NEW_INSETS cruft
11608
11609         * BufferView2.C: remove !NEW_INSETS cruft
11610
11611         * BufferView.h: remove !NEW_INSETS cruft
11612
11613 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11614
11615         * Lsstream.h: include LString.h before the sstream headers to
11616         fix problem with gcc 2.95.3 and lyxstring
11617
11618 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11619
11620         * lyx_main.C: add using directives when needed for C functions
11621         declared in std:: namespace.
11622
11623 2001-04-27  Juergen Vigna  <jug@sad.it>
11624
11625         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
11626         (SetHeightOfRow): comment out the update call should not be needed!
11627
11628 2001-04-13  Juergen Vigna  <jug@sad.it>
11629
11630         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
11631         (LyXTabular): tried to minimize operator= operations (and realized
11632         hopfully Lars wish).
11633
11634 2001-04-27  Juergen Vigna  <jug@sad.it>
11635
11636         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
11637
11638 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11639
11640         * lyxfunc.C (Dispatch): hack to make listof algorithm work
11641
11642         * buffer.C (readInset): hack to make listof algorithm work
11643
11644         * BufferView_pimpl.C: hack to make listof algorithm work
11645
11646 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11647
11648         * LyXAction.C: removed all !NEW_INSETS cruft
11649         (init): moved lfun_item in method
11650
11651         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
11652
11653 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
11654
11655         * BufferView2.C (theLockingInset): white space.
11656
11657 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11658
11659         * minibuffer.C: include <iostream>
11660
11661         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
11662
11663         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
11664
11665         * commandtags.h: add LFUN_TRANSPOSE_CHARS
11666
11667         * text.[Ch] (TransposeChars): new method
11668
11669 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11670
11671         * call message directly through LyXView instead of through LyXFunc
11672         * BufferView2.C: adjust
11673         * BufferView_pimpl.C: adjust
11674         * FontLoader.C: adjust
11675         * buffer.C: adjust
11676         * bufferview_funcs.C: adjust
11677         * converter.C: adjust
11678         * figureForm.C: adjust
11679         * importer.C: adjust
11680         * lyx_cb.C: adjust
11681         * lyx_gui_misc.C: adjust
11682         * lyxfunc.C: adjust
11683         * lyxvc.C: adjust
11684         * text2.C: adjust
11685         + more files in subdirs
11686
11687         * lyxparagraph.h (size): move up int file
11688         (GetLayout): ditto
11689
11690         * adjust all uses of Assert to lyx::Assert.
11691
11692         * BufferView2.C (ChangeCitationsIfUnique): adjust for
11693         lyxfunctional in namespace lyx
11694         * layout.C (hasLayout): ditto
11695         (GetLayout): ditto
11696         (GetLayout): ditto
11697         (delete_layout): ditto
11698         (NumberOfClass): ditto
11699         * converter.C (GetFormat): ditto
11700         (GetNumber): ditto
11701         (Add): ditto
11702         (Delete): ditto
11703         (SetViewer): ditto
11704         * bufferlist.C (getFileNames): ditto
11705         (emergencyWriteAll): ditto
11706         (exists): ditto
11707         (getBuffer): ditto
11708         * MenuBackend.C (hasSubmenu): ditto
11709         (hasMenu): ditto
11710         (getMenu): ditto
11711         * BufferView_pimpl.C (getInsetByCode): ditto
11712
11713 2001-04-18  Juergen Vigna  <jug@sad.it>
11714
11715         * vspace.C (asLatexString): fixed the 100% problem.
11716
11717 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11718
11719         * lyxfunc.C (Dispatch):
11720         * minibuffer.C:
11721         * minibuffer.h: add a few std:: qualifiers
11722
11723 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11724
11725         * minibuffer.[Ch]: reimplement so that commands is initiated and
11726         run from lyxfunc, simplified som handling, and made the completion
11727         and history code for complete. wip.
11728
11729         * lyxfunc.C (processKeySym): call message
11730         (miniDispatch): new temporary method
11731         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
11732         (LFUN_MESSAGE): implement
11733         (LFUN_MESSAGE_PUSH): implement
11734         (LFUN_MESSAGE_POP): implement
11735         (initMiniBuffer): the initial/defualt minibuffer message.
11736
11737         * lyxfont.[Ch]: inline some more getters
11738
11739         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
11740
11741         * lyx_gui_misc.[Ch] (WriteStatus): remove method
11742
11743         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
11744         (AutoSave): use LFUN_MESSAGE
11745         (Reconfigure): ditto
11746
11747         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
11748
11749         * figureForm.C: use LFUN_MESSAGE
11750
11751         * converter.C (runLaTeX): use LFUN_MESSAGE
11752
11753         * bufferview_funcs.C: use LFUN_MESSAGE
11754         (Melt): ditto
11755         (changeDepth): ditto
11756
11757         * bufferparams.h: use boost::
11758
11759         * bufferlist.h: inherit privately from noncopyable
11760
11761         * bufferlist.C (loadLyXFile): remove some commented code.
11762
11763         * buffer.C (runChktex): use LFUN_MESSAGE
11764
11765         * ShareContainer.h: inherit privately from noncopyable
11766
11767         * ParagraphParameters.[hC] (depth): inline it.
11768
11769         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
11770         methods.
11771         (message): new method
11772         (messagePush): ditto
11773         (messagePop): ditto
11774         (show): init minibuffer
11775         (showState): direct call
11776
11777         * LaTeX.[Ch]: inherit privately from noncopyable
11778         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
11779         instead of WriteStatus.
11780
11781         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
11782
11783         * BufferView_pimpl.C (buffer): don't init minibuffer
11784         (workAreaButtonPress): use LFUN_MESSAGE
11785         (workAreaButtonRelease): ditto
11786         (savePosition): ditto
11787         (restorePosition): ditto
11788         (MenuInsertLyXFile): ditto
11789         (workAreaExpose): don't init minibuffer
11790         (update): remove commented code, simplify
11791
11792         * BufferView2.C (openStuff): use LFUN_MESSAGE
11793         (toggleFloat): ditto
11794         (menuUndo): ditto
11795         (menuRedo): ditto
11796         (copyEnvironment): ditto
11797         (pasteEnvironment): ditto
11798         (copy): ditto
11799         (cut): ditto
11800         (paste): ditto
11801         (gotoInset): ditto
11802         (updateInset): remove some commented code
11803
11804         * lastfiles.h: inherit privately from noncopyable
11805         * layout.h: ditto
11806         * lyx_gui.h: ditto
11807         * lyx_main.h: ditto
11808         * lyxlex.h: ditto
11809         * lyxlex_pimpl.h: ditto
11810
11811         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
11812         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
11813         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
11814
11815         * LyXAction.h: inherit privately from noncopyable, add methods
11816         func_begin, func_end, returning iterators to the func map.
11817
11818         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
11819         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
11820         (func_begin): new method
11821         (func_end): new method
11822
11823         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
11824         and not)
11825         (copySelection): ditto
11826         (pasteSelection): ditto
11827
11828         * BufferView.C: whitespace change
11829         * BufferView.h: inherit privately from noncopyable
11830
11831 2001-04-16  Allan Rae  <rae@lyx.org>
11832
11833         * tabular-old.C (l_getline):
11834         * spellchecker.C (sc_check_word):
11835         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
11836         an unrecognised preprocessor directive.  So ensure they're wrapped.
11837
11838 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
11839
11840         * src/exporter.C (Export): Give an error message when path to file
11841         contains spaces.
11842
11843 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
11844
11845         * LaTeX.C (deplog): Always check that foundfile exists.
11846
11847 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11848
11849         * lyx_main.h:
11850         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
11851
11852 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11853
11854         * tabular.[Ch] (getLabelList): implement new method
11855
11856         * minibuffer.h: comment ouf setTiimer
11857
11858         * minibuffer.C (ExecutingCB): constify res
11859         (peek_event): constify s
11860         (Set): constify ntext
11861         (Init): constify nicename
11862
11863         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
11864
11865         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
11866         (savePosition): use two params to Minibuffer::Set
11867         (restorePosition): ditto
11868
11869 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11870
11871         * lyx_main.C: include language.h
11872
11873         * Makefile.am (lyx_main.o): add language.h
11874
11875 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11876
11877         * exporter.C:
11878         * paragraph.C:
11879         * screen.C:
11880         * tabular.C:
11881         * CutAndPaste.C: include gettext.h
11882
11883         * lyxfont.h: remove old hack with ON and OFF.
11884
11885         * lyxparagraph.h:
11886         * lyxfont.h: do not include language.h...
11887
11888         * BufferView2.C:
11889         * LaTeXFeatures.C:
11890         * Painter.C:
11891         * bufferview_funcs.C:
11892         * font.C:
11893         * lyxfont.C:
11894         * text.C:
11895         * text2.C:
11896         * trans_mgr.C:
11897         * paragraph.C: ... but do it here instead
11898
11899 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11900
11901         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
11902
11903         * tabular.C: small reformat
11904
11905         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
11906         NEW_INSETS version
11907         (GetChar): ditto
11908         (BreakParagraph): ditto
11909         (SetOnlyLayout): ditto
11910         (SetLayout): ditto
11911
11912         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
11913         with one arg less.
11914
11915         * lastfiles.C: removed most using decl, add std:: where needed
11916
11917         * buffer.C: ws changes
11918
11919         * MenuBackend.C (class compare_format): put into anon namespace
11920         (expand): constify label, names, action, action2
11921         (expand):
11922
11923         * text.C (SingleWidth): constify font
11924         (IsBoundary): constify rtl2
11925         (GetVisibleRow): constify ww
11926
11927         * LaTeX.C (deplog): constify logfile
11928
11929         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
11930         start_x, end_x
11931         (workAreaExpose): constify widthChange, heightChange
11932
11933         * lyxrow.C (par): moved
11934         (height): moved
11935         (next): moved
11936         * lyxrow.h: as inlines here
11937
11938         * lyxfont.h (shape): moved from lyxfont.C
11939         (emph): moved from lyxfont.C
11940
11941         * lyxfont.C (LyXFont): use initialization list for all
11942         constructors
11943         (shape): move to lyxfont.h as inline
11944         (emph): move to lyxfont.h as inline
11945
11946
11947 2001-04-04  Juergen Vigna  <jug@sad.it>
11948
11949         * vspace.C: had to include stdio.h for use of sscanf
11950
11951 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
11952
11953         * BufferView.h:
11954         * BufferView_pimpl.h: remove xforms cruft. Both classes are
11955         independent of xforms.
11956
11957 2001-04-02  Juergen Vigna  <jug@sad.it>
11958
11959         * spellchecker.C: fixed namespace placing!
11960
11961 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
11962
11963         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
11964         the LyXParagraph * is 0.
11965
11966 2001-03-29  Juergen Vigna  <jug@sad.it>
11967
11968         * vspace.C: added support for %, c%, p%, l%.
11969         (stringFromUnit): added helper function.
11970         (asLatexString): changed to give right results for the %-values.
11971
11972         * buffer.C: convert the widthp in a width%.
11973
11974 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
11975
11976         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
11977         figureForm.[Ch].
11978
11979         * figureForm.[Ch]: stripped the FD_from_figure manipulation
11980         code out of lux_cb.[Ch], ready for its (imminent?) removal.
11981
11982         * lyx_cb.[Ch]: see above.
11983
11984         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
11985         form1.[Ch].
11986
11987         * form1.[Ch]:
11988         * lyx.[Ch]: replaced by figure_form.[Ch].
11989
11990         * lyx_gui.C:
11991         * lyx_gui_misc.C:
11992         * lyxfunc.C: changed headers associated with above changes.
11993
11994 2001-03-27  Juergen Vigna  <jug@sad.it>
11995
11996         * BufferView_pimpl.C: set the temporary cursor right!
11997
11998 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
11999
12000         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
12001
12002 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
12003
12004         * LString.h: removed "using std::getline"!
12005
12006         * BufferView_pimpl.C (Dispatch): changes due to changes in
12007         InsetInclude::Params.
12008
12009         * buffer.C (tag_name): removed redundant break statements as they were
12010         producing lots of warnings with my compiler.
12011
12012 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12013
12014         * LString.h: add "using std::getline" when using the real <string>.
12015
12016 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
12017
12018         * buffer.C: removed bitset usage.
12019         PAR_TAG moved to an anonymous name space.
12020         (tag_name): new funtion, also in the anonymous namespace.
12021         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
12022         (makeDocBookFile): clean code. Completed transition from string arrays
12023         to string vectors.
12024         (SimpleDocBookOnePar): code clean.
12025
12026 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12027
12028         * tabular.C: add some comments.
12029
12030 2001-03-22  Juergen Vigna  <jug@sad.it>
12031
12032         * buffer.C (parseSingleLyXformat2Token): redone the minipage
12033         compatibility read a bit and fixed bug with minipage in different
12034         depth.
12035
12036 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
12037
12038         * buffer.C (pop_tag): removed.
12039         (push_tag): removed.
12040         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
12041         array replaced with vector. Added support for CDATA sections.
12042         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
12043         at any nest level.
12044         (makeDocBookFile): XML conformant declaration of CDATA section,
12045         fixed bug related to <emphasis> in the first paragraph char.
12046         (sgmlOpenTag): exclude empty tags.
12047         (sgmlCloseTag): ditto.
12048
12049         * buffer.h (pop_tag): removed.
12050         (push_tag): removed.
12051
12052 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
12053
12054         * language.h (Languages): added size_type and size().
12055
12056 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12057
12058         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
12059         response on compability reading of minipages. One probliem is that
12060         the old usage of minipages was «flertydig»
12061
12062         * several files here and in subdirs: don't use static at file
12063         scope use anon namespaces instead.
12064
12065 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
12066
12067         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
12068         LaTeX output. This is necessary for Literate document
12069         processing.
12070
12071 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12072
12073         * buffer.C: insert hfill when needed.
12074
12075         * tabular.C (l_getline): use string::erase, small whitespace change.
12076
12077         * BufferView_pimpl.C: try the anon namespace.
12078         * WorkArea.C: ditto
12079
12080 2001-03-16  Juergen Vigna  <jug@sad.it>
12081
12082         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
12083         otherwise it won't open options-dialogs.
12084
12085         * buffer.C: honor pextraWidth(p) on converting minipages.
12086
12087         * tabular.C (l_getline): changed the functions to strip trailing \r.
12088
12089 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
12090
12091         * BufferView_pimpl.C:
12092         * minibuffer..C: added "using SigC::slot" declaration.
12093
12094 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12095
12096         * lyxlex_pimpl.h: noncopyable is in namespace boost.
12097
12098         * text2.C: ditto
12099
12100         * text.C: ditto
12101
12102         * paragraph.C: ditto
12103
12104         * lyxtext.h: NO_PEXTRA
12105
12106         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
12107
12108         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
12109         * ParameterStruct.h: ditto
12110         * ParagraphParameters.h: ditto
12111         * lyxparagraph.h: ditto
12112
12113 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12114
12115         * buffer.C: add compability for minipage alignment.
12116         (latexParagraphs): remove unwanted pextra check.
12117
12118         * several files: remove CXX_WORKING_NAMESPACES
12119
12120         * buffer.C (pop_tag): tie is in namespace boost
12121
12122         * BufferView.h: noncopyable is in namespace boost
12123         * lyxlex.h: ditto
12124         * lyx_main.h: ditto
12125         * lyx_gui.h: ditto
12126         * layout.h: ditto
12127         * lastfiles.h: ditto
12128         * bufferlist.h: ditto
12129         * ShareContainer.h: ditto
12130         * LyXView.h: ditto
12131         * LyXAction.h: ditto
12132         * LaTeX.h: ditto
12133
12134 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
12135
12136         * Merging changes from BRANCH_MVC back into HEAD.
12137
12138         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
12139
12140 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
12141
12142         * BufferView_pimpl.C: change from intl.C
12143
12144         * combox.h:
12145         * combox.C:
12146         * Makefile.am: move combox.*
12147
12148         * form1.h:
12149         * form1.C:
12150         * lyx_gui.C:
12151         * intl.h:
12152         * intl.C: remove dialog (covered by prefs)
12153
12154 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
12155
12156         * lyxfunc.C (Dispatch): removed redundant break statement.
12157
12158 2001-03-14  Juergen Vigna  <jug@sad.it>
12159
12160         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
12161
12162 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12163
12164         * buffer.C: add hack to fix compability reading of minipages.
12165
12166 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
12167
12168         * buffer.C (getLists): Cleanup.
12169
12170 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12171
12172         * lyxfont.C (update): don't honor toggleall on font size.
12173
12174 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
12175
12176         * bmtable.c:
12177         * bmtable.h:
12178         * Makefile.am: moved to frontends/xforms/
12179
12180         * lyx_gui_misc.C:
12181         * lyxfunc.C:
12182         * BufferView_pimpl.C: changes for moved mathpanel
12183
12184 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
12185
12186         * gettext.h: fix gettext_init() in --disable-nls
12187
12188 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12189
12190         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
12191
12192 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
12193
12194         * lyx.C:
12195         * lyx.h: strip external form
12196
12197 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
12198
12199         * BufferView_pimpl.C: add comment, destroySplash()
12200
12201 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
12202
12203         * BufferView_pimpl.C:
12204         * LyXAction.C:
12205         * buffer.C:
12206         * commandtags.h:
12207         * lyxfunc.C: use re-worked insetinclude
12208
12209 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12210
12211         * buffer.C: add using std::stringstream.
12212
12213         * lyx_cb.C: readd using std::ios.
12214
12215         * buffer.C: add using std::map.
12216
12217         * BufferView_pimpl.C: add using std::vector.
12218
12219         * ShareContainer.h: add std:: to swap.
12220
12221         * buffer.h: add some typedefs
12222         * buffer.C (getLists): use them
12223         (getLists): renamed from getTocList.
12224         add a counter for the different float types and use it in the
12225         generated string.
12226         (getLists): use the same counter for the NEW_INSETS and the "non"
12227         NEW_INSETS
12228
12229         * lyx_cb.h: remove unused items, includes, using etc.
12230
12231         * ShareContainer.h: remove some commented code, add more comments
12232         and "documentation".
12233
12234 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12235
12236         * buffer.C (getTocList): make the list also when NEW_INSETS is
12237         defined.
12238
12239         * buffer.h: remove TocType
12240
12241         * buffer.C (getTocList): change to return a map<string,
12242         vector<TocItem> >, implement for dynamic number of list.
12243
12244         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
12245         * text2.C (PasteSelection): adjust
12246         * CutAndPaste.C (pasteSelection): adjust
12247
12248         * FloatList.C (FloatList): update from the new_insets branch.
12249         * Floating.[Ch]: ditto
12250         * LaTeXFeatures.C: ditto
12251         * buffer.C: ditto
12252         * lyxlex_pimpl.C: ditto
12253
12254         * paragraph.C (Last): remove when NEW_INSETS is defined.
12255
12256         * other file: changes because of the above.
12257
12258 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12259
12260         * lyxparagraph.h: rename next to next_, previous to previous_,
12261         make them private for NEW_INSETS. Rename Next() to next(),
12262         Previous() to previous().
12263
12264         * other files: changes because of the above.
12265
12266 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
12267
12268         * BufferView.h:
12269         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
12270         problem.
12271
12272 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12273
12274         * main.C (main): pass lyx_localedir to gettext_init().
12275
12276         * gettext.h: remove locale_init and gettext_init macros
12277
12278         * gettext.C (locale_init): new function
12279         (gettext_init): new function
12280
12281         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
12282         setlocale().
12283
12284 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
12285
12286         * Moved credits to frontends:
12287         * credits.[Ch]: removed
12288         * credits_form.[Ch]: removed
12289         * lyx_gui_misc.C: remove credits stuff
12290         * Makefile.am:
12291
12292 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12293
12294         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
12295
12296         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
12297         unneeded destructor.
12298
12299         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
12300         a standalone pointer again.
12301
12302         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
12303
12304 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
12305
12306         * Makefile.am:
12307         * filedlg.h:
12308         * filedlg.C:
12309         * LyXAction.C:
12310         * ToolbarDefaults.C:
12311         * bufferlist.C:
12312         * commandtags.h:
12313         * form1.C:
12314         * form1.h:
12315         * lyx_cb.C:
12316         * lyx_cb.h:
12317         * lyxfunc.h:
12318         * lyxfunc.C:
12319         * BufferView_pimpl.C: use new file dialog in GUII
12320
12321         * lyx_cb.h:
12322         * lyx_cb.C: remove LayoutsCB to Toolbar
12323
12324 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12325
12326         * ShareContainer.h (get): add std:: qualifier
12327
12328 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12329
12330         * ShareContainer.h: define a proper ShareContainer::value_type
12331         type (and use typename to please compaq cxx)
12332
12333 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12334
12335         * lyxparagraph.h: move serveral local vars to
12336         ParameterStruct/ParagraphParameters., use ShareContainer in
12337         FontTable., make vars in FontTable private and add getter and
12338         setter.
12339
12340         * paragraph.C: changes because of the above.
12341
12342         * lyxfont.h: remove copy constructor and copy assignment. (the
12343         default ones is ok), move number inside FontBits. move inlines to
12344         lyxfont.C
12345
12346         * lyxfont.C: add number to initializaton of statics, move several
12347         inlines here. constify several local vars. some whitespace
12348         cleanup. Dont hide outerscope variables.
12349
12350         * Spacing.h: add two new constructors to match the set methods.
12351
12352         * ShareContainer.h: new file, will perhaps be moved to support
12353
12354         * ParameterStruct.h: new file
12355
12356         * ParagraphParameters.h: new file
12357
12358         * ParagraphParameters.C: new file
12359
12360         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
12361         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
12362
12363         * BufferView_pimpl.C: ParagraphParameter changes.
12364         * buffer.C: Likewise.
12365         * bufferview_funcs.C: Likewise.
12366         * text.C: Likewise.
12367         * text2.C: Likewise.
12368
12369 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12370
12371         * lyxfind.C (LyXReplace): do not redefine default argument in
12372         implementation.
12373         (IsStringInText): ditto
12374         (SearchForward): ditto
12375         (SearchBackward): ditto
12376
12377 2001-03-06  Juergen Vigna  <jug@sad.it>
12378
12379         * lyxfind.C (IsStringInText): put parentes around expressions.
12380
12381 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
12382
12383         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
12384
12385 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
12386
12387         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
12388
12389         * stl_string_fwd.h: add comment
12390
12391         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
12392
12393         * tabular.h:
12394         * tabular.C: remove unused DocBook methods
12395
12396         * intl.C:
12397         * language.C:
12398         * paragraph.C:
12399         * buffer.C:
12400         killed DO_USE_DEFAULT_LANGUAGE
12401
12402 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12403
12404         * lyx_gui.C: do not include language.h.
12405
12406         * bufferview_funcs.C (ToggleAndShow): do not provide optional
12407         arguments in function implementation.
12408
12409 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12410
12411         * BufferView_pimpl.C: add <ctime>
12412
12413 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12414
12415         * BufferView_pimpl.C: add using std::find_if
12416
12417 2001-02-27  José Matos  <jamatos@fep.up.pt>
12418
12419         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
12420         by OnlyPath.
12421
12422 2001-02-11  José Matos  <jamatos@fep.up.pt>
12423
12424         * buffer.C (makeDocBookFile): command styles now have a parameter as
12425         "title" by default.
12426
12427 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
12428
12429         * layout_forms.[Ch]: removed
12430         * lyx_cb.[Ch]: out character
12431         * lyx_gui.C: out character
12432         * lyx_gui_misc.C: out character
12433         * bufferview_funcs.C: : out character,
12434         added toggleall as parameter in ToggleAndShow
12435
12436 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
12437
12438         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
12439
12440         * text2.C (SetCurrentFont): Disable number property at boundary.
12441
12442 2001-02-26  Juergen Vigna  <jug@sad.it>
12443
12444         * lyxfunc.C (getStatus): added a string argument override function so
12445         that this is correctly called from LyXFunc::Dispatch if it contains a
12446         do_not_use_argument which is used!
12447         (Dispatch): added check for "custom" export and call appropriate func.
12448
12449 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
12450
12451         * lyxrc.C: Add language_command_local, language_use_babel and
12452         language_global_options.
12453
12454         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
12455
12456         * buffer.C (makeLaTeXFile): Use language_use_babel and
12457         language_global_options.
12458
12459 2001-02-23  Juergen Vigna  <jug@sad.it>
12460
12461         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
12462         which works with LyXText and putted it inside BufferView. Here now we
12463         only call for that part the BufferView::Dispatch() function.
12464
12465         * BufferView.C (Dispatch): added.
12466
12467         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
12468         functions which needs to use a LyXText over from LyXFunc.
12469         (MenuInsertLyXFile): added
12470         (getInsetByCode): added
12471         (moveCursorUpdate): added
12472         (static TEXT): added
12473
12474 2001-02-22  Juergen Vigna  <jug@sad.it>
12475
12476         * BufferView_pimpl.C (update): call a status update to see if LyXText
12477         needs it.
12478
12479 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12480
12481         * vc-backend.C (revert): implement for CVS
12482         (getLog): implement for CVS
12483
12484 2001-02-20  Juergen Vigna  <jug@sad.it>
12485
12486         * text2.C (ClearSelection): added BufferView param for inset_owner call
12487
12488         * lyxfunc.C (TEXT): added this function and use it instead of
12489         directly owner->view()-text of getLyXText().
12490
12491 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
12492
12493         * src/layout_forms.C: out preamble
12494         * src/layout_forms.h: out preamble
12495         * src/lyx_cb.C: out preamble
12496         * src/lyx_cb.h: out preamble
12497         * src/lyx_gui.C: out preamble
12498         * src/lyx_gui_misc.C: out preamble
12499         * src/lyxfunc.C: connect with guii preamble
12500
12501 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
12502
12503         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
12504
12505 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
12506
12507         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
12508         whether to run bibtex.
12509
12510 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
12511
12512         * Makefile.am (lyx_SOURCES): Remove BackStack.h
12513
12514 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
12515
12516         * Makefile.am (lyx_SOURCES): removed bibforms.h
12517
12518         * vspace.h: doxygen
12519
12520         * text.C (GetVisibleRow): make several local vars const
12521
12522         * tabular.C: small cleanup.
12523
12524         * lyxserver.C (callback): use compare instead of strncmp
12525
12526         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
12527         inlines to after class or to paragraph.C
12528
12529         * lyxfont.h: remove friend operator!=
12530
12531         * converter.h: move friend bool operator< to non friend and after
12532         class def.
12533
12534         * combox.h: small cleanup
12535
12536         * buffer.h: doxygen, remove unused constructor, move inclas inlies
12537         to inlines after class def.
12538
12539         * buffer.C (pop_tag): use string operations instead of strcmp
12540
12541         * bmtable.c: doxygen, small cleanup
12542
12543         * LaTeX.h: remove friend operator==
12544
12545 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
12546
12547         * screen.C:
12548         * lyxrc.[Ch]:
12549         * lyxfunc.C:
12550         * lyxfont.[Ch]:
12551         * lyx_cb.C:
12552         * intl.[Ch]:
12553         * commandtags.h:
12554         * buffer.C:
12555         * WorkArea.[Ch]:
12556         * LyXAction.C:
12557         * BufferView_pimpl.C:
12558         * BufferView.[Ch]: remove cruft
12559
12560 2001-02-14  Juergen Vigna  <jug@sad.it>
12561
12562         * lyxfunc.C: removed #if 0 unused code
12563
12564         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
12565
12566         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
12567
12568         * text2.C (SetSelection): added a BufferView * parameter
12569
12570 2001-02-13  Juergen Vigna  <jug@sad.it>
12571
12572         * lyxfunc.C (Dispatch): fixed protected blank problem.
12573         * BufferView2.C (protectedBlank): added LyxText * parameter.
12574
12575         * tabular.C (AppendRow): forgot to set row_info of newly added row.
12576         (AppendColumn): same as above for column_info.
12577
12578         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
12579         (moveCursorUpdate): use a LyXText param for support of InsetText.
12580
12581         * BufferView_pimpl.C (doubleClick): added support for InsetText.
12582         (tripleClick): ditto
12583
12584         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
12585
12586         * BufferView_pimpl.C (update): added LyXText param to honor insets.
12587
12588         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
12589
12590         * text2.C (SetSelection): set correct update status if inset_owner
12591         (ToggleFree): ditto
12592
12593 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
12594
12595         * tabular.C: remove some commented code.
12596
12597 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
12598
12599         * BufferView_pimpl.C: call hideSplash()
12600
12601         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
12602
12603         * include_form.h:
12604         * bibforms.h: remove
12605
12606         * lyxfunc.C:
12607         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
12608           add LFUN_CHILD_CREATE
12609
12610         * counters.h: fix tiny typo
12611
12612         * lyx_cb.C:
12613         * lyx.h:
12614         * lyx_gui.C:
12615         * lyx.C: move splash to frontends/xforms/
12616
12617         * lyx_gui_misc.C: move Include and Bibform to frontends
12618
12619         * lyxvc.h: clarify comment
12620
12621         * vspace.C: tiny housekeeping
12622
12623 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
12624
12625         * text.C (PrepareToPrint): RTL Fix.
12626
12627         * paragraph.C (GetUChar): New method.
12628         (String):  Use GetUChar.
12629
12630         * buffer.C (asciiParagraph): Use GetUChar.
12631
12632 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
12633
12634         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
12635
12636 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
12637
12638         * buffer.h:
12639         * buffer.C: rename to getLogName(), handle
12640           build log / latex log nicely
12641
12642 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12643
12644         * MenuBackend.C:
12645         * MenuBackend.h: remove support for reference menuitem type.
12646
12647 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
12648
12649         * BufferView_pimpl.C: housekeeping
12650         * BufferView_pimpl.h:
12651         * LyXView.h:
12652         * Makefile.am:
12653         * Timeout.C:
12654         * Timeout.h:
12655         * minibuffer.h: move Timeout GUI-I
12656
12657 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
12658
12659         * lyxrc.C (read): Update converters data-structures.
12660
12661 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
12662
12663         * LaTeX.h (operator!=): add operator != for Aux_Info
12664
12665 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
12666
12667         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
12668
12669         * LaTeXLog.C: deleted, useful code moved to Buffer
12670
12671         * buffer.h:
12672         * buffer.C: new function getLatexLogName()
12673
12674         * lyx_gui_misc.C:
12675         * lyx_gui.C:
12676         * lyxvc.C:
12677         * lyxvc.h:
12678         * lyxfunc.C: use frontends for LaTeX and VC logs
12679
12680 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12681
12682         * LaTeX.h: yet another std:: that Allan forgot.
12683
12684         * Variables.C (set): renamed from isset(), because this clashes
12685         with some HP-UX macros (grr).
12686
12687 2001-02-06  Allan Rae  <rae@lyx.org>
12688
12689         * LaTeX.h: Another bug fix.  Missing std:: this time.
12690
12691 2001-02-04  Allan Rae  <rae@lyx.org>
12692
12693         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
12694         floats problem. I've left it commented out because it's not quite
12695         correct.  It should also test that the current object is a table or
12696         figure inset.  But I haven't gotten around to figuring out how to do
12697         that.  I *think* it'll be something like: "table" == inset.type()
12698
12699         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
12700         bool.
12701
12702 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
12703
12704         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
12705         all the citation/databases/styles in the auxilary file.
12706         (run): Rerun latex if there was a babel language error.
12707
12708 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
12709
12710         * text.C (Backspace): Preserve the font when changing newline char
12711         with a space.
12712         (BreakParagraph): If the cursor is before a space, delete the space.
12713
12714         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
12715
12716 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
12717
12718         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
12719         new argument (code).
12720         (ChangeCitationsIfUnique): New method.
12721
12722         * paragraph.C (GetPositionOfInset): Handle bibkey.
12723
12724 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12725
12726         * BufferView_pimpl.h: change type of Position::par_pos to
12727         LyXParagraph::size_type.
12728
12729 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
12730
12731         * BufferView_pimpl.C (savePosition, restorePosition): Write
12732         messages to minibuffer.
12733
12734 2001-01-28  José Matos  <jamatos@fep.up.pt>
12735
12736         * buffer.C (makeDocBookFile): adds support for document language.
12737         A silly restriction on the name of LatexCommand types where removed.
12738         Added support for CDATA sections, allows to chars unescaped, used
12739         among others in code, to avoid escape < and >.
12740
12741 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
12742
12743         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
12744         saved positions instrad of a stack. Furthermore, a position is
12745         stored using paragraph id/paragraph position.
12746
12747         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
12748         Remove LFUN_REF_BACK.
12749
12750 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
12751
12752         * converter.C (dvipdfm_options): New method.
12753
12754 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
12755
12756         * vspace.C (isValidLength): Fix for empty input string.
12757
12758 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12759
12760         * LyXAction.C (init): change description of LFUN_FIGURE to
12761         "Insert Graphics"
12762
12763 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12764
12765         * LaTeX.C: add using directive
12766
12767 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
12768
12769         * MenuBackend.C (expand): Fix the sorting of the formats.
12770
12771 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
12772
12773         * lyx_main.C: tiny error message fix
12774
12775 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12776
12777         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
12778         calling fl_initialize(). This fixes the problem with ',' as
12779         decimal separator in text files.
12780
12781 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
12782
12783         * trans.C (process): Fix the keymap bug.
12784
12785 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
12786
12787         * LaTeX.C (scanAuxFiles): New method. Provides support for
12788         multiple bibliographies (when using the bibtopic/bibunits pacakges).
12789         (scanLogFile) Scan for "run BibTeX" messages.
12790
12791         * buffer.C (makeLaTeXFile): Do not load the ae package when using
12792         OT1 font encoding. Also, load the aecompl package if the ae
12793         package is loaded.
12794
12795         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
12796
12797 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12798
12799         * texrow.C (increasePos): turn two error messages into debug
12800         messages.
12801
12802 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
12803
12804         * LaTeX.C (scanAux): Handle the \@input macro.
12805         (runBibTeX): Use scanAux().
12806
12807         * language.C (latex_options_): New field.
12808
12809         * LaTeXFeatures.C (getMacros): Add language macros.
12810
12811         * buffer.C (makeLaTeXFile): Small fix.
12812
12813 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12814
12815         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
12816
12817         * text2.C: add a using directive.
12818
12819 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
12820
12821         * BufferView2.C:
12822         * lyx_gui_misc.h:
12823         * lyxfr1.C:
12824         * lyxfunc.C: kill LyXBell.
12825
12826 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
12827
12828         * text.C (IsBoundary): Remove the error message
12829
12830         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
12831
12832         * lyxrc.C (setDefaults): Correct initialization value for
12833         font_norm_type.
12834
12835 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
12836
12837         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
12838         gotoError().
12839
12840         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
12841         and GotoNextNote().
12842
12843         * src/LyXAction.C: Added reference-next.
12844
12845         * text.C (InsertChar): Use contains instead of strchr.
12846
12847         * lyx_cb.C (MenuInsertLabel): Enable default value code.
12848
12849 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
12850
12851         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
12852         alignment commands (when needed).
12853
12854         * text.C (InsertChar): Add ':' to number separator chars.