]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
c3dcf3be69079a713b3b9532229b6b31295b11ed
[lyx.git] / src / ChangeLog
1 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2
3         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
4
5 2003-09-18  Angus Leeming  <leeming@lyx.org>
6
7         * buffer.C:
8         * BufferView.C: pass the buffer when calling Inset::getLabelList,
9         Inset::fillWithBibKeys.
10         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
11
12 2003-09-18  Angus Leeming  <leeming@lyx.org>
13
14         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
15         variables.
16         (ctor): pass and store a 'Buffer const &'
17         (buffer): new member function.
18
19         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
20         '*this' to the LaTeXFeatures ctor.
21
22 2003-09-18  Angus Leeming  <leeming@lyx.org>
23         
24         * LColor.h:
25         * lyxfont.C:
26         * lyxfont.h:
27         * lyxtext.h:
28         * text.C: rename EnumLColor as LColor_color.
29
30 2003-09-18  Angus Leeming  <leeming@lyx.org>
31
32         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
33         remove #include "insets/insetbase.h" from cursor.h.
34
35 2003-09-18  Angus Leeming  <leeming@lyx.org>
36
37         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
38         InsetOld_code to remove #include "inset.h".
39
40         * iterators.C: add #include "insets/inset.h"
41
42 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
43
44         * BufferView.C: remove more locking stuff that apparently doesn't
45         do anything sensible.
46
47 2003-09-16  André Pönitz  <poenitz@gmx.net>
48
49         * paragraph.[Ch]:
50         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
51           performance boost.
52
53 2003-09-16  Angus Leeming  <leeming@lyx.org>
54
55         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
56
57         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
58         arg/return type.
59
60         * paragraph.h: remove #include "lyxfont.h". Forward declare
61         LyXFont_size.
62
63 2003-09-16  Angus Leeming  <leeming@lyx.org>
64
65         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
66         of support/textutils.h.
67         (isWord): move the contents of support/textutils.h's IsWordChar here.
68
69         * buffer.C:
70         * lyxfind.C:
71         * rowpainter.C:
72         * text.C:
73         * text2.C: add #include "paragraph.h".
74
75         * rowpainter.C:
76         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
77
78 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
79
80         * main.C: 
81         * lyx_main.C: 
82         * lyx_cb.C: 
83         * buffer.C: 
84         * LaTeX.C: use namespace alias for lyx::support::os
85
86 2003-09-16  Angus Leeming  <leeming@lyx.org>
87
88         * bufferparams.C:
89         * bufferview_funcs.C:
90         * factory.C:
91         * lyxfunc.C:
92         * paragraph_pimpl.C:
93         * rowpainter.C:
94         * text.C: add #include "LColor.h".
95
96 2003-09-16  Angus Leeming  <leeming@lyx.org>
97
98         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
99         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
100         return LyXFont &.
101         Store the FontBits::color variable as an int rather than as an
102         LColor::colorso that we can move LColor.h out of the lyxfont.h header
103         file.
104
105         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
106         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
107         string calls together.
108
109         * lyxrc.C: add #include "LColor.h".
110
111 2003-09-15  Angus Leeming  <leeming@lyx.org>
112
113         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
114         a cow_ptr.
115
116 2003-09-15  Angus Leeming  <leeming@lyx.org>
117
118         * LColor.h: add an EnumLColor wrapper for LColor::color.
119
120         * lyxfont.[Ch] (color, setColor, realColor):
121         * lyxtext.h, text.C (backgroundColor):
122         pass EnumLColor args to/from the functions, rather than LColor::color
123         ones.
124
125         * lyxfont.h:
126         * lyxtext.h: forward declare EnumLColor.
127
128         * lyx_main.C: add #include "LColor.h".
129
130 2003-09-15  Angus Leeming  <leeming@lyx.org>
131
132         * .cvsignore: add lyx-gtk.
133
134 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
135
136         * Chktex.C
137         * LaTeX.C
138         * LaTeXFeatures.C
139         * ParagraphParameters.C
140         * Spacing.C
141         * buffer.C
142         * bufferparams.C
143         * bufferview_funcs.C
144         * chset.C
145         * counters.C
146         * funcrequest.C
147         * lyxfont.C
148         * lyxgluelength.C
149         * lyxlength.C
150         * paragraph.C
151         * paragraph_funcs.C
152         * text3.C
153         * vc-backend.C: remove usage of STRCONV
154
155 2003-09-15  Angus Leeming  <leeming@lyx.org>
156
157         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
158         explicitly define the color passed to the painter.
159
160 2003-09-15  Angus Leeming  <leeming@lyx.org>
161
162         * bufferparams.C (BufferParams): reorder member initializers to avoid
163         compiler warning.
164
165 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
166
167         * CutAndPaste.C (pasteSelection): remove an outdated #warning
168         * text.C (updateRowPositions): remove an unusual nop
169
170 2003-09-12  André Pönitz  <poenitz@gmx.net>
171
172         * BufferView_pimpl.C:
173         * Bullet.C:
174         * layout.h:
175         * lyxfunc.C:
176         * lyxlayout.[Ch]:
177         * lyxtextclass.C:
178         * rowpainter.C:
179         * text.C:
180         * text2.C:
181         * Counters.[Ch]: finish the 'automatic counters' job
182
183 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
184
185         * aspell.C: include <boost/assert.cpp> (compile fix)
186
187 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
188
189         * boost.C (assertion_failed): use lyx::support::abort instead of
190         assert.
191
192 2003-09-10  Angus Leeming  <leeming@lyx.org>
193
194         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
195         with their _fwd progeny.
196
197 2003-09-09  Angus Leeming  <leeming@lyx.org>
198
199         134 files throughtout the source tree: replace 'using namespace abc;'
200         directives with the appropriate 'using abc::xyz;' declarations.
201
202 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
203
204         * boost.C (emergencyCleanup): moved here from LAssert.c
205         (assertion_failed): new function, called by BOOST_ASSERT
206
207         * several files: change Assert to BOOST_ASSERT
208
209 2003-09-09  Angus Leeming  <leeming@lyx.org>
210
211         * buffer.[Ch]: Add an Impl class and move Buffer's member
212         variables into it. As a result move several header files out of
213         buffer.h.
214
215         Add header files to lots of .C files all over the tree as a result.
216
217 2003-09-09  Angus Leeming  <leeming@lyx.org>
218
219         * buffer.[Ch]: make Buffer's member variables private. Add
220         accessor functions.
221
222         Lots of changes all over the tree as a result.
223
224 2003-09-08  Angus Leeming  <leeming@lyx.org>
225
226         * graph.C: #include <config.h>.
227
228 2003-09-08  Angus Leeming  <leeming@lyx.org>
229
230         * BranchList.C:
231         * BufferView.C:
232         * BufferView_pimpl.C:
233         * CutAndPaste.C:
234         * DepTable.C:
235         * LaTeX.C:
236         * LaTeXFeatures.C:
237         * LyXAction.C:
238         * MenuBackend.C:
239         * TextCache.C:
240         * aspell.C:
241         * buffer.C:
242         * bufferlist.C:
243         * changes.C:
244         * chset.C:
245         * converter.C:
246         * counters.C:
247         * debug.C:
248         * graph.C:
249         * ispell.C:
250         * lyx_cb.C:
251         * lyxfind.C:
252         * lyxfunc.C:
253         * lyxlex_pimpl.C:
254         * lyxrc.C:
255         * lyxrow.C:
256         * paragraph.C:
257         * rowpainter.C:
258         * texrow.C:
259         * text.C:
260         * text2.C:
261         * toc.C: remove redundant using directives.
262
263 2003-09-07  Angus Leeming  <leeming@lyx.org>
264
265         * LaTeXFeatures.h: remove #include "support/types.h".
266         * ToolbarBackend.h: remove #include <algorithm>.
267         * changes.h: remove #include <ctime>.
268         * debug.h: remove #include <iosfwd>.
269         * graph.h: remove #include "support/std_string.h".
270         * lyx_main.h: remove #include <csignal>.
271         * lyxlex_pimpl.h: remove #include <fstream>.
272         * sgml.h: remove #include <algorithm>, <utility>.
273         * toc.h: remove #include "support/std_ostream.h".
274         Add #include <iosfwd>.
275
276 2003-09-07  Angus Leeming  <leeming@lyx.org>
277
278         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
279
280         * converter.h: forward declare LatexRunParams.
281         * encoding.h: remove #include "lyxrc.h".
282         * lyxtext.h: remove #include "LColor.h".
283         * lyxtextclass.h: remove #include "support/types.h".
284         * trans.h: remove #include "tex-accent.h".
285         * trans_mgr.h: remove #include "tex-accent.h".
286         * insets/inset.h: remove #include "support/types.h", <vector>.
287         * insets/insetcollapsable.h: remove #include "LColor.h".
288         * insets/insetinclude.h: remove #include "dimension.h".
289         * insets/insetlatexaccent.h: remove #include "dimension.h".
290         * insets/insetoptarg.h:: remove #include "insettext.h".
291         * insets/insettext.h: remove #include "dimension.h",
292         <boost/shared_ptr.hpp>
293
294         * insets/renderers.h: add #include "dimension.h".
295         * insets/updatableinset.h: add #include "support/types.h".
296
297         * many .C files: Associated changes.
298
299 2003-09-06  Angus Leeming  <leeming@lyx.org>
300
301         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
302         one, inside testInvariant.
303
304         * PrinterParams.C: new file.
305         * PrinterParams.[Ch]: move the function bodies out of line.
306
307 2003-09-06  Angus Leeming  <leeming@lyx.org>
308
309         * ParagraphParameters.h: forward declare ParameterStruct rather than
310         including its header file.
311         (depth): moved out-of-line.
312
313 2003-09-06  Angus Leeming  <leeming@lyx.org>
314
315         * BufferView_pimpl.h:
316         * kbmap.h:
317         * kbsequence.h:
318         * lyxfunc.h: forward declare LyXKeySym rather than
319         #include "frontends/LyXKeySym.h".
320
321         * BufferView_pimpl.C:
322         * kbmap.C:
323         * kbsequence.C:
324         * lyxfunc.C: associated changes.
325
326 2003-09-06  Angus Leeming  <leeming@lyx.org>
327
328         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
329         As a result, can remove the #include "insets/inset.h" from BufferView.h
330
331 2003-09-06  Angus Leeming  <leeming@lyx.org>
332
333         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
334         As a result, can remove the #include "insets/inset.h" from BufferView.h
335
336 2003-09-06  Angus Leeming  <leeming@lyx.org>
337
338         * buffer_funcs.C:
339         * buffer.h:
340         * bufferlist.C:
341         * BufferView.C:
342         * bufferview_funcs.C:
343         * BufferView_pimpl.C:
344         * CutAndPaste.C:
345         * lyx_cb.C:
346         * lyxfunc.C:
347         * paragraph.h:
348         * ParagraphParameters.C:
349         * tabular.C:
350         * text3.C:
351         * toc.C:
352         * undo_funcs.C:
353         * frontends/controllers/ControlDocument.C:
354         * insets/insetcaption.C: rearrange the #includes into some sort of
355         coherent order.
356
357         * buffer.h: remove #includes ErrorList.h, undo.h
358
359 2003-09-06  Angus Leeming  <leeming@lyx.org>
360
361         * support/types.h: add a 'depth_type' typedef, used to store the
362         nesting depth of a paragraph.
363
364         * paragraph.h:
365         * ParameterStruct.h: use this lyx::depth_type typedef rather than
366         defining explicitly.
367
368         * buffer.h:
369         * paragraph_funcs.h:
370         * ParagraphParameters.h:
371         * sgml.h: use lyx::depth_type rather than Paragraph or
372         ParameterStruct's depth_type.
373
374         * buffer.h
375         * paragraph_funcs.h: no need to #include paragraph.h anymore.
376
377         * BufferView.C:
378         * BufferView_pimpl.C:
379         * CutAndPaste.C:
380         * ParagraphParameters.C:
381         * buffer_funcs.C:
382         * bufferlist.C:
383         * bufferview_funcs.C:
384         * lyx_cb.C:
385         * lyxfunc.C:
386         * tabular.C:
387         * text3.C:
388         * toc.C:
389         * undo_funcs.C:
390         * frontends/LyXView.C:
391         * frontends/controllers/ControlDocument.C:
392         * frontends/controllers/ControlErrorList.C:
393         * insets/insetbibitem.C:
394         * insets/insetbranch.C:
395         * insets/insetcaption.C:
396         * insets/insetcollapsable.C:
397         * insets/insetenv.C:
398         * insets/insetert.C:
399         * insets/insetfloat.C:
400         * insets/insetfoot.C:
401         * insets/insetfootlike.C:
402         * insets/insetnewline.C:
403         * insets/insetquotes.C:
404         * insets/insettabular.C:
405         * insets/insettext.C:
406         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
407
408         * frontends/controllers/ControlChanges.C: #include "changes.h".
409
410 2003-09-06  Angus Leeming  <leeming@lyx.org>
411
412         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
413         than #including paragraph.h.
414
415         * ParagraphList.h:
416         * RowList.h: deleted. Superfluous.
417
418         * CutAndPaste.h:
419         * iterators.h:
420         * lyxcursor.h:
421         * lyxtext.h:
422         * text_funcs.h:
423         * undo.h:
424         * undo_funcs.h:
425         * insets/inset.h:
426         * insets/insettext.h: use ParagraphList_fwd.h rather than
427         ParagraphList.h.
428
429         * paragraph.h: don't forward declare ParagraphList.
430
431         * buffer.h:
432         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
433         rather than ParagraphList.h. paragraph.h is still needed for the
434         Paragraph::depth_type parameters.
435
436         * textcursor.h: enable it to compile stand-alone in light of the
437         above changes.
438
439         * bufferview_funcs.C:
440         * iterators.C:
441         * lyxfunc.C:
442         * lyxrow_funcs.C:
443         * paragraph.C:
444         * rowpainter.C:
445         * text.C:
446         * text2.C:
447         * text3.C:
448         * text_funcs.C:
449         * textcursor.C:
450         * undo.C:
451         * frontends/controllers/ControlParagraph.C:
452         * frontends/controllers/ControlTabular.C:
453         * insets/insetmarginal.C:
454         * insets/insetminipage.C:
455         * insets/insetnote.C:
456         * insets/insetoptarg.C: add header files needed to compile again.
457
458 2003-09-06  Angus Leeming  <leeming@lyx.org>
459
460         * RowList_fwd.h: new file, forward-declaring Row rather than
461         #including lyxrow.h.
462
463         * lyxrow_funcs.h:
464         * lyxtext.h:
465         * paragraph.h:
466         * insets/insettext.h: use it instead of RowList.h
467
468         * bufferview_funcs.C:
469         * lyxfunc.C:
470         * lyxrow_funcs.C:
471         * paragraph.C:
472         * rowpainter.C:
473         * text.C:
474         * text2.C:
475         * text3.C: #include "RowList.h".
476
477 2003-09-05  Angus Leeming  <leeming@lyx.org>
478
479         * factory.C (createInset):
480         * vspace.C (c-tor): replace sscanf call with an istringstream.
481         * ispell.C: re-add missing HP/UX headers.
482         * lyxserver.C: re-add missing  os2 headers.
483
484 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
485
486         * BranchList.C:
487         * graph.C:
488         * ispell.C:
489         * lastfiles.C:
490         * lyx_cb.C:
491         * lyxserver.C:
492         * texrow.C:
493         * text3.C: re-add missing system headers, needed for 2.95.2.
494
495 2003-09-05  Angus Leeming  <leeming@lyx.org>
496
497         Changes most place everywhere due to the removal of using directives
498         from support/std_sstream.h.
499
500 2003-09-05  Angus Leeming  <leeming@lyx.org>
501
502         Replace LString.h with support/std_string.h,
503         Lsstream.h with support/std_sstream.h,
504         support/LIstream.h with support/std_istream.h,
505         support/LOstream.h with support/std_ostream.h.
506
507         Changes resulting throughout the tree.
508
509 2003-09-05  Angus Leeming  <leeming@lyx.org>
510
511         * sgml.h: ensure that the header file can be compiled stand-alone.
512         * *.C: strip out redundant #includes. (320 in total.)
513
514 2003-09-04  Angus Leeming  <leeming@lyx.org>
515
516         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
517         here (from getPackages).
518
519         * debug.[Ch]: add a new EXTERNAL tag.
520
521 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
522
523         * text2.C (cursorEnd): simplify
524         (setCursor): adjust
525         (getColumnNearX): adjust
526
527         * text.C (computeBidiTables): adjust
528         (fill): adjust
529
530         * rowpainter.C (paintChars): adjust
531         (paintSelection): adjust
532         (paintChangeBar): adjust
533         (paintText): adjust
534
535         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
536         lastPos instead.
537         (numberOfSeparators): adjust
538
539 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
540
541         * LyXAction.C:
542         * box.[Ch]:
543         * lfuns.h:
544         * lyxfunc.C:
545         * text3.C: Restricts the mouse click functionality
546         of insets like bibtex, include, toc and floatlist to the visible
547         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
548         up the dialogs. Cursor has to be in front of the inset (i.e.
549         start of row) for this to function.
550
551 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
552
553         * bufferview_funcs.C (currentState): output row information
554
555 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
556
557         * bufferview_funcs.C (currentState): output paragraph position
558
559 2003-09-04  Angus Leeming  <leeming@lyx.org>
560
561         * FloatList.h: move out #include "Floating.h".
562         * LaTeX.h: move out #include "DepTable.h".
563         * LyXAction.h: move out #include "funcrequest.h".
564         * buffer.h: move out #include "author.h", "iterators.h".
565         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
566         * lyx_main.h: move out #include "errorlist.h".
567         * lyxfunc.h: move out #include "FuncStatus.h".
568         * lyxtext: move out #include "lyxcursor.h".
569         * paragraph_pimpl.h: move out #include "counters.h".
570
571 2003-09-03  Angus Leeming  <leeming@lyx.org>
572
573         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
574         preamble_snippets list, enabling us to add snippets to the preamble
575         only if the snippet was not there already.
576
577 2003-09-04  Angus Leeming  <leeming@lyx.org>
578
579         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
580
581 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
582
583         * lyxfunc.C (dispatch): if fitCursor did something be sure to
584         update
585
586 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
587
588         * BranchList.C: point fix, earlier forgotten
589
590 2003-09-02  Angus Leeming  <leeming@lyx.org>
591
592         * box.C (contains): renamed from 'contained' after a fantastic
593         amount of hot air.
594
595 2003-09-02  John Levon  <levon@movementarian.org>
596
597         * BufferView.C:
598         * lyxcursor.h:
599         * lyxcursor.C:
600         * lyxfunc.C:
601         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
602
603 2003-09-02  John Levon  <levon@movementarian.org>
604
605         * text2.C: simplification of cursorEnd(), including partial
606         fix for bug 1376
607
608 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
609
610         * buffer.C (readFile): add a space
611
612 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
613
614         * BufferView_pimpl.C (update): remove bogus fitCursor() call
615
616 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
617
618         * buffer.C (readFile): new function, take a filename and a
619         ParagraphList::iterator
620         (readFile): adjust
621         (readFile): adjust, make it private. don't use setStream, make
622         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
623         always contain the filename.
624
625         * BufferView.C (insertLyXFile): simplify and make it work for
626         gzipped files.
627
628 2003-08-30  John Levon  <levon@movementarian.org>
629
630         * Makefile.am: fix dist (from Kayvan)
631
632 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
633
634         * most files: change to use const Buffer refs
635
636 2003-08-27  André Pönitz  <poenitz@gmx.net>
637
638         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
639         on top of ownerPar().
640
641 2003-08-27  John Levon  <levon@movementarian.org>
642
643         * funcrequest.C: properly initialise POD members
644
645 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
646
647         * lyxtext.h (top_y): move top_y from here
648         * text.C:
649         * text2.C:
650         * text3.C:
651         * BufferView.[Ch]:
652         * BufferView_pimpl.[Ch]: to here
653         * frontends/screen.C:
654         * insets/insettabular.C:
655         * insets/insettext.C: adjust
656         * rowpainter.[Ch] (paintRows): remove LyXText & argument
657
658 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
659
660         * BufferView.[Ch]:
661         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
662
663 2003-08-26  André Pönitz  <poenitz@gmx.net>
664
665         * paragraph_func.[Ch] (outerPar): new function
666
667         * paragraph.C:
668         * paragraph_funcs.C:
669         * paragraph_funcs.h:
670         * paragraph_pimpl.C:
671         * text2.C: remove Inset::par_owner
672
673 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
674
675         * lyxrow_funcs.C:
676         * lyxtext.h:
677         * text.C:
678         * text2.C: eliminates the needFullRow/display() stuff
679         altogether, putting the logic in metrics/draw in the insets.
680
681 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
682
683         * text2.C (redoParagraphInternal, redoParagraphs):
684         * text.C (redoParagraph): add a call to updateRowPositions at the
685         end of each 'metrics-like' call. Remove all others.
686         (getRow): remove the 'y-computing' version.
687         (getRowNearY): do not compute nor return the real y. Solve the
688         'y < 0' problem and simplify.
689
690 2003-08-22  Angus Leeming  <leeming@lyx.org>
691
692         * *.[Ch]: clean-up of licence and author blurbs.
693         Also move config.h out of a few .h files and into a few .C files.
694
695 2003-08-22  André Pönitz  <poenitz@gmx.net>
696
697         * lyxrow.[Ch]: add x_ and *fill_ members
698
699         * lyxtext.h:
700         * text.C:
701         * rowpainter.C:
702         * text2.C: adjust/remove prepareToPrint() calls
703
704 2003-08-22  André Pönitz  <poenitz@gmx.net>
705
706         * lyxrow.[Ch]: add  end_ member
707
708         * lyxrow_funcs.C: use LyXRow::end_
709
710         * lyxtext.h (singleWidth): add LyXFont parameter
711
712         * rowpainter.C:
713         * text2.C: adjust LyXText::singleWidth() calls
714
715         * text.C (redoParagraph): simplify row breaking logic
716
717
718 2003-08-19  André Pönitz  <poenitz@gmx.net>
719
720         * funcrequest.C: initialize button_ member
721
722         * text3.C:
723         * rowpainter.[Ch]: interface consolidation
724
725 2003-08-18  André Pönitz  <poenitz@gmx.net>
726
727         * BufferView.C:
728         * BufferView_pimpl.C:
729         * lyxfind.C:
730         * paragraph_funcs.C:
731         * rowpainter.C:
732         * text3.C: remove LyXScreen::draw() and fitCursor calls
733
734         * BranchList.h: remove spurious semicolons
735
736         * MenuBackend.C: fix branchlist related crash
737
738 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
739
740         * BranchList.[Ch]:
741         * InsetList.[Ch]:
742         * LColor.[Ch]:
743         * LyXAction.C:
744         * Makefile.am:
745         * MenuBackend.[Ch]:
746         * bufferparams.[Ch]:
747         * factory.C:
748         * lfuns.h:
749         * lyxfunc.C:
750         * text3.C: implements the 'branch inset'
751         idea. This allows the output of various versions of a document
752         from a single source version, selectively outputing or suppressing
753         output of parts of the text.
754         This implementation contains a 'branch list editor' in a separate
755         tab of the document settings dialog. Branches are user definable
756         and have a "display colour" to distinguish them on-screen.
757
758         ColorHandler was somewhat cleaned up.
759         (1) make possible a dynamically growing LColor list by allowing
760         the graphic context cache to grow along (vector);
761         (2) eliminate an IMHO unnecessary step in colour allocation.
762
763 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
764
765         * BufferView_pimpl.C: compile fix
766
767 2003-08-15  André Pönitz  <poenitz@gmx.net>
768
769         * rowpainter.C: remove extra metrics calls
770
771         * lyxtext.h: merge the two constructors into a single one,
772           pass reference to owner's par list
773
774         * BufferView_pimpl.C:
775         * text.C:
776         * text2.C: adjust
777
778 2003-08-15  André Pönitz  <poenitz@gmx.net>
779
780         * lyxrow_funcs.[Ch]:
781         * lyxtext.h:
782         * paragraph.h:
783         * paragraph_funcs.C:
784         * rowpainter.C:
785         * text.C:
786         * text2.C:
787         * text3.C:
788         * text_funcs.C: split LyXText::rowlist_ into individual
789         Paragraph::rows_ chunks
790
791         * BufferView.[Ch]:
792         * BufferView_pimpl.[Ch]:
793         * lyxfind.C:
794         * lyxtext.h:
795         * text3.C: remove toggleSelection()
796
797 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
798
799         * bufferlist.C: beautify two alerts (shorter text of buttons)
800         * buffer.C: Remove redundant ' ' from message
801         * tabular.h:
802         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
803         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
804         rename VALIGN_CENTER to VALIGN_MIDDLE
805
806 2003-08-11  André Pönitz  <poenitz@gmx.net>
807
808         * lyxtext.h (getPar):
809         * text.C: new function
810
811 2003-08-11  André Pönitz  <poenitz@gmx.net>
812
813         * Makefile.am:
814         * tracer.[Ch]: remove unneeded files
815
816         * InsetList.[Ch]: remove resizeInsetsLyXText()
817
818         * lyxtext.h:
819         * text.C:
820         * text2.C:
821         * text3.C: merge insertParagraphs() and appendParagraph()
822         remove breakAgain(), update()
823
824         * BufferView_pimpl.[Ch]:
825         * bufferview_funcs.[Ch]:
826         * lyxfunc.C:
827         * paragraph.[Ch]:
828         * rowpainter.C:
829         * tabular.C: adjust after text & InsetList changes.
830
831 2003-08-08  André Pönitz  <poenitz@gmx.net>
832
833         * text.C (insertChar, backspace): replace rowlist fiddling
834         with rebreak of full par
835
836         * lyxtext.h:
837         * text.C (breakAgainOneRow, redoHeightOfParagraph,
838         checkParagraph, updateInset): removed
839
840 2003-08-07  André Pönitz  <poenitz@gmx.net>
841
842         * paragraph.C:
843         * text3.C: merge some LFUN handlers, remove dead code
844
845 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
846
847         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
848
849 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
850
851         * text2.C (DEPM): fix part of bug 1255 and 1256
852
853 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
854
855         * BufferView_pimpl.C (workAreaDispatch): change to use
856         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
857         that are no mouse related.
858
859 2003-08-05  André Pönitz  <poenitz@gmx.net>
860
861         * BufferView.[Ch]:
862         * BufferView_pimpl.[Ch]:
863         * bufferview_funcs.C:
864         * text2.C:
865         * text3.C: rip out "deep update"
866
867         * textcursor.[Ch] (last_sel_cursor): remove unused member
868
869 2003-08-04  André Pönitz  <poenitz@gmx.net>
870
871         * BufferView.[Ch]:
872         * BufferView_pimpl.[Ch]:
873         * ParagraphParameters.C:
874         * bufferview_funcs.C:
875         * lyx_cb.C:
876         * lyxfind.C:
877         * lyxfunc.C:
878         * text.C:
879         * text2.C:
880         * text3.C: replace "complicated" BufferView::update(...) calls with
881         simpler ones.
882
883         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
884
885 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
886
887         * Makefile.am (lyx_SOURCES): add paper.h
888
889 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
890
891         * Makefile.am: move things around so that both lyx-qt and
892         lyx-xforms can be built (according to --with-frontend). Then lyx
893         is a symbolic link to lyx-[firstfrontend]
894
895 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
896
897         * Always use std::endl with lyxerr
898
899 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
900
901         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
902
903 2003-08-01  André Pönitz  <poenitz@gmx.net>
904
905         * BufferView.[Ch]:
906         * BufferView_pimpl.[Ch]:
907         * lyxfunc.C:
908         * text3.C: merge BufferView::repaint() and BufferView::update()
909
910 2003-08-01  José Matos  <jamatos@lyx.org>
911
912         * buffer.[Ch]: file_format is no longer a buffer data element.
913
914 2003-08-01  André Pönitz  <poenitz@gmx.net>
915
916         * BufferView.C:
917         * lyxtext.h:
918         * text.C:
919         * text2.C: make redoParagraph more independent of current cursor
920
921         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
922         * text.C:
923         * text2.C: remove unneeded members
924
925 2003-07-30  André Pönitz  <poenitz@gmx.net>
926
927         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
928
929         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
930           create a single function...
931
932         * paragraph_funcs.C (moveItem): ... here.
933
934         * text.C:
935           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
936
937 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
938
939         * LColor.[Ch]: Add comment and greyedout logical colors.
940
941 2003-07-30  André Pönitz  <poenitz@gmx.net>
942
943         * tabular.C: don't use Assert too heavily. This crashes where it
944           shouldn't
945
946 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
947
948         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
949         is disabled (bug 1232)
950
951 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
952
953         * factory.C: limited 'arg' scope
954
955 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
956
957         * factory.C: fixed Note submenu issues
958
959 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
960
961         * factory.C: submenu for Note/Comment/Greyedout
962
963 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
964
965         * lyx_main.C (LyX):
966         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
967
968 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
969
970         * LaTeXFeatures.C:
971         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
972         greyedout. Patch provided by Jürgen Spitzmüller.
973
974 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
975
976         * kbmap.C (read): fix error message when reading bind files
977
978 2003-07-29  Angus Leeming  <leeming@lyx.org>
979
980         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
981         certainly does not do what it purports to do. I am doing it, and
982         us, a favour by killing it.
983
984 2003-07-28  José Matos  <jamatos@lyx.org>
985
986         * buffer.C (readBody, do_writeFile):
987         * paragraph.C(readParagraph): \end_document replaces \the_end.
988
989 2003-07-29  André Pönitz  <poenitz@gmx.net>
990
991         * BufferView.[Ch]:
992         * BufferView_pimpl.[Ch]:
993         * lyxfunc.C:
994         * text2.C:
995         * text3.C:
996         * textcursor.[Ch]: remove toggleToggle & Co
997
998 2003-07-28  José Matos  <jamatos@fep.up.pt>
999
1000         * buffer.C (readParagraph):
1001         * params_func (readParToken, readParagraph):
1002         * paragraph.C (write): \layout -> \begin_layout.
1003
1004 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
1005
1006         * lyxlex_pimpl.C (setFile): clean up slightly.
1007
1008         * bufferparams.h: add compressed var
1009
1010         * buffer_funcs.C (readFile): adjust for LyXLex change
1011         (newFile): ditto + simplify
1012
1013         * buffer.C (writeFile): handle writing of compressed files
1014
1015         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
1016         Check if the file is compressed and set a bufferparm if so.
1017
1018         * Makefile.am (lyx_LDADD): remove explicit -lz
1019
1020 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1021
1022         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
1023         makeDocBookFile): put the real LyX version in the first line of
1024         the file
1025
1026         * version.h:
1027         * version.C.in: remove lyx_docversion
1028
1029         * tabular.C (write_attribute): add a template-based version to
1030         write enums properly
1031
1032 2003-07-28  André Pönitz  <poenitz@gmx.net>
1033
1034         * lyxtext.h:
1035         * text.C:
1036         * text2.C:
1037         * text3.C: use doubles again for x-coordinates. They are needed.
1038
1039 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
1040
1041         * messages.C (getLocaleDir): use lyx_localedir()
1042
1043         * lyxlex_pimpl.C (setFile): compress stuff
1044
1045         * buffer.C (writeFile): add some compression stuff
1046         (do_writeFile): new func, dont call expliti close... will this
1047         breake anything?
1048
1049         * Makefile.am (lyx_LDADD): add -lz
1050
1051 2003-07-28  José Matos  <jamatos@fep.up.pt>
1052
1053         * buffer.C: increment file format.
1054         * paragraph_funcs (readParagraph, readParToken):
1055         * paragraph.C (readParagraph): add \end_layout.
1056
1057 2003-07-27  Angus Leeming  <leeming@lyx.org>
1058
1059         * Makefile.am: remove special casing for configure-time setting of
1060         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
1061
1062         * lyx_main.C (init): remove all Jean-Marc's magic setting of
1063         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
1064
1065 2003-07-26  André Pönitz  <poenitz@gmx.net>
1066
1067         * paragraph_func.[Ch]:
1068         * paragraph.C (realizeFont): inline it whereever it is used
1069
1070         * rowpainter.C:
1071         * text.C:
1072         * text2.C:
1073         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
1074
1075
1076 2003-07-26  André Pönitz  <poenitz@gmx.net>
1077
1078         *       lyxtext.h:
1079         * text.C:
1080         * text2.C: get rid of LyXText::need_break_row
1081
1082 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
1083
1084         * toc.[Ch]: put namespace toc inside namespace lyx
1085
1086         * MenuBackend.C (expandToc2): adjust for lyx::toc
1087         (expandToc): ditto
1088
1089         * lyxfunc.C (dispatch): adjust for lyx::find
1090
1091         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
1092         lyx::find instead. Reorganize a bit.
1093         (LyXReplace): rename to replace
1094         (LyXFind): rename to find
1095
1096         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
1097         (dispatch): ditto
1098
1099 2003-07-26  André Pönitz  <poenitz@gmx.net>
1100
1101         * text.C (setHeightOfRow): restrict scope of temporary variable
1102
1103         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
1104           code (never has been used?)
1105
1106 2003-07-27  Asger Alstrup  <alstrup@local>
1107
1108         * text.C (fill): Optimise algorithm to exploit that we can reuse
1109         the LyXFont for many characters.
1110         (setHeightOfRow): Same thing.
1111         (rowBreakPoint): Same thing.
1112
1113 2003-07-26  Asger Alstrup  <alstrup@local>
1114
1115         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
1116
1117         * text.C (singleWidth): Spurious font copying in hot-spot
1118         singleWidth avoided. Reorder tests for arabic for efficiency.
1119
1120         * text.C (fill): handle empty paragraphs better.
1121
1122 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1123
1124         * ispell.C:
1125         * encoding.h: add includes
1126
1127         * lyxrc.C: remove reading of bind files
1128
1129         * lyx_main.C (init): setup bindings and menus only if we have a
1130         gui.
1131
1132         * kbmap.C (read): new method. Do the actual reading of bind
1133         files.
1134
1135         * converter.C (dvipdfm_options):
1136         * bufferparams.C:
1137         * lyxrc.C (read):
1138         (output): adapt PAPER_* enums.
1139
1140         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
1141
1142         * bufferparams.h: remove paper-related enums from there
1143
1144         * paper.h: New file. A trivial header file to hold paper-related
1145         enums. It should later expand to contain many paper-related
1146         horrors access.
1147
1148         * lyxrc.C: declare extern displayTranslator
1149
1150 2003-07-27  José Matos  <jamatos@fep.up.pt>
1151
1152         * tabular.[Ch] (linuxdoc): add support for tables and figures
1153         (linuxdoc).
1154
1155 2003-07-27  José Matos  <jamatos@fep.up.pt>
1156
1157         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
1158         consistency in both functions.
1159         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
1160
1161 2003-07-26  Asger Alstrup  <alstrup@local>
1162
1163         * rowpainter.C (paintRows): Change algorithm to work directly on
1164         the insets rather than asking every character in the document
1165         whether its an inset.
1166
1167 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
1168
1169         * buffer.C (openFileWrite): factorize some code
1170
1171 2003-07-26  Angus Leeming  <leeming@lyx.org>
1172
1173         * lyx_cb.C:
1174         * lyx_main.[Ch]: replace occurances of system_tempdir with
1175         os::getTmpDir().
1176
1177 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
1178
1179         * rename Inset to InsetOld
1180
1181 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
1182
1183         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
1184         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
1185         which I think is a bit clearer. EDIT is gone, since it was
1186         premature optimisation, and broken for mathed anyway.
1187         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
1188         with cursor positioning in insets as well (math insets still do not
1189         work, but that's a different story anyway.) It mysteriously
1190         crashes sometimes with undo in the first paragraph, but I'm fairly
1191         confident that this is a compiler bug.
1192
1193 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
1194
1195         * paragraph.C (Paragraph): adjust for new clone return type
1196         (operator==): ditto
1197         (copyIntoMinibuffer): ditto
1198
1199 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
1200
1201         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
1202         by not having a special case, and always doing a full rebreak of
1203         the document after undo.
1204
1205 2003-07-23  Angus Leeming  <leeming@lyx.org>
1206
1207         * factory.C (createInset): InsetExternal::setParams now takes a
1208         Buffer const * arg.
1209
1210 2003-07-23  Angus Leeming  <leeming@lyx.org>
1211
1212         * factory.C (createInset): changed interface to the external and
1213         graphics mailers' string2params functions.
1214
1215 2003-07-23  Angus Leeming  <leeming@lyx.org>
1216
1217         * factory.C (createInset): pass a
1218         Buffer const * parameter to InsetExternalMailer's string2params.
1219
1220 2003-07-22  John Levon  <levon@movementarian.org>
1221
1222         * Thesaurus.h: include the right aiksaurus header
1223
1224 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1225
1226         * MenuBackend.C (expand): check menu shortcuts unconditionally
1227
1228 2003-07-21  Angus Leeming  <leeming@lyx.org>
1229
1230         * factory.C (createInset): pass a
1231         buffer_path parameter to InsetGraphicsMailer's string2params.
1232
1233 2003-07-21  Angus Leeming  <leeming@lyx.org>
1234
1235         * BufferView_pimpl.C (buffer):
1236         * buffer.C (d-tor):
1237         * lyx_main.C (LyX):
1238         * lyxfunc.C (dispatch):
1239         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
1240         rather than the grfx shortcut.
1241
1242 2003-07-21  André Pönitz  <poenitz@gmx.net>
1243
1244         * rowpainter.C: remove unused variables
1245
1246         * tabular_funcs.C:
1247         * tabular_funcs.h: move to tabular.C
1248         * Makefile.am: adjust
1249
1250         * tabular.[Ch]: basic optical cleaning
1251
1252         * author.h: pass references, not values
1253
1254 2003-07-18  André Pönitz  <poenitz@gmx.net>
1255
1256         * lyxtext.h:
1257         * metricsinfo.C:
1258         * metricsinfo.h:
1259         * rowpainter.C:
1260         * text.C:
1261         * text2.C:
1262         * text3.C: two-phase drawing for InsetText and InsetTabular
1263         some float -> int changes.
1264
1265 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
1266
1267         * lyx_main.C: fix the fix
1268
1269 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
1270
1271         * lyx_main.C: fix a crash in batch mode if no files specified
1272         * converter.C: ws
1273
1274 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
1275
1276         * format.[Ch] (papersize): moved to BufferParams
1277         * converter.[Ch] (dvips_options): moved to BufferParams
1278         (dvipdfm_options): moved to anon namespace
1279         * bufferparams.[Ch]: added above functions.
1280
1281 2003-07-17  André Pönitz  <poenitz@gmx.net>
1282
1283         * lyxtext.h:
1284         * rowpainter.C:
1285         * text2.C: don't call inset->update() anymore
1286
1287         * metricsinfo.[Ch]: add convenience constructor
1288
1289 2003-07-16  André Pönitz  <poenitz@gmx.net>
1290
1291         * lyxcursor.[Ch]:
1292         * lyxfunc.[Ch]:
1293         * text.C:
1294         * text2.C: replace the LyXCursor::irow_ member with
1295          on-demand computation of the value
1296
1297 2003-07-16  John Levon  <levon@movementarian.org>
1298
1299         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
1300
1301 2003-07-15  André Pönitz  <poenitz@gmx.net>
1302
1303         * text.C:
1304         * text2.C: remove no more needed refresh_row
1305
1306 2003-07-15  André Pönitz  <poenitz@gmx.net>
1307
1308         * lyxtext.h:
1309         * rowpainter.C:
1310         * text2.C:
1311         * text3.C: refresh_status tristate -> need_update bool
1312
1313 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
1314
1315         * lyxtext.h (init): remove reinit argument (act as if always true)
1316         * text2.C: adjust to that
1317
1318 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1319
1320         * bufferview_funcs.[Ch]: introduce function replaceSelection()
1321         * text3.C: use it to delete selections in some cases
1322         (bugs 441, 673, 702, 954).
1323
1324 2003-07-14  André Pönitz  <poenitz@gmx.net>
1325
1326         * rowpainter.[Ch]: reduce interface
1327
1328 2003-07-14  André Pönitz  <poenitz@gmx.net>
1329
1330         * BufferView_pimpl.C:
1331         * text2.C: adjust after removing unused BufferView * argument
1332
1333 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
1334
1335         * text2.C (init): fix a crash fired on resize
1336
1337 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
1338
1339         * buffer.[Ch]: added new closing signal
1340         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
1341         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
1342         BufferView::Pimpl via the closing the signal
1343
1344 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
1345
1346         * buffer.[Ch]: take out all bv-related from buffer
1347         * BufferView.C:
1348         * BufferView_pimpl.[Ch]: connect to new signals
1349         * CutAndPaste.C: removed useless asserts
1350         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
1351         * lyxvc.[Ch]:
1352         * vc-backend.[Ch]:
1353         * lyxfunc.C: moved view-related funciontality from vc here
1354         * paragraph.C: removed outdated comments
1355         * text.C: ws
1356
1357 2003-07-10  André Pönitz  <poenitz@gmx.net>
1358
1359         * BufferView_pimpl.C:
1360         * tabular.h:
1361         * tabular_funcs.C:
1362         * text.C:
1363         * text2.C: remove InsetText::InnerCache, clean up consequences
1364
1365 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
1366
1367         * ispell.C: fix two typos in error messages
1368
1369 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
1370
1371         * Extend Note inset to other forms of annotation like Comment
1372         and Greyedout. Right button click gives dialog.
1373
1374         Files modified or added (+):
1375
1376         * insetnote.[Ch]
1377         * FormNote.[Ch]      +
1378         * ControlNote.[Ch]   +
1379         * form_note.fd       +
1380         * Makefile.am in frontends/xforms, frontends/xforms/forms,
1381         frontends/controllers
1382         * xforms/Dialogs.C
1383         * factory.C
1384
1385 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1386
1387         * aspell.C: add missing namespace lyx::support
1388
1389 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
1390
1391         * BufferView.[Ch] (newFile): Add
1392         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
1393         * LaTeX.[Ch] (message): added this signal and use it
1394         * buffer.[Ch] (busy, message): added these signals and use them
1395         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
1396         * converter.C:
1397         * exporter.C:
1398         * format.C:
1399         * importer.C: use buffer signals instead of direct bv calling
1400         * lyx_cb.[Ch] (ShowMessage): removed
1401         * lyx_main.C:
1402         * lyxfunc.C:
1403         * paragraph_funcs.C:
1404         * text2.C: use buffer signals
1405
1406 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
1407
1408         * introduce namespace lyx::graphics
1409
1410 2003-07-02  André Pönitz  <poenitz@gmx.net>
1411
1412         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
1413
1414 2003-07-01  André Pönitz  <poenitz@gmx.net>
1415
1416         * text.C:
1417         * text2.C:
1418         * text3.C:
1419         * text_funcs.[Ch]:
1420         * textcursor.h:
1421         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
1422           text*.C to text_func.C
1423
1424 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
1425
1426         * introduce namespace lyx::support
1427
1428 2003-06-30  André Pönitz  <poenitz@gmx.net>
1429
1430         * Chktex.C:
1431         * funcrequest.C:
1432         * lyxtext.h:
1433         * text.C: re-enable --with-included-string
1434
1435 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
1436
1437         * textcursor.C: add <config.h>
1438
1439         * text.C (getWord): remove const from word_location arg
1440
1441         * lyxvc.C (getLogFile): fix const type order
1442
1443         * lyxtext.h: remove const from word_location arg, add arg name
1444
1445         * lyxlayout.h: currect type on labeltype.
1446
1447         * importer.C: correct \file
1448
1449         * converter.C (intToFormat): use std:: on ret val, ws changes
1450
1451         * bufferlist.h: correct \file
1452
1453         * buffer.C (makeLinuxDocFile): fix const type order
1454         (makeDocBookFile): ditto
1455         (fillWithBibKeys): use std:: on stdlib args.
1456
1457         * CutAndPaste.C: fix authors.
1458         (availableSelections): use std:: on return vector
1459
1460 2003-06-27  André Pönitz  <poenitz@gmx.net>
1461
1462         * BufferView_pimpl.C:
1463         * bufferview_funcs.C:
1464         * lyxcursor.C:
1465         * lyxcursor.h:
1466         * lyxfunc.C:
1467         * lyxtext.h:
1468         * rowpainter.C:
1469         * text.C:
1470         * text2.C:
1471         * text3.C: remove LyXCursor::row_ member
1472
1473         * lyxtext.h:
1474         * text.C: rename fullRebreak() to partialRebreak() and implement
1475           a fullRebreak() that really bereks fully
1476
1477         * textcursor.h: new struct for cursor-related data
1478
1479 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
1480
1481         * lyx_main.C (LyX): get full path of document loaded on the
1482         command line
1483
1484 2003-06-26  André Pönitz  <poenitz@gmx.net>
1485
1486         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
1487           remove unused/broken operator>,<,>=.
1488
1489         *       text.C: remove only use of broken operator<= in an Assert().
1490
1491 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
1492
1493         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
1494         moved errorlist_.clear to showErrorList
1495
1496 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
1497
1498         * converter.C (scanLog, runLaTeX):
1499         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
1500         move the bv->showErrorList call to the callers
1501         * lyxfunc.C: i.e. here...
1502         * text2.C: and here
1503         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
1504         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
1505         namespace, the second to...
1506         * buffer_funcs (BufferFormat, parseErrors): added
1507         * errorlist.C (ErrorList(TeXErrors const &)): removed
1508
1509 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1510
1511         * ToolbarBackend.C (getIcon): complain when icon cannot be found
1512
1513 2003-06-24  "Garst R. Reese" <reese@isn.net>
1514
1515         * debug.C: fix typo
1516
1517 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1518
1519         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
1520
1521         * version.C.in: change docversion to 1.4
1522
1523 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
1524
1525         * buffer.C: fix a bug just introduced
1526
1527 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
1528
1529         * buffer.[Ch]: added the parseError signal and use it, removed
1530         sgmlError
1531         * BufferView.[Ch] (addError): moved to ...
1532         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
1533         to the Buffer::parseError signal to catch (guess what) parse errors
1534         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
1535
1536 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
1537
1538         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
1539         ability to create a buffer and to return an existing one from
1540         the list. Moved these functions to...
1541         * buffer_funcs.[Ch]: added
1542         * BufferView.[Ch] (loadLyXFile): added
1543         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
1544         job removed from bufferlist::loadLyXFile.
1545         * buffer.C (setReadOnly): make it work without view
1546         (i.e added an if (users))
1547
1548 2003-06-19  Angus Leeming  <leeming@lyx.org>
1549
1550         * lfuns.h:
1551         * LyXAction.C (init):
1552         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
1553         with LFUN_DIALOG_SHOW <name> <data>.
1554
1555 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1556
1557         * CutAndPaste.C (availableSelections): small compilation fix for
1558         ancient (gcc 2.9x) compilers
1559
1560 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
1561
1562         * text3.C (cursorNext): add tmp var
1563
1564         * text2.C (updateCounters): for function calling out of for clause
1565         (replaceSelectionWithString): ditto
1566         (insertStringAsParagraphs): ditto
1567         (getColumnNearX): add tmp var
1568         (setCursorFromCoordinates): add tmp var
1569         (cursorDownParagraph): add tmp var
1570         (deleteEmptyParagraphMechanism): add tmp var
1571
1572         * text.C (insertChar): add tmp var
1573
1574         * rowpainter.C (paintDepthBar): add tmp var
1575
1576         * CutAndPaste.C (availableSelections): potentially check all
1577         paragraphs in a cut to fill the shown strings.
1578
1579 2003-06-18  André Pönitz  <poenitz@gmx.net>
1580
1581         * kbmap.[Ch]: use vector<> instead of list<>
1582
1583 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
1584
1585         * text3.C (dispatch): handle arg to LFUN_PASTE, call
1586         pasteSelection with index
1587
1588         * text2.C (pasteSelection): modify, call pasteSelection with index
1589
1590         * paragraph.C (asString): reimplement version with no interval to
1591         call the one with interval.
1592
1593         * lyxtext.h: add index arg to pasteSelection
1594
1595         * MenuBackend.C (MenuItem): handle PasteRecent
1596         (Menu::read::Menutags): add md_pasterecent
1597         (read): handle it
1598         (expandPasteRecent): new function
1599         (expand): use it
1600
1601         * MenuBackend.h: add PasteRecent to MenuItem::Kind
1602
1603         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
1604         the limited stack
1605         (availableSelections): new function
1606
1607 2003-06-17  Angus Leeming  <leeming@lyx.org>
1608
1609         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
1610
1611 2003-06-17  Angus Leeming  <leeming@lyx.org>
1612
1613         * lfuns.h:
1614         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
1615
1616         * lyxfunc.C (dispatch): invoke it.
1617
1618 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1619
1620         * iterators.C (operator++, ParPosition): reintroduce some
1621         const_cast for the benefit of older compilers.
1622
1623 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1624
1625         * text3.C (dispatch): do not modify clipboard when doing
1626         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
1627         LFUN_DELETE_SKIP on a selection selection
1628
1629 2003-06-16  André Pönitz  <poenitz@gmx.net>
1630
1631         * BufferView.C:
1632         * buffer.C:
1633         * buffer.h:
1634         * paragraph.C:
1635         * tabular.[Ch]: IU of clone() and getLabelList();
1636
1637 2003-06-13  André Pönitz  <poenitz@gmx.net>
1638
1639         * tabular.h: compactification
1640
1641 2003-06-12  André Pönitz  <poenitz@gmx.net>
1642
1643         * tabular.C:
1644         * tabular.h:
1645         * tabular_funcs.h: some renaming plus whitespace
1646
1647 2003-06-12  André Pönitz  <poenitz@gmx.net>
1648
1649         * BufferView.C:
1650         * BufferView_pimpl.C:
1651         * CutAndPaste.C:
1652         * buffer.C:
1653         * iterators.[Ch]:
1654         * lyxfunc.C:
1655         * text.C:
1656         * toc.C: Return a Paragraph & for ParIterator::operator*()
1657
1658 2003-06-11  John Levon  <levon@movementarian.org>
1659
1660         * lyx_main.C:
1661         * ToolbarBackend.h:
1662         * ToolbarBackend.C: add "Toolbars" section and
1663         put the flags there
1664
1665 2003-06-10  Angus Leeming  <leeming@lyx.org>
1666
1667         * lfuns.h:
1668         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
1669
1670         * lyxfunc.C (dispatch): invoke it.
1671
1672 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
1673
1674         * main.C: protect <ios> with HAVE_IOS
1675         (main): protect sync_with_stdio with HAVE_IOS
1676
1677 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
1678
1679         * text2.C (cutSelection): adjust
1680         (pasteSelection): adjust
1681
1682         * messages.C: handle get of empty string
1683
1684         * main.C (main): use sync_with_stdio(false)
1685
1686         * lyxfunc.C (dispatch): adjust
1687
1688         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
1689         (WriteAs): remove unneeded BufferView arg.
1690
1691         * bufferparams.h: use correct types on papersize, papersize2 and
1692         paperpackage.
1693
1694         * bufferparams.C (readToken): adjust for type
1695         (writeLaTeX): add missing cases to switch.
1696
1697         * bufferlist.C (quitWriteBuffer): adjust
1698         (close): adjust
1699
1700         * buffer.C (asciiParagraph): remove some commented code.
1701
1702         * CutAndPaste.C: remove current_view extern variable.
1703         (cutSelection): add BufferParams arg.
1704         (eraseSelection): add BufferParams arg.
1705         (pasteSelection): add Buffer const & arg
1706
1707 2003-06-07  John Levon  <levon@movementarian.org>
1708
1709         * buffer.C:
1710         * paragraph_funcs.C:
1711         * paragraph_pimpl.C:
1712         * text.C:
1713         * text2.C:
1714         * paragraph.h:
1715         * paragraph.C: allow InsetERT to freely space lines,
1716         and some consolidation of code
1717
1718 2003-06-06  José Matos  <jamatos@fep.up.pt>
1719
1720         * buffer.C (makeDocBookFile): fix bug #821
1721
1722 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
1723
1724         * BufferView_pimpl.C (dispatch): use Dialogs::visible
1725
1726 2003-06-04  Angus Leeming  <leeming@lyx.org>
1727
1728         * buffer.C: bump format to 224.
1729
1730 2003-06-05  André Pönitz  <poenitz@gmx.net>
1731
1732         * text2.C (redoParagraphs): remove two const_cast<>
1733
1734 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
1735
1736         * ParagraphList.h: remove last remnants of NO_STD_LIST
1737
1738 2003-06-03  Angus Leeming  <leeming@lyx.org>
1739
1740         * factory.C (createInset): small change to the way InsetExternal's params
1741         are set.
1742
1743 2003-06-04  André Pönitz  <poenitz@gmx.net>
1744
1745         * buffer.h: use Undo directly instead of shared_ptr<Undo>
1746
1747         * paragraph_pimpl.h:
1748         * paragraph.[Ch]: some Inset -> UpdatableInset changes
1749
1750         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
1751
1752         * undo_funcs.C: make some simple cases of undo work again
1753
1754 2003-06-03  John Levon  <levon@movementarian.org>
1755
1756         * ispell.C: HPUX doesn't have sys/select.h
1757         (from Albert Chin)
1758
1759 2003-06-03  John Levon  <levon@movementarian.org>
1760
1761         * CutAndPaste.C: update tabular and include inset
1762         buffer references
1763
1764         * buffer.h:
1765         * paragraph.h:
1766         * paragraph.C: remove owningBuffer(), don't pass Buffer
1767         to clone()
1768
1769         * factory.C: insetGraphicsParams changed
1770
1771 2003-06-02  John Levon  <levon@movementarian.org>
1772
1773         * LyXAction.C:
1774         * factory.C:
1775         * lfuns.h:
1776         * lyxfunc.C:
1777         * text3.C: remove insetparent
1778
1779 2003-06-02  John Levon  <levon@movementarian.org>
1780
1781         * buffer.h:
1782         * buffer.C: fix inset_iterator.end(), move out of line
1783         (bug 1149)
1784
1785 2003-06-01  John Levon  <levon@movementarian.org>
1786
1787         * text3.C: use a proper cut/paste when doing inset
1788         insert (from Jürgen Spitzmüller)
1789
1790 2003-06-01  John Levon  <levon@movementarian.org>
1791
1792         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
1793
1794 2003-05-30  André Pönitz  <poenitz@gmx.net>
1795
1796         * rowpainter.C: unify second drawing phase
1797
1798 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
1799
1800         * trans_mgr.C: remove one case of current_view
1801
1802         * text2.C (cursorBottom): delete NO_STD_LIST stuff
1803
1804         * paragraph_funcs.h: remove paragraph.h include
1805
1806         * paragraph.h: delete NO_STD_LIST stuff
1807
1808         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
1809
1810         * buffer.h: remove paragraph.h include
1811
1812         * ParagraphList.C: delete file
1813
1814         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
1815
1816         * toc.C (getTocList): adjust
1817
1818         * paragraph_pimpl.C (validate): adjust
1819
1820         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
1821
1822         * paragraph.C (Paragraph): adjust
1823         (getPositionOfInset): use const_iterator, adjust
1824         (bibitem): use const_iterator, adjust
1825         (setInsetOwner): adjust
1826
1827         * iterators.C (operator++): adjust
1828
1829         * InsetList.[Ch]: Replace selfmade iterator with standard
1830         vector::iterator also introduce const_iterator. Remove getPos,
1831         getInset and setInset from InsetTable. Adjust accordingly.
1832
1833         * BufferView.C (lockInset): adjust
1834         (ChangeInsets): adjust
1835
1836         * tabular.[Ch]: delete commented same_id functions
1837
1838 2003-05-28  John Levon  <levon@movementarian.org>
1839
1840         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
1841
1842 2003-05-28  André Pönitz  <poenitz@gmx.net>
1843
1844         * metricsinfo.[Ch]: remove 'fullredraw' member
1845
1846 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
1847
1848         * lyxtextclass.C (operator): remove caching.
1849
1850 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
1851
1852         * text3.C: adjust
1853
1854         * text2.C (cursorBottom): adjust
1855         (setCounter): use ParagraphList::find, adjust
1856
1857         * text.C (workWidth): use ParagraphList::find, adjust
1858
1859         * lyxcursor.C (LyXCursor): adjust
1860
1861         * buffer.C (inset_iterator): adjust
1862
1863         * ParagraphList.h: make iterator(value_type) private, make
1864         ParagraphList a friend of iterator.
1865
1866         * ParagraphList.C (find): new function
1867
1868         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
1869
1870 2003-05-27  André Pönitz  <poenitz@gmx.net>
1871
1872         * dimension.[Ch]: a -> asc, d -> des, w -> wid
1873
1874 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1875
1876         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
1877
1878 2003-05-26  John Levon  <levon@movementarian.org>
1879
1880         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
1881
1882 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
1883
1884         * remove same_id from function signatures, adjust.
1885
1886 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
1887
1888         * undo_funcs.C (createUndo): use the id functions directly, adjust.
1889
1890         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
1891
1892         * paragraph.C (Paragraph): get rid of same_ids parameter
1893
1894         * ParagraphList.C (insert): adjust
1895         (push_back): adjust
1896
1897 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
1898
1899         * paragraph_funcs.C (breakParagraph): adjust
1900         (breakParagraphConservative): adjust
1901
1902         * buffer.C (readParagraph): adjust
1903
1904         * ParagraphList.C (insert): take a reference instead of a pointer
1905         (insert): adjust
1906
1907         * paragraph.[Ch] (id): new function
1908
1909         * bufferlist.C (newFile): adjust
1910
1911         * ParagraphList.C (ParagraphList): adjust
1912         (assign): adjust
1913         (push_back): take a reference instead of a pointer.
1914
1915         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
1916
1917         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
1918         instead.
1919
1920         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
1921         set else use old code.
1922
1923         * ParagraphList.C: remove all NO_NEXT code and only compile this
1924         code of NO_STD_LIST is set.
1925
1926 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
1927
1928         * BufferView_pimpl.C:
1929         * TextCache.C:
1930         * TextCache.h:
1931         * bufferlist.C:
1932         * errorlist.h:
1933         * format.C:
1934         * format.h:
1935         * graph.C:
1936         * lyxfunc.C:
1937         * lyxrc.C:
1938         * graphics/GraphicsConverter.C:
1939         * graphics/PreviewLoader.C: header adjustment
1940
1941 2003-05-23  Angus Leeming  <leeming@lyx.org>
1942
1943         * LaTeXFeatures.[Ch] (useBabel): new method.
1944         * bufferparams.C (writeLaTeX): use it.
1945
1946 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
1947
1948         * ParagraphList.h (set): remove unused function.
1949
1950 2003-05-23  André Pönitz  <poenitz@gmx.net>
1951
1952         * BufferView.C:
1953         * BufferView_pimpl.C:
1954         * buffer.C:
1955         * buffer.h:
1956         * lyxfunc.C:
1957         * undo_funcs.C: setUndo reworked
1958
1959         * iterators.[Ch]: add access to topmost ParagraphList
1960
1961         * lyxtext.[Ch] (workWidth): add a const
1962
1963 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
1964
1965         * texrow.[Ch] (increasePos): remove function
1966         * exporter.C (export): removed unused var and outdated comment
1967
1968 2003-05-23  Angus Leeming  <leeming@lyx.org>
1969
1970         * latexrunparams.h: rename fragile as moving_arg.
1971         * paragraph.C (simpleTeXOnePar): ditto.
1972         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
1973
1974 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
1975
1976         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
1977         (createUndo): ditto
1978         (textUndoOrRedo): comment out a currently unused var.
1979
1980         * paragraph.h (NO_NEXT): enable NO_NEXT
1981
1982         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
1983
1984         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
1985
1986         * exporter.C (Export): adjust for removeAutoInsets removal.
1987
1988         * buffer.C (runChktex): adjust for removeAutoInsets removal.
1989
1990         * LyXAction.C (init): remove LFUN_REMOVEERRORS
1991
1992         * BufferView.[Ch] (removeAutoInsets): delete function
1993
1994 2003-05-22  Angus Leeming  <leeming@lyx.org>
1995
1996         * latexrunparams.h: add a free_spacing variable.
1997
1998         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
1999         to pass moving_arg, as the data is stored in runparams.fragile.
2000
2001         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
2002         to Inset::latexOptional or to simpleTeXOnePar.
2003
2004         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
2005         free_spacing arg to Inset::latexOptional.
2006
2007         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
2008         free_spacing arg.
2009
2010 2003-05-22  Angus Leeming  <leeming@lyx.org>
2011
2012         * latexrunparams.h: add fragile and use_babel variables.
2013
2014         * bufferparams.[Ch] (writeLaTeX): return use_babel.
2015         * buffer.C (makeLaTeXFile): store this returned value in
2016         runparams.use_babel, thus passing it to the inset::latex methods.
2017
2018         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
2019         simpleTeXSpecialChars as it is now stored in runparams.fragile.
2020
2021         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
2022         longer has a fragile arg, as it is stored in runparams.fragile.
2023
2024         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
2025         moving_arg parameter as the data is stored in runparams.fragile.
2026
2027         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
2028         a fragile parameter as the data is stored in runparams.fragile.
2029
2030 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
2031
2032         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
2033
2034 2003-05-22  Angus Leeming  <leeming@lyx.org>
2035
2036         * latexrunparams.h: add a 'bool nice' which defaults to false.
2037
2038         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
2039         now encapsulated within runparams.
2040
2041         * bufferlist.C (updateIncludedTeXfiles):
2042         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
2043
2044 2003-05-22  Angus Leeming  <leeming@lyx.org>
2045
2046         * latexrunparams.h: new file containing struct LatexRunParams.
2047         * Makefile.am: add new file.
2048
2049         * LaTeX.[Ch] (c-tor, run):
2050         * buffer.[Ch] (makeLaTeXFile):
2051         * bufferlist.[Ch] (updateIncludedTeXfiles):
2052         * converter.C (convert, scanLog):
2053         * converter.[Ch] (runLaTeX):
2054         * exporter.C (Export):
2055         * paragraph.[Ch] (simpleTeXOnePar):
2056         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
2057         * paragraph_funcs.[Ch] (latexParagraphs):
2058         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
2059         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
2060         pass around a LatexRunParams parameter.
2061
2062 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
2063
2064         * paragraph.[Ch]: remove unused constructor
2065
2066         * ParagraphList.C (erase): new function, taking two iterators
2067
2068 2003-05-22  André Pönitz  <poenitz@gmx.net>
2069
2070         * undo_funcs.C: remove duplicated code
2071
2072         * iterator.[Ch]: operator=
2073
2074 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
2075
2076         * tabular.C (SetMultiColumn): ws changes
2077
2078         * rowpainter.C (paintFirst): get rid of a ->previous
2079
2080         * lyx_cb.C (getPossibleLabel): parlist simplification
2081
2082         * BufferView.C (ChangeInsets): simplify slightly.
2083
2084 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2085
2086         * LyXAction.C: new lfun space-insert, kill protected-space-insert
2087         * lfuns.h: new LFUN_SPACE
2088         * lyxfunc.C: protected space has a new lfun
2089         * paragraph_funcs.C: read new space insets
2090         * text3.C:
2091         * factory.C: handle new space insets
2092
2093 2003-05-22  André Pönitz  <poenitz@gmx.net>
2094
2095         * BufferView.C:
2096         * BufferView_pimpl.C:
2097         * buffer.[Ch]:
2098         * lyxfunc.C:
2099         * undo_funcs.C: return a ParIterator from getParFromID.
2100
2101         * iterators.[Ch]: add two const's
2102
2103 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
2104
2105         * toc.C (getTocList): adjust
2106
2107         * iterators.[Ch]: rework for parlist
2108
2109         * buffer.C (par_iterator_begin): adjust
2110         (par_iterator_end): adjust
2111
2112         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
2113
2114         * BufferView.C (removeAutoInsets): adjust
2115         (ChangeInsets): adjust
2116
2117 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
2118
2119         * text.C (top_y): fix bug 1110
2120
2121 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
2122
2123         * errorlist.[Ch]: added
2124         * buffer.C:
2125         * BufferView.[Ch]:
2126         * BufferView_pimpl.C:
2127         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
2128         instead
2129
2130 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
2131
2132         * Makefile.am: ensure that lyx is relinked upon changes to the
2133         various "convenience" libs.
2134
2135 2003-05-20  Angus Leeming  <leeming@lyx.org>
2136
2137         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
2138         files are compiled in alphabetical order again.
2139
2140         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
2141
2142 2003-05-19  Angus Leeming  <leeming@lyx.org>
2143
2144         * gettext.[Ch]: remove "char const * _(char const *)".
2145
2146 2003-05-19  André Pönitz  <poenitz@gmx.net>
2147
2148         * dimension.[Ch]: promote from mathed/dimension.[Ch]
2149
2150         * Makefile.am:
2151         * BufferView.C:
2152         * DepTable.h:
2153         * LaTeXFeatures.C:
2154         * buffer.C:
2155         * lyxfont.C:
2156         * lyxlex.h:
2157         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
2158
2159 2003-05-19  André Pönitz  <poenitz@gmx.net>
2160
2161         * buffer.C:
2162         * lyxlayout.[Ch]:
2163         * lyxtextclass.[Ch]:
2164         * paragraph.C:
2165         * paragraph_funcs.[Ch]:
2166         * text2.C:
2167         * text3.C: more insetenv work
2168
2169 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
2170
2171         * ParagraphParameters.C (params2string): small bug fixed
2172
2173 2003-05-16  André Pönitz  <poenitz@gmx.net>
2174
2175         * debug.C:
2176         * bufferview_funcs.C: patch from Kornel Benko to prevent
2177           crash when _(...) is called twice in a statement
2178
2179 2003-05-16  André Pönitz  <poenitz@gmx.net>
2180
2181         * BufferView.C:
2182         * lyxfunc.C:
2183         * text.C:
2184         * text2.C:
2185         * text3.C:
2186         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
2187
2188 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
2189
2190         * lyx_main.C (init): remove spurious static_cast
2191
2192 2003-05-14  André Pönitz  <poenitz@gmx.net>
2193
2194         * BufferView.C: fix format string
2195
2196 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
2197
2198         * BufferView.[Ch] (insertErrors): removed
2199         * BufferView.[Ch] (showErrorList): added
2200         * buffer.C (runChkTeX):
2201         * converter.C (scanLog): call showErrorList instead of inserterrors
2202
2203 2003-05-13  André Pönitz  <poenitz@gmx.net>
2204
2205         * BufferView_pimpl.C:
2206         * buffer.C:
2207         * bufferview_func.C:
2208         * MenuBackend.C:
2209         * lyxfunc.C:
2210         * lyxrc.C:
2211         * tex-accent.C:
2212         * text3.C:
2213         * toc.C:
2214         * tabular_funcs.h: tostr() from its own header
2215
2216         * ParagraphParameters.C:
2217         * ToolbarBackend.C:
2218         * bufferparams.C:
2219         * format.C:
2220         * lyxlex_pimpl.C:
2221         * text3.C: STRCONV()
2222
2223 2003-05-12  André Pönitz  <poenitz@gmx.net>
2224
2225         * BufferView.C:
2226         * BufferView_pimpl.C:
2227         * CutAndPaste.C:
2228         * LaTeX.C:
2229         * LaTeXFeatures.C:
2230         * ParagraphParameters.C:
2231         * buffer.C:
2232         * bufferlist.C:
2233         * bufferparams.C:
2234         * bufferview_funcs.C:
2235         * converter.C:
2236         * counters.C:
2237         * debug.C:
2238         * exporter.C:
2239         * format.C:
2240         * importer.C:
2241         * lyx_cb.C:
2242         * lyx_main.C:
2243         * lyxfont.C:
2244         * lyxfunc.C:
2245         * lyxvc.C:
2246         * paragraph.C:
2247         * paragraph_funcs.C:
2248         * tabular.C:
2249         * tabular_funcs.C:
2250         * text2.C:
2251         * text3.C:  boost::format -> bformat  all over the place
2252
2253
2254 2003-05-09  André Pönitz  <poenitz@gmx.net>
2255
2256         * LColor.[Ch]: Pimpl the #include <map> away
2257
2258 2003-05-09  John Levon  <levon@movementarian.org>
2259
2260         * bufferlist.C: never remove emergency saves
2261
2262 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
2263
2264         * Makefile.am: better lib building
2265
2266 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
2267
2268         * texrow.[Ch]: remove dependency on Paragraph and just store a id
2269         instead.
2270         * paragraph_pimpl.C (simpleTeXBlanks): adjust
2271         (simpleTeXSpecialChars): adjust
2272         (simpleTeXSpecialChars): adjust
2273         * paragraph.C (simpleTeXOnePar): adjust
2274         * buffer.C (makeLaTeXFile): adjust
2275
2276         * Makefile.am (BOOST_LIBS): allow boost as system lib.
2277
2278         * text2.C (changeDepth): parlist cleanup
2279         (getColumnNearX): ditto
2280
2281         * rowpainter.C (getLabelFont): parlist cleanup
2282
2283         * bufferlist.C (newFile): parlist cleanup
2284
2285         * CutAndPaste.C (eraseSelection): parlist cleanup
2286
2287         * BufferView_pimpl.C (trackChanges): parlist cleanup
2288         (dispatch): ditto
2289
2290         * BufferView.C (lockInset): parlist cleanup.
2291         (ChangeInsets): ditto
2292
2293 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
2294
2295         * CutAndPaste.h: Update file header.
2296
2297         * CutAndPaste.C: Update file header.
2298         Store the parts cut out of the Document in a limited_stack.
2299         (copySelection): adjust
2300         (pasteSelection): new function, takes the index in the limited stack.
2301         (nrOfParagraphs): adjust
2302         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
2303         simplify error inset insertion.
2304         (checkPastePossible): adjust
2305
2306 2003-05-06  John Levon  <levon@movementarian.org>
2307
2308         * text2.C: don't cast wrap inset to float
2309
2310 2003-05-05  André Pönitz  <poenitz@gmx.net>
2311
2312         * iterator.C:
2313         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
2314
2315         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
2316           few naked Paragraph *.
2317
2318 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
2319
2320         * bufferparams.C: Output warning if a document with missing
2321         TeX document class is loaded
2322         * exporter.C: Disable TeX exports if the document class is missing
2323         * lyxtextclass.C:
2324         * lyxtextclass.h:
2325         * lyxtextclasslist.C: Handle new textclass.lst format; new method
2326         isTeXClassAvailable()
2327
2328 2003-05-03  John Levon  <levon@movementarian.org>
2329
2330         * BufferView.h:
2331         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
2332         explicit cursor show/hide
2333
2334         * BufferView_pimpl.h:
2335         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
2336         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
2337
2338         * lyxfunc.C: hide cursor before dispatching.
2339
2340         * lyx_cb.C:
2341         * lyxfind.C:
2342         * text.C:
2343         * text3.C: remove explicit cursor hides
2344
2345 2003-05-02  André Pönitz  <poenitz@gmx.net>
2346
2347         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
2348
2349         * undo_funcs.C:
2350         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
2351           linked lists
2352
2353         * text2.C: tiny whitespace
2354
2355 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
2356
2357         * undo_funcs.C: almost only ws changes.
2358
2359         * ParagraphList.C (splice): just return if pl is empty.
2360
2361 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
2362
2363         * ParagraphList.C (splice): new function.
2364
2365         * CutAndPaste.C (pasteSelection): use it
2366
2367 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2368
2369         * CutAndPaste.C (pasteSelection): remove the last next and
2370         previous from this file.
2371
2372 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2373
2374         * CutAndPaste.C (pasteSelection): more clean up, user proper
2375         ParagraphList functions for pasteing.
2376
2377         * ParagraphList.C (insert): new function, three arg insert
2378
2379 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2380
2381         * ParagraphList.C (insert): new function, three arg insert
2382
2383         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
2384         not on paragraphs.
2385
2386 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2387
2388         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
2389
2390 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2391
2392         * CutAndPaste.C (pasteSelection): remove some unneeded code.
2393
2394 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2395
2396         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
2397         (copySelection): clean up a bit.
2398         (pasteSelection): use make_pair
2399
2400         * ParagraphList.C (ParagraphList): implement copy constructor
2401         (operator=): implement, base on copy constructor.
2402         (assign): new func
2403
2404         * paragraph.C (erase): return a bool
2405
2406         * paragraph_pimpl.C (erasePos): remove function, move contents...
2407         (erase): ... here. Return a bool.
2408         (erase): call erase instead of erasePos.
2409
2410 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
2411
2412         * ParagraphList.h: define PitPosPair
2413         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
2414         ParagraphList, fix a bug on pasting multiple pars
2415         * text2.C: change interface to C&P
2416
2417 2003-04-30  André Pönitz  <poenitz@gmx.net>
2418
2419         * undo_func.C: revert part of yesterday's patch 2
2420
2421 2003-04-30  John Levon  <levon@movementarian.org>
2422
2423         * LColor.C: s/tabular/table/
2424
2425 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
2426
2427         * text3.C (dispatch): do not convert iterator -> pointer
2428         * undo_funcs.C (setCursorParUndo): ditto
2429         * text_funcs.C (transposeChars): ditto
2430
2431         * text2.C (setLayout): ws changes only
2432
2433         * text.C (breakParagraph): do not convert iterator -> pointer
2434         (insertChar): ditto
2435         (acceptChange): ditto
2436         (rejectChange): ditto
2437         (changeCase): ditto
2438         (Delete): ditto
2439         (backspace): ditto
2440
2441         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
2442         pointer
2443
2444 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
2445
2446         * text3.C (gotoInset): YABG (yet another bad getChar)
2447
2448 2003-04-29  André Pönitz  <poenitz@gmx.net>
2449
2450         * paragraph.h: make operator= private unimplemented as long as
2451           it is unusable
2452
2453         * ParagraphList.C: whitespace
2454
2455         * paragraph.[Ch]:
2456         * paragraph_pimpl.[Ch]:
2457         * paragraph_funcs.C:
2458         * CutAndPaste.C:
2459         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
2460
2461         * text2.C:
2462           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
2463
2464 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
2465
2466         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
2467         * paragraph.[Ch] (erase):
2468         * paragraph_pimpl.[Ch] (erase): change return type and value
2469         * text2.C (cutSelection): some rework
2470
2471 2003-04-28  John Levon  <levon@movementarian.org>
2472
2473         * bufferlist.C: changes for unsaved changes dialog
2474
2475 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2476
2477         * bufferlist.C (newFile): set language (messages_) for new
2478         documents also.
2479
2480         * buffer.C (readFile): ws changes only.
2481
2482 2003-04-28  André Pönitz  <poenitz@gmx.net>
2483
2484         * undo_funcs.C:
2485         * lyxfunc.C:
2486         * buffer.[Ch]:
2487         * BufferView_pimpl.C:
2488         * BufferView.C: getParFromID related ParagraphList::iterator changes
2489
2490 2003-04-28  André Pönitz  <poenitz@gmx.net>
2491
2492         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
2493           Changes
2494
2495 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2496
2497         * messages.C: remove one more localedir class variable.
2498
2499 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2500
2501         * messages.C (getLocaleDir): singleton generation function
2502         (Pimpl): use it.
2503         (Messages): add a default constructor.
2504
2505         * main.C (main): do not setup localedir here, do not call
2506         gettext_init.
2507
2508         * gettext.C (_): use it.
2509         (gettext_init): delete funciton
2510
2511 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
2512
2513         * gettext.C (getLyXMessages): new singleton generating function.
2514
2515         * buffer.C (updateDocLang): adjust
2516
2517         * Makefile.am (messages.o): add target
2518         (main.o): remove target
2519
2520 2003-04-27  John Levon  <levon@movementarian.org>
2521
2522         * bufferlist.C:
2523         * lyx_cb.C:
2524         * lyxfunc.C:
2525         * lyxvc.C: specify cancel button in Alert::prompt
2526
2527 2003-04-26  John Levon  <levon@movementarian.org>
2528
2529         * text3.C:
2530         * lyxfunc.C:
2531         * lfuns.h:
2532         * LyXAction.C: add LFUN_INSET_SETTINGS
2533
2534         * lyxfunc.C: don't enable tabular-feature when there's
2535         just any locking inset
2536
2537 2003-04-26  John Levon  <levon@movementarian.org>
2538
2539         * bufferlist.C: re-add Cancel to buffer close question
2540
2541         * lyxfunc.C: fix import UI a bit
2542
2543 2003-04-25  John Levon  <levon@movementarian.org>
2544
2545         * gettext.C: remove the broken asserts for now
2546
2547 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2548
2549         * messages.C: make case where setlocale cannot comply work better.
2550
2551         * buffer.C (updateDocLang): new function
2552         (changeLanguage): use it
2553         (readFile): use it
2554
2555         * text2.C (setCounter): use B_ a bit.
2556
2557         * lyxlayout.C (Read): be sure to trim the label strings.
2558
2559         * messages.C (Messages): fix typo in comment
2560
2561         * buffer.C (readFile): set message_ after file is loaded.
2562         (makeDocBookFile): remove double return
2563         (changeLanguage): reset message_ upon language change.
2564         (B_): new func, use this to get translated buffer strings.
2565
2566         * main.C: add myself and Jean Marc as authors.
2567
2568 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
2569
2570         * messages.[hC]: pimplify Messages, and three different pimpls to be
2571         used in different circumstances.
2572
2573         * gettext.[Ch]: change for use with new message code.
2574
2575 2003-04-24 André Pönitz <poenitz@gmx.net>
2576
2577         * factory.C: support for eqref
2578
2579 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
2580
2581         * messages.[Ch]: add missing char
2582
2583         * Makefile.am (lyx_SOURCES): add messages.[Ch]
2584
2585         * messages.[Ch]: New files
2586
2587 2003-04-18  John Levon  <levon@movementarian.org>
2588
2589         * BufferView.h:
2590         * BufferView.C:
2591         * BufferView_pimpl.C:
2592         * lfuns.h:
2593         * LyXAction.C:
2594         * lyxtext.h:
2595         * text2.C: remove layout-copy/paste (bug 778)
2596
2597 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
2598
2599         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
2600
2601 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
2602
2603         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
2604         if they succeed. Act accordingly.
2605
2606 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2607
2608         * text2.C (setCharFont): adjust
2609         (setCounter): adjust
2610         (insertStringAsLines): adjust
2611
2612         * text.C (leftMargin): adjust
2613         (setHeightOfRow): adjust
2614
2615         * rowpainter.C (paintFirst): adjust
2616         (paintLast): adjust
2617
2618         * paragraph_funcs.C (depthHook): ParagraphList::iterators
2619         (outerHook): ditto
2620         (isFirstInSequence): ditto
2621         (getEndLabel): ditto
2622         (outerFont): adjust
2623
2624         * paragraph.C (getParLanguage): comment out some hard stuff.
2625
2626         * buffer.C (insertStringAsLines): take a ParagraphList as arg
2627         (sgmlError): ditto
2628         (simpleDocBookOnePar): ditto
2629         (makeDocBookFile): use ParagraphList::iterator
2630
2631         * CutAndPaste.C (pasteSelection): adjust
2632
2633 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2634
2635         * text2.C (getFont): adjust
2636         (getLayoutFont): adjust
2637         (getLabelFont): adjust
2638
2639         * paragraph_funcs.C (TeXOnePar): adjust
2640
2641         * buffer.C (simpleLinuxDocOnePar): adjust
2642         (simpleDocBookOnePar): adjust
2643
2644         * CutAndPaste.C (pasteSelection): adjust
2645
2646         * BufferView.C (getEncoding): adjust
2647
2648         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
2649
2650 2003-04-16  John Levon  <levon@movementarian.org>
2651
2652         * lyxfind.C: use parlist stuff for search/changes
2653
2654 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2655
2656         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
2657
2658         * text2.C (deleteEmptyParagraphMechanism): adjust
2659
2660         * text2.[Ch] (ownerParagraph): delete func (both of them
2661
2662 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
2663
2664         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
2665
2666 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
2667
2668         * ParagraphList.C: prepare for NO_NEXT
2669
2670 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
2671
2672         * text2.C (getFont): adjust
2673         (getLayoutFont): adjust
2674         (getLabelFont): adjust
2675
2676         * paragraph.C (getFont): adjust
2677         (getLabelFont): adjust
2678         (getLayoutFont): adjust
2679
2680         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
2681
2682 2003-04-15  John Levon  <levon@movementarian.org>
2683
2684         From Angus Leeming
2685
2686         * lyx_main.C: handle Include in .ui files
2687
2688 2003-04-15  John Levon  <levon@movementarian.org>
2689
2690         * MenuBackend.C: make the doc files length shorter
2691
2692         * ToolbarBackend.h:
2693         * ToolbarBackend.C: handle toolbar placement flags,
2694         Minibuffer
2695
2696 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
2697
2698         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
2699         adjust
2700
2701         * paragraph_funcs.C (TeXOnePar): adjust
2702
2703         * paragraph.C (getLabelFont): add outerfont arg, adjust
2704         (getLayoutFont): ditto
2705         (simpleTeXOnePar): adjust
2706
2707         * paragraph_pimpl.C (realizeFont): delete func
2708
2709 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
2710
2711         * text2.C (beforeFullRowInset): added a bad getchar check, removed
2712         row argument, constify cur argument.
2713
2714 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
2715
2716         * text2.C (getFont): adjust
2717         (getLayoutFont): adjust
2718         (getLabelFont): adjust
2719
2720         * paragraph_funcs.C (TeXOnePar): adjust
2721         (outerFont): new func...
2722         (realizeFont): ...moved out from here, changed this to facilitate
2723         transition
2724
2725         * paragraph.C (getFont): take outerfont as arg, adjust
2726         (simpleTeXOnePar): add outerfont arg, adjust
2727
2728         * buffer.C (simpleLinuxDocOnePar): adjust
2729         (simpleDocBookOnePar): adjust
2730
2731         * CutAndPaste.C (pasteSelection): adjust
2732
2733         * BufferView.C (getEncoding): adjust
2734
2735 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
2736
2737         * text2.C (setCharFont): adjust
2738         (setCounter): adjust
2739
2740         * text.C (leftMargin): adjust
2741         (setHeightOfRow): adjust
2742
2743         * rowpainter.C (paintFirst): adjust
2744         (paintLast): adjust
2745
2746         * paragraph_pimpl.C (realizeFont): adjust
2747
2748         * paragraph.C (isFirstInSequence): move from here...
2749         * paragraph_funcs.C (isFirstInSequence): ...to here
2750
2751         * paragraph.C (outerHook): move from here...
2752         * paragraph_funcs.C (outerHook): ...to here
2753
2754         * paragraph.C (depthHook): move from here...
2755         * paragraph_funcs.C (depthHook): ...to here
2756
2757         * paragraph.C (getEndLabel): move from here...
2758         * paragraph_funcs.C (getEndLabel): ...to here
2759
2760         * text2.C (realizeFont): move from here...
2761         * paragraph_funcs.C (realizeFont): ...to here
2762
2763 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
2764
2765         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
2766
2767 2003-04-14  Angus Leeming  <leeming@lyx.org>
2768
2769         * LColor.[Ch]: scrap LColor mathcursor.
2770
2771 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
2772
2773         * lyxlex.[Ch] (text): delete function
2774         * trans.C (Load): adjust
2775         * paragraph_funcs.C (readParToken): adjust
2776
2777 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
2778
2779         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
2780         vector<char> instead of a char[].
2781
2782         * lyxlex_pimpl.C (getString): adjust
2783         (next): adjust
2784         (lex): use getString
2785         (eatLine): adjust
2786         (nextToken): adjust
2787
2788         * lyxlex.C (text): use pimpl_->getString()
2789         (getBool): ditto
2790         (findToken): ditto
2791
2792 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
2793
2794         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
2795         (makeFontEntriesLayoutSpecific): temp var for par.size()
2796         (setLayout): temp var for ownerParagraphs().end()
2797         (fullRebreak): temp var for rows().end()
2798         (selectionAsString): temp var for boost::next(startpit), realize
2799         that the while really is a regular for loop.
2800         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
2801         setCursor in one place.
2802         (setParagraph): temp vr for ownerParagraphs().end()
2803         (updateCounters): make the while loop a for loop
2804         (cutSelection): temp var for ownerParagraphs().end()
2805         (updateInset): make the do {} while() a regular for loop
2806         (getCursorX): use temp vars
2807         (setCurrentFont): use temp vars
2808         (getColumnNearX): use temp vars
2809
2810 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
2811
2812         * text.C (transformChar): use temp var for getChar
2813         (computeBidiTables): use temp var for row->par()
2814         (fill): move temp vars for row->par() and pit->layout() earlier in
2815         the function.
2816         (labelFill): use temp var for row->par()
2817         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
2818         asc and desc, realize that pit never changes and that firstpit is
2819         just a duplicate and not needed. Exchange rit->par() with pit in a
2820         lot of places.
2821         (breakAgain): use a temp var for boost::next(rit)
2822         (breakAgainOneRow): ditto
2823         (breakParagraph): use a temp var for rows().begin()
2824         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
2825         (cursorRightOneWord): use temp var for cursor.par() and
2826         cursor.pos(), remove usage of tmpcursor.
2827         (cursorLeftOneWord): use temp var for cursor.par() and
2828         cursor.pos() only set cur at end of function.
2829
2830 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
2831
2832         * text.C, text2.C: exchange all usage of Paragraph::next with
2833         boost::next(ParagraphList::iterator)
2834
2835         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
2836
2837         * text2.C (cursorTop): simplify implementation
2838         (cursorBottom): ditto
2839         (setParagraph): use ParagraphList::iterator
2840         (setCurrentFont): adjust
2841         (getColumnNearX): adjust
2842         (cursorRight): adjust
2843         (cursorLeft): remove usage of Paragraph::previous
2844         (cursorUpParagraph): ditto
2845         (deleteEmptyParagraphMechanism): slight cleanup
2846
2847         * text.C (isBoundary): take a Paragraph const & instead of a
2848         pointer as arg.
2849         (addressBreakPoint): ditto
2850         (leftMargin): remove usage of Paragraph::previous.
2851         (setHeightOfRow): ditto
2852         (cursorLeftOneWord): ditto
2853         (selectNextWordToSpellcheck): ditto
2854         (Delete): ditto
2855         (backspace): ditto
2856         (breakParagraph): remove one usage of Paragraph::next
2857         (redoParagraph): ditto
2858         (acceptChange): ditto
2859         (insertChar): adjust
2860         (rowBreakPoint): adjust
2861
2862         * bufferview_funcs.C (toggleAndShow): adjust
2863
2864 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
2865
2866         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
2867         methods to access it.
2868         * lyxtext.h:
2869         * text.C: Added updateRowPositions to compute all row positions.
2870         Make top_y and getRowNearY() to use the cached y position
2871
2872 2003-04-11  John Levon  <levon@movementarian.org>
2873
2874         * text.C (rowBreakPoint): reintroduce the labelEnd
2875         checks, code copied from the row fill stuff. Deep voodoo.
2876
2877         * text.C (fill): add a comment and debugging for the
2878         next poor soul.
2879
2880 2003-04-11  John Levon  <levon@movementarian.org>
2881
2882         * text.C: make sure fullrow insets get wrapped to the next line,
2883         even when they're in a manual label
2884
2885 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
2886
2887         * text2.C (insertParagraph): make it take ParagraphList::iterator
2888         as arg.
2889         (setLayout): make it return ParagraphList::iterator
2890         (redoParagraphs): ditto
2891         (setCounter): ditto
2892         (checkParagraph): ditto
2893
2894         * text.C (getRow): make getrow take ParagraphList::iterator as arg
2895
2896         * text2.C: adjust several funcs.
2897         (realizeFont): take a ParagraphList::iterator as arg.
2898         (getLayoutFont): ditto
2899         (getLabelFont): ditto
2900         (setCharFont): ditto
2901
2902         * text.C: adjust several funcs.
2903
2904 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
2905
2906         * text.C (selectNextWordToSpellcheck): don't accidentally
2907         skip insets
2908
2909 2003-04-10  John Levon  <levon@movementarian.org>
2910
2911         * ToolbarBackend.C (getIcon): special handling for
2912         LFUN_MATH_DELIM
2913
2914 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
2915
2916         * text2.C (cursorRight): a getChar assert fixed
2917
2918 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
2919
2920         * text2.C (getFont): change to take a ParagraphList::iterator
2921         instead of Paragraph*
2922         Adjust several functions.
2923
2924         * text.C (transformChar): change to take a ParagraphList::iterator
2925         instead of Paragraph*
2926         (singleWidth): ditto
2927         Adjust several functions.
2928
2929         * rowpainter.C: adjust several functions
2930         * rowpainter.h:store a ParagraphList::iterator and not a
2931         Paragraph&.
2932
2933
2934 2003-04-09  John Levon  <levon@movementarian.org>
2935
2936         * lyxfunc.C:
2937         * lfuns.h:
2938         * LyXAction.h:
2939         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
2940         and the "help" bits as well
2941
2942 2003-04-09  John Levon  <levon@movementarian.org>
2943
2944         * ToolbarBackend.h:
2945         * ToolbarBackend.C: allow multiple toolbars
2946
2947 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
2948
2949         * undo_funcs.C (setCursorParUndo): adjust
2950
2951         * text_funcs.C (transposeChars): adjust
2952
2953         * text3.C (gotoNextInset): adjust
2954         (dispatch): adjust
2955
2956         * text2.C (setLayout): adjust
2957         (changeDepth): adjust
2958         (setFont): adjust
2959         (redoParagraphs): adjust
2960         (selectionAsString): adjust
2961         (setParagraph): adjust
2962         (insertInset): adjust
2963         (cutSelection): adjust
2964         (copySelection): adjust
2965         (pasteSelection): adjust
2966         (insertStringAsLines): adjust
2967         (updateInset): adjust
2968         (setCursor): change to take a ParagraphList::iterator parameter
2969         (setCursorIntern): change to take a ParagraphList::iterator parameter
2970         (setCurrentFont): adjust
2971         (cursorLeft): adjust
2972         (cursorRight): adjust
2973         (deleteEmptyParagraphMechanism): adjust
2974
2975         * text.C (breakParagraph): adjust
2976         (insertChar): adjust
2977         (acceptChange): adjust
2978         (rejectChange): adjust
2979         (selectNextWordToSpellcheck): adjust
2980         (changeCase): adjust
2981         (Delete): adjust
2982         (backspace): adjust
2983
2984         * lyxfind.C (SearchForward): adjust
2985         (SearchBackward): adjust
2986         (nextChange): adjust
2987
2988         * lyxcursor.C (par): adjust
2989
2990         * lyxcursor.h: store a ParagraphList::iterator instead of a
2991         Paragraph*
2992
2993         * lyx_cb.C (getPossibleLabel): adjust
2994
2995         * bufferview_funcs.C (toggleAndShow): adjust
2996
2997         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
2998         (dispatch): adjust
2999
3000         * BufferView.C (removeAutoInsets): adjust
3001         (lockedInsetStoreUndo): adjust
3002
3003 2003-04-09  John Levon  <levon@movementarian.org>
3004
3005         * ToolbarBackend.C: try icon without argument
3006         if with argument fails
3007
3008 2003-04-08  John Levon  <levon@movementarian.org>
3009
3010         * ToolbarBackend.h:
3011         * ToolbarBackend.C: add getIcon(), handle tooltip,
3012         and change from "Icon" to "Item".
3013
3014 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
3015
3016         * BufferView.C (lockInset): another bad getchar crunched
3017
3018 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
3019
3020         * text2.C (changeDepth): do not setUndo on test_only (make undo work
3021         again)
3022
3023 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
3024
3025         * lyxfind.C (searchForward, searchBackwards): bug 782
3026
3027 2003-04-07  John Levon  <levon@movementarian.org>
3028
3029         * paragraph.C: remove dead comment
3030
3031         * text.C: remove troublesome depth-fiddling code
3032         in leftMargin() and rightMargin() (bug 1017)
3033
3034         * text.C: fix breaking of rows in nested lists
3035         (bug 1004)
3036
3037         * text2.C (updateCounters): fix up depth values
3038         (bug 1013)
3039
3040 2003-04-07  John Levon  <levon@movementarian.org>
3041
3042         * BufferView_pimpl.C: clear message when doc finishes resizing,
3043         and after a mouse event
3044
3045         * lyxfunc.C: clear message after exiting inset
3046
3047 2003-04-07  John Levon  <levon@movementarian.org>
3048
3049         * bufferview_funcs.C: show math status not outside
3050         status in the statusbar
3051
3052 2003-04-07  John Levon  <levon@movementarian.org>
3053
3054         * lyxfunc.C: note status changed after a depth change
3055
3056 2003-04-04  Angus Leeming  <leeming@lyx.org>
3057
3058         * LaTeX.h: move AuxInfo operator==, != out of line.
3059         Remove LaTeX virtual destructor; nothing derives from it.
3060         Move operator()() out of public area and rename it startscript().
3061         Change protected for private.
3062
3063 2003-04-04  Angus Leeming  <leeming@lyx.org>
3064
3065         * lyxfunc.C:
3066         * text2.C: remove unneeded #includes.
3067
3068 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
3069
3070         * text2.C (dEPM): fix the heigth of the next row
3071
3072 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
3073
3074         * text.C: squashed an invalid getChar requester + some ws changes
3075
3076 2003-04-03  John Levon  <levon@movementarian.org>
3077
3078         * bufferview_funcs.h:
3079         * bufferview_funcs.C:
3080         * lyxfunc.C:
3081         * lyxtext.h:
3082         * text2.C: make getStatus work for the env depth lfuns
3083
3084 2003-04-03  John Levon  <levon@movementarian.org>
3085
3086         * bufferview_funcs.h:
3087         * bufferview_funcs.C:
3088         * lyxfunc.C:
3089         * lyxtext.h:
3090         * text2.C: parlistize decDepth(), by merging it with incDepth()
3091
3092 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
3093
3094         * lyxrow.h: store a ParagraphList::iterator instead of a
3095         Paragraph* and adjust other class functions to suit.
3096
3097         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
3098         above.
3099
3100 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
3101
3102         * text2.C (setCursor): do not anchor to cursor row for the time being
3103
3104 2003-04-02  John Levon  <levon@movementarian.org>
3105
3106         * LyXAction.C:
3107         * lfuns.h:
3108         * lyx_main.C:
3109         * lyxtext.h:
3110         * text.C:
3111         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
3112
3113 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3114
3115         * paragraph.h: make ParagraphList and ParagraphList::iterator
3116         friends of Paragraph.
3117
3118         * buffer.C (makeLinuxDocFile): move towards ParagraphList
3119
3120         * ParagraphList.C: Use the private next_ and previous_ from
3121         Paragraph.
3122
3123 2003-04-01  John Levon  <levon@movementarian.org>
3124
3125         * ToolbarBackend.h:
3126         * ToolbarBackend.C:
3127         * Makefile.am: rename, remove defaults gunk
3128
3129         * MenuBackend.h:
3130         * MenuBackend.C: remove defaults gunk
3131
3132         * Languages.h:
3133         * Languages.C: remove defaults gunk
3134
3135         * lyx_main.h:
3136         * lyx_main.C: error out if files couldn't be found.
3137
3138 2003-04-02  John Levon  <levon@movementarian.org>
3139
3140         * text2.C: make incDepth() use parlist
3141
3142 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3143
3144         * undo_funcs.C (firstUndoParagraph): adjust
3145
3146         * text3.C (gotoInset): adjust
3147         (dispatch): adjust, and rewrite loop.
3148
3149         * text2.C (init): adjust, and rewrite loop.
3150         (redoParagraphs): adjust
3151         (updateInset): adjust, and rewrite loop.
3152         (deleteEmptyParagraphMechanism): adjust
3153
3154         * tabular.C (LyXTabular): adjust
3155         (SetMultiColumn): adjust
3156         (TeXRow): adjust
3157
3158         * lyxtext.[Ch] (ownerParagraph): delete function
3159         (ownerParagraphs): new function returns a ParagraphList.
3160
3161         * BufferView.C (removeAutoInsets): adjust
3162         (insertErrors): adjust
3163         (setCursorFromRow): adjust
3164
3165 2003-04-01  Angus Leeming  <leeming@lyx.org>
3166
3167         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
3168         in the frontends.
3169
3170 2003-04-02  John Levon  <levon@movementarian.org>
3171
3172         * lyxtext.h:
3173         * text.C:
3174         * Makefile.am:
3175         * text_funcs.h:
3176         * text_funcs.C: make transposeChars a free function
3177
3178         * lyxrow_funcs.C: remove wrong comment
3179
3180 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3181
3182         * lyxtext.h: adjust
3183         * rowpainter.C: adjust
3184         * text.C: adjust
3185         * text2.C: adjust
3186         * text3.C: adjust
3187
3188         * lyxrow_funcs. [Ch]: new files
3189
3190         * lyxrow.[Ch]: remove next and previous pointers
3191         (next,previous): remove accessor functions
3192         (isParEnd): move to lyxrow_funcs
3193         (lastPos): move to lyxrow_funcs
3194         (nextRowIsAllInset): move to lyxrow_funcs
3195         (lastPrintablePos): move to lyxrow_funcs
3196         (numberOfSeparators): move to lyxrow_funcs
3197         (numberOfHfills): move to lyxrow_funcs
3198         (numberOfLabelHfills): move to lyxrow_funcs
3199         (hfillExpansion): move to lyxrow_funcs
3200
3201         * lyxfunc.C: adjust
3202
3203         * bufferview_funcs.C (toggleAndShow): adjust
3204
3205         * RowList.h: Remove class RowList from file leave just a
3206         std::list<Row>.
3207
3208         * RowList.C: delete file
3209
3210         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
3211         and lyxrow_funcs.h
3212
3213 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3214
3215         * text3.C (cursorPrevious): adjust
3216         (cursorNext): adjust
3217         (dispatch): adjust
3218
3219         * text2.C (redoHeightOfParagraph): adjust
3220         (redoDrawingOfParagraph): adjust
3221         (setCursor): adjust
3222
3223         * text.C (breakParagraph): adjust
3224         (insertChar): adjust
3225         (backspace): adjust
3226
3227         * rowpainter.C (RowPainter): adjust
3228         (leftMargin): simplify and adjust
3229         (most rowpainter functions): adjust.
3230
3231         * rowpainter.h: store the row as RowList::iterator not as Row*
3232
3233         * lyxcursor.C (row): taka RowList::iterator as arg
3234         (irow): ditto
3235
3236         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
3237         of Row*.
3238
3239 2003-04-01  Angus Leeming  <leeming@lyx.org>
3240
3241         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
3242         stuff like bool Bool.
3243
3244 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
3245
3246         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
3247         rewrite a loop
3248
3249 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3250
3251         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
3252         RowList::iterator.
3253
3254         * lyxtext.h (rows): drop one version and leve a const variant that
3255         returns a RowList::iterator.
3256
3257 2003-03-31  Angus Leeming  <leeming@lyx.org>
3258
3259         * text.C (fill): ensure that the signature is the same as that in the
3260         header file.
3261
3262 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
3263
3264         * text2.C (redoParagraphs): adjust
3265         (updateCounters): adjust
3266         (checkParagraph): adjust
3267         (getColumnNearX): adjust and reformat a bit.
3268
3269         * text.C (top_y): adjust
3270         (workWidth): adjust
3271         (leftMargin): adjust
3272         (prepareToPrint): adjust
3273         (getRow): adjust
3274         (getRowNearY): adjust
3275
3276         * lyxtext.h: make rowlist_ mutable.
3277
3278         * RowList.h: add const_iterator
3279         * RowList.C: adjust for RowList::const_iterator.
3280
3281         * text2.C (getCursorX): make it take a RowList::iterator as arg,
3282         adjust.
3283
3284 2003-03-31  John Levon  <levon@movementarian.org>
3285
3286         * lyxrc.h:
3287         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
3288
3289         * lyx_main.C: set default fonts from using lyx_gui funcs
3290
3291         * exporter.C: pdf_mode moved from lyxrc
3292
3293         * lyx_cb.C:
3294         * lyxfunc.C: changes from above
3295
3296 2003-03-31  John Levon  <levon@movementarian.org>
3297
3298         * lyx_main.C: fix to the last fix
3299
3300 2003-03-31  John Levon  <levon@movementarian.org>
3301
3302         * bufferlist.C: "Load original" -> "Load Original"
3303
3304         * converter.C:
3305         * exporter.C:
3306         * importer.C:
3307         * lyx_main.C:
3308         * format.C: more Alert cleanups
3309
3310 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
3311
3312         * text2.C (removeParagraph): make it take a RowList::iterator as
3313         arg, adjust.
3314         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
3315         (postRowPaint): make it take a RowList::iterator as arg, adjust.
3316
3317         * text.C (anchor_row): make it take a RowList::iterator as arg,
3318         adjust.
3319         (computeBidiTables): make it take a const reference to Row instead
3320         of Row pointer, adjust.
3321         (leftMargin): make it take a RowList::iterator as arg, adjust.
3322         (rowBreakPoint): adjust
3323         (breakAgainOneRow): make it take a RowList::iterator as arg,
3324         adjust.
3325         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
3326
3327         * bufferview_funcs.C (toggleAndShow): adjust
3328
3329 2003-03-30  John Levon  <levon@movementarian.org>
3330
3331         * Makefile.am:
3332         * BoostFormat.h:
3333         * boost-inst.C: moved to support
3334
3335         * several files: changes as a result
3336
3337 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
3338
3339         * text2.C (LyXText): adjust.
3340         (init): adjust
3341         (removeRow): make it take a RowList::iterator as arg, adjust.
3342         (fullRebreak): adjust
3343         (deleteEmptyParagraphMechanism): adjust
3344         (clearPaint): adjust
3345         (postPaint): adjust
3346
3347         * text.C (top_y): adjust
3348         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
3349         (breakAgain): make it take a RowList::iterator as arg, adjust.
3350         (breakParagraph): adjust
3351         (insertChar): adjust
3352         (backspace): adjust
3353
3354         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
3355         need_break_row, and refresh_row.
3356
3357         * text3.C (dispatch): adjust
3358
3359         * text2.C (checkParagraph): adjust
3360         (setCursor): adjust
3361         (setCursorFromCoordinates): adjust
3362
3363         * text.C (top_y): adjust
3364         (workWidth): adjust
3365         (getRow): make it return a RowList::iterator, adjust
3366         (getRowNearY): make it return a RowList::iterator, adjust
3367
3368         * text2.C (init): adjust
3369         (insertRow): remove function
3370         (insertParagraph): adjust
3371         (redoParagraphs): adjust
3372         (fullRebreak): adjust
3373         (updateCounters): adjust
3374
3375         * text.C (top_y): rewrite to use RowList iterators.
3376         (top_y): adjust
3377         (setHeightOfRow): rewrite to sue RowList iterators.
3378         (appendParagraph): adjust
3379         (breakAgain): adjust
3380         (breakAgainOneRow): adjust
3381         (breakParagraph): adjust
3382         (getRow): adjust
3383         (getRowNearY): adjust, and remove commented code.
3384
3385         * lyxtext.h (firstRow): delete function
3386         (lastRow): delete function
3387         (rows): new function (const and non-const versions.)
3388         (insertRow): delete function
3389
3390         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
3391
3392 2003-03-29  John Levon  <levon@movementarian.org>
3393
3394         * BufferView_pimpl.C: always update scrollbar top
3395         because pasting text when we're anchored could mean we
3396         miss an update altogether
3397
3398 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3399
3400         * text2.C (init): use rowlist_.end() and not 0.
3401         (insertRow): change to take a RowList::iterator as arg, adjust
3402         for this.
3403         (insertParagraph): change to take a RowList::iterator as arg,
3404         adjust for this.
3405         (redoParagraphs): remove some debug msgs.
3406
3407         * text.C (appendParagraph): change to take a RowList::iterator
3408         arg, adjust for this.
3409         (breakAgain): add an assert
3410         (breakAgainOneRow): ditto
3411
3412 2003-03-29  John Levon  <levon@movementarian.org>
3413
3414         * text2.C: do not clear selection after inc/decDepth
3415         (bug 550)
3416
3417 2003-03-29  John Levon  <levon@movementarian.org>
3418
3419         * BufferView.C:
3420         * buffer.C: fix broken strerrors according to Lars
3421
3422 2003-03-29  John Levon  <levon@movementarian.org>
3423
3424         * converters.C: more Alert cleanups
3425
3426 2003-03-29  John Levon  <levon@movementarian.org>
3427
3428         * bufferview_funcs.C: remove pointless Alert
3429
3430         * buffer.C: fix confusing error message when
3431         a template is chmoded 000
3432
3433 2003-03-29  John Levon  <levon@movementarian.org>
3434
3435         * BufferView.C:
3436         * BufferView.h:
3437         * BufferView_pimpl.C: Alert fixes
3438
3439         * Makefile.am:
3440         * tabular.C:
3441         * tabular-old.C: remove unused table compat reading
3442
3443 2003-03-29  John Levon  <levon@movementarian.org>
3444
3445         * BufferView.C:
3446         * buffer.C:
3447         * lyx_cb.h:
3448         * lyx_cb.C: more Alert cleanups
3449
3450         * lyxfunc.C: don't allow chktex if not latex document
3451
3452 2003-03-29  John Levon  <levon@movementarian.org>
3453
3454         * lyx_cb.C:
3455         * BufferView.C:
3456         * buffer.C: warnings pushed down from support/,
3457         kill err_alert
3458
3459 2003-03-29  John Levon  <levon@movementarian.org>
3460
3461         * lyxfunc.C: safety check for C-r (revert)
3462
3463 2003-03-29  John Levon  <levon@movementarian.org>
3464
3465         * bufferlist.h:
3466         * bufferlist.C: several UI fixes using Alert::prompt.
3467         Fix the pointless looping quit code. Fix stupid revert
3468         behaviour (bug 938)
3469
3470         * lyxvc.h:
3471         * lyxvc.C:
3472         * lyx_cb.C: use Alert::prompt
3473
3474         * lyx_main.C: remove a silly question
3475
3476         * lyxfunc.C: remove a couple of silly questions,
3477         use Alert::prompt
3478
3479 2003-03-28  John Levon  <levon@movementarian.org>
3480
3481         * text2.C: fix bug 974 (End on empty par)
3482
3483 2003-03-28  John Levon  <levon@movementarian.org>
3484
3485         * BufferView_pimpl.C:
3486         * LyXAction.C:
3487         * lfuns.h: remove do-nothing math greek lfuns
3488
3489 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
3490
3491         * lyxgluelength.h (isValidGlueLength): add default arg on
3492         parameter 2. Remove default arg from friend in class.
3493
3494         * lyxlength.h (isValidLength): add default arg on parameter 2.
3495         Remove default arg from friend in class.
3496
3497         * text2.C (LyXText): adjust, initialize refresh_row.
3498         (init): adjust
3499         (removeRow): adjust
3500         (insertRow): adjust
3501         (insertParagraph): adjst
3502         (redoParagraphs): adjust
3503         (fullRebreak): adjust
3504         (updateCounters): adjust
3505         (deleteEmptyParagraphMechanism): first attempt at fixing a
3506         crashing bug.
3507
3508         * text.C (top_y): adjust
3509         (setHeightOfRow): adjust
3510         (getRow): adjust
3511         (getRowNearY): adjust
3512
3513         * lyxtext.h: include RowList.h
3514         (~LyXText): not needed anymore, deleted.
3515         (firstRow): modify for RowList
3516         (lastRow): new function
3517         Delete firstrow and lastrow class variables, add a Rowlist
3518         rowlist_ class variable.
3519
3520         * lyxrow.C (lastPos): use empty() and not !size() to check if a
3521         paragraph is empty.
3522
3523         * RowList.C (insert): fix case where it == begin().
3524
3525 2003-03-26  Angus Leeming  <leeming@lyx.org>
3526
3527         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
3528         the thesaurus dialog.
3529
3530 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
3531
3532         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
3533
3534         * RowList.[Ch]: new files
3535
3536         * ParagraphList.C (erase): handle the case where it == begin
3537         correctly.
3538
3539 2003-03-25  John Levon  <levon@movementarian.org>
3540
3541         * Makefile.am:
3542         * aspell_local.h:
3543         * aspell.C: add new aspell support
3544
3545         * lyxrc.h:
3546         * lyxrc.C: Make use_pspell be use_spell_lib. Always
3547         have it accessible.
3548
3549 2003-03-25  Angus Leeming  <leeming@lyx.org>
3550
3551         * lfuns.h:
3552         * LyXAction.C (init): new LFUN_INSET_INSERT.
3553
3554         * BufferView_pimpl.C (dispatch): split out part of the
3555         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
3556
3557         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
3558         LFUN_INSET_APPLY.
3559
3560 2003-03-25  Angus Leeming  <leeming@lyx.org>
3561
3562         * lyxfunc.C (dispatch): changes to the Dialogs interface.
3563
3564 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
3565
3566         * text2.C:
3567         * text3.C: remove useless row->height(0)
3568
3569 2003-03-25  John Levon  <levon@movementarian.org>
3570
3571         * lyxtext.h:
3572         * text2.C:
3573         * text3.C: rename the refreshing stuff to better names
3574
3575 2003-03-24  John Levon  <levon@movementarian.org>
3576
3577         * BufferView_pimpl.h:
3578         * BufferView_pimpl.C: update layout choice on a mouse
3579         press/release
3580
3581 2003-03-23  John Levon  <levon@movementarian.org>
3582
3583         * Makefile.am: fix commandtags.h reference
3584
3585 2003-03-22  John Levon  <levon@movementarian.org>
3586
3587         * BufferView_pimpl.C:
3588         * lyxtext.h:
3589         * rowpainter.C:
3590         * rowpainter.h:
3591         * text.C:
3592         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
3593
3594 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
3595
3596         * lyxtext.h:
3597         * text.C: take the rtl methods out of line
3598
3599 2003-03-21 André Pönitz <poenitz@gmx.net>
3600
3601         * metricsinfo.[Ch]: new files containing structures to be passed around
3602         during the two-phase-drawing...
3603
3604 2003-03-21 André Pönitz <poenitz@gmx.net>
3605
3606         * lyxtextclass.C: read 'environment' tag.
3607
3608 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
3609
3610         * text2.C (removeRow): fix bug 964
3611
3612 2003-03-20  John Levon  <levon@movementarian.org>
3613
3614         * rowpainter.C:
3615         * text.C:
3616         * text2.C: paint cleanups. Inset::update() dropped font
3617         parameter
3618
3619 2003-03-19  John Levon  <levon@movementarian.org>
3620
3621         * lyxfunc.C: only fitcursor/markDirty if available()
3622
3623 2003-03-19  John Levon  <levon@movementarian.org>
3624
3625         * commandtags.h: rename to ...
3626
3627         * lfuns.h: ... this, and renumber / cleanup
3628
3629 2003-03-19  John Levon  <levon@movementarian.org>
3630
3631         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
3632         fit the cursor after an lfun
3633
3634         * BufferView.h:
3635         * BufferView.C:
3636         * BufferView_pimpl.h:
3637         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
3638
3639         * LyXAction.C: layout-character should have ReadOnly
3640
3641         * ParagraphParameters.C:
3642         * buffer.C:
3643         * bufferview_funcs.C:
3644         * lyx_cb.C:
3645         * lyxfind.C:
3646         * lyxtext.h:
3647         * text.C:
3648         * text2.C:
3649         * text3.C:
3650         * undo_funcs.C: changes from above
3651
3652 2003-03-18  John Levon  <levon@movementarian.org>
3653
3654         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
3655         remove it from update()
3656
3657         * lyxfunc.C: update layout choice after an lfun
3658
3659         * text3.C: remove extra updateLayoutChoice()s
3660
3661 2003-03-18  John Levon  <levon@movementarian.org>
3662
3663         * text.C: top_y change means full repaint, fix
3664         a drawing bug with cursor movement
3665
3666 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
3667
3668         * lyxtext.h:
3669         * text.C:
3670         * text2.C: anchor row on setCursor
3671
3672 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
3673
3674         * lyxtext.h: remove almost all mutable keywords
3675         * text.C:
3676         * text2.C:
3677         * text3.C: remove const keywords accordingly
3678
3679 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
3680
3681         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
3682         anon namespace
3683         (TeXEnvironment): ditto
3684         (TeXOnePar): ditto
3685
3686 2003-03-17  John Levon  <levon@movementarian.org>
3687
3688         * text.C (rowBreakPoint): remove attempt to fix displayed
3689         math insets inside a manual label
3690
3691 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
3692
3693         * lyxtext.h: remove BufferView* as first arg from almost all class
3694         functions.
3695         * other files: adjust.
3696
3697 2003-03-17  John Levon  <levon@movementarian.org>
3698
3699         * lyxtext.h:
3700         * undo_funcs.C:
3701         * text2.C: more paint cleanups
3702
3703         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
3704
3705         * rowpainter.h:
3706         * rowpainter.C: remove "smart" background painting code
3707
3708 2003-03-16  John Levon  <levon@movementarian.org>
3709
3710         * lyxtext.h:
3711         * text.C:
3712         * text2.C:
3713         * text3.C: add helper functions for setting refresh_row/y
3714
3715 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
3716
3717         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
3718         newline inset which *can* get inserted in the pass_thru layouts.
3719         This is primarily for literate documents.
3720
3721 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
3722
3723         * buffer.C: increment LYX_FORMAT to 223
3724
3725 2003-03-14 André Pönitz <poenitz@gmx.net>
3726
3727         * textclass.h: prepare for environment handling, ws changes
3728         * lyxlayout.C: read latexheader and latexfooter tags
3729
3730 2003-03-14  John Levon  <levon@movementarian.org>
3731
3732         * text2.C: rewrite ::status() a bit
3733
3734 2003-03-13  John Levon  <levon@movementarian.org>
3735
3736         * lyxtext.h: add some docs
3737
3738 2003-03-13  John Levon  <levon@movementarian.org>
3739
3740         * lyxtext.h:
3741         * text.C:
3742         * text2.C:
3743         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
3744
3745 2003-03-13  John Levon  <levon@movementarian.org>
3746
3747         * text3.C: fix appendix redrawing
3748
3749 2003-03-13  John Levon  <levon@movementarian.org>
3750
3751         * text.C (setHeightOfRow):
3752         * rowpainter.h:
3753         * rowpainter.C: make appendix mark have the text
3754           "Appendix" so the user knows what it is
3755
3756         * LColor.h:
3757         * LColor.C: s/appendixline/appendix/ from above
3758
3759 2003-03-13  John Levon  <levon@movementarian.org>
3760
3761         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
3762
3763         * text.C: fix a getChar(pos) bug properly
3764
3765 2003-03-13  Angus Leeming  <leeming@lyx.org>
3766
3767         * commandtags.h:
3768         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
3769         Probably only temporary. Let's see how things pan out.
3770
3771         * BufferView.C (unlockInset):
3772         * BufferView_pimpl.C (fitCursor):
3773         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
3774
3775         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
3776         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
3777
3778         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
3779         new functions that convert ParagraphParameters to and from a string.
3780
3781         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
3782         BufferView::Pimpl's dispatch.
3783         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
3784
3785 2003-03-13 André Pönitz <poenitz@gmx.net>
3786
3787         * lyxfunc.C:
3788         * text3.C:
3789         * factory.C: make it aware of InsetEnv
3790
3791 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3792
3793         * text2.C (setCursor): never ask for one past last
3794         (setCursor): add some debugging messages.
3795
3796         * text.C (singleWidth): never ask for one past last
3797         (singleWidth): ditto
3798         (leftMargin): ditto
3799         (rightMargin): ditto
3800         (rowBreakPoint): ditto
3801         (setHeightOfRow): ditto
3802         (prepareToPrint): ditto
3803
3804         * rowpainter.C (paintBackground): never ask for one past last
3805         (paintText): never ask for one past last
3806
3807         * paragraph_pimpl.C (getChar): make the assert stricter, never
3808         allow the one past last pos to be taken
3809
3810         * paragraph.C (getChar): ws changes only
3811
3812         * lyxrow.C (nextRowIsAllInset): never ask for one past last
3813         (numberOfSeparators): ditto
3814         (numberOfHfills): ditto
3815
3816 2003-03-12  John Levon  <levon@movementarian.org>
3817
3818         * author.h:
3819         * author.C:
3820         * bufferparams.h:
3821         * bufferparams.C:
3822         * paragraph_funcs.C: fix per-buffer authorlists
3823
3824 2003-03-12  John Levon  <levon@movementarian.org>
3825
3826         * text.C: fix newline in right address
3827
3828 2003-03-12  Angus Leeming  <leeming@lyx.org>
3829
3830         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
3831         duplicate those in LyXFunc::dispatch.
3832
3833         * commandtags.h:
3834         * LyXAction.C:
3835         * ToolbarDefaults.C:
3836         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
3837         Add LFUN_FONTFREE_UPDATE.
3838
3839         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
3840         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
3841
3842         * bufferview_func.[Ch]: several new functions to facilliate
3843         transfer of data to and from the character dialog.
3844
3845 2003-03-12  John Levon  <levon@movementarian.org>
3846
3847         * buffer.C:
3848         * paragraph.h:
3849         * paragraph.C:
3850         * paragraph_funcs.C:
3851         * paragraph_pimpl.C:
3852         * sgml.C:
3853         * tabular.C:
3854         * text.C:
3855         * text3.C: remove META_NEWLINE in favour of an inset
3856
3857         * rowpainter.h:
3858         * rowpainter.C: remove paintNewline (done by inset)
3859
3860 2003-03-12  John Levon  <levon@movementarian.org>
3861
3862         * paragraph_pimpl.C: complain about bad getChar()s
3863         for a while at least
3864
3865 2003-03-12  John Levon  <levon@movementarian.org>
3866
3867         * buffer.h:
3868         * buffer.C: move paragraph read into a separate function,
3869         a little renaming to reflect that.
3870
3871         * bufferparams.h:
3872         * bufferparams.C: remove the author_ids map, not necessary now
3873
3874         * factory.h:
3875         * factory.C: moved Buffer::readInset to here
3876
3877         * paragraph_funcs.h:
3878         * paragraph_funcs.C: readParagraph free function moved from
3879         buffer.C
3880
3881         * tabular.C: name change
3882
3883 2003-03-12  John Levon  <levon@movementarian.org>
3884
3885         * buffer.C:
3886         * ParagraphParameters.C: move par params input to
3887         a read() method
3888
3889         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
3890         behave like a normal read from the stream wrt reading
3891         a line vs. a \\token
3892
3893 2003-03-12  John Levon  <levon@movementarian.org>
3894
3895         * paragraph.C:
3896         * ParagraphParameters.h:
3897         * ParagraphParameters.C: move output code to a
3898         ::write() method
3899
3900 2003-03-12  John Levon  <levon@movementarian.org>
3901
3902         * BufferView.C (insertLyXFile):
3903         * buffer.h:
3904         * buffer.C:
3905         * tabular.C: use a parlist iterator for creating the
3906           document.
3907
3908 2003-03-12  John Levon  <levon@movementarian.org>
3909
3910         * buffer.C: make current_change static local not
3911           static file-scope
3912
3913 2003-03-12  John Levon  <levon@movementarian.org>
3914
3915         * buffer.C: fix insertStringAsLines for change tracking
3916
3917 2003-03-12  John Levon  <levon@movementarian.org>
3918
3919         * BufferView.C:
3920         * tabular.C:
3921         * buffer.h:
3922         * buffer.C:
3923         * bufferparams.h:
3924         * bufferparams.C: move author list into params. Rename some
3925           functions. Move the header reading into a separate token
3926           loop. Move the header token reading into BufferParams.
3927
3928 2003-03-12  John Levon  <levon@movementarian.org>
3929
3930         * changes.C: put debug inside lyxerr.debugging() checks
3931
3932 2003-03-11 André Pönitz <poenitz@gmx.net>
3933
3934         * factory.C: make it aware of InsetHFill
3935
3936 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
3937
3938         * buffer.C (latexParagraphs): move function from here...
3939         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
3940         args.
3941
3942 2003-03-10  Angus Leeming  <leeming@lyx.org>
3943
3944         * LyXAction.C (init): fix bug in poplating array with multiple entries
3945         with the same LFUN (spotted by JMarc).
3946
3947 2003-03-10  John Levon  <levon@movementarian.org>
3948
3949         * text.C:
3950         * text2.C: move getColumnNearX() near its
3951         only call site
3952
3953 2003-03-10  John Levon  <levon@movementarian.org>
3954
3955         * text.C: fix break before a minipage
3956
3957 2003-03-10  John Levon  <levon@movementarian.org>
3958
3959         * text.C: fix the last commit
3960
3961 2003-03-09  John Levon  <levon@movementarian.org>
3962
3963         * lyxtext.h:
3964         * text.C:
3965         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
3966         bug 365 (don't break before insets unless needed). Don't
3967         return a value > last under any circumstances.
3968
3969 2003-03-09  Angus Leeming  <leeming@lyx.org>
3970
3971         * BufferView_pimpl.C (trackChanges, dispatch): call
3972         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
3973
3974 2003-03-09  Angus Leeming  <leeming@lyx.org>
3975
3976         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
3977         than Dialogs::showAboutlyx().
3978
3979 2003-03-09  Angus Leeming  <leeming@lyx.org>
3980
3981         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
3982         than Dialogs::showTabularCreate().
3983
3984 2003-03-09  John Levon  <levon@movementarian.org>
3985
3986         * lyxtext.h:
3987         * text.C:
3988         * text2.C: 3rd arg to nextBreakPoint was always the same.
3989           Use references.
3990
3991 2003-03-08  John Levon  <levon@movementarian.org>
3992
3993         * lyxrow.C:
3994         * paragraph.C:
3995         * paragraph.h:
3996         * rowpainter.C:
3997         * text.C:
3998         * text2.C: Remove the "main" bit from the "main body"
3999           notion.
4000
4001 2003-03-08  John Levon  <levon@movementarian.org>
4002
4003         * text.C (leftMargin): The left margin of an empty
4004         manual label paragraph should not include the label width
4005         string length.
4006
4007         * text.C (prepareToPrint): don't attempt to measure hfills
4008         for empty manual label paragraphs - the answer should be 0
4009
4010 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
4011
4012         * CutAndPaste.C: remove commented code and reindent.
4013
4014 2003-03-08  John Levon  <levon@movementarian.org>
4015
4016         * lyxfunc.h:
4017         * lyxfunc.C: move reloadBuffer()
4018
4019         * BufferView.h:
4020         * BufferView.C: to here
4021
4022         * lyxvc.C: add comment
4023
4024         * vc-backend.h:
4025         * vc-backend.C: call bv->reload() to avoid
4026           getStatus() check on MENURELOAD
4027
4028 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
4029
4030         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
4031         to an old format .dep file.
4032
4033 2003-03-07  Angus Leeming  <leeming@lyx.org>
4034
4035         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
4036         when the LFUN_MOUSE_RELEASE should have been handled by
4037         inset->localDispatch.
4038
4039 2003-03-07  Angus Leeming  <leeming@lyx.org>
4040
4041         * BufferView_pimpl.C (dispatch):
4042         * LyXAction.C (init):
4043         * ToolbarDefaults.C (init):
4044         * commandtags.h:
4045         * lyxfunc.C (getStatus):
4046         remove LFUN_INSET_GRAPHICS.
4047
4048         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
4049
4050 2003-03-07  Angus Leeming  <leeming@lyx.org>
4051
4052         * commandtags.h:
4053         * LyXAction.C (init):
4054         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
4055
4056         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
4057
4058         * commandtags.h:
4059         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
4060
4061         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
4062         localDispatch method LFUN_INSET_DIALOG_UPDATE.
4063
4064 2003-03-07  Angus Leeming  <leeming@lyx.org>
4065
4066         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
4067         remove "ert".
4068
4069 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4070
4071         * ParagraphList.C (front): new function
4072         (back): implement
4073
4074 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
4075
4076         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
4077         and top_row_offset_. removed var first_y.
4078         * text.C (top_y):
4079         * text2.C (LyXText, removeRow):
4080         * text3.C:
4081         * BufferView_pimpl.C:
4082         use these methods instead of using first_y
4083
4084 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4085
4086         * text2.C (pasteSelection): adjust for checkPastePossible
4087
4088         * CutAndPaste.C: remove Paragraph * buf and replace with
4089         ParagraphList paragraphs.
4090         (DeleteBuffer): delete
4091         (cutSelection): change the tc type to textclass_type
4092         (copySelection): change the tc type to textclass_type
4093         (copySelection): adjust for ParagraphList
4094         (pasteSelection): change the tc type to textclass_type
4095         (pasteSelection): adjust for Paragraphlist
4096         (nrOfParagraphs): simplify for ParagraphList
4097         (checkPastePossible): simplify for ParagraphList
4098         (checkPastePossible): remove unused arg
4099
4100         * ParagraphList.C (insert): handle the case where there are no
4101         paragraphs yet.
4102
4103         * CutAndPaste.h: make CutAndPaste a namespace.
4104
4105         * text3.C (dispatch): adjust
4106
4107         * text.C (breakParagraph): add a ParagraphList as arg
4108
4109         * paragraph_funcs.C (breakParagraph): change to take a
4110         BufferParams and a ParagraphList as args.
4111         (breakParagraphConservative): ditto
4112         (mergeParagraph): ditto
4113         (TeXDeeper): add a ParagraphList arg
4114         (TeXEnvironment): ditto
4115         (TeXOnePar): ditto
4116
4117         * buffer.C (readLyXformat2): adjust
4118         (insertStringAsLines): adjust
4119         (latexParagraphs): adjust
4120
4121         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
4122         (cutSelection): adjust
4123         (pasteSelection): adjust
4124
4125         * BufferView_pimpl.C (insertInset): adjust
4126
4127 2003-03-05  Angus Leeming  <leeming@lyx.org>
4128
4129         * commandtags.h:
4130         * LyXAction.C (init):
4131         * BufferView_pimpl.C (dispatch):
4132         * lyxfunc.C (getStatus):
4133         remove LFUN_CHILD_INSERT.
4134
4135         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
4136
4137 2003-03-05  Angus Leeming  <leeming@lyx.org>
4138
4139         * commandtags.h:
4140         * LyXAction.C (init):
4141         * src/factory.C (createInset):
4142         * lyxfunc.C (getStatus):
4143         * text3.C (dispatch):
4144         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
4145
4146         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
4147
4148 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
4149
4150         * ParagraphList.C (insert): handle insert right before end()
4151         (erase): fix cases where it can be first or last paragraph.
4152
4153 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
4154
4155         * paragraph_funcs.C (TeXEnvironment): remove all usage of
4156         Paragraph::next and Paragraph::previous
4157         (TeXOnePar): ditto
4158
4159         * text.C (breakParagraph): adjust
4160
4161         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
4162         BufferParams& as arg.
4163         (breakParagraph): use ParagraphList::insert
4164         (breakParagraphConservative): take a Buffer* instead of a
4165         BufferParams& as arg.
4166         (breakParagraphConservative): use ParagraphList::insert.
4167
4168         * buffer.C (insertStringAsLines): un-const it
4169         (insertStringAsLines): adjust
4170
4171         * ParagraphList.C (insert): new function
4172
4173         * CutAndPaste.C (pasteSelection): adjust
4174
4175         * text.C (backspace): adjust
4176
4177         * tabular.C (SetMultiColumn): adjust
4178
4179         * CutAndPaste.C (cutSelection): adjust
4180         (pasteSelection): adjust
4181
4182         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
4183         Buffer const * as arg
4184
4185         * ParagraphList.C (erase): new function
4186         * paragraph_funcs.C (mergeParagraph): use it
4187         (mergeParagraph): make it take a Buffer* instead of a
4188         BufferParams* as arg
4189
4190         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
4191         as arg
4192         (breakParagraphConservative): ditto
4193
4194         * paragraph.h: remove the breakParagraph friend
4195
4196         * paragraph.C (eraseIntern): new function
4197         (setChange): new function
4198
4199         * paragraph_funcs.C (mergeParagraph): make it take a
4200         ParagraphList::iterator instead of a Paragraph *, adjust
4201         accordingly.
4202
4203         * paragraph.h: move an #endif so that the change tracking stuff
4204         also works in the NO_NEXT case.
4205
4206 2003-03-04  Angus Leeming  <leeming@lyx.org>
4207
4208         * commandtags.h:
4209         * LyXAction.C: new LFUN_INSET_MODIFY.
4210
4211         * BufferView_pimpl.C (dispatch): if an inset is found to be open
4212         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
4213
4214 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
4215
4216         * several files: ws changes only
4217
4218         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
4219         (TeXEnvironment): ditto
4220         (TeXDeeper): ditto
4221
4222         * buffer.C (makeLaTeXFile): adjust
4223         (latexParagraphs): make it take ParagraphList::iterator as args
4224
4225 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4226
4227         * buffer.C (latexParagraphs): adjust
4228
4229         * paragraph.C (TeXOnePar): move function...
4230         (optArgInset): move function...
4231         (TeXEnvironment): move function...
4232         * paragraph_pimpl.C (TeXDeeper): move function...
4233         * paragraph_funcs.C: ...here
4234
4235         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
4236
4237 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4238
4239         * buffer.C (readInset): remove compability code for old Figure and
4240         InsetInfo insets
4241
4242 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4243
4244         * buffer.C: ws changes
4245         (readInset):
4246
4247         * BufferView_pimpl.C: ditto
4248         * author.C: ditto
4249         * buffer.h: ditto
4250         * bufferlist.h: ditto
4251         * changes.h: ditto
4252         * lyxfunc.C: ditto
4253
4254 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
4255
4256         * converter.[Ch]: split into itself +
4257         * graph.[Ch]
4258         * format.[Ch]
4259         * Makefile.am: += graph.[Ch] + format.[Ch]
4260         * MenuBackend.C
4261         * buffer.C
4262         * exporter.C
4263         * importer.C
4264         * lyx_main.C
4265         * lyxfunc.C
4266         * lyxrc.C: added #include "format.h"
4267
4268 2003-02-27  Angus Leeming  <leeming@lyx.org>
4269
4270         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
4271           a label.
4272
4273         * factory.C (createInset): add "label" to the factory.
4274
4275         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
4276           string and do no more.
4277
4278 2003-02-27  Angus Leeming  <leeming@lyx.org>
4279
4280         * commandtags.h:
4281         * LyXAction.C (init):
4282         * factory.C (createInset):
4283         * BufferView_pimpl.C (dispatch):
4284           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
4285
4286         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
4287
4288         * lyxfunc.C (dispatch):
4289         * text3.C (dispatch): pass name to params2string.
4290
4291 2003-02-26  Angus Leeming  <leeming@lyx.org>
4292
4293         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
4294           blocks together.
4295           Rearrange the ~includes. Strip out the unnecessary ones.
4296
4297         * factory.C (createInset): reformat.
4298           create new insets for the various LFUN_XYZ_APPLY lfuns.
4299
4300 2003-02-26  John Levon  <levon@movementarian.org>
4301
4302         * lyxrow.h:
4303         * lyxrow.C: add isParStart,isParEnd helpers
4304
4305         * paragraph.h: make isInserted/DeletedText take refs
4306
4307         * paragraph_funcs.h:
4308         * paragraph_funcs.C: remove #if 0'd code
4309
4310         * lyxtext.h:
4311         * text3.C:
4312         * text2.C:
4313         * text.C: use lyxrow helpers above.
4314           Move draw and paint routines to RowPainter.
4315           Make several methods use refs not pointers.
4316           Make backgroundColor() const.
4317           Add markChangeInDraw(), isInInset().
4318           Merge changeRegionCase into changeCase.
4319           Make workWidth() shouldn't-happen code into an Assert.
4320
4321         * rowpainter.h:
4322         * rowpainter.C: new class for painting a row.
4323
4324         * vspace.h:
4325         * vspace.C: make inPixels take a ref
4326
4327 2003-02-26  Angus Leeming  <leeming@lyx.org>
4328
4329         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
4330         LFUN_REF_APPLY.
4331
4332 2003-02-25  John Levon  <levon@movementarian.org>
4333
4334         * ispell.C: give the forked command a more accurate name
4335
4336 2003-02-22  John Levon  <levon@movementarian.org>
4337
4338         * toc.h:
4339         * toc.C: make TocItem store an id not a Paragraph *
4340           (bug #913)
4341
4342 2003-02-21  Angus Leeming  <leeming@lyx.org>
4343
4344         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
4345           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
4346           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
4347           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
4348           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
4349           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
4350
4351         * BufferView_pimpl.C (dispatch):
4352         * LyXAction.C (init):
4353         * factory.C (createInset):
4354         * lyxfunc.C (getStatus, dispatch):
4355         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
4356
4357 2003-02-21  Angus Leeming  <leeming@lyx.org>
4358
4359         * BufferView_pimpl.C (MenuInsertLyXFile):
4360         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
4361         * lyxfunc.C (menuNew, open, doImport):
4362           no longer pass a LyXView & to fileDlg.
4363
4364 2003-02-21  Angus Leeming  <leeming@lyx.org>
4365
4366         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
4367         * LyXAction.C: change, BIBKEY to BIBITEM.
4368         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
4369         Change InsetBibKey to InsetBibitem.
4370         Change BIBKEY_CODE to BIBITEM_CODE.
4371         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
4372         * factory.C: replace insetbib.h with insetbibitem.h.
4373         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
4374         * paragraph.C: replace insetbib.h with insetbibitem.h.
4375         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
4376         Change bibkey() to bibitem().
4377         * text.C: remove insetbib.h.
4378         * text2.C: replace insetbib.h with insetbibitem.h.
4379         change bibkey() to bibitem().
4380         * text3.C: remove insetbib.h.
4381         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
4382
4383 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4384
4385         * lyxrc.C (output): enclose user email in quotes (in case there are
4386         several words)
4387
4388 2003-02-18  John Levon  <levon@movementarian.org>
4389
4390         * buffer.h: add std::
4391
4392 2003-02-17  John Levon  <levon@movementarian.org>
4393
4394         * SpellBase.h:
4395         * ispell.h:
4396         * ispell.C:
4397         * pspell.h:
4398         * pspell.C: reworking. Especially in ispell, a large
4399           number of clean ups and bug fixes.
4400
4401         * lyxfunc.C: fix revert to behave sensibly
4402
4403 2003-02-17 André Pönitz <poenitz@gmx.net>
4404
4405         * LyXAction.C:
4406         * commandtags.h: new LFUN_INSERT_BIBKEY
4407
4408         * layout.h:
4409         * lyxlayout.C:
4410         * buffer.C:
4411         * factory.C:
4412         * text.C:
4413         * text2.C:
4414         * text3.C:
4415         * paragraph.[Ch]:
4416         * paragraph_func.C: remove special bibkey handling
4417
4418 2003-02-17  John Levon  <levon@movementarian.org>
4419
4420         * text.C (Delete): fix case where delete at the end of
4421           the very first paragraph would not merge the pars
4422
4423 2003-02-17  John Levon  <levon@movementarian.org>
4424
4425         * lyxrow.C: fix lastPrintablePos()
4426
4427 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4428
4429         * bufferparams.C (writeLaTeX): add a std:here
4430
4431         * buffer.C: and remove a using directive there
4432
4433 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4434
4435         * buffer.C (makeLaTeXFile): move the code that generates the
4436           preamble...
4437
4438         * bufferparams.C (writeLaTeX): ... in this new method
4439
4440         * LaTeXFeatures.C (getEncodingSet): make const
4441           (getLanguages): make const
4442
4443         * MenuBackend.C (binding): returns the binding associated to this
4444           action
4445           (add): sets the status of each item by calling getStatus. Adds
4446           some intelligence.
4447           (read): add support for OptSubMenu
4448           (expand): remove extra separator at the end of expanded menu
4449
4450 2003-02-15  John Levon  <levon@movementarian.org>
4451
4452         * BufferView.C:
4453         * BufferView_pimpl.C:
4454         * bufferlist.h:
4455         * bufferlist.C: remove pointless BufferStorage bloat. Remove
4456           inset code that had no actual effect. Remove unneeded status
4457           code.
4458
4459 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4460
4461         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
4462           in preamble
4463
4464 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
4465
4466         * text.C (drawLengthMarker): also draw an arrow marker for
4467           symbolic lengths (medskip...)
4468
4469 2003-02-14  John Levon  <levon@movementarian.org>
4470
4471         * tabular.h:
4472         * tabular.C: better method names
4473
4474 2003-02-14  John Levon  <levon@movementarian.org>
4475
4476         * BufferView_pimpl.C:
4477         * bufferlist.C:
4478         * buffer.C:
4479         * converter.C:
4480         * lyx_cb.C:
4481         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
4482           it's a more accurate name. Remove some pointless uses.
4483
4484 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4485
4486         * text2.C (LyXText): change order of initilizers to shut off
4487           warnings
4488
4489 2003-02-14  John Levon  <levon@movementarian.org>
4490
4491         * buffer.C: use ParIterator for getParFromID()
4492
4493         * paragraph.h:
4494         * paragraph.C:
4495         * paragraph_pimpl.h:
4496         * paragraph_pimpl.C: remove unused getParFromID()
4497
4498 2003-02-14  John Levon  <levon@movementarian.org>
4499
4500         * buffer.C: remove some very old #if 0'd parse code
4501
4502 2003-02-13  John Levon  <levon@movementarian.org>
4503
4504         * text.h:
4505         * text.C:
4506         * text2.C: move hfillExpansion(), numberOfSeparators(),
4507           rowLast(), rowLastPrintable(), numberofHfills(),
4508           numberOfLabelHfills() ...
4509
4510         * lyxrow.h:
4511         * lyxrow.C: ... to member functions here.
4512
4513         * paragraph.h:
4514         * paragraph.C:
4515         * lyxtext.h:
4516         * text.C: remove LyXText::beginningOfMainBody(), and call
4517           p->beginningOfMainBody() directly. Move the check for
4518           LABEL_MANUAL into the latter.
4519
4520         * text.h:
4521         * text.C:
4522         * text2.C:
4523         * vspace.C:
4524         * BufferView.h:
4525         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
4526
4527         * text.h:
4528         * text.C:
4529         * text2.C:
4530         * text3.C:
4531         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
4532           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
4533
4534 2003-02-13  John Levon  <levon@movementarian.org>
4535
4536         * CutAndPaste.C: remove debug
4537
4538 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4539
4540         * paragraph.C (asString): remove two unused variables
4541
4542         * lyxtextclass.C (readTitleType):
4543           (Read):
4544           (LyXTextClass): handle new members titletype_ and titlename_
4545
4546         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
4547
4548 2003-02-09  John Levon  <levon@movementarian.org>
4549
4550         * buffer.h:
4551         * buffer.C: replace hand-coded list with a map for the dep clean
4552
4553 2003-02-08  John Levon  <levon@movementarian.org>
4554
4555         * LaTeX.C: consolidate code into showRunMessage() helper
4556
4557 2003-02-08  John Levon  <levon@movementarian.org>
4558
4559         * lyxfind.C:
4560         * lyxtext.h:
4561         * text2.C:
4562         * BufferView.C: change setSelectionOverString() to setSelectionRange()
4563           and pass the size in explicitly
4564
4565         * BufferView_pimpl.h:
4566         * BufferView_pimpl.C:
4567         * BufferView.h:
4568         * BufferView.C: add getCurrentChange()
4569
4570         * BufferView_pimpl.h:
4571         * BufferView_pimpl.C: handle change lfuns
4572
4573         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
4574           for changes. Mark pasted paragraphs as new.
4575
4576         * support/lyxtime.h:
4577         * support/lyxtime.C:
4578         * DepTable.C: abstract time_t as lyx::time_type
4579
4580         * LColor.h:
4581         * LColor.C: add colours for new text, deleted text, changebars
4582
4583         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
4584           package use "usenames" option.
4585
4586         * commandtags.h:
4587         * lyxfunc.C:
4588         * LyXAction.C: add change lfuns
4589
4590         * Makefile.am:
4591         * author.h:
4592         * author.C: author handling
4593
4594         * buffer.h:
4595         * buffer.C: add a per-buffer author list, with first entry as
4596           current author. Handle new .lyx tokens for change tracking. Output
4597           author list to .lyx file. Output dvipost stuff to .tex preamble.
4598           Bump lyx format to 222.
4599
4600         * bufferlist.h:
4601         * bufferlist.C: add setCurrentAuthor() to reset current author details
4602           in all buffers.
4603
4604         * bufferparams.h:
4605         * bufferparams.C: add param for tracking
4606
4607         * bufferview_funcs.C: output change info in minibuffer
4608
4609         * Makefile.am:
4610         * changes.h:
4611         * changes.C: add change-tracking structure
4612
4613         * debug.h:
4614         * debug.C: add CHANGES debug flag
4615
4616         * lyxfind.h:
4617         * lyxfind.C: add code for finding the next change piece
4618
4619         * lyxrc.h:
4620         * lyxrc.C: add user_name and user_email
4621
4622         * lyxrow.h:
4623         * lyxrow.C: add a metric for the top of the text line
4624
4625         * lyxtext.h:
4626         * text.C: implement accept/rejectChange()
4627
4628         * lyxtext.h:
4629         * text.C: paint changebars. Paint new/deleted text in the chosen
4630         colours. Strike through deleted text.
4631
4632         * paragraph.h:
4633         * paragraph.C:
4634         * paragraph_pimpl.h:
4635         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
4636           in the current change to the insert functions. Rework erase to
4637           mark text as deleted, adding an eraseIntern() and a range-based
4638           erase(). Implement per-paragraph change lookup and
4639           accept/reject.
4640
4641         * paragraph_funcs.C: Fixup paste for change tracking.
4642
4643         * tabular.C: mark added row/columns as new.
4644
4645         * text.C: fix rowLast() to never return -1. Don't allow
4646           spellchecking of deleted text. Track transpose changes. Don't
4647           allow paragraph break or merge where appropriate.
4648
4649         * text2.C: leave cursor at end of selection after a cut.
4650
4651 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4652
4653         * text.C (getLengthMarkerHeight):
4654         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
4655         visible on screen too.
4656
4657 2003-02-07  John Levon  <levon@movementarian.org>
4658
4659         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
4660
4661 2003-02-05  Angus Leeming  <leeming@lyx.org>
4662
4663         * lyxserver.C (read_ready): revert my patch of 11 September last year
4664         as it sends PC cpu through the roof. Presumably this means that
4665         the lyxserver will no longer run on an Alpha...
4666
4667 2003-01-30  Angus Leeming  <leeming@lyx.org>
4668
4669         * factory.C (createInset): create an InsetCommandParam of type "index"
4670         and use it to 'do the right thing'.
4671
4672         * text2.C (getStringToIndex): ensure that cursor position is always
4673         reset to the reset_cursor position.
4674
4675 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4676
4677         * lyxfunc.C (getStatus): "buffer-export custom" should never be
4678         disabled.
4679
4680 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
4681
4682         * bufferview.C:
4683         * lyxcb.C:
4684         * lyxfunc.C: Output messages with identical spelling, punctuation,
4685         and spaces
4686
4687 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
4688
4689         * MenuBackend.C (expandFormats): List only viewable export formats
4690         in "View" menu
4691
4692         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
4693         message
4694
4695         * lyxfunc.C (getStatus): Make sure that formats other than
4696         "fax" can also be disabled
4697
4698 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4699
4700         * text3.C (dispatch): put the lfuns that insert insets in 3
4701         groups, and call doInsertInset with appropriate arguments.
4702         (doInsertInset): new function, that creates an inset and inserts
4703         it according to some boolean parameters.
4704
4705 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4706
4707         * buffer.C (readFile): remember to pass on 'par' when calling
4708         readFile recursively.
4709
4710 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4711
4712         * MenuBackend.C (expandFormats): add "..." to import formats.
4713
4714 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
4715
4716         * paragraph.C (asString): Remove XForms RTL hacks.
4717
4718 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
4719         * buffer.C: fix typo
4720
4721 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
4722
4723         * Makefile.am (LIBS): delete var
4724         (lyx_LDADD): add @LIBS@ here instead.
4725
4726 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
4727
4728         * Clarify the meaning of "wheel mouse jump"
4729
4730 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4731
4732         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
4733         tabular in a float
4734
4735 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4736
4737         * importer.C (Loaders): do not preallocate 3 elements in the
4738         vector, since one ends up with 6 elements otherwise
4739
4740 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4741
4742         * DepTable.C (write): write the file name as last element of the
4743         .dep file (because it may contain spaces)
4744         (read): read info in the right order
4745
4746 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4747
4748         * paragraph_pimpl.C (simpleTeXBlanks):
4749         (simpleTeXSpecialChars):
4750         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
4751
4752         * tabular.C (latex): add some missing case statements. Reindent.
4753
4754         * MenuBackend.C (expandToc): remove unused variable.
4755
4756 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
4757
4758         * LColor.C:
4759         * LaTeX.C:
4760         * LyXAction.C:
4761         * MenuBackend.C:
4762         * buffer.C:
4763         * exporter.C:
4764         * lyxfunc.C:
4765         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
4766         and the like.
4767
4768 2003-01-05  John Levon  <levon@movementarian.org>
4769
4770         * BufferView.h:
4771         * BufferView.C: add getEncoding()
4772
4773         * kbsequence.h:
4774         * kbsequence.C: do not store last keypress
4775
4776         * lyxfunc.h:
4777         * lyxfunc.C: store last keypress here instead. Pass encoding
4778           to getISOEncoded()
4779
4780 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4781
4782         * lyx_main.C (init): remove annoying error message when following
4783         symbolic links (bug #780)
4784
4785 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4786
4787         * text.C (insertChar):
4788         * lyxrc.C (getDescription): remove extra spaces
4789
4790 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4791
4792         * lyxrc.C (getDescription): remove extra spaces
4793
4794 2002-12-20  John Levon  <levon@movementarian.org>
4795
4796         * text3.C: hack fix for page up/down across tall rows
4797
4798 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4799
4800         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
4801         not been invoked
4802
4803 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4804
4805         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
4806         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
4807         thesaurus is not compiled in
4808
4809 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
4810
4811         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
4812
4813 2002-12-16  Angus Leeming  <leeming@lyx.org>
4814
4815         * lyxrc.[Ch]:
4816         * lyx_main.C (init): remove override_x_deadkeys stuff.
4817
4818 2002-12-12  John Levon  <levon@movementarian.org>
4819
4820         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
4821           insert. Only remove shift modifier under strict
4822           circumstances.
4823
4824 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
4825
4826         * MenuBackend.C (expandToc): fix crash.
4827
4828 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
4829
4830         * MenuBackend.C (expandToc): gettext on float names.
4831
4832 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4833
4834         * lyxlength.[Ch]: set default unit to UNIT_NONE,
4835         implement bool empty() [bug 490]
4836
4837 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4838
4839         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
4840
4841 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4842
4843         * several files: ws changes
4844
4845 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4846
4847         * text2.C (setCounter): clean up a bit, use boost.format.
4848         (updateCounters): initialize par upon declaration.
4849
4850         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
4851         if the layout exists. We do not just store the layout any more.
4852         (SwitchLayoutsBetweenClasses): use boost.format
4853
4854 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4855
4856         * converter.C (convert): if from and to files are the same, use a
4857         temporary files as intermediary
4858
4859 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4860
4861         * commandtags.h:
4862         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
4863
4864 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
4865
4866         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
4867
4868 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4869
4870         * tabular.C (asciiPrintCell): use string(size, char) instead of
4871         explicit loop.
4872
4873         * sgml.C (openTag): fix order of arguments to string constructor
4874         (closeTag): ditto
4875
4876         * lyxfunc.C (dispatch): use boost.format
4877
4878         * lots of files: change "c" -> 'c'
4879
4880 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
4881
4882         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
4883
4884 2002-11-25  Angus Leeming  <leeming@lyx.org>
4885
4886         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
4887
4888         * lyx_main.C (init): compile fix.
4889
4890 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4891
4892         * lyx_cb.C (start): boost.formatify
4893         do not include <iostream>
4894
4895         * lengthcommon.C: ws only
4896
4897         * boost-inst.C,BoostFormat.h: add more explict instantations
4898
4899 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
4900
4901         * lots of files: handle USE_BOOST_FORMAT
4902
4903 2002-11-21  John Levon  <levon@movementarian.org>
4904
4905         * pspell.C: fix compile
4906
4907 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4908
4909         * lyxfunc.C (dispatch): use boost::format
4910         (open): ditto
4911         (doImport): ditto
4912
4913         * lyxfont.C (stateText): use boost::format
4914
4915         * lyx_main.C (LyX): use boost::format
4916         (init): ditto
4917         (queryUserLyXDir): ditto
4918         (readRcFile): ditto
4919         (parse_dbg): ditto
4920         (typedef boost::function): use the recommened syntax.
4921
4922         * importer.C (Import): use boost::format
4923
4924         * debug.C (showLevel): use boost::format
4925
4926         * converter.C (view): use boost::format
4927         (convert): ditto
4928         (move): ditto
4929         (scanLog): ditto
4930
4931         * bufferview_funcs.C (currentState): use boost::format
4932
4933         * bufferlist.C (emergencyWrite): use boost::format
4934
4935         * buffer.C (readLyXformat2): use boost::format
4936         (parseSingleLyXformat2Token): ditto
4937
4938         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
4939
4940         * LaTeX.C (run): use boost::format
4941
4942         * Chktex.C (scanLogFile): use boost::format
4943
4944         * BufferView_pimpl.C (savePosition): use boost::format
4945         (restorePosition): ditto
4946         (MenuInsertLyXFile): ditto
4947
4948         * BoostFormat.h: help file for explicit instation.
4949
4950 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
4951
4952         * tabular.C (latex): Support for block alignment in fixed width
4953         columns.
4954
4955 2002-11-17  John Levon  <levon@movementarian.org>
4956
4957         * BufferView_pimpl.C:
4958         * lyx_cb.C:
4959         * lyxfunc.C: split filedialog into open/save
4960
4961 2002-11-08  Juergen Vigna  <jug@sad.it>
4962
4963         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
4964         by my last patch (hopefully).
4965
4966 2002-11-08  John Levon  <levon@movementarian.org>
4967
4968         * iterators.h:
4969         * iterators.C:
4970         * buffer.h:
4971         * buffer.C:
4972         * paragraph.h:
4973         * paragraph.C:
4974         * toc.h:
4975         * toc.C: ParConstIterator, and use it (from Lars)
4976
4977 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
4978
4979         * lyxtextclass.[Ch]: revise and add doxygen comments
4980
4981 2002-11-07  John Levon  <levon@movementarian.org>
4982
4983         * text.C: fix progress value for spellchecker
4984
4985         * toc.C: fix navigate menu for insetwrap inside minipage
4986
4987         * paragraph_funcs.C: added FIXME for suspect code
4988
4989 2002-11-07  John Levon  <levon@movementarian.org>
4990
4991         * BufferView_pimpl.C: fix redrawing of insets
4992           on buffer switch
4993
4994 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4995
4996         * text2.C (updateCounters): fix bug 668
4997
4998 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
4999
5000         * text3.C (dispatch): Do not make the buffer dirty when moving the
5001         cursor.
5002
5003 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5004
5005         * vc-backend.C: STRCONV
5006         (scanMaster): ditto
5007
5008         * text2.C (setCounter): STRCONV
5009
5010         * paragraph.C (asString): STRCONV
5011
5012         * lyxlength.C (asString): STRCONV
5013         (asLatexString): ditto
5014
5015         * lyxgluelength.C (asString): STRCONV
5016         (asLatexString): ditto
5017
5018         * lyxfunc.C (dispatch): STRCONV
5019         (open): ditto
5020
5021         * lyxfont.C (stateText): STRCONV
5022
5023         * importer.C (Import): STRCONV
5024
5025         * counters.C (labelItem): STRCONV
5026         (numberLabel): ditto
5027         (numberLabel): remove unused ostringstream o
5028
5029         * chset.C: STRCONV
5030         (loadFile): ditto
5031
5032         * bufferview_funcs.C (currentState): STRCONV
5033
5034         * buffer.C (readFile): STRCONV
5035         (asciiParagraph): ditto
5036         (makeLaTeXFile): ditto
5037
5038         * Spacing.C (writeEnvirBegin): STRCONV
5039
5040         * LaTeXFeatures.C (getLanguages): STRCONV
5041         (getPackages): ditto
5042         (getMacros): ditto
5043         (getBabelOptions): ditto
5044         (getTClassPreamble): ditto
5045         (getLyXSGMLEntities): ditto
5046         (getIncludedFiles): ditto
5047
5048         * LaTeX.C: STRCONV
5049         (run): ditto
5050         (scanAuxFile): ditto
5051         (deplog): ditto
5052
5053         * LString.h: add the STRCONV macros
5054
5055         * BufferView_pimpl.C (savePosition): STRCONV
5056         (restorePosition): ditto
5057         (MenuInsertLyXFile): ditto
5058
5059         * vc-backend.C (scanMaster): change from submatch[...] to
5060         submatch.str(...)
5061
5062         * funcrequest.C: include config.h
5063
5064         * factory.C: include config.h
5065
5066         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
5067
5068         * box.C: include config.h
5069
5070         * LaTeX.C (scanAuxFile): change from submatch[...] to
5071         submatch.str(...)
5072         (deplog): ditto
5073
5074 2002-10-25  Angus Leeming  <leeming@lyx.org>
5075
5076         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
5077
5078         * ispell.[Ch] (setError): new method.
5079         * ispell.C (c-tor): move out child process into new class LaunchIspell.
5080         Use setError() insetead of goto END.
5081
5082         * lyx_cb.C (AutoSave): move out child process into new class
5083         AutoSaveBuffer.
5084
5085 2002-10-30  John Levon  <levon@movementarian.org>
5086
5087         * text3.C: make start appendix undoable
5088
5089 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
5090
5091         * lyxlength.C (inPixels): Fix returned value.
5092
5093         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
5094         environment.
5095
5096 2002-10-24  Angus Leeming  <leeming@lyx.org>
5097
5098         * lyxgluelength.h: no need to forward declare BufferParams
5099         or BufferView, so don't.
5100
5101 2002-10-21  John Levon  <levon@movementarian.org>
5102
5103         * BufferView.C: menuUndo ->undo, redo
5104
5105         * BufferView.h: document, remove dead, make some methods private
5106
5107         * paragraph_funcs.h:
5108         * paragraph_funcs.C:
5109         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
5110
5111         * buffer.h:
5112         * buffer.C:
5113         * sgml.h:
5114         * sgml.C: move sgml open/close tag into sgml.C
5115
5116         * bufferview_funcs.h: unused prototype
5117
5118         * lyxfunc.h:
5119         * lyxfunc.C: remove unused
5120
5121         * lyxtext.h:
5122         * text.C: remove unused
5123
5124 2002-10-21  John Levon  <levon@movementarian.org>
5125
5126         * BufferView.h:
5127         * BufferView.C:
5128         * BufferView_pimpl.h:
5129         * BufferView_pimpl.C: fix mouse wheel handling based on
5130           patch from Darren Freeman
5131
5132 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
5133
5134         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
5135
5136 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
5137
5138         * lyxlength.C (inPixels): Fix hanfling of negative length.
5139         Fix LyXLength::MU case.
5140
5141 2002-10-16  John Levon  <levon@movementarian.org>
5142
5143         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
5144
5145 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5146
5147         * converter.C (view): add support for $$i (file name) and $$p
5148         (file path) for the viewer command. If $$i is not specified, then
5149         it is appended to the command (for compatibility with old syntax)
5150
5151 2002-10-14  Juergen Vigna  <jug@sad.it>
5152
5153         * undo_funcs.C (textHandleUndo): alter the order in which the
5154         new undopar is added to the LyXText, as we have to set first
5155         the right prev/next and then add it as otherwise the rebuild of
5156         LyXText is not correct. Also reset the cursor to the right paragraph,
5157         with this IMO we could remove the hack in "redoParagraphs()".
5158
5159 2002-10-09  Angus Leeming  <leeming@lyx.org>
5160
5161         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
5162         to turn off an optimisation if a new inset is to be inserted.
5163
5164 2002-10-11 André Pönitz <poenitz@gmx.net>
5165
5166         * lyxtext.h: make some functions public to allow access
5167         from inset/lyxtext for handling LFUN_PRIOR/NEXT
5168
5169 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5170
5171         * text3.C (dispatch): when changing layout, avoid an infinite loop
5172         [bug #652]
5173
5174 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5175
5176         * lyxrc.C (read): treat a viewer or converter command of "none" as
5177         if it were empty.
5178
5179         * MenuBackend.C (expandFormats): for an update, also allow the
5180         formats that are not viewable
5181
5182         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
5183         script if it is newer than the lyxrc.defaults in user directory
5184
5185 2002-10-07 André Pönitz <poenitz@gmx.net>
5186
5187         * text.C: Vitaly Lipatov's small i18n fix
5188
5189 2002-09-25  Angus Leeming  <leeming@lyx.org>
5190
5191         * ispell.h: doxygen fix.
5192
5193 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
5194
5195         * buffer.h (readFile): Add a new argument to the method, to allow
5196         reading of old-format templates.
5197
5198 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
5199
5200         * toc.C (getTocList): Get TOC from InsetWrap.
5201
5202 2002-09-16  John Levon  <levon@movementarian.org>
5203
5204         * lyxfunc.C: check tabular for cut/copy too
5205
5206 2002-09-12  John Levon  <levon@movementarian.org>
5207
5208         * LyXAction.C: tidy
5209
5210         * factory.h:
5211         * factory.C: add header
5212
5213         * paragraph_funcs.h:
5214         * paragraph_funcs.C: cleanup
5215
5216 2002-09-11  John Levon  <levon@movementarian.org>
5217
5218         * PrinterParams.h: odd/even default to true
5219
5220 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
5221
5222         * PrinterParams.h: update printer parameters for new xforms dialog
5223
5224 2002-09-11  Angus Leeming  <leeming@lyx.org>
5225
5226         * lyxserver.C (read_ready): re-write to make it more transparent
5227         and to make it work in coherent fashion under Tru64 Unix.
5228
5229 2002-09-11  André Pönitz <poenitz@gmx.net>
5230
5231         * commandtags.h:
5232         * LyXAction.C:
5233         * text3.C: implement LFUN_WORDSEL
5234
5235 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
5236
5237         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
5238         make floatlist_ a boost::shared_ptr<FloatList>
5239
5240         * lyxtextclass.C: include FloatList.h
5241         (LyXTextClass): initialize floatlist_
5242         (TextClassTags): add TC_NOFLOAT
5243         (Read): match "nofloat" to TC_NOFLOAT and use it.
5244         (readFloat): modify call to floatlist_
5245         (floats): ditto
5246         (floats): ditto
5247
5248         * FloatList.[Ch] (FloatList): remove commented out float
5249         initialization.
5250         (erase): new function
5251
5252 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5253
5254         * MenuBackend.C (expandToc): fix crash when there is no document
5255         open
5256
5257 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
5258
5259         * many files: Add insetwrap.
5260
5261 2002-09-09  John Levon  <levon@movementarian.org>
5262
5263         * text2.C: remove confusing and awkward depth wraparound
5264
5265 2002-09-09  John Levon  <levon@movementarian.org>
5266
5267         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
5268
5269         * buffer.h:
5270         * buffer.C: remove getIncludeonlyList()
5271
5272         * paragraph.C:
5273         * lyxfunc.C: remove headers
5274
5275 2002-09-09  Juergen Vigna  <jug@sad.it>
5276
5277         * text.C (getColumnNearX): fix form Michael this is most
5278         probably a cut&paste bug.
5279
5280 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5281
5282         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
5283
5284         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
5285         references, ws changes.
5286
5287         * text2.C (init): update counters after init
5288         (insertParagraph): no need to set counter on idividual paragraphs.
5289         (setCounter): access the counters object in the textclass object
5290         on in the buffer object.
5291         (updateCounters): ditto
5292
5293         * lyxtextclass.C: include counters.h, add variable ctrs_ as
5294         shared_ptr<Counters> to avoid loading counters.h in all
5295         compilation units.
5296         (LyXTextClass): initialize ctrs_
5297         (TextClassTags): add TC_COUNTER, and ...
5298         (Read): use it here.
5299         (CounterTags): new tags
5300         (readCounter): new function
5301         (counters): new funtion
5302         (defaultLayoutName): return a const reference
5303
5304         * counters.C (Counters): remove contructor
5305         (newCounter): remove a couple of unneeded statements.
5306         (newCounter): simplify a bit.
5307         (numberLabel): some small formatting changes.
5308
5309         * buffer.[Ch]: remove all traces of counters, move the Counters
5310         object to the LyXTextClass.
5311
5312 2002-09-06  Alain Castera  <castera@in2p3.fr>
5313
5314         * tabular.C: uses \tabularnewline; uses >{...} construct from array
5315         package to set the horizontal alignment on fixed width columns.
5316
5317         * lyx_sty.C:
5318         * lyx_sty.h: added tabularnewline macro def.
5319
5320         * LaTeXFeatures.C: added NeedTabularnewline macro feature
5321
5322 2002-09-06  John Levon  <levon@movementarian.org>
5323
5324         * LyXAction.C: tooltips for sub/superscript
5325
5326         * MenuBackend.C: a bit more verbose
5327
5328         * lyxfunc.C: tiny clean
5329
5330         * undo_funcs.C: document undo_frozen
5331
5332 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
5333
5334         * counters.C (Counters): add missing algorithm counter.
5335
5336         * text2.C (setCounter): lookup the counter with layouts latexname
5337         instead of by section number.
5338         (setCounter): use a hackish way to lookup the correct enum
5339         counter.
5340         a float name->type change
5341         reset enum couners with counter name directly instead of depth value.
5342
5343         * counters.C (Counters): remove the push_backs, change to use the
5344         float type not the float name.
5345         (labelItem): remove unused string, float name->type change
5346
5347         * counters.h: don't include vector, loose the enums and sects vectors
5348
5349 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5350
5351         * lyxtextclass.C (TextClassTags): add TC_FLOAT
5352         (Read): add float->TC_FLOAT to textclassTags
5353         (Read): and handle it in the switch
5354         (readFloat): new function
5355
5356         * FloatList.C (FloatList): comment out the hardcoded float
5357         definitions.
5358
5359         * lyxlayout.h: ws change.
5360
5361 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
5362
5363         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
5364
5365 2002-09-03  Angus Leeming  <leeming@lyx.org>
5366
5367         * BufferView_pimpl.h: qualified name is not allowed in member
5368         declaration: WorkArea & Pimpl::workarea() const;
5369
5370         * factory.C: added using std::endl directive.
5371
5372         * text3.C: added using std::find and std::vector directives.
5373
5374 2002-08-29  André Pönitz <poenitz@gmx.net>
5375
5376         * lyxtext.h:
5377         * text2.C: remove unused member number_of_rows
5378
5379         * Makefile.am:
5380         * BufferView2.C: remove file, move contents to...
5381         * BufferView.C: ... here
5382
5383         * BufferView_pimpl.C:
5384         * factory.C: move more inset creation to factory
5385
5386         * vspace.C: avoid direct usage of LyXText, ws changes
5387
5388         * BufferView.[Ch]:
5389                 don't provide direct access to WorkArea, use two simple
5390                 acessors haveSelction() and workHeight() instead
5391
5392
5393 2002-08-29  John Levon  <levon@movementarian.org>
5394
5395         * BufferView_pimpl.C (dispatch): do not continue when
5396           no buffer
5397
5398 2002-08-28  André Pönitz <poenitz@gmx.net>
5399
5400         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
5401
5402         * BufferView.h:
5403         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
5404
5405 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
5406
5407         * buffer.C: increment LYX_FORMAT to 221
5408
5409         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
5410         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
5411
5412         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
5413
5414         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
5415
5416 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5417
5418         * factory.C (createInset): use LyXTextClass::floats
5419
5420         * MenuBackend.C (expandFloatListInsert):
5421         (expandFloatInsert):
5422         (expandToc):
5423
5424         * text2.C (setCounter):
5425
5426         * LaTeXFeatures.C (useFloat):
5427         (getFloatDefinitions):
5428
5429         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
5430
5431         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
5432         floatlist_, with accessor floats().
5433
5434         * FloatList.h: remove global FloatList
5435
5436 2002-08-26  André Pönitz <poenitz@gmx.net>
5437
5438         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
5439
5440         * BufferView.h:
5441         * BufferView2.C:
5442         * BufferView_pimpl.C:
5443         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
5444
5445 2002-08-25  John Levon  <levon@movementarian.org>
5446
5447         * LyXAction.C: fix margin note description
5448
5449 2002-08-24  John Levon  <levon@movementarian.org>
5450
5451         * buffer.C:
5452         * bufferlist.C:
5453         * bufferview_funcs.C:
5454         * lyxfont.C:
5455         * undo_funcs.C: cleanups
5456
5457         * lyxfunc.C: disable CUT/COPY when no selection
5458
5459 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
5460
5461         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
5462         in "enum UNIT"; e.g. PTW for Percent of TextWidth
5463
5464         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
5465         Add backward compatibility to "mono", "gray" and "no".
5466
5467 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
5468
5469         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
5470         (and file_format >= 200).
5471
5472 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5473
5474         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
5475
5476 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5477
5478         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
5479
5480 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
5481
5482         * BufferView_pimpl.C:
5483         * LyXAction.C:
5484         * buffer.C:
5485         * commandtags.h:
5486         * lyxfunc.C:
5487         * paragraph.[Ch]:
5488         * text2.C:
5489         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
5490         inset and code to make it  work with the paragraph code. The inset
5491         can be anywhere in the paragraph, but will only do the expected
5492         thing in LaTeX if the layout file contains the parameter line
5493                         OptionalArgs    1
5494         (or more generally, a nonzero value) for that layout.
5495
5496 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5497
5498         * paragraph.h: remove the declaration of undefined counters class
5499         function.
5500
5501 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
5502
5503         * text2.C (setCounter):  fixed enumeration mis-count as reported by
5504         Dr. Richard Hawkins.
5505
5506 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5507
5508         * paragraph_funcs.h: remove some unneeded includes
5509
5510         * text.C (backspace): pasteParagraph now in global scipe
5511
5512         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
5513         (pasteSelection): ditto
5514
5515         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
5516         * paragraph_funcs.C (pasteParagraph): ... here
5517
5518 2002-08-20  André Pönitz <poenitz@gmx.net>
5519
5520         * commandtags.h: new LFUNs for swapping/copying table row/colums
5521
5522         * LyXAction.C:
5523         * lyxfunc.C: support for new lfuns
5524
5525 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
5526
5527         * tabular.C:
5528         * buffer.[Ch]: remove NO_COMPABILITY stuff
5529
5530 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
5531
5532         * boost.C (throw_exception): new file, with helper function for
5533         boost compiled without exceptions.
5534
5535         * paragraph.h:
5536         * lyxlength.C:
5537         * buffer.C:
5538         * ParameterStruct.h:
5539         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
5540
5541         * bufferlist.C (emergencyWriteAll): use boost bind
5542
5543         * BufferView_pimpl.C (moveCursorUpdate): remove inline
5544
5545         * text.C: include paragraph_funcs.h
5546         (breakParagraph): breakParagraph is now in global scope
5547
5548         * paragraph_funcs.[Ch]: new files
5549
5550         * paragraph.C (breakParagraph,breakParagraphConservative): move to
5551         global scope
5552
5553         * buffer.C: include paragraph_funcs.h
5554         (insertStringAsLines): breakParagraph is now in global scope
5555
5556         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
5557         paragraph_funcs.C
5558
5559         * CutAndPaste.C: include paragraph_funcs.h
5560         (cutSelection): breakParagraphConservative is now in global scope
5561         (pasteSelection): ditto
5562
5563         * buffer.h: declare oprator== and operator!= for
5564         Buffer::inset_iterator
5565
5566         * bufferlist.C (emergencyWrite): don't use fmt(...)
5567
5568         * text3.C: add using std::endl
5569
5570         * BufferView.C (moveCursorUpdate): remove default arg
5571
5572 2002-08-20  André Pönitz <poenitz@gmx.net>
5573
5574         * buffer.[Ch]: move inline functions to .C
5575
5576         * BufferView2.C:
5577         * BufferView_pimpl.C:
5578         * text.C:
5579         * buffer.[Ch]: use improved inset_iterator
5580
5581         * buffer.C:
5582         * paragraph.[Ch]: write one paragraph at a time
5583
5584 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
5585
5586         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
5587         style if style is not specified.
5588
5589 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5590
5591         * text2.C (setCounter): when searching for right label for a
5592         caption, make sure to recurse to parent insets (so that a caption
5593         in a minipage in a figure float works) (bug #568)
5594
5595 2002-08-20  André Pönitz <poenitz@gmx.net>
5596
5597         * text3.C: new file for LyXText::dispatch() and helpers
5598
5599         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
5600
5601         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
5602
5603 2002-08-19  André Pönitz <poenitz@gmx.net>
5604
5605         * lyxtext.h:
5606         * text.C: new LyXText::dispatch()
5607
5608         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
5609
5610 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
5611
5612         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
5613
5614         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
5615         Hebrew text.
5616
5617 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5618
5619         * Makefile.am: use $(variables) instead of @substitutions@
5620
5621 2002-08-15  André Pönitz <poenitz@gmx.net>
5622
5623         * lyxfunc.C:
5624         * BufferView_pimpl.C: streamlining mathed <-> outer world
5625         interaction
5626
5627         * commandtags.h:
5628         * LyXAction.C: remove unused LFUN_MATH
5629
5630 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5631
5632         * paragraph.[Ch]: add some NO_NEXT ifdefs.
5633
5634 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5635
5636         * paragraph.C (Paragraph): reformat a bit
5637         (cutIntoMinibuffer): use builtin InsetList function instad of
5638         doing it manually.
5639         (getInset): ditto
5640
5641         * buffer.C: include boost/bind.hpp, add using std::for_each
5642         (writeFileAscii): use ParagraphList iterators
5643         (validate): use for_each for validate traversal of paragraphs
5644         (getBibkeyList): use ParagraphList iterators
5645         (resizeInsets): use for_each to resizeInsetsLyXText for all
5646         paragraphs.
5647         (getParFromID): use ParagraphList iterators
5648
5649         * BufferView2.C (lockInset): use paragraph list and iterators
5650
5651 2002-08-14  John Levon  <levon@movementarian.org>
5652
5653         * lyxserver.C: remove spurious xforms include
5654
5655 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5656
5657         * lyxfunc.C (getStatus): disable math-extern outside of math mode
5658
5659 2002-08-13  André Pönitz <poenitz@gmx.net>
5660
5661         * LyXAction.[Ch]:
5662         * lyxfunc.C: further cleaning
5663
5664 2002-08-13  André Pönitz <poenitz@gmx.net>
5665
5666         * funcrequest.h: new constructor
5667
5668         * funcrequest.C: move stuff here from .h
5669
5670         * Makefile.am:
5671         * BufferView_pimpl.C:
5672         * LyXAction.C:
5673         * toc.C:
5674         * lyxfunc.C: subsequent changes
5675
5676         * lyxfunc.h: new view() member function
5677
5678         * lyxfunc.C: subsequent changes
5679
5680 2002-08-13  Angus Leeming  <leeming@lyx.org>
5681
5682         * BufferView2.C:
5683         * BufferView_pimpl.C:
5684         * buffer.C:
5685         * converter.C:
5686         * importer.C:
5687         * lyxfunc.C:
5688         * lyxvc.C:
5689         * toc.C:
5690         * vc-backend.C:
5691         changes due to the changed LyXView interface that now returns references
5692         to member variables not pointers.
5693
5694 2002-08-13  Angus Leeming  <leeming@lyx.org>
5695
5696         * WordLangTuple (word, lang_code): return references to strings,
5697         not strings.
5698
5699         * BufferView.h:
5700         * SpellBase.h:
5701         * lyxtext.h: forward-declare WordLangTuple.
5702
5703         * BufferView2.C:
5704         * ispell.C:
5705         * pspell.C:
5706         * text.C: #include "WordLangTuple.h".
5707
5708         * lyxtext.h:
5709         * text.C: (selectNextWordToSpellcheck): constify return type.
5710
5711 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
5712
5713         * buffer.C:
5714         * buffer.h:
5715         * lyxtext.h:
5716         * paragraph.C:
5717         * paragraph_pimpl.h:
5718         * text.C:
5719         * text2.C:
5720         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
5721         suggested by Angus.
5722         Made updateCounter always count from start of buffer, and removed
5723         second argument (par).
5724         Reverted floats number display to '#'. Perhaps I'll try again when the
5725         code base is sanitized a bit.
5726
5727 2002-08-12  Angus Leeming  <leeming@lyx.org>
5728
5729         * buffer.[Ch] (getLabelList): constify.
5730
5731 2002-08-07  André Pönitz <poenitz@gmx.net>
5732
5733         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
5734
5735         * funcrequest.h: extension to keep mouse (x,y) position
5736
5737 2002-08-12  Juergen Vigna  <jug@sad.it>
5738
5739         * BufferView2.C (insertErrors): forbid undo when inserting error
5740         insets.
5741
5742         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
5743
5744 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
5745
5746         * ParagraphList.[Ch]: new files
5747
5748         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
5749
5750         * BufferView2.C (lockInset): ParagraphList changes
5751         * toc.C: ditto
5752         * text2.C: ditto
5753         * bufferlist.C: ditto
5754         * buffer.h: ditto
5755         * buffer.C: ditto
5756
5757 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
5758
5759         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
5760         unused class variable counter_,
5761
5762         * paragraph.[Ch] (getFirstCounter): delete unused function
5763
5764         * counters.C: include LAssert.h
5765         (reset): add a new function with no arg, change other version to
5766         not have def. arg and to not allow empty arg.
5767
5768         * text2.C (setCounter): remove empty arg from call to Counters::reset
5769
5770 2002-08-11  John Levon  <levon@movementarian.org>
5771
5772         * Makefile.am: add WordLangTuple.h
5773
5774 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
5775
5776         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
5777         lyxfunc.C lyxlex_pimpl.C: ws changes only.
5778
5779         * insets/insettext.C: InsetList changes
5780
5781         * graphics/GraphicsSupport.C (operator()): InsetList changes
5782
5783         * toc.C (getTocList): InsetList changes
5784
5785         * paragraph_pimpl.[Ch]: InsetList changes
5786
5787         * paragraph.[Ch]: InsetList changes
5788
5789         * buffer.C (inset_iterator): InsetList changes
5790         (setParagraph): ditto
5791         * buffer.h (inset_iterator): ditto
5792         * iterators.C (operator++): ditto
5793         * iterators.h: ditto
5794
5795         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
5796
5797         * InsetList.[Ch]: new files, most InsetList handling moved out of
5798         paragraph.C.
5799
5800         * BufferView2.C (removeAutoInsets): InsetList changes
5801         (lockInset): ditto
5802         (ChangeInsets): ditto
5803
5804 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
5805
5806         * paragraph_pimpl.h (empty): new function
5807
5808         * paragraph.[Ch] (empty): new function
5809
5810         * other files: use the new Paragraph::empty function
5811
5812 2002-08-09  John Levon  <levon@movementarian.org>
5813
5814         * lyxtext.h: remove unused refresh_height
5815
5816 2002-08-09  John Levon  <levon@movementarian.org>
5817
5818         * Makefile.am:
5819         * sgml.h:
5820         * sgml.C:
5821         * buffer.C:
5822         * paragraph.h:
5823         * paragraph.C: move sgml char escaping out of paragraph
5824
5825         * paragraph.h:
5826         * paragraph.C: remove id setter
5827
5828         * buffer.C:
5829         * paragraph.C:
5830         * paragraph_pimpl.C: remove dead tex_code_break_column
5831
5832         * bufferview_funcs.C: small cleanup
5833
5834         * lyxfunc.C: remove dead proto
5835
5836         * lyxtext.h: make some stuff private. Remove some dead stuff.
5837
5838         * lyxgluelength.C: make as[LyX]String() readable
5839
5840 2002-08-08  John Levon  <levon@movementarian.org>
5841
5842         * LyXAction.h:
5843         * LyXAction.C:
5844         * MenuBackend.C:
5845         * ToolbarDefaults.C:
5846         * lyxfunc.C:
5847         * lyxrc.C:
5848         * toc.C: lyxaction cleanup
5849
5850 2002-08-08  John Levon  <levon@movementarian.org>
5851
5852         * BufferView2.C: small cleanup
5853
5854         * lyxfind.h:
5855         * lyxfind.C: move unnecessary header into the .C
5856
5857 2002-08-08  John Levon  <levon@movementarian.org>
5858
5859         * funcrequest.h: just tedious nonsense
5860
5861         * lyx_main.h:
5862         * lyx_main.C: cleanups
5863
5864         * buffer.C:
5865         * vspace.C: remove dead header lyx_main.h
5866
5867 2002-08-07  Angus Leeming  <leeming@lyx.org>
5868
5869         * Paragraph.[Ch]:
5870         * paragraph_pimpl.h:
5871         Forward declare class Counters in paragraph.h by moving the ctrs member
5872         variable into Paragraph::Pimpl.
5873         (counters): new method, returning a reference to pimpl_->ctrs.
5874
5875         * text2.C: ensuing changes.
5876
5877 2002-08-07  John Levon  <levon@movementarian.org>
5878
5879         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
5880
5881         * BufferView_pimpl.C: announce X selection on double/triple
5882           click
5883
5884         * lyx_main.C: use correct bool in batch dispatch
5885
5886         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
5887
5888 2002-08-07  André Pönitz <poenitz@gmx.net>
5889
5890         * funcrequest.h: new class to wrap a kb_action and its argument
5891
5892         * BufferView.[Ch]:
5893         * BufferView_pimpl[Ch]:
5894         * LaTeX.C:
5895         * LyXAction.[Ch]:
5896         * lyxfunc.[Ch]:
5897         * lyxrc.C: subsequent changes
5898
5899
5900 2002-08-07  John Levon  <levon@movementarian.org>
5901
5902         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
5903           document options change.
5904
5905 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
5906
5907         * counters.[Ch]
5908         * text2.C
5909         * paragraph.[Ch]
5910         * makefile.am: move counters functionality over from
5911         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
5912
5913 2002-08-06  John Levon  <levon@movementarian.org>
5914
5915         * WordLangTuple.h: new file for word + language code tuple
5916
5917         * SpellBase.h:
5918         * pspell.h:
5919         * pspell.C:
5920         * ispell.h:
5921         * ispell.C:
5922         * lyxtext.h:
5923         * text.C:
5924         * text2.C:
5925         * BufferView.h:
5926         * BufferView2.C: use WordLangTuple
5927
5928         * layout.h:
5929         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
5930
5931 2002-08-06  John Levon  <levon@movementarian.org>
5932
5933         * lyx_main.C: fix cmdline batch handling
5934
5935 2002-08-06  André Pönitz <poenitz@gmx.net>
5936
5937         * lyxrc.C: set default for show_banner to true
5938
5939 2002-08-06  John Levon  <levon@movementarian.org>
5940
5941         * pspell.C: fix a crash, and allow new aspell to work
5942
5943 2002-08-06  John Levon  <levon@movementarian.org>
5944
5945         * lyxfunc.C:
5946         * kbmap.C: small cleanup
5947
5948         * vspace.h:
5949         * vspace.C: add const
5950
5951 2002-08-05  John Levon  <levon@movementarian.org>
5952
5953         * LyXAction.C: back to tabular-insert
5954
5955 2002-08-04  John Levon  <levon@movementarian.org>
5956
5957         * BufferView.h:
5958         * BufferView.C: cosmetic change
5959
5960         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
5961
5962         * bufferlist.C:
5963         * buffer.h:
5964         * buffer.C:
5965         * lyxcb.h:
5966         * lyxcb.C:
5967         * lyxserver.C:
5968         * lyxvc.C:
5969         * vc-backend.C:
5970         * BufferView2.C: purge all "Lyx" not "LyX" strings
5971
5972         * lyxcursor.h:
5973         * lyxcursor.C: attempt to add some documentation
5974
5975         * lyxfunc.C:
5976         * commandtags.h:
5977         * LyXAction.C:
5978         * ToolbarDefaults.C:
5979         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
5980           merge with LFUN_TABULAR_INSERT
5981
5982         * Makefile.am:
5983         * SpellBase.h:
5984         * ispell.h:
5985         * ispell.C:
5986         * pspell.h:
5987         * pspell.C: split up i/pspell implementations into separate
5988           files, many cleanups
5989
5990         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
5991
5992         * text2.C: some cleanup
5993
5994         * lyxfunc.C: don't check for isp_command == "none" any more, it
5995           didn't make any sense
5996
5997 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
5998
5999         * counters.[Ch]
6000         * text2.C
6001         * paragraph.[Ch]
6002         * makefile.am: move counters functionality over
6003         from text2.C/paragraph.[Ch] to counters.[Ch], and
6004         make proper C++.
6005 2002-08-02  John Levon  <levon@movementarian.org>
6006
6007         * buffer.C: s/lyxconvert/lyx2lyx/
6008
6009 2002-08-02  Angus Leeming  <leeming@lyx.org>
6010
6011         * lyxlex.C: revert John's change as it breaks reading of the user
6012         preamble.
6013
6014 2002-08-02  Angus Leeming  <leeming@lyx.org>
6015
6016         * importer.C (Import):
6017         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
6018         changes due to LyXView::view() now returning a boost::shared_ptr.
6019
6020 2002-08-02  John Levon  <levon@movementarian.org>
6021
6022         * lyxlex.C: small cleanup
6023
6024 2002-08-02  John Levon  <levon@movementarian.org>
6025
6026         * text2.C (status): small cleanup, no logic change
6027
6028 2002-08-01  John Levon  <levon@movementarian.org>
6029
6030         * buffer.h:
6031         * buffer.C (writeFile): don't output alerts, caller
6032           handles this
6033
6034         * bufferlist.C:
6035         * lyx_cb.C: from above
6036
6037         * lyxfunc.C: allow to open non-existent files
6038
6039 2002-07-31  John Levon  <levon@movementarian.org>
6040
6041         * lyxserver.C: don't let incidental errors get
6042           in the way (errno)
6043
6044 2002-07-30  John Levon  <levon@movementarian.org>
6045
6046         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
6047
6048 2002-07-30  John Levon  <levon@movementarian.org>
6049
6050         * lyxserver.h:
6051         * lyxserver.C: remove I/O callback too
6052
6053 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6054
6055         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
6056         log.
6057
6058 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
6059
6060         * many files: strip,frontStrip -> trim,ltrim,rtrim
6061
6062 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6063
6064         * PrinterParams.h: remove extern containsOnly, and include
6065         support/lstrings.h instead.
6066
6067         * LaTeX.C (scanAuxFile): modify because of strip changes
6068         (deplog): ditto
6069         * buffer.C (makeLaTeXFile): ditto
6070         * bufferparams.C (writeFile): ditt
6071         * lyxfont.C (stateText): ditto
6072         * lyxserver.C (read_ready): ditto
6073         * vc-backend.C (scanMaster): ditto
6074
6075         * BufferView_pimpl.h: ws changes
6076
6077         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
6078
6079 2002-07-26  André Pönitz <poenitz@gmx.net>
6080
6081         * kb_sequence.C: remove unnedred usings
6082
6083 2002-07-26  Juergen Vigna  <jug@sad.it>
6084
6085         * lyxfind.C (LyXReplace): we have to check better if the returned
6086         text is not of theLockingInset()->getLockingInset().
6087
6088 2002-07-25  Juergen Vigna  <jug@sad.it>
6089
6090         * lyxfind.C (LyXReplace): don't replace if we don't get the
6091         right LyXText.
6092
6093         * undo_funcs.C (createUndo): remove debugging code.
6094
6095 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
6096
6097         * buffer.C (parseSingleLyXformat2Token): Use default placement
6098         when reading old floats.
6099
6100         * FloatList.C (FloatList): Change the default placement of figure
6101         and tables to "tbp".
6102
6103 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
6104
6105         * MenuBackend.C: using std::max
6106
6107 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6108
6109         * MenuBackend.C (expandToc):
6110         (expandToc2): code moved from xforms menu frontend. It is now
6111         generic and TOCs are transparent to menu frontends.
6112
6113 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6114
6115         * toc.C (getTocList): protect against buf=0
6116
6117         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
6118         Menu as first parameter. Now, this calls itself recursively to
6119         expand a whole tree (this will be useful for TOC handling)
6120         (expandFloatInsert): remove 'wide' version of floats
6121
6122         * MenuBackend.h (submenuname): returns the name of the submenu.
6123         (submenu): returns the submenu itself, provided it has been
6124         created by MenuBackend::expand
6125
6126 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6127
6128         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
6129         insets which have noFontChange == true. (bug #172)
6130
6131 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6132
6133         * BufferView_pimpl.C: add connection objects and use them...
6134         (Pimpl): here.
6135
6136 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6137
6138         * MenuBackend.C (expandLastfiles):
6139         (expandDocuments):
6140         (expandFormats):
6141         (expandFloatListInsert):
6142         (expandFloatInsert):
6143         (expand): split expand in parts
6144
6145 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
6146
6147         * lyx_gui.C: use lyx_gui::exit()
6148
6149 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
6150
6151         * LyXAction.C: show the failing pseudo action
6152
6153 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
6154
6155         * buffer.C (readFile): Run the lyxconvert script in order to read
6156         old files.
6157
6158 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
6159
6160         * LyXAction.C:
6161         * commandtags.h:
6162         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
6163
6164 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
6165
6166         * LyXAction.C:
6167         * commandtags.h:
6168         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
6169
6170 2002-07-22  Herbert Voss  <voss@lyx.org>
6171
6172         * lengthcommon.C:
6173         * lyxlength.[Ch]: add support for the vertical lengths
6174
6175 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
6176
6177         * toc.[Ch]: std:: fixes
6178
6179 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6180
6181         * lyxrc.C: do not include lyx_main.h
6182
6183         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
6184         for layouts
6185
6186         * lyxrc.C:
6187         * encoding.C:
6188         * bufferlist.C:
6189         * BufferView2.C: include "lyxlex.h"
6190
6191         * tabular.h:
6192         * bufferparams.h: do not #include "lyxlex.h"
6193
6194         * lyxtextclasslist.C (Add): remove method
6195         (classlist): renamed to classlist_
6196
6197         * paragraph_pimpl.C:
6198         * paragraph.C:
6199         * text2.C:
6200         * CutAndPaste.C:
6201         * bufferview_funcs.C:
6202         * bufferlist.C:
6203         * text.C:
6204         * LaTeXFeatures.C:
6205         * buffer.C:
6206         * toc.C (getTocList): use BufferParams::getLyXTextClass
6207
6208         * toc.C (getTocList): use InsetFloat::addToToc
6209
6210         * toc.[Ch]: new files, containing helper functions to handle table
6211         of contents
6212
6213         * lyxfunc.C (dispatch): no need to remove spaces around command
6214         given as a string
6215         (getStatus): handle LFUN_SEQUENCE by returning the status of the
6216         first command of the sequence; it is not very clever, but I do not
6217         have a better idea, actually
6218
6219         * LyXAction.C (LookupFunc): make sure to remove space at the
6220         beginning and end of the command
6221
6222 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6223
6224         * MenuBackend.C (getMenubar): new method: return the menubar of
6225         this menu set
6226         (read): treat differently reading of menu and menubar (in
6227         particular, the menubar has no name now)
6228         (Menu::menubar): remove
6229
6230         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
6231         saving is finished
6232
6233 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
6234
6235         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
6236         a bibitem inset in a RTL paragraph.
6237
6238 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
6239
6240         * paragraph_pimpl.C: constify
6241
6242         * BufferView_pimpl.C:
6243         * LaTeX.C:
6244         * lyxfunc.C: fix dispatch in a nicer way
6245
6246 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6247
6248         * lyxfunc.C (dispatch):
6249         * BufferView_pimpl.C:
6250         * BufferView_pimpl.h:
6251         * BufferView.C:
6252         * BufferView.h: rename Dispatch() to dispatch()
6253
6254         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
6255
6256         * lyxlayout.C (Read): honor DependsOn tag
6257
6258         * lyxlayout.[Ch] (depends_on): new method
6259
6260         * version.C.in: update lyx_docversion
6261
6262         * LaTeXFeatures.C (getMacros): only define \LyX when needed
6263
6264         * paragraph.C (validate): remove from here...
6265         * paragraph_pimpl.C (validate): ... and move here
6266         (isTextAt): make it const
6267
6268         * buffer.C (getLists): ws cleanup
6269
6270 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
6271
6272         * language.C (read): Use iso8859-1 encoding in latex_lang
6273         (this prevents LyX from crashing when using iso10646-1 encoding).
6274
6275 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6276
6277         * text2.C (toggleInset): if cursor is inside an inset, close the
6278         inset and leave cursor _after_ it
6279
6280 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
6281
6282         * lyxfunc.C: move minibuffer completion handling out of here
6283
6284 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
6285
6286         * BufferView_pimpl.C:
6287         * LaTeX.C: fix dispatch calls
6288
6289 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
6290
6291         * text.C (drawChars): Fix Arabic text rendering.
6292
6293 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
6294
6295         * LyXAction.C:
6296         * commandtags.h:
6297         * lyxfunc.C: remove message-push/pop
6298
6299         * lyxserver.C:
6300         * lyxfunc.h:
6301         * lyxfunc.C: rationalise some code by removing verboseDispatch
6302           in favour of a bool argument to dispatch()
6303
6304 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6305
6306         * lyx_main.C (init): make sure to read symlinks as absolute paths
6307
6308 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
6309
6310         * lyxfunc.h:
6311         * lyxfunc.C: no need for commandshortcut to be a member
6312
6313 2002-07-15  André Pönitz <poenitz@gmx.net>
6314
6315         * converter.C: add support for $$s (scripts from lib/scripts dir)
6316         * lyx_main.C: white space
6317
6318 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
6319
6320         * bufferlist.C:
6321         * lyxrc.h:
6322         * lyxrc.C: remove second exit confirmation
6323
6324 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
6325
6326         * BufferView.h:
6327         * BufferView.C:
6328         * BufferView2.C:
6329         * BufferView_pimpl.h:
6330         * BufferView_pimpl.C:
6331         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
6332
6333 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6334
6335         * MenuBackend.C (expand): add numeric shortcuts to document menu
6336
6337         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
6338
6339 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6340
6341         * lyxfont.C (setLyXFamily):
6342         (setLyXSeries):
6343         (setLyXShape):
6344         (setLyXSize):
6345         (setLyXMisc):
6346         (lyxRead):
6347         * debug.C (value):
6348         * buffer.C (asciiParagraph): use ascii_lowercase
6349
6350 2002-07-15  Mike Fabian  <mfabian@suse.de>
6351
6352         * lyxlex_pimpl.C (search_kw):
6353         * lyxlex.C (getLongString):
6354         * converter.h (operator<):
6355         * converter.C (operator<):
6356         * buffer.C (parseSingleLyXformat2Token):
6357         (asciiParagraph):
6358         * ToolbarDefaults.C (read):
6359         * MenuBackend.C (checkShortcuts):
6360         (read):
6361         * LColor.C (getFromGUIName):
6362         (getFromLyXName): use the compare_ascii_no_case instead of
6363         compare_no_case, because in turkish, 'i' is not the lowercase
6364         version of 'I', and thus turkish locale breaks parsing of tags.
6365
6366 2002-07-16  Angus Leeming  <leeming@lyx.org>
6367
6368         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
6369         now takes a Buffer const & argument.
6370
6371 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
6372
6373         * BufferView.C (resize): check there's a buffer to resize
6374
6375 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
6376
6377         * lyxfunc.C: remove dead code
6378
6379         * lyxserver.h:
6380         * lyxserver.C: use lyx_guii::set_read_callback
6381
6382 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
6383
6384         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
6385         an inset in a RTL paragraph.
6386
6387 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
6388
6389         * lyxfunc.C: repaint after a font size update
6390
6391 2002-07-15  André Pönitz <poenitz@gmx.net>
6392
6393         * lyxlength.C: inBP should be able to return negative values
6394
6395 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
6396
6397         * lyxfunc.C: use lyx_gui::update_fonts()
6398
6399 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
6400
6401         * lyxfunc.C: use lyx_gui::update_color()
6402
6403 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
6404
6405         * bufferlist.C:
6406         * lyxfunc.h:
6407         * lyxfunc.C:
6408         * lyxrc.h:
6409         * lyxrc.C: remove file->new asks for name option, and let
6410           buffer-new take an argument
6411
6412 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
6413
6414         * BufferView_pimpl.C: remove unneeded extra repaint()
6415
6416 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
6417
6418         * LyXAction.C: allow command-sequence with NoBuffer
6419
6420         * lyxfunc.C: don't insist on trailing ';' for command-sequence
6421
6422 2002-07-10  Angus Leeming  <leeming@lyx.org>
6423
6424         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
6425
6426 2002-07-09  Angus Leeming  <leeming@lyx.org>
6427
6428         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
6429
6430 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
6431
6432         * lengthcommon.h: whitespace
6433
6434         * lyxfunc.C: update scrollbar after goto paragraph
6435
6436         * lyxtext.h: factor out page break drawing, and fix it so
6437           page break/added space paints as selected nicely
6438
6439 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
6440
6441         * BufferView_pimpl.C: add FIXMEs, clean up a little
6442
6443 2002-07-09  André Pönitz <poenitz@gmx.net>
6444
6445         * lyxfont.[Ch]: support for wasy symbols
6446
6447 2002-07-08  André Pönitz <poenitz@gmx.net>
6448
6449         * BufferView_pimpl.C: apply John's patch for #93.
6450
6451 2002-07-05  Angus Leeming  <leeming@lyx.org>
6452
6453         * BufferView_pimpl.C (buffer): generate previews if desired.
6454
6455         * LColor.h: add "preview" to the color enum.
6456
6457         * LColor.C (LColor): add a corresponding entry to the items array.
6458
6459         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
6460         with this buffer.
6461
6462 2002-07-05  Angus Leeming  <leeming@lyx.org>
6463
6464         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
6465         The body of the code is now in the method that is passed an ostream &
6466         rather than a file name.
6467         Pass an additional only_preamble parameter, useful for the forthcoming
6468         preview stuff.
6469
6470 2002-07-03  André Pönitz <poenitz@gmx.net>
6471
6472         * lyxfunc.C: simplify getStatus() a bit for math stuff
6473
6474 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6475
6476         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
6477
6478 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6479
6480         * text.C (changeRegionCase): do not change case of all the
6481         document when region ends at paragraph end (bug #461)
6482
6483 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6484
6485         * paragraph.C (startTeXParParams):
6486         (endTeXParParams): add \protect when necessary
6487
6488 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6489
6490         * BufferView_pimpl.C (workAreaExpose): remove warning
6491
6492 2002-06-27  Angus Leeming  <leeming@lyx.org>
6493
6494         * Makefile.am: add lyxlayout_ptr_fwd.h.
6495
6496 2002-06-26  André Pönitz <poenitz@gmx.net>
6497
6498         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
6499
6500 2002-06-25  Angus Leeming  <leeming@lyx.org>
6501
6502         * lyxfunc.C (dispatch): Comment out the call to
6503         grfx::GCache::changeDisplay. The method no longer exists now that the
6504         pixmap generation part of the graphics loader has been moved into
6505         InsetGraphics.
6506
6507 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6508
6509         * text2.C: layout as layout
6510
6511         * text.C: layout as layout
6512
6513         * tabular.C (OldFormatRead): layout as layout
6514
6515         * paragraph_pimpl.C (TeXDeeper): layout as layout
6516         (realizeFont): layout as layout
6517
6518         * paragraph.C (writeFile): layout as layout
6519         (validate): layout as layout
6520         (getFont): layout as layout
6521         (getLabelFont): layout as layout
6522         (getLayoutFont): layout as layout
6523         (breakParagraph): layout as layout
6524         (stripLeadingSpaces): layout as layout
6525         (getEndLabel): layout as layout
6526         (getMaxDepthAfter): layout as layout
6527         (applyLayout): layout as layout
6528         (TeXOnePar): layout as layout
6529         (simpleTeXOnePar): layout as layout
6530         (TeXEnvironment): layout as layout
6531         (layout): layout as layout
6532         (layout): layout as layout
6533
6534         * lyxtextclass.C (compare_name): new functor to work with
6535         shared_ptr, layout as layout
6536         (Read): layout as layout
6537         (hasLayout): layout as layout
6538         (operator): layout as layout
6539         (delete_layout): layout as layout
6540         (defaultLayout): layout as layout
6541
6542         * lyxlayout_ptr_fwd.h: new file
6543
6544         * lyxlayout.C (Read): layout as layout
6545
6546         * lyx_cb.C (MenuInsertLabel): layout as layout
6547
6548         * bufferlist.C (newFile): layout as layout
6549
6550         * buffer.C (readLyXformat2): layout as layout
6551         (parseSingleLyXformat2Token): layout as layout
6552         (insertStringAsLines): layout as layout
6553         (asciiParagraph): layout as layout
6554         (latexParagraphs): layout as layout
6555         (makeLinuxDocFile): layout as layout
6556         (simpleLinuxDocOnePar): layout as layout
6557         (makeDocBookFile): layout as layout
6558         (simpleDocBookOnePar): layout as layout
6559         (getLists): layout as layout
6560
6561         * LaTeXFeatures.C (getTClassPreamble): layout as layout
6562
6563         * CutAndPaste.C (cutSelection): layout as layout
6564         (pasteSelection): layout as layout
6565         (SwitchLayoutsBetweenClasses): layout as layout
6566
6567         * BufferView_pimpl.C (Dispatch): layout as layout
6568         (smartQuote): layout as layout
6569
6570         * BufferView2.C (unlockInset): layout as layout
6571
6572 2002-06-24  André Pönitz <poenitz@gmx.net>
6573
6574         * lyxfunc.C: fix #487
6575
6576 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
6577
6578         * lyxrc.h:
6579         * lyxrc.C:
6580         * lyxfunc.C: remove display_shortcuts, show_banner
6581
6582 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
6583
6584         * Buffer_pimpl.C: oops, update on resize
6585
6586 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
6587
6588         * buffer.C:
6589         * converter.C:
6590         * exporter.C:
6591         * lyxfunc.C:
6592         * BufferView.h:
6593         * BufferView.C: use repaint()
6594
6595         * BufferView_pimpl.h:
6596         * BufferView_pimpl.C: s/updateScreen()/repaint()/
6597           as it's a clearer description. Remove superfluous
6598           redraws.
6599
6600 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
6601
6602         * text.C: fix bug 488. Not ideal, but getting
6603           getWord() to work properly for the insets that
6604           matter is more difficult ...
6605
6606 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
6607
6608         * BufferView_pimpl.C:
6609         * LyXAction.C:
6610         * commandtags.h:
6611         * lyxfunc.C: remove the six million index lyxfuncs to just
6612           one, and DTRT (bug 458)
6613
6614 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
6615
6616         * BufferView.h:
6617         * BufferView.C:
6618         * BufferView_pimpl.h:
6619         * BufferView_pimpl.C: clean up resize() stuff,
6620           and unnecessary updateScreen()s
6621
6622 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
6623
6624         * BufferView.h:
6625         * BufferView.C:
6626         * BufferView_pimpl.h:
6627         * BufferView_pimpl.C:
6628         * lyxfind.h:
6629         * lyxfind.C:
6630         * minibuffer.C: remove focus management of workarea,
6631           not needed. Use screen's greyOut()
6632
6633 2002-06-17  Herbert Voss  <voss@lyx.org>
6634
6635         * converter.C: (convert) do not post a message, when converting
6636         fails, let the calling function decide what to do in this case
6637
6638 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
6639
6640         * lyxfunc.C: tidy up a little
6641
6642 2002-06-16    <alstrup@diku.dk>
6643
6644         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
6645         Got rid of FORMS_H_LOCATION include. Now we are
6646         GUII.
6647
6648 2002-06-15  LyX Development team  <lyx@rilke>
6649
6650         * buffer.[Ch] (sgmlOpenTag):
6651         (sgmlCloseTag): Added support for avoiding pernicious mixed
6652         content. Return number of lines written.
6653
6654         (makeLinuxDocFile):
6655         (makeDocBookFile): Fixed calls to sgml*Tag.
6656         Simple white space clean.
6657
6658         (simpleDocBookOnePar): Simple white space clean.
6659
6660         * tabular.[Ch] (docBook): Renamed to docbook and got another
6661         argument to related with the pernicious mixed content.
6662
6663         (docbookRow): Fixed calls for docbook inset method.
6664
6665 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
6666
6667         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
6668         so it's X11 independent.
6669
6670         * kb*.[Ch]: ditto.
6671
6672         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
6673
6674 2002-06-15  Lyx Development team  <lyx@electronia>
6675
6676         * intl.h: Renamed getTrans to getTransManager.
6677
6678 2002-06-14  Angus Leeming  <leeming@lyx.org>
6679
6680         * Makefile.am: nuke forgotten stl_string_fwd.h.
6681
6682 2002-06-12  Angus Leeming  <leeming@lyx.org>
6683
6684         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
6685
6686 2002-06-13  Angus Leeming  <leeming@lyx.org>
6687
6688         * LaTeX.C:
6689         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
6690
6691 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
6692
6693         * kbmap.C (getiso): add support for cyrillic and greek
6694
6695 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
6696
6697         * BufferView.h:
6698         * BufferView.C:
6699         * BufferView_pimpl.h:
6700         * BufferView_pimpl.C: move bogus scrolling logic
6701           to xforms
6702
6703 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
6704
6705         * lyxfunc.C:
6706         * BufferView_pimpl.C: view->resize() change
6707
6708 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
6709
6710         * BufferView_pimpl.C: topCursorVisible
6711           prototype change
6712
6713 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
6714
6715         * Makefile.am:
6716         * lyx_gui.h:
6717         * lyx_gui.C: move to frontends/
6718
6719         * main.C:
6720         * lyx_main.h:
6721         * lyx_main.C: changes from above
6722
6723 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
6724
6725         * intl.C:
6726         * intl.h:
6727         * kbmap.C:
6728         * kbsequence.C:
6729         * lyx_cb.C:
6730         * lyx_main.C: minor tidy
6731
6732 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
6733
6734         * BufferView_pimpl.h:
6735         * BufferView_pimpl.C:
6736         * BufferView.h:
6737         * BufferView.C: make painter() const,
6738           remove dead code
6739
6740         * BufferView2.C: use screen() accessor
6741
6742         * lyx_main.h:
6743         * lyx_main.C: some minor cleanup
6744
6745 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
6746
6747         * BufferView_pimpl.h:
6748         * BufferView_pimpl.C: remove enter/leaveView,
6749           use workHeight()
6750
6751 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
6752
6753         * BufferView.h:
6754         * BufferView.C:
6755         * BufferView2.C:
6756         * BufferView_pimpl.h:
6757         * BufferView_pimpl.C: only construct screen once,
6758           rename
6759
6760         * lyxrc.C: remove pointless comment
6761
6762 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
6763
6764         * BufferView.h:
6765         * BufferView.C: remove active() and belowMouse()
6766
6767         * BufferView_pimpl.h:
6768         * BufferView_pimpl.C: use workarea() not workarea_,
6769           and make it use a scoped_ptr instead
6770
6771 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
6772
6773         * lyx_gui.C: add debug message on BadWindow
6774
6775 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6776
6777         * sp_spell.C: fdopen is not part of the C++ standard.
6778
6779         * paragraph.C (InsetIterator): use >= instead of ==
6780
6781 2002-06-07  Angus Leeming  <leeming@lyx.org>
6782
6783         Fixes needed to compile with Compaq cxx 6.5.
6784         * BufferView_pimpl.C:
6785         * DepTable.C:
6786         * buffer.C:
6787         * converter.C:
6788         * encoding.C:
6789         * lyx_gui.C:
6790         * lyx_main.C:
6791         * lyxtextclasslist.C:
6792         * minibuffer.C:
6793         * sp_spell.C:
6794         * tabular_funcs.C:
6795         * vc-backend.C:
6796         all c-library variables have been moved into namespace std. Wrap
6797         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
6798
6799         * lyxlength.C:
6800         * tabular-old.C:
6801         * tabular.C:
6802         Add a using std::abs declaration.
6803
6804         * kbmap.h (modifier_pair):
6805         * paragraph.h (InsetTable, InsetList):
6806         * lyxfont.h (FontBits):
6807         type definition made public.
6808
6809         * bufferlist.C (emergencyWriteAll): the compiler complains that
6810         there is more than one possible lyx::class_fun template to choose from.
6811         I re-named the void specialisation as lyx::void_class_fun.
6812
6813         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
6814
6815         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
6816         the compiler is is unable to find tostr in write_attribute.
6817
6818 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6819
6820         * buffer.C (sgmlError): hide #warning
6821
6822 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6823
6824         * xtl/*: get rid of xtl, which is not in use anyway
6825
6826         * LyXAction.C (init):
6827         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
6828         were unimplemented xtl experimentation
6829
6830 2002-06-04  André Pönitz <poenitz@gmx.net>
6831
6832         * lyxfunc.C: disable array operation on simple formulae
6833
6834 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
6835
6836         * converter.C: constify a bit
6837
6838 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
6839
6840         * lyx_gui.C: check xforms version correctly
6841
6842 2002-04-30  Herbert Voss  <voss@lyx.org>
6843
6844         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
6845         "keep" option
6846
6847 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
6848
6849         * lyxvc.C: fix bug 416 (make sure buffer is saved before
6850           attempt to register it with a VCS)
6851
6852 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6853
6854         * lyx_main.C (init): honor variables LYX_DIR_13x and
6855         LYX_USERDIR_13x
6856
6857 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
6858
6859         * buffer.h:
6860         * buffer.C:
6861         * lyx_main.C: fix a crash on bad command line,
6862           and give a useful exit status on error
6863
6864         * lyxfunc.C (doImport): allow -i lyx to work
6865
6866 2002-03-30  André Pönitz <poenitz@gmx.net>
6867
6868         * lyxfunc.C: mathed font changes
6869
6870 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
6871
6872         * LaTeX.C:
6873         * importer.h:
6874         * importer.C:
6875         * lyx_sty.h:
6876         * lyx_sty.C:
6877         * lyxlex.C:
6878         * lyxrow.h:
6879         * lyxtext.h:
6880         * paragraph.h:
6881         * paragraph.C:
6882         * texrow.h:
6883         * texrow.C:
6884         * text.C:
6885         * trans_mgr.h: srcdocs, and some minor cleanups
6886
6887 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6888
6889         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
6890         call getFont all the time)
6891
6892 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6893
6894         * switch from SigC signals to boost::signals
6895
6896 2002-05-29  André Pönitz <poenitz@gmx.net>
6897
6898         * paragraph_pimpl.C (getChar): don't call size() too often...
6899
6900 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6901
6902         * paragraph_pimpl.C (insertChar): do not try to update tables when
6903         appending (pos == size())
6904
6905         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
6906         in order to reduce drastically the number of comparisons needed to
6907         parse a large document
6908
6909 2002-05-29  André Pönitz <poenitz@gmx.net>
6910
6911         * text.C:
6912         * text2.C:
6913         * lyxtextclass.C:
6914         * sp_pspell.h:
6915         * textclasslist.[Ch]:
6916         * sp_ispell.h: whitespace change
6917
6918 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6919
6920         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
6921         lyxaction directly now.
6922
6923 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
6924
6925         * trans.C:
6926         * lyxfont.C:
6927         * lyxvc.C: remove unused headers
6928
6929 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
6930
6931         * Makefile.am:
6932         * buffer.h:
6933         * undostack.h:
6934         * undostack.C:
6935         * undo_funcs.h:
6936         * undo_funcs.C: some cleanups. Use shared_ptr
6937           and a template for the undo stacks.
6938
6939 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
6940
6941         * BufferView_pimpl.h:
6942         * BufferView_pimpl.C:
6943         * kbmap.h:
6944         * kbmap.C:
6945         * kbsequence.h:
6946         * kbsequence.C:
6947         * lyxfunc.h:
6948         * lyxfunc.C:
6949         * text2.C: use key_state/mouse_state
6950
6951 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6952
6953         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
6954         and LSubstring
6955
6956         * chset.C: change include order
6957         (loadFile): use boost regex and get rid of LRegex and LSubstring
6958
6959         * Makefile.am (BOOST_LIBS): new variable
6960         (lyx_LDADD): use it
6961
6962         * LaTeX.C: change include order.
6963         (scanAuxFile): use boost regex and get rid of LRegex and
6964         LSubstring
6965         (deplog): ditto
6966
6967 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
6968
6969         * ColorHandler.h:
6970         * ColorHandler.C:
6971         * FontInfo.h:
6972         * FontInfo.C: moved to frontends/xforms/
6973
6974         * FontLoader.h:
6975         * FontLoader.C: moved into frontends for GUIIzation
6976
6977         * Makefile.am:
6978         * lyx_gui.C:
6979         * lyxfont.C:
6980         * lyxfunc.C: changes from above
6981
6982 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
6983
6984         * LColor.C: remove spurious X include
6985
6986         * BufferView_pimpl.C:
6987         * Makefile.am:
6988         * font.h:
6989         * font.C:
6990         * text.C:
6991         * text2.C: move font metrics to frontends/
6992
6993 2002-05-24  Juergen Vigna  <jug@sad.it>
6994
6995         * undo_funcs.C (textHandleUndo): fix the cursor selection after
6996         setting the undo_cursor.
6997
6998         * ParagraphParameters.h: include local includes first.
6999
7000 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
7001
7002         * BufferView_pimpl.C:
7003         * BufferView_pimpl.h:
7004         * Makefile.am:
7005         * WorkArea.h:
7006         * WorkArea.C:
7007         * screen.C: move WorkArea into frontends/
7008
7009         * lyxscreen.h:
7010         * screen.C:
7011         * text.C:
7012         * BufferView.C:
7013         * BufferView2.C: move LyXScreen into frontends/
7014
7015         * lyxlookup.h:
7016         * lyxlookup.C:
7017         * lyx_gui.C: move lyxlookup into frontends/xforms/
7018
7019 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
7020
7021         * BufferView2.C:
7022         * BufferView_pimpl.C:
7023         * FontLoader.C:
7024         * LyXView.h:
7025         * LyXView.C:
7026         * Makefile.am:
7027         * WorkArea.C:
7028         * XFormsView.h:
7029         * XFormsView.C:
7030         * buffer.C:
7031         * bufferlist.C:
7032         * bufferview_funcs.C:
7033         * converter.C:
7034         * importer.C:
7035         * lyx_cb.C:
7036         * lyx_gui.C:
7037         * lyx_main.C:
7038         * lyx_find.C:
7039         * lyxfunc.C:
7040         * lyxvc.C:
7041         * minibuffer.C:
7042         * text.C:
7043         * text2.C:
7044         * trans.C:
7045         * vc-backend.C: move LyX/XFormsView into frontends/
7046
7047 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
7048
7049         * Makefile.am:
7050         * PainterBase.C:
7051         * PainterBase.h:
7052         * Painter.C:
7053         * Painter.h:
7054         * WorkArea.C:
7055         * WorkArea.h:
7056         * screen.C:
7057         * tabular.C:
7058         * text.C:
7059         * text2.C: move Painter to frontends/
7060
7061 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7062
7063         * buffer.C: comment out some some code that depend upon lyx_format
7064         < 220
7065
7066         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
7067         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
7068
7069         * buffer.h (NO_COMPABILITY): turn off compability
7070
7071         * ColorHandler.C: include scoped_array.hpp
7072
7073         * font.C: Use more specific smart_ptr header.
7074         * Painter.C: ditto
7075         * gettext.C: ditto
7076         * ShareContainer.h: ditto
7077         * lyx_main.h: ditto
7078         * kbmap.h: ditto
7079         * FontInfo.h: ditto
7080         * BufferView_pimpl.h: ditto
7081         * ColorHandler.h: ditto
7082
7083         * kbmap.C (defkey): change call to shared_ptr::reset
7084
7085 2002-05-21  Juergen Vigna  <jug@sad.it>
7086
7087         * buffer.C (insertErtContents): fix to insert ert asis if it is
7088         non empty. Skip it completely if it contains only whitespaces.
7089
7090 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
7091
7092         * BufferView_pimpl.C:
7093         * BufferView2.C: clear selection on paste (bug 393)
7094
7095 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7096
7097         * DepTable.C: include ctime
7098
7099 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
7100
7101         * buffer.C (latexParagraphs): Add new argument (moving_arg).
7102
7103 2002-05-14  Juergen Vigna  <jug@sad.it>
7104
7105         * text.C (breakParagraph): fixed function to honor the keepempty
7106         layout in the right maner and also to permit the right breaking
7107         algorithm on empty or non empyt keepempty paragraphs.
7108
7109         * paragraph.C (breakParagraph): we have to check also if the par
7110         is really empty (!size()) for isempty otherwise we do the wrong
7111         paragraph break.
7112
7113 2002-05-10  Juergen Vigna  <jug@sad.it>
7114
7115         * buffer.[Ch] : The following are only changes to the ert
7116         compatibility read reading old LaTeX layout and font stuff and
7117         convert it to ERTInsets.
7118
7119         * buffer.h: added isErtInset().
7120
7121         * buffer.C (struct ErtComp): add a fromlayout bool to check
7122         if we're inside a LaTeX layout.
7123         (isErtInset): new helper function.
7124         (insertErtContents): look for other ert insets before this one
7125         and insert the contents there, so that we don't have subsequent
7126         ERT insets with nothing between them. This way we create only one
7127         inset with multiple paragraphs. Also check if we don't insert only
7128         spaces ' ' as they are ignored anyway afterwards in the .tex file
7129         so if we have only spaces we will ignore this latex part in the
7130         new file.
7131         (parseSingleLyXformat2Token \\layout): better compatibility when
7132         reading layout-latex stuff.
7133         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
7134         language tag.
7135         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
7136         stuff after reading the inset only get the information back from
7137         the stack.
7138
7139 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
7140
7141         * buffer.C (makeLaTeXFile): Put language options after loading babel.
7142
7143         * LaTeXFeatures.C (getBabelOptions): New method.
7144
7145 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7146
7147         * BufferView_pimpl.C (Dispatch): work around missing argument for
7148         'layout'
7149
7150 2002-05-08  Juergen Vigna  <jug@sad.it>
7151
7152         * text.C (leftMargin): handle paragraph leftindent.
7153
7154         * paragraph.C (writeFile): write the new \\leftindent tag.
7155         (validate): handle leftindent code.
7156         (TeXEnvironment): handle paragraphleftindent code again.
7157
7158         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
7159
7160         * buffer.C (parseSingleLyXformat2Token): added compatibility code
7161         for paragrap_extra indent code and new token \\leftindent.
7162         (latexParagraphs): handle the leftindent as environment.
7163
7164         * ParameterStruct.h: added leftindent support.
7165
7166         * ParagraphParameters.C (leftIndent): added support functions for
7167         the paragraph left indent.
7168
7169         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
7170         more appropriate.
7171
7172 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
7173
7174         * paragraph.C (isRightToLeftPar): Return false for a paragraph
7175         inside insetERT.
7176
7177         * text.C (computeBidiTables): No bidi in insetERT.
7178
7179         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
7180         in RTL documents.
7181
7182 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7183
7184         * version.C.in: pre 5
7185
7186 2002-05-02  José Matos  <jamatos@fep.up.pt>
7187         * buffer.C (makeDocBookFile): white space changes, add newline to
7188         command styles.
7189         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
7190
7191         * tabular.C (docBook): fix typo.
7192
7193 2002-05-03  Juergen Vigna  <jug@sad.it>
7194
7195         * screen.C (drawFromTo): recalculate the rowpointer if we had a
7196         change in LyXText as we can not be sure it was not freed.
7197         (drawOneRow): remove unused code.
7198
7199         * text.C (drawInset): redo the calculation of the need_break_row as
7200         it could have a row which was already freed.
7201         (draw): look at the return value of drawInset and return false if
7202         it also returned false.
7203         (paintRowText): look at the return value of draw and return false if
7204         it also returned false.
7205
7206         * lyxtext.h: added bool return type to drawInset() and draw() so that
7207         if we have a change in the row so that the rowbreak has to be redone
7208         we abort drawing as it will be called again.
7209
7210 2002-05-02  Juergen Vigna  <jug@sad.it>
7211
7212         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
7213         a change in the maintext also if we're inside an inset.
7214         (Dispatch): set the cursor again after a break line and after the
7215         screen has been updated as it could be we're in a different row.
7216
7217         * text2.C (fixCursorAfterDelete): check to make sure we don't request
7218         to set the cursor behind the pargraph with > size().
7219         (setCursor): check also for the same paragraph when checking where
7220         to put the cursor if we have a NFR inset.
7221
7222         * buffer.C (parseSingleLyXformat2Token): move the compatibility
7223         parts of layout read further up as it still was in the wrong
7224         position.
7225
7226 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7227
7228         * screen.C (drawFromTo): change sine fullRebreak always return
7229         true.
7230
7231         * buffer.C (parseSingleLyXformat2Token): reindent some
7232
7233         * BufferView_pimpl.C (update): change since fullRebreak always
7234         return true.
7235         (Dispatch): git rid of the last hardcoded "Standard"s.
7236
7237 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7238
7239         * text2.[Ch] (fullRebreak): make it return void now that we always
7240         returned true.
7241
7242 2002-04-30  Juergen Vigna  <jug@sad.it>
7243
7244         * buffer.C (parseSingleLyXformat2Token): reset the font before the
7245         ert compatibility check for "latex" layout.
7246
7247 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
7248
7249         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
7250         minipages: use col% instead of p%, and also use the current font.
7251         (makeLaTeXFile): Fix use babel condition.
7252         (parseSingleLyXformat2Token): Correct font when reading old floats.
7253
7254 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
7255
7256         * BufferView_pimpl.C (Dispatch): Check that float type exists when
7257         inserting list of floats.
7258
7259 2002-04-25  Herbert Voss  <voss@lyx.org>
7260
7261         * MenuBackend.C (expand): don't add the graphics extensions to the
7262         export menu
7263
7264 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7265
7266         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
7267         non-existing layout, do not complain if it was the default layout
7268         of the original class (bug #342)
7269
7270 2002-04-24  Juergen Vigna  <jug@sad.it>
7271
7272         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
7273         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
7274
7275 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
7276
7277         * buffer.C (getBibkeyList): If using \bibliography, return the
7278         option field with the reference itself. Enables us to provide natbib
7279         support when using \bibliography.
7280
7281 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
7282
7283         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
7284
7285         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
7286         natbib is provided by the LaTeX class.
7287
7288 2002-04-23  Juergen Vigna  <jug@sad.it>
7289
7290         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
7291         Wakeup functions.
7292
7293         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
7294
7295 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7296
7297         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
7298
7299         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
7300         ensuremath around textordmasculine, textordfeminine and
7301         textdegree.
7302
7303 2002-04-19  Juergen Vigna  <jug@sad.it>
7304
7305         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
7306         reinitializing the buffer otherwise row-dimensions may be wrong.
7307         (update): reset also the selection cursors if they do exits otherwise
7308         their x/y positions may be wrong.
7309
7310         * text2.C (cursorDown): don't enter the inset if we came from a row
7311         above and are one row over the inset.
7312
7313         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
7314         really leaving an inset.
7315
7316 2002-04-18  Juergen Vigna  <jug@sad.it>
7317
7318         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
7319         of the selected paragraph does not have the selected layout also if
7320         the last one had!
7321
7322         * text2.C (setLayout): fixed bug which did not change last selected
7323         paragraph.
7324
7325         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
7326         changed the read and substituted \\end_float with \\end_inset!
7327
7328         * BufferView_pimpl.C (cursorPrevious):
7329         (cursorNext): fixed to make it work with rows heigher than the work
7330         area without moving the cursor only the draw of the row.
7331         (workAreaMotionNotify): fix jumping over high rows.
7332
7333 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7334
7335         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
7336         Ressler.
7337
7338 2002-04-16  Juergen Vigna  <jug@sad.it>
7339
7340         * text2.C (setCursor): set also the irow().
7341         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
7342         (cursorUp):
7343         (cursorDown): support for locking an inset if the x_fix value goes
7344         inside it. That way I can transverse insets too with cursor up/down.
7345
7346         * lyxrow.h: added irow helper function same as other (i) functions.
7347
7348         * BufferView_pimpl.C (cursorPrevious):
7349         (cursorNext): fixed for insets!
7350
7351 2002-04-15  Juergen Vigna  <jug@sad.it>
7352
7353         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
7354         position otherwise it is wrong in some cases.
7355
7356         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
7357         inside the inset before the call.
7358
7359 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
7360
7361         * buffer.[Ch] (getBibkeyList): make it const.
7362
7363 2002-04-12  Juergen Vigna  <jug@sad.it>
7364
7365         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
7366
7367         * text2.C (getCursorX): new helper function
7368         (setCursor): compute also ix_
7369         (setCursorFromCoordinates): set also ix.
7370
7371         * lyxcursor.h: added ix_ and helper functions.
7372
7373         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
7374
7375         * buffer.C (insertStringAsLines): dont break paragraph if the this
7376         paragraph is inside an inset which does not permit it!
7377
7378         * text.C (breakParagraph): honor keepempty flag and break the paragraph
7379         also with no chars on this paragraph.
7380         (paintRowText): only paint stuff if it's inside the workarea!
7381
7382         * paragraph.C (breakParagraph): honor keepempty flag and break the
7383         paragraph always below not above.
7384
7385         * BufferView2.C (unlockInset): update the paragraph layout on inset
7386         unlock as we changed paragraph in such a case.
7387
7388         * lyxfind.C (LyXFind): clear the former selection if not found!
7389
7390         * text2.C (insertInset): freeze Undo after setUndo so that it is not
7391         again called in insertChar().
7392
7393         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
7394         an inset which uses the whole row!
7395         (rightMargin): ditto.
7396         (insertChar): force a rebreak if we inserted an inset!
7397
7398 2002-03-28  Herbert Voss  <voss@lyx.org>
7399
7400         * lyxlength.[Ch]: add inBP() to get the right PS-point
7401         units (BigPoint). With inPixels we have rounding errors
7402
7403 2002-04-11  Juergen Vigna  <jug@sad.it>
7404
7405         * text2.C (setCursorFromCoordinates): set iy to the right value.
7406         (setCursor): add check if row->previous exists!
7407
7408         * buffer.C (parseSingleLyXformat2Token): reset font after read of
7409         an old float_type as this was the case in the old code!
7410
7411         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
7412
7413         * BufferView2.C (showLockedInsetCursor): use iy
7414         (fitLockedInsetCursor): ditto
7415
7416         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
7417         locked insets as there we have the right value now.
7418
7419         * lyxcursor.C: added iy_ variable and iy functions to set to the
7420         baseline of cursor-y of the locked inset.
7421
7422         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
7423         (setCursor): fixed for insets which need a full row.
7424
7425         * text.C (rowLastPrintable): don't ignore the last space when before
7426         an inset which needs a full row.
7427         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
7428         as last character of a row when before a inset which needs a full row.
7429
7430 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7431
7432         * version.C.in: update date
7433
7434         * text2.C (fullRebreak): try to always return true and see what
7435         happens...
7436
7437 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7438
7439         * MenuBackend.C (expand): use Floating::listName
7440
7441         * FloatList.C (FloatList): add listName argument to the built-in
7442         floats
7443
7444         * Floating.[Ch]: add listName member, which is the 'List of XXX'
7445         text associated with the float.
7446
7447 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7448
7449         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
7450
7451 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7452
7453         * ShareContainer.h: add a couple of missing typenames.
7454
7455 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
7456
7457         * lyxrc.C (getDescription): use _() correctly rather than N_().
7458
7459 2002-03-28  Herbert Voss  <voss@lyx.org>
7460
7461         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
7462         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
7463
7464 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7465
7466         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
7467         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
7468
7469 2002-03-29  Juergen Vigna  <jug@sad.it>
7470
7471         * lyxfunc.C (dispatch): add a missing fitCursor call.
7472
7473         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
7474         it was scrolled by a cursor move, so return the bool status.
7475
7476         * BufferView.C (fitCursor): return the bool flag also to the outside
7477         world as this is needed.
7478
7479         * screen.C (toggleToggle): don't subtract the offset if it's positive.
7480
7481         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
7482         call the edit() as it is not needed (and wrong) IMO.
7483         (workAreaButtonPress): set the screen_first variable before evt.
7484         unlock the inset as this may change screen_first and then we have
7485         a wrong y position for the click!
7486
7487 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7488
7489         * MenuBackend.C (expand): another translation that I missed
7490
7491 2002-03-28  Juergen Vigna  <jug@sad.it>
7492
7493         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
7494
7495         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
7496
7497 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7498
7499         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
7500
7501         * MenuBackend.C (expand): fix export/view/update when there is no
7502         document open.
7503
7504 2002-03-27  Herbert Voss  <voss@lyx.org>
7505
7506         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
7507         and text%
7508
7509 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7510
7511         * bufferview_funcs.C (currentState): only show paragraph number
7512         for is DEVEL_VERSION is set.
7513
7514         * lyxfunc.C (dispatch): put warning in INFO channel
7515
7516         * MenuBackend.C (expand): translate the name of floats
7517
7518         * FloatList.C (FloatList): mark the float names for translation
7519
7520         * converter.C (convert): use LibScriptSearch
7521
7522 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7523
7524         * MenuBackend.C (defaults): fix default menu (we might as well get
7525         rid of it...)
7526
7527 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7528
7529         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
7530         directory.
7531
7532 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7533
7534         * lyxvc.C: reorder includes.
7535
7536 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
7537
7538         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
7539           properly
7540
7541 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
7542
7543         * CutAndPaste.C: change layouts earlier on paste
7544           to avoid crashing when calling getFont()
7545
7546 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
7547
7548         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
7549         irritating #error.
7550
7551 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7552
7553         * WorkArea.C: remove 'Pending' debug message.
7554
7555         * most files: ws cleanup
7556
7557         * buffer.[Ch]: ws changes
7558
7559         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
7560
7561 2002-03-21  Juergen Vigna  <jug@sad.it>
7562
7563         * tabular.C (SetMultiColumn): collapse also the contents of the
7564         cells and set the last border right. Added a Buffer const * param.
7565
7566 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7567
7568         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
7569         linking or not.
7570
7571 2002-03-19  Juergen Vigna  <jug@sad.it>
7572
7573         * text2.C (clearSelection): reset also xsel_cache.
7574
7575         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
7576         where it needs to be called (John tells us to do so too :)
7577         (selectionLost): reset sel_cache.
7578
7579         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
7580
7581 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7582
7583         * text2.C (setCursorIntern): put debuging code in INSETS channel
7584
7585 2002-03-19  André Pönitz <poenitz@gmx.net>
7586
7587         * lyxfunc.C: tiny whitespace change
7588
7589 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7590
7591         * ToolbarDefaults.C (init):
7592         * LyXAction.C (init):
7593         * commandtags.h:
7594         * BufferView_pimpl.C (Dispatch):
7595         * lyxfunc.C (dispatch): remove LFUN_DEPTH
7596
7597 2002-03-19  Allan Rae  <rae@lyx.org>
7598
7599         * exporter.C (Export): removeAutoInsets before doing anything else.
7600         While I've just introduced a dependency on BufferView this really is
7601         the best place to clean the buffer otherwise you need to cleanup in
7602         a dozen places before calling export or cleanup in a dozen functions
7603         that export calls.
7604
7605         * converter.C (runLaTeX):
7606         (scanLog): Better handling of removeAutoInsets and screen updates.
7607
7608         * lyxfunc.C (dispatch): small whitespace changes
7609
7610 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7611
7612         * WorkArea.C (C_WorkAreaEvent): return a value.
7613         (event_cb): return 1 if we handled the event, 0 otherwise.
7614
7615         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
7616
7617 2002-03-18  Juergen Vigna  <jug@sad.it>
7618
7619         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
7620         (GetAdditionalWidth): ditto.
7621         (RightLine): ditto.
7622         (LeftLine): ditto.
7623
7624         * BufferView2.C (copy): use getLyXText() so that we do it inside an
7625         inset if we're there actually (probably not used right now but this
7626         is the direction to go for unifying code).
7627         (paste): disable code to clear the selection.
7628
7629         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
7630         inside an InsetText and move the check further up as it is in the
7631         wrong place.
7632
7633         * text2.C (pasteSelection): set a selection over the pasted text.
7634
7635 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
7636
7637         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
7638         and libgraphics to build on Cygwin.
7639
7640 2002-03-15  Juergen Vigna  <jug@sad.it>
7641
7642         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
7643         inserting an Inset into the paragraph. I know this is not the best
7644         fix but we already use current_view in CutAndPaste so we will remove
7645         all of it's using at the same time.
7646
7647         * buffer.C (sgmlError): deactivated function till it is rewritten in
7648         the right mode, now it can create problems.
7649
7650         * paragraph.C (isLineSeparator): check if getInset returns != 0,
7651         before accessing it.
7652
7653 2002-03-14  Juergen Vigna  <jug@sad.it>
7654
7655         * undo_funcs.C (textHandleUndo): do the right thing when updating
7656         the inset after the undo/redo.
7657
7658         * text2.C (setCursor): just some testcode for #44 not ready yet.
7659
7660         * undo_funcs.C (textHandleUndo): set the next() and previous()
7661         pointers of the paragraph to 0 before deleting otherwise we have
7662         problems with the Paragraph::[destructor].
7663
7664         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
7665         on a paragraph insertion.
7666
7667 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7668
7669         * buffer.C (asciiParagraph): use += operator for char append to
7670         string.
7671
7672         * paragraph.C (getFontSettings): compare >= not just >
7673         (highestFontInRange): ditto
7674         (setFont): ditto
7675
7676 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7677
7678         * paragraph.C: change several algorithm to be more appripriate for
7679         the problem domain. This is lookip in FontList and in the InsetList.
7680
7681 2002-03-13  André Pönitz <poenitz@gmx.net>
7682
7683         * commandtags.h:
7684         * LyXAction.C: remove unused LFUN_MATH_MACROARG
7685
7686 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
7687
7688         * commandtags.h:
7689         * LyXAction.C:
7690         * lyxfunc.C:
7691         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
7692
7693 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7694
7695         * Painter.C (display): anon helper function, adjust code for this
7696         change.
7697         (pixmap): remove function.
7698
7699         * Painter.h: remove private display variable.
7700
7701         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
7702
7703 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
7704
7705         * WorkArea.[Ch]: remove figinset_canvas cruft.
7706
7707 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7708
7709         * lyxtextclass.C (operator): add one item cache optimization.
7710
7711         * bufferlist.h: doxy changes
7712
7713         * bufferlist.C: ws changes
7714
7715         * DepTable.[Ch] (ext_exist): place const in the right spot.
7716
7717         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
7718         call resizeInsets.
7719         (workAreaExpose): call resizeInsets when the with BufferView changes.
7720         (Dispatch): adjust for protectedBlank removal
7721         (specialChar): call updateInset if the insert went ok.
7722
7723         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
7724         specialChar instead.
7725
7726         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
7727
7728         * BufferView.h: doxy change
7729
7730         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
7731
7732         * lyxtextclass.C (operator[]): remove non-const version
7733         (defaultLayout): remove non-const version
7734
7735 2002-03-12  Juergen Vigna  <jug@sad.it>
7736
7737         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
7738         did resize the LyXText too.
7739
7740         * buffer.C (readLyXformat2): set layout information on newly allocated
7741         paragraphs.
7742
7743         * tabular.C (OldFormatRead): set layout information on the paragraph.
7744
7745 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
7746
7747         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
7748
7749 2002-03-11  Juergen Vigna  <jug@sad.it>
7750
7751         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
7752         plainly wrong.
7753         (resizeCurrentBuffer): force also the insets to resize themselfes.
7754         (moveCursorUpdate): fixed up for InsetText.
7755
7756 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
7757
7758         * commandtags.h:
7759         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
7760         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
7761         value of Dialogs::tooltipsEnabled().
7762         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
7763
7764 2002-03-08  Juergen Vigna  <jug@sad.it>
7765
7766         * BufferView_pimpl.C (updateInset): update inset inside inset also
7767         if it isn't inside theLockingInset().
7768
7769 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7770
7771         * buffer.C (asciiParagraph): redo some of the word and line length
7772         handling.
7773         (getLists): look for Caption instead of caption.
7774
7775 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7776
7777         * buffer.C (Buffer): initialize niceFile to true
7778         (makeLaTeXFile):
7779         (makeLinuxDocFile):
7780         (makeDocBookFile): make sure niceFile is true on exit
7781
7782 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7783
7784         * buffer.C (makeLaTeXFile): escape ~ in \input@path
7785
7786 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
7787
7788         * LyXSendto.C: remove.
7789         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
7790         * lyx_gui.C: remove now-redundant comment.
7791         * ColorHandler.h: remove forward declaration of class WorkArea.
7792         * lyxfunc.C: remove #include "WorkArea.h".
7793
7794 2002-03-07  Juergen Vigna  <jug@sad.it>
7795
7796         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
7797         got moved away with the DEPM and also set the inset_owner always
7798         right which before could have been omitted.
7799
7800 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7801
7802         * buffer.C (parseSingleLyXformat2Token): use default layout is the
7803         wanted layout is not found.
7804
7805 2002-03-07  Juergen Vigna  <jug@sad.it>
7806
7807         * CutAndPaste.C (cutSelection): another layout settings forgotten.
7808
7809 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7810
7811         * paragraph.C (breakParagraph): use default layout not layout of
7812         prev paragraph.
7813         (Paragraph): clear ParagraphParameters.
7814
7815 2002-03-06  Juergen Vigna  <jug@sad.it>
7816
7817         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
7818         otherwise it would not be a valid lenght. Fixed a special case in
7819         the minipage compatibility read where we end the document with a
7820         minipage.
7821
7822         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
7823         was set as it could be 0 for InsetTexts first entry.
7824
7825 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7826
7827         * paragraph.C (writeFile): if layout is empty write out
7828         defaultLayoutName().
7829
7830         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
7831         file without named layout we set layout to defaultLayoutName().
7832
7833 2002-03-06  Juergen Vigna  <jug@sad.it>
7834
7835         * CutAndPaste.C (copySelection): set layout for new paragraph.
7836
7837         * text.C (prepareToPrint): leave ERT inset left aligned
7838         (leftMargin): don't indent paragraphs inside ERT insets
7839
7840 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7841
7842         * paragraph.C (breakParagraph): dont call clear do the work manually
7843
7844         * paragraph.[Ch] (clear): remove function
7845
7846 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7847
7848         * paragraph.C (Paragraph): dont call clear, the work has already
7849         been done.
7850
7851         * lyxtextclass.C (operator): assert if n is empty
7852
7853         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
7854         work manually instead.
7855
7856 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
7857
7858         * BufferView_pimpl.C: protect selectionLost against text == 0
7859
7860 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7861
7862         * text.C (breakParagraph): fix a setting layout to '0' problem.
7863
7864 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
7865
7866         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
7867         final location of file, for the included files, and graphics.
7868
7869 2002-03-05  Juergen Vigna  <jug@sad.it>
7870
7871         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
7872
7873 2002-03-04  Juergen Vigna  <jug@sad.it>
7874
7875         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
7876
7877         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
7878         last column of multicolumn cells.
7879         (SetWidthOfMulticolCell): recalculate NMC and real columns.
7880
7881 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
7882
7883         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
7884         file if it doesn't go to a temporary file.
7885
7886         * buffer.C (sgmlOpenTag):
7887         (sgmlCloseTag):  remove extra newline insertion.
7888
7889 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7890
7891         * text.C (getRowNearY): comment out debug msg
7892
7893 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7894
7895         * text2.C: first -> first_y
7896
7897         * text.C (getRowNearY): add some attemts at a possible
7898         optimization, not working.
7899
7900         * tabular.[Ch]: add BufferParams to several function so that newly
7901         created paragraph can be initialized to he default layotu for the
7902         buffers textclass.
7903
7904         * tabular-old.C (ReadOld): add buf->params to call of Init
7905
7906         * screen.C: rename text->first to text->first_y
7907
7908         * paragraph.C (breakParagraph): always set layout in the broken
7909         paragraph
7910
7911         * lyxtextclass.C (Read): remove lowercase
7912         (hasLayout): ditto
7913         (operator): ditto
7914         (delete_layout): ditto
7915
7916         * lyxtext.h: rename first -> first_y
7917
7918         * lyxlayout.C (Read): remove lowercase
7919         (name): ditto
7920         (setName): ditto
7921         (obsoleted_by): ditto
7922
7923         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
7924
7925         * buffer.C (insertErtContents): add params are to InsetERT
7926         (parseSingleLyXformat2Token): add code to check if a paragraphs
7927         layout really exist.
7928         (parseSingleLyXformat2Token): add params to several inset
7929         constructors
7930         (asciiParagraph): remove lowercase, do the layout comparisons with
7931         no_case
7932
7933         * BufferView_pimpl.C (cursorNext): first -> first_y
7934         (resizeCurrentBuffer): first -> first_y
7935         (updateScrollbar): first -> first_y
7936         (scrollCB): first -> first_y
7937         (workAreaMotionNotify): first -> first_y
7938         (workAreaButtonPress): first -> first_y
7939         (checkInsetHit): first -> first_y
7940         (cursorPrevious): first -> first_y
7941         (cursorNext): first -> first_y
7942         (Dispatch): add buffer_->params to severl inset contructors
7943
7944 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7945
7946         * lyxlayout.C (Read): remove some debug info that I forgot.
7947
7948         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
7949         clean up the code slightly.
7950         (makeLinuxDocFile): ditto
7951         (makeDocBookFile): ditto
7952
7953         * text2.C: layout as string
7954
7955         * text.C: layout as string
7956
7957         * paragraph_pimpl.C: layout as string
7958
7959         * paragraph.[Ch]: layout as string
7960
7961         * lyxtextclasslist.[Ch]: layout as string
7962
7963         * lyxtextclass.[Ch]: layout as string
7964
7965         * lyxtext.h: layout as string
7966
7967         * lyxlayout.[Ch]: layout as string
7968
7969         * lyx_cb.C: layout as string
7970
7971         * bufferview_funcs.C: layout as string
7972
7973         * bufferparams.C: layout as string
7974
7975         * buffer.C: layout as string
7976
7977         * LyXView.[Ch]: layout as string
7978
7979         * LaTeXFeatures.[Ch]: layout as string
7980
7981         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
7982
7983         * BufferView_pimpl.C: change current_layout to string, remove
7984         lyx::layout_type.
7985         (Dispatch):
7986         (smartQuote):
7987         (insertInset):
7988         (workAreaButtonRelease): layout as string
7989
7990         * BufferView2.C (unlockInset): adjust
7991
7992         * vspace.C (asLatexCommand): use an explict temp variable.
7993
7994 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
7995
7996         * Makefile.am: use FRONTEND_*
7997
7998 2002-03-01  Juergen Vigna  <jug@sad.it>
7999
8000         * tabular.C (SetWidthOfMulticolCell): changed to something better
8001         I hope but still work in progress.
8002         (recalculateMulticolumnsOfColumn): renamed function from
8003         recalculateMulticolCells as it is more appropriate now.
8004         (SetWidthOfCell): calculate multicols better.
8005
8006 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8007
8008         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
8009
8010         * lyxfunc.C (processKeySym): print sequence also if it is
8011         `deleted' (complete)
8012
8013         * kbsequence.C (print): print sequence even if it is deleted
8014         (complete would be a better word, actually).
8015
8016         * lyxfunc.C (dispatch): print complete options after a prefix key
8017
8018         * vspace.C (asLatexCommand): rewrite in a slightly different form.
8019
8020 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
8021
8022         * text2.C (setCharFont): eliminate setCharFont code duplication.
8023
8024 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8025
8026         * BufferView_pimpl.C (Dispatch): remove bogus handling of
8027         LFUN_TABULAR_FEATURE (bug #177)
8028
8029 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
8030
8031         * Makefile.am: remove figure.h
8032
8033 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
8034
8035         * Bufferview_pimpl.C:
8036         * CutAndPasteC:
8037         * LaTeX.C:
8038         * LyXSendto.C:
8039         * buffer.C:
8040         * bufferlist.C:
8041         * converter.C:
8042         * language.C:
8043         * lyxfunc.C:
8044         * lyxvc.C:
8045         * paragraph.C:
8046         * text.C:
8047         * text2.C: remove #include "lyx_gui_misc.h".
8048
8049         * LaTeX.C: added #include <cstdio>
8050
8051 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8052
8053         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
8054         that the paragraph following this one can have.
8055
8056         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
8057
8058         * vspace.C (asLatexCommand): fix bogus gcc warning
8059
8060         * Makefile.am (lyx_SOURCES): remove vms_defines.h
8061
8062 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
8063
8064         * text2.C (setLayout): get rid of redundant code
8065
8066 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
8067
8068         * text2.C (incDepth): make sure depth cannot be increased beyond
8069         reasonable values.
8070
8071 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
8072
8073         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
8074         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
8075
8076         * PainterBase.h (image):
8077         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
8078         a LyXImage const *.
8079
8080 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
8081
8082         * BufferView.C:
8083         * BufferView.h:
8084         * BufferView_pimpl.C:
8085         * BufferView_pimpl.h:
8086         * LaTeXFeatures.C:
8087         * LyXAction.C:
8088         * LyXView.C:
8089         * Makefile.am:
8090         * UpdateList.h:
8091         * UpdateList.C:
8092         * buffer.C:
8093         * figure.h:
8094         * figureForm.C:
8095         * figureForm.h:
8096         * figure_form.C:
8097         * figure_form.h:
8098         * lyx_cb.C:
8099         * lyx_gui.C:
8100         * lyx_gui_misc.C:
8101         * lyxfunc.C:
8102         * sp_base.h:
8103         * sp_ispell.h:
8104         * sp_pspell.h:
8105         * sp_spell.C: remove fig inset, and the crap house of
8106           cards that follows it
8107
8108 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
8109
8110         * Makefile.am:
8111         * lyxserver.C:
8112         * os2_defines.h:
8113         * os2_errortable.h:
8114         * nt_defines.h: move .h into support/
8115
8116         * vms_defines.h: remove
8117
8118         * WorkArea.C: add space in debug output
8119
8120         * text2.C:
8121         * paragraph.C:
8122         * buffer.C: add WITH_WARNINGS
8123
8124         * vc-backend.h:
8125         * vc-backend.C:
8126         * bufferlist.C: s/retrive/retrieve/, add docs
8127
8128         * vspace.h:
8129         * vspace.C:
8130         * kbmap.h:
8131         * lyxlength.h:
8132         * lyxgluelength.h:
8133         * length_common.h:
8134         * chset.h:
8135         * chset.C: add docs
8136
8137         * lyxgui.C: add ID to X error handler
8138
8139         * lyxtestclass.c: fix typo
8140
8141 2002-02-26  Juergen Vigna  <jug@sad.it>
8142
8143         * tabular_funcs.C (write_attribute): changed so that some default
8144         attributes are not written at all.
8145         (getTokenValue): set default values before trying to read the
8146         value so we have the return value always set as default if we don't
8147         find the token we search for.
8148
8149         * tabular.C (Write): write bools as bools not as strings!
8150
8151 2002-02-22  Juergen Vigna  <jug@sad.it>
8152
8153         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
8154         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
8155
8156         * text.C (leftMargin): don't add an indent for paragraphs inside
8157         tabular cells (fix #208).
8158
8159 2002-02-21  José Matos  <jamatos@fep.up.pt>
8160
8161         * tabular.C (docBook): fixed support for long tables.
8162
8163 2002-02-20  Juergen Vigna  <jug@sad.it>
8164
8165         * text2.C (getFont): get the drawing font of the Inset if this
8166         paragraph is inside an inset (only important for InsetERT for now).
8167
8168         * buffer.C (insertErtContents): use new lanugage params in ERT
8169         constructor.
8170
8171         * CutAndPaste.C: commenting out seemingly uneeded code.
8172
8173 2002-02-19  Allan Rae  <rae@lyx.org>
8174
8175         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
8176         Iterators might be simple to use but they also get invalidated.
8177         (removeAutoInsets): renamed saved cursor tracking variables and added
8178         some comments to clarify what everything does.
8179
8180 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
8181
8182         * Chktex.C:
8183         * LaTeX.C:
8184         * LyXSendto.C:
8185         * converter.C:
8186         * lyx_cb.C:
8187         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
8188         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
8189
8190         * lyxfunc.C:
8191         * vc-backend.h: remove #include "support/syscall.h"
8192
8193         * LaTeX.C:
8194         * LyXSendto.C:
8195         * converter.C: rearrange #includes in Lars' approved fashion.
8196
8197         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
8198         forward declare class Timeout in the header file.
8199
8200         * XFormsView.C: changes due to the above.
8201
8202         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
8203         similar to LyXView.
8204
8205         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
8206         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
8207
8208 2002-02-18  José Matos  <jamatos@fep.up.pt>
8209
8210         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
8211         insets contents.
8212
8213 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
8214
8215         * a lot of small ws changes
8216         * add a lot of using std::XXX
8217         * use std construcs some places where approp.
8218         * use some exisint stuff from lyxfunctional where approp.
8219         * Make file changes to use partial linking (lets test this now...)
8220
8221 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
8222
8223         * Chktex.C:
8224         * buffer.C:
8225         remove #include "support/syscontr.h" as it's redundant. Always has been.
8226
8227         * Chktex.C:
8228         * LaTeX.C:
8229         * LyXSendto.C:
8230         * converter.C:
8231         * lyx_cb.C:
8232         * vc-backend.C:
8233         change Systemcalls::System to Systemcalls::Wait and
8234         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
8235         No change of functionality, just reflects the stripped down Systemcalls
8236         class.
8237
8238 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
8239
8240         * debug.[Ch]: add a GRAPHICS type to the enum.
8241
8242 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8243
8244         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
8245
8246         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
8247         there is an inset.
8248
8249 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8250
8251         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
8252         match the changes below.
8253
8254         * text2.C (toggleInset): if there is not editable inset at cursor
8255         position, try to see if cursor is _inside_ a collapsable inset
8256         and close it.
8257
8258 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8259
8260         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
8261         document menu has a nice checkbox
8262
8263 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8264
8265         * lyxlength.C (asLatexString): change PW to output as percent of
8266         \textwidth.
8267
8268         * lengthcommon.C: change '%' to 't%'
8269
8270         * lyxfunc.C (dispatch): a few comments from Martin
8271
8272 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
8273
8274         * WorkArea.h:
8275         * WorkArea.C:
8276         * BufferView_pimpl.h:
8277         * BufferView_pimpl.C: clear our selection when X tells us we've lost
8278           the X selection.
8279
8280 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8281
8282         * vspace.C (inPixels): fix compiler warning
8283
8284 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8285
8286         * lyxfunc.C (getStatus): fix status message for disabled commands.
8287
8288 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
8289
8290         * BufferView_pimpl.C: fix crash on close buffer
8291         during selection (#227)
8292
8293 2002-01-27  Herbert Voss  <voss@lyx.org>
8294
8295         * buffer.C: link old Figure to new graphic inset
8296
8297 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
8298
8299         * FontLoader.C (getFontinfo): Change the latex font names in order
8300         to match the names of type1inst.
8301
8302 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8303
8304         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
8305
8306         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
8307         (extchanged): ditto
8308         (ext_exist): ditto
8309         (remove_files_with_extension): ditto
8310         (remove_file): ditto
8311         (write): ditto
8312
8313         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
8314         document is smaller than the work area height. Do not initialize
8315         static variables to 0.
8316
8317 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8318
8319         * lyx_gui.C (init): give the toolbar tooltips a normal font.
8320
8321         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
8322         LFUN_LAYOUT_PARAGRAPHS.
8323
8324         * tabular.C (GetCellFromInset): new method. Finds an inset in a
8325         tabular. It is possible to provide a possible cell, which will
8326         typically be the actcell from the corresponding insettabular
8327
8328         * lyxfunc.C (getStatus): small cleanup; disable
8329         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
8330         true
8331
8332 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8333
8334         * tabular.C (Validate): remove broken optimization (fixes bug #201)
8335
8336         * paragraph.C (startTeXParParams):
8337         (endTeXParParams): new methods. The LaTeX code to
8338         start/end paragraph formatting
8339         (simpleTeXOnePar): call startTeXParParams also when paragraph is
8340         empty (fixes bug #200)
8341
8342         * vspace.C (inPixels): adapt to the change below
8343         (inPixels): [later] more cleanups (remove unused variables)
8344
8345         * lyxlength.C (inPixels): change to use a width and a height as
8346         parameter.
8347
8348 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8349
8350         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
8351         Replaced with \paperwidth
8352
8353         * DepTable.C (insert): add std:: qualifier
8354
8355 2002-01-18  Allan Rae  <rae@lyx.org>
8356
8357         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
8358         updated also?
8359
8360         * text.C (drawInset): Turned out I didn't know enough about how
8361         rebreaking worked.  This fixes most of the redraw problems.  I see
8362         an occasional cursor trail when a line is broken now and the cursor
8363         placement can seem out by a few pixels also after a rebreak.
8364
8365 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8366
8367         * buffer.C (parseSingleLyXformat2Token): update because minipage
8368         width is now a LyXLength
8369
8370         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
8371
8372         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
8373         math insets
8374
8375 2002-01-17  Juergen Vigna  <jug@sad.it>
8376
8377         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
8378
8379         * BufferView2.C (lockInset): call edit() so that theLockingInset()
8380         is set correctly and the inset is updated correctly.
8381
8382 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8383
8384         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
8385         the beginning of the loop.
8386
8387 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
8388
8389         * lyxrc.C: improve help for use_scalable_fonts
8390
8391 2002-01-17  Allan Rae  <rae@lyx.org>
8392
8393         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
8394
8395 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8396
8397         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
8398         make sure to set their inset_owner to the right value (bug #171)
8399
8400 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
8401
8402         * DepTable.h
8403         * DepTable.C: Implement mtime checking to reduce time spent doing
8404         CRCs.
8405
8406 2002-01-16  Juergen Vigna  <jug@sad.it>
8407
8408         * tabular.C (GetAdditionalHeight): one of error fixed.
8409
8410         * lyxrc.C (output): small fix in writing use_pspell.
8411
8412 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
8413
8414         * sp_base.h: #include LString.h
8415
8416 2002-01-16  Allan Rae  <rae@lyx.org>
8417
8418         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
8419         Can someone check this please?
8420
8421         * text.C (drawInset): It was possible that p.row would be removed by
8422         breakAgainOneRow upsetting a few other settings.  There may be another
8423         small tweak possible by setting need_break_row = 0 when p.row has been
8424         removed but I don't know enough about the logic here.
8425
8426 2002-01-15  Allan Rae  <rae@lyx.org>
8427
8428         * text.C (insertChar): removed conditional truism.
8429
8430         * BufferView2.C (removeAutoInsets): More tweaks.
8431         cur_par_prev could be a stray pointer.  Check for trailing empty line
8432         in case last line was cur_par and only had an error inset on it.
8433
8434 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8435
8436         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
8437         absolute
8438
8439         * vc-backend.C (most methods):
8440         * exporter.C (Export):
8441         * converter.C (convert):
8442         (runLaTeX):
8443         * LyXSendto.C (SendtoApplyCB):
8444         * lyxfunc.C (dispatch):
8445         (menuNew):
8446         (open):
8447         (doImport):
8448         * lyx_cb.C (AutoSave):
8449         (InsertAsciiFile):
8450         * BufferView_pimpl.C (MenuInsertLyXFile):
8451         * buffer.C (runChktex): use Buffer::filePath().
8452
8453         * buffer.h: rename filename to filename_; rename filepath to
8454         filepath_ and make it private
8455         (filePath): new method
8456
8457         * buffer.C (writeFile): use fileName()
8458         (getLatexName):
8459
8460         * lyx_main.C (init): fix starting  of LyX when the binary is a
8461         link from so,ewhere else.
8462
8463         * minibuffer.C: include <cctype> for isprint
8464
8465 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
8466
8467         * buffer.C (parseSingleLyXformat2Token): changes associated with the
8468         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
8469         name clash with InsetCollapsable's width function.
8470
8471 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8472
8473         * lastfiles.C: include <iterator>
8474
8475 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
8476
8477         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
8478         std::count.
8479
8480         * buffer.C (makeLaTeXFile): ditto.
8481         Also make loop operation more transparent.
8482
8483 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
8484
8485         * ToolbarDefaults.C: remove trailing comma closing namespace.
8486
8487         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
8488
8489         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
8490         as in WorkArea.
8491
8492         * trans.C (Load): comment out unused variable, allowed.
8493
8494 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
8495
8496         * minibuffer.[Ch] (append_char): new method to recieve input from the
8497         drop-down completion browser. If a key was pressed, then recieve this
8498         char and append it to the existing string.
8499         (peek_event): modify the positioning data passed to the completion
8500         browser so that it can be placed above the minibuffer rather than below.
8501 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8502
8503         * LyXAction.C (init): alloe error-next for readonly documents.
8504
8505         * BufferView2.C (ChangeRefsIfUnique): use standard version of
8506         count.
8507
8508 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8509
8510         * bufferlist.C (readFile): create the buffer _after_ checking that
8511         the file exists.
8512
8513         * lyxfunc.C (verboseDispatch): fix handling of arguments
8514
8515         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
8516
8517         * lyxrc.C: use string::erase() instead of initializing to "".
8518
8519
8520 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
8521
8522         * BufferView_pimpl.h:
8523         * BufferView_pimpl.C:
8524         * WorkArea.h:
8525         * WorkArea.C:
8526         * text2.C: tell X when we have made a selection for copying
8527
8528 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8529
8530         * BufferView_pimpl.C (MenuInsertLyXFile):
8531         * lyxfunc.C (menuNew):
8532         (open):
8533         (doImport): add shortcuts to directory buttons
8534
8535         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
8536         open a float)
8537
8538         * lyxfunc.C (setStatusMessage):
8539         (getStatusMessage): new methods
8540         (getStatus):use setStatusMessage instead of setErrorMessage
8541         (dispatch): when function is disabled, set error message here
8542         [instead of in getStatus previously]
8543
8544         * BufferView_pimpl.C (workAreaButtonRelease): update
8545         toolbar/menubar here too.
8546
8547 2002-01-13  Allan Rae  <rae@lyx.org>
8548
8549         * BufferView2.C (removeAutoInsets): finished off earlier fix.
8550         Now seems indestructible.  Remaining task is to audit all other
8551         code affected by deleteEmptyParagraphMechanism.  One small quirk
8552         left is that an empty document with an error in the preamble can
8553         be made to report an error but no error box appears.  I don't know
8554         where it goes.
8555         (removeAutoInsets): Improved comments.
8556
8557 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
8558
8559         * Thesaurus.h:
8560         * Thesaurus.C: update for Aiksaurus 0.14
8561
8562 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8563
8564         * text2.C (firstParagraph): removed member function, all uses
8565         replaces with ownerParagraph
8566         (redoParagraphs): here
8567         (updateInset): here
8568         (toggleAppendix): here
8569         * BufferView2.C (insertErrors): here
8570         (setCursorFromRow): here
8571
8572 2002-01-13  Allan Rae  <rae@lyx.org>
8573
8574         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
8575         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
8576         There is still a way to segfault this although you may have to do this
8577         multiple times: Have an InsetERT with an unknown command in it.
8578         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
8579         <down-arrow>, <Enter> again, View->DVI, BANG!
8580
8581         * text2.C (setCursor):
8582         (deleteEmptyParagraphMechanism):
8583         * lyxtext.h (setCursor):
8584         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
8585         Making use of the return value may help fix other bugs.
8586
8587 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8588
8589         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
8590
8591         * LyXView.C (updateMenubar): call MenuBar::update here
8592         (updateToolbar): but not here
8593         (showState): do not update toolbar/menubar
8594
8595         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
8596         should need to care about that.
8597
8598         * lyxfunc.C (verboseDispatch): simplify a bit
8599         (getStatus): have a version which takes a pseudoaction, and
8600         another which requires a (kb_action,string).
8601
8602         * LyXAction.C (retrieveActionArg): make it work also when action
8603         is not a pseudo-action.
8604         (getActionName): simplify a bit
8605         (helpText):
8606
8607 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8608
8609         * lyxfunc.C (verboseDispatch): new families of methods with
8610         several ways to specify a command and a bool to indicate whether
8611         the command name and shortcut should be displayed in minibuffer
8612         (eventually, we could extend that to a finer bitmask like
8613         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
8614         (dispatch): the pristine dispatch command which just, well,
8615         dispatchs! Note it still sets its result to minibuffer; I'm not
8616         sure we want that.
8617
8618         * lyxfunc.h: remove setHintMessage
8619
8620         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
8621
8622 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8623
8624         * BufferView_pimpl.C (specialChar): delete new inset if we have
8625         not been able to insert it.
8626
8627         * kbmap.C: revert to using int instead of kb_action, since all we
8628         are dealing with is pseudo-actions.
8629
8630         * LyXAction.C (searchActionArg): change to return int instead of
8631         kb_action, since the result is a pseudoaction.
8632
8633 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
8634
8635         * buffer.C (insertErtContents): Fix (partially) the font bug.
8636
8637 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
8638
8639         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
8640         as the other one is broken on my machine!
8641
8642 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
8643
8644         * commandtags.h:
8645         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
8646
8647 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
8648
8649         * lyxrc.[Ch]: change names and descriptions of popup font variables to
8650         reflect their actual use. Provide compatibility code for older lyxrc
8651         files.
8652
8653         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
8654         FL_NORMAL_STYLE.
8655         change names of popup font variables in line with the changes to lyxrc.C
8656
8657 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8658
8659         * buffer.C (asciiParagraph): avoid outputing a word twice after
8660         an inset.
8661
8662         * lyxrc.C (getDescription): document that document_path and
8663         template_path can be empty.
8664
8665 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8666
8667         * LaTeXFeatures.C (getMacros):
8668         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
8669
8670         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
8671
8672         * LaTeXFeatures.C (useFloat): require "float" here instead of in
8673         getPackages.
8674         (getPackages): rename feature "floats" to "float". Use an array to
8675         iterate over 'simple' features (i.e. just a \usepackage). Add
8676         handling of "amsmath" (renamed from "amsstyle").
8677
8678 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
8679
8680         * LaTeXFeatures.C (require): Prevent duplicate entries in the
8681         features list.
8682
8683 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
8684
8685         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
8686         FuncStaus::FuncStatus & FuncStaus::some_method().
8687
8688 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
8689
8690         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
8691         of the func_satus stuff. Edited and massaged in various ways by
8692         JMarc.
8693
8694         * lyxfunc.C (getStatus): use FuncStatus
8695
8696 2002-01-08  Juergen Vigna  <jug@sad.it>
8697
8698         * text.C (nextBreakPoint): use function Inset::isChar().
8699
8700         * paragraph.C (TeXOnePar): use function
8701         Inset::forceDefaultParagraphs.
8702
8703         * buffer.C (latexParagraphs): use function
8704         Inset::forceDefaultParagraphs.
8705
8706 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
8707
8708         * lyx_gui.C (init): set the style of the menu popups to
8709         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
8710
8711 2002-01-07  Juergen Vigna  <jug@sad.it>
8712
8713         * text.C (setHeightOfRow): small fix
8714         (prepareToPrint): don't look at alignment if we don't have the place
8715         for doing it.
8716
8717 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
8718
8719         * box.C: New file. Move the Box methods and functions out of box.h,
8720         following Lars' suggestion.
8721
8722 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
8723
8724         * box.h: #include "support/LOstream.h", needed for inlined function.
8725
8726         * lyxtextclass.C:
8727         * lyxtextclasslist.C: added some using std declarations.
8728
8729 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
8730
8731         * box.h: make signed dimensions to allow insets wider than
8732           the screen (bug #162)
8733
8734         * BufferView_pimpl.C: add some insetHit debug
8735
8736 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
8737
8738         * vc-backend.C: add FIXME
8739
8740 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8741
8742         * lyxfunc.C (getStatus): enable code for showing math font status
8743         in toolbar/menu.
8744
8745 2002-01-07  Juergen Vigna  <jug@sad.it>
8746
8747         * text.C (nextBreakPoint): removed debug output not needed anymore.
8748
8749 2002-01-06  Juergen Vigna  <jug@sad.it>
8750
8751         * text.C (nextBreakPoint): fixed up this function we had this bug
8752         since ever but now hopefully we break row better.
8753         (insertChar): we have to check if an inset is the next char as it
8754         could now happen that a large inset is causing a break.
8755
8756 2002-01-05  Juergen Vigna  <jug@sad.it>
8757
8758         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
8759         if it doesn't like to be drawed.
8760
8761 2002-01-04  Juergen Vigna  <jug@sad.it>
8762
8763         * BufferView2.C (lockInset): forgot to set a cursor.
8764
8765         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
8766
8767 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
8768
8769         * FormMathsPanel.C:
8770         * FormMathsPanel.h
8771         * MathsSymbols.C:
8772         * form_maths_panel.C:
8773         * form_maths_panel.h:
8774         * form_maths_panel.fd: implemented sub- and super- buttons in math
8775         panel.
8776
8777         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
8778         (or ^ space) to be used as in TeX (req'd by André).
8779
8780         * lyxfunc.C: Allow ^ and _ again to be used both as
8781         super/subscript (mathed) and as themselves (in text).
8782
8783 2002-01-03  Allan Rae  <rae@lyx.org>
8784
8785         * LyXView.C (updateWindowTitle): Setup a short icon title of either
8786         "LyX" or the filename of the current buffer if it has one.  This is a
8787         modified form of John Levon's patch.
8788
8789         * XFormsView.C (setWindowTitle): also set icon title.
8790
8791         * LyXView.h (setWindowTitle): signature changed.
8792         * XFormsView.h (setWindowTitle): ditto.
8793
8794 2002-01-02  Juergen Vigna  <jug@sad.it>
8795
8796         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
8797
8798 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8799
8800         * screen.C (topCursorVisible): introduce a temp var for
8801         text->cursor.row(), handle the case where this row is null. (kindo
8802         hachish)
8803
8804         * text2.C (setCursor): add a couple of asserts.
8805
8806         * paragraph.h (inset_iterator): add -> operator
8807
8808         * paragraph.[Ch] (autoDeleteInsets): remove member function
8809
8810         * BufferView2.C (removeAutoInsets): rewrite to handle the old
8811         cursor pos correctly and handle inset deletion by itself.
8812         (insertErrors): move iterator declaration out of for expression
8813
8814         * lyxtextclass.C: add <algorithm>
8815
8816         * Makefile.am: added the new files to sources, removed layout.C
8817
8818         * layout.C: removed file
8819
8820         * layout.h: remove LYX_DUMMY_LAYOUT
8821
8822         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
8823         layout.
8824
8825         * lyxlayout.[Ch]:
8826         * lyxtextclass.[Ch]:
8827         * lyxtextclasslist.[Ch]: new files
8828
8829         * include order changes to a lot of files, also changes because of
8830         the six new files.
8831
8832 2001-12-27  Juergen Vigna  <jug@sad.it>
8833
8834         * buffer.C (asciiParagraph): more fixes.
8835
8836         * tabular.C (ascii): make ascii export support export of only the
8837         data separated by a column-delimiter.
8838         (ascii): better support for ascii export.
8839
8840         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
8841
8842 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8843
8844         * tabular_funcs.C: use a "using std::getline" instead of the
8845         previous fix from Angus (necessary for cxx + lyxstring)
8846
8847 2001-12-24  Juergen Vigna  <jug@sad.it>
8848
8849         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
8850
8851         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
8852         problems. First check a minipage also if we have some ert-contents
8853         (not only on par->size(), second set the right depth of the paragraph
8854         on the relink to the root-paragraph-list!
8855
8856         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
8857         which then did not anymore update the main paragraphs on undo/redo!
8858
8859 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8860
8861         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
8862         code. Support all font-changing funcs (even those which are not in
8863         menu currently). Support for reporting font settings in
8864         mathed (disabled until Andre provides a function on mathed's side).
8865
8866         * func_status.h (toggle): small helper function to set toggle
8867         state on a flag.
8868
8869 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
8870
8871         * tabular_funcs.C: getline -> std::getline
8872
8873 2001-12-21  Juergen Vigna  <jug@sad.it>
8874
8875         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
8876         accessed and could be 0 (I couldn't generate this but it seems
8877         Michael could!).
8878
8879 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8880
8881         * tabular_funcs.C: add LIstream.h, move write_attribute to..
8882         * tabular_funcs.h: here and include iosfwd
8883
8884 2001-12-20  Juergen Vigna  <jug@sad.it>
8885
8886         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
8887         inside inset but undo_par was.
8888
8889 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8890
8891         * Thesaurus.C: always include <config.h> in sources.
8892
8893         * Painter.h:
8894         * lyxlookup.h:
8895         * box.h: do not include <config.h> in header files
8896
8897         * text.C (paintLastRow): remove unused variable
8898
8899         * text.C (transformChar):
8900         (insertChar):
8901         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
8902
8903         * Painter.C (text):
8904         * font.C (width): rewrite to use uppercase() instead of
8905         islower/toupper.
8906
8907         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
8908
8909 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
8910
8911         * lyxfind.C: clean up of find failure position change
8912
8913 2001-12-20  Juergen Vigna  <jug@sad.it>
8914
8915         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
8916
8917         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
8918         (TeXRow): added to LaTeX a single tabular row.
8919         (TeXLongtableHeaderFooter): added to output LT-h/f data.
8920         (Latex): simplified and finally good LT-h/f support.
8921         (various_functions): just small adaptions for LT-h/f support.
8922
8923         * tabular_funcs.[hC]: added and moved here all not classfunctions
8924         of LyXTabular.
8925
8926 2001-12-19  Juergen Vigna  <jug@sad.it>
8927
8928         * tabular.[Ch]: better support for longtabular options (not finished
8929         yet!)
8930
8931 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8932
8933         * text.C (paintLastRow): use the label font instead of the font of
8934         the last character to compute the size of *_BOX. This makes more
8935         sense and avoids a crash with empty paragraphs.
8936         Use Painter::rectangle to draw EMPTY_BOX.
8937
8938 2001-12-19  Juergen Vigna  <jug@sad.it>
8939
8940         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
8941         the paragraphs if the replaced paragraph is not the first one!
8942         Tried to delete not used paragraphs but does not work yet so for
8943         now it's inside #ifdef's and by default off!
8944
8945 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8946
8947         * MenuBackend.C: include "lyx_main.h" instead of declaring
8948         lastfiles (actually was declared as LastFiles* instead of a
8949         scoped_ptr).
8950
8951 2001-12-17  Juergen Vigna  <jug@sad.it>
8952
8953         * tabular.C (AppendColumn): applied John's fix
8954
8955 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
8956
8957         * BufferView.h:
8958         * BufferView.C:
8959         * BufferView_pimpl.h:
8960         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
8961
8962         * Makefile.am:
8963         * box.h: new start of class for above
8964
8965         * lyxfunc.C: ignore space-only minibuffer dispatches.
8966           Show the command name when it doesn't exist
8967
8968         * minibuffer.C: don't add empty lines to the history
8969
8970         * minibuffer.C: add a space on dropdown completion
8971
8972 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
8973
8974         * text.C: fix line above/below drawing in insets
8975
8976 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8977
8978         * lyxlength.C (LyXLength): Initialize private variables.
8979
8980 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
8981
8982         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
8983         when inserting error insets.
8984
8985 2001-12-13  Juergen Vigna  <jug@sad.it>
8986
8987         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
8988         actually sometimes the before-paragraph.
8989         (setUndo): don't clear the redostack if we're not actually undoing!
8990
8991 2001-12-06  Juergen Vigna  <jug@sad.it>
8992
8993         * undo_funcs.C (textHandleUndo): well after John's hint I got here
8994         and fixed redoing of main paragraph, so we can use it now ;)
8995
8996         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
8997
8998 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8999
9000         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
9001         Juergen's request
9002
9003 2001-12-13  André Pönitz <poenitz@gmx.net>
9004
9005         * undostack.[Ch]:
9006         * undo_func.C: minor cleanup
9007
9008 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9009
9010         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
9011         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
9012         font in urw-fonts package which is marked as -urw-fontspecific and
9013         does not work (incidentally, changing the encoding in the
9014         fonts.dir of this package to -adobe-fontspecific fixes the
9015         problem).
9016
9017         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
9018         is a crash when undoing first paragraph (Juergen, please take a
9019         look). THis does not mean the undo fix is wrong, just that it
9020         uncovers problems.
9021
9022         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
9023         the (Paragraph*) version when needed instead of duplicating the
9024         code.
9025
9026         * text.C (workWidth): use Inset::parOwner to find out where the
9027         inset has been inserted. This is a huge performance gain for large
9028         documents with lots of insets. If Inset::parOwner is not set, fall
9029         back on the brute force method
9030
9031         * paragraph_pimpl.C (insertInset):
9032         * paragraph.C (Paragraph):
9033         (cutIntoMinibuffer): set parOwner of insets when
9034         inserting/removing them
9035
9036         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
9037
9038 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
9039
9040         * commandtags.h:
9041         * LyXAction.C:
9042         * lyx_main.C:
9043         * lyxfunc.C:
9044         * mathed/formulabase.C:
9045         * mathed/math_cursor.[Ch]:
9046         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
9047
9048
9049 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9050
9051         * lyxlength.[Ch] (operator!=): new function
9052
9053 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9054
9055         * text.C (workWidth): use Inset::parOwner to find out where the
9056         inset has been inserted. This is a huge performance gain for large
9057         documents with lots of insets. If Inset::parOwner is not set, fall
9058         back on the brute force method
9059
9060         * paragraph_pimpl.C (insertInset):
9061         * paragraph.C (Paragraph):
9062         (cutIntoMinibuffer): set parOwner of insets when
9063         inserting/removing them
9064
9065         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
9066
9067 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9068
9069         * tabular-old.C (getTokenValue):
9070         * tabular.C (getTokenValue):
9071         (write_attribute): new versions for LyXLength
9072         (everywhere): adjust the use of widths
9073
9074         * tabular.h: change the type of widths from string to LyXLength
9075
9076 2001-12-11  Ben Stanley <bds02@uow.edu.au>
9077
9078         * paragraph.C: fixed missing line number count when exporting
9079         Environments to LaTeX file
9080
9081         * buffer.C: added informational message for checking line numbers.
9082
9083 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9084
9085         * text2.C (deleteEmptyParagraphMechanism): if there is only one
9086         paragraph, do the 'double space' part, but not the 'empty
9087         paragraph' one.
9088
9089         * text.C (workWidth): small optimization
9090         (getLengthMarkerHeight): use minimal size for negative lengths.
9091
9092 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
9093
9094         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
9095
9096         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
9097
9098 2001-12-11  André Pönitz <poenitz@gmx.net>
9099
9100         * FontLoader.C:
9101         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
9102
9103 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
9104
9105         * text2.C: keep selection on a setFont()
9106
9107 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
9108
9109         * lyx_cb.C: another bv->text misuse, from insert label
9110
9111 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
9112
9113         * kbsequence.h:
9114         * kbsequence.C: re-instate nmodifier mask
9115
9116 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
9117
9118         * lyx_main.h: make lyxGUI private.
9119
9120 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
9121
9122         * lyxfind.C: place the cursor correctly on failed search
9123
9124 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9125
9126         * text.C (getLengthMarkerHeight): for small heights, the arrows
9127         are not always on top/bottom of the text
9128         (drawLengthMarker): smaller arrows; take the left margin in
9129         account; draw also vfills.
9130         (paintFirstRow):
9131         (paintLastRow): remove special code for vfill and standard spaces,
9132         since everything is handled in drawLengthMarker now.
9133
9134 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9135
9136         * buffer.C (insertErtContents): try to handle font and language
9137         interaction a bit better.g
9138
9139         * ColorHandler.C (updateColor): change the hash to cover the whole
9140         LColor enum, ws cleanup
9141         (getGCLinepars): ditto
9142         (getGCLinepars): only lookup in the linecache once.
9143
9144 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
9145
9146         * iterators.C (operator++): Make the iterator more robust
9147
9148         * BufferView2.C (removeAutoInsets): Use paragraph iterators
9149         (John's patch)
9150         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
9151
9152 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9153
9154         * lyxtext.h:
9155         * text.C: better added space drawing
9156
9157 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9158
9159         * LyXView.C:
9160         * BufferView2.C: fix layout combo update on inset unlock
9161
9162 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9163
9164         * Makefile.am: don't compile unused files
9165
9166 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9167
9168         * lyxfunc.C:
9169         * commandtags.h:
9170         * LyXAction.C: remove old LFUN_LAYOUTNO
9171
9172 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9173
9174         * paragraph_pimpl.h:
9175         * paragraph_pimpl.C: isTextAt() doesn't need font param
9176
9177 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9178
9179         * lyxlex.h:
9180         * lyxlex.C: little cleanup
9181
9182 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9183
9184         * BufferView_pimpl.C: fix insertAscii for insets
9185
9186 2001-12-05  Juergen Vigna  <jug@sad.it>
9187
9188         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
9189         set the right font on the "multi" paragraph paste!
9190
9191 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9192
9193         * trans_decl.h:
9194         * trans_mgr.[Ch]:
9195         * trans.[Ch]:
9196         * lyxgluelength.C:
9197         * lyxlength.C: remove out-commented code.
9198
9199         * BufferView_pimpl:
9200         * CutAndPaste.C:
9201         * DepTable.C:
9202         * buffer.C:
9203         * chset.C:
9204         * lastfiles.C:
9205         * lyxlex.C:
9206         * lyxlex_pimpl.C:
9207         * lyxserver.C:
9208         * screen.C:
9209         * tabular-old.C:
9210         * tabular.C:
9211         * text.C:
9212         * trans_mgr.C:
9213         * vc-backend.C: change "while(" to "while ("
9214
9215         * lyxlength.[Ch]: add zero function to check if length is zero or
9216         not
9217         * lyxgluelength.C: use it
9218
9219 2001-12-05  Allan Rae  <rae@lyx.org>
9220
9221         * lyxlength.C: Attempted a fix for the abs(int) header selection.
9222         Works for 2.95.3, from what I understand of Garst's reports this should
9223         work for other g++ versions.  We're screwed if the abs(int) definition
9224         changed between bugfix releases of gcc.
9225
9226 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
9227
9228         * text.C: fix chapter label offset !
9229
9230 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
9231
9232         * lyxtext.h:
9233         * text.C: fix hfill at end of line, clean up
9234
9235 2001-12-04  Juergen Vigna  <jug@sad.it>
9236
9237         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
9238         that we force an update of the inset and it's owners if neccessary.
9239
9240 2001-12-03  Juergen Vigna  <jug@sad.it>
9241
9242         * text.C (rowLast): simplified code
9243
9244 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
9245
9246         * lyxfunc.C: fix show options on timeout
9247
9248 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9249
9250         * screen.C (topCursorVisible): scroll half a page when the cursor
9251         reached top of bottom of screen
9252
9253 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
9254
9255         * minibuffer.C: deactivate on loss of focus
9256
9257 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9258
9259         * vspace.[Ch] (operator!=): add operator.
9260
9261 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
9262
9263         * BufferView_pimpl.C: refuse to open an inset when
9264         there's a selection.
9265
9266 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
9267
9268         * BufferView_pimpl.C: allow to click on RHS of full row insets
9269
9270 2001-11-30  Juergen Vigna  <jug@sad.it>
9271
9272         * tabular.C (LyXTabular): add a same_id to set the same id's in the
9273         insets for undo reasons.
9274
9275 2001-11-28  André Pönitz <poenitz@gmx.net>
9276
9277         * vspace.[Ch]: cosmetical changes
9278
9279 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
9280
9281         * LyXAction.h:
9282         * LyXAction.C:
9283         * lyxfunc.h:
9284         * lyxfunc.C:
9285         * kbmap.h:
9286         * kbmap.C:
9287         * lyxrc.C:
9288         * kbsequence.h:
9289         * kbsequence.C: part re-write of old kb code
9290
9291         * Painter.C:
9292         * WorkArea.C: remove Lgb_bug_find_hack
9293
9294 2001-11-30  José Matos <jamatos@fep.up.pt>
9295
9296         * buffer.C (makeDocBookFile): add a comment to point a hack.
9297         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
9298         Fixed a double write of labels.
9299
9300 2001-11-29 Ben Stanley <bds02@uow.edu.au>
9301
9302         * LaTeX.C:
9303         * LaTeX.h Fixed bug in LaTeX class where it would not
9304         re-run latex if no depfiles were changed, but the .dvi was removed.
9305
9306 2001-11-28  André Pönitz <poenitz@gmx.net>
9307
9308         * all the files from the change on 2001/11/26:
9309         use lyx::layout_type instead of LyXTextClass::size_type
9310         use lyx::textclass_type instead of LyXTextClassList::size_type
9311
9312 2001-11-29  Juergen Vigna  <jug@sad.it>
9313
9314         * text.C: added support for paragraph::isFreeSpacing()
9315
9316         * buffer.C: same as above
9317
9318         * paragraph.h: inserted isFreeSpacing() function to enable
9319         FreeSpacing inside InsetERT.
9320
9321         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
9322         of the paragraph's in the cut/copy buffer to 0!
9323
9324         * text2.C (removeRow): remove the assert as it can!
9325
9326         * lyxtext.h: added helper function firstRow returning firstrow and
9327         made firstrow private again.
9328
9329         * BufferView2.C (lockInset): don't relock if we're already locked!
9330
9331         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
9332         the only paragraph.
9333         (removeRow): added Assert::(firstrow)
9334
9335         * debug.C: forgot to add INSETTEXT here.
9336
9337 2001-11-28  Juergen Vigna  <jug@sad.it>
9338
9339         * sp_spell.C (initialize): changed error text to more general
9340         spellchecker command use (not only ispell!)
9341
9342         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
9343
9344         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
9345
9346 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
9347
9348         * vspace.C: initialise lyxgluelength on failure
9349
9350 2001-11-28  Allan Rae  <rae@lyx.org>
9351
9352         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
9353         declaration & definition that looks like a function declaration.
9354
9355 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9356
9357         * BufferView2.C (copy):
9358         (copyEnvironment): do not clear the selection when doing a copy.
9359
9360         * text.C (paintFirstRow): compilation fix
9361
9362 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
9363
9364         * tabular.C (Latex): correct line count when writing latex.
9365
9366 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
9367
9368         * paragraph_pimpl.h:
9369         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
9370           bug a bit
9371
9372 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
9373
9374         * text.C:
9375         * LColor.h:
9376         * LColor.C: change vfillline->added_space
9377
9378         * text.C: add markers and text for added space
9379
9380         * vspace.C: fix comment
9381
9382 2001-11-28  André Pönitz <poenitz@gmx.net>
9383
9384         * paragraph.C: whitespace changes
9385         * all the other files from the change on 2001/11/26:
9386         change *::pos_type into lyx::pos_type
9387
9388 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
9389
9390         * buffer.C (parseSingleLyXformat2Token): Set the language to the
9391         language of the document when inserting error insets.
9392
9393 2001-11-26  André Pönitz <poenitz@gmx.net>
9394
9395         * BufferView_pimpl.[Ch]:
9396         *       CutAndPaste.C:
9397         * buffer.[Ch]:
9398         * lyxcursor.[Ch]:
9399         * lyxfind.C:
9400         * lyxfunc.C:
9401         * lyxrow.[Ch]:
9402         * paragraph.[Ch]:
9403         * paragraph_pimpl.[Ch]:
9404         * sp_spell.C:
9405         * text.C:
9406         * text2.C: reduce header dependencies, introduce type for positions
9407
9408 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
9409
9410         * <various>: change to use Alert.h
9411
9412 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
9413
9414         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
9415         when encountering an unknown token.
9416         (readLyXformat2): Show an error message if there were unknown tokens.
9417
9418 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
9419
9420         * BufferView2.C:
9421         * BufferView_pimpl.C:
9422         * buffer.C:
9423         * paragraph.h:
9424         * text.C:
9425         * text2.C: use par->isInset()
9426
9427 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
9428
9429         * paragraph_pimpl.h:
9430         * paragraph_pimpl.C: cleanup
9431
9432 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9433
9434         * text2.C (removeRow):
9435         * text.C (setHeightOfRow): remove useless (and costly) call to
9436         getRow.
9437
9438 2001-11-20  Allan Rae  <rae@lyx.org>
9439
9440         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
9441         Now need Inset*::checkInsertChar() to return true for appropriate
9442         cases so that the characters in the minibuffer will actually be
9443         inserted.
9444
9445 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9446
9447         * text.C: change the order of the includes.
9448         (workWidth): initialize it at once.
9449         (workWidth): make maxw unsigned
9450         (setHeightOfRow): remove unused variable (inset)
9451         (selectSelectedWord): remove unused variable (inset)
9452         (paintRowText): fix drawing of hfill characters, and clean up a bit.
9453
9454 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9455
9456         * lyxserver.C (emergencyCleanup): do not try to close pipes if
9457         server is not running.
9458         (openConnection):
9459         (closeConnection): add debug info when server is disabled.
9460
9461         * ColorHandler.C (getGCForeground): send debug message to GUI
9462         channel.
9463
9464         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
9465
9466         * kbmap.C (bind): modify because return conventions of
9467         kb_sequence::parse have changed.
9468
9469         * kbsequence.C (parse): only ignore spaces and not any stupid
9470         control character. This avoids tests like s[i] <= ' ', which are
9471         guaranteed to fail with 8bit characters and signed chars.
9472         Change return code to string::npos when there have been no error
9473         (0 was a bad idea when error is at first character)
9474
9475 2001-11-14  José Matos  <jamatos@fep.up.pt>
9476
9477         * buffer.h:
9478         * buffer.C (simpleDocBookOnePar): removed unused argument.
9479
9480 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9481
9482         * text.C (selectNextWordToSpellcheck): do not test explicitely for
9483         insets which are part of a word. Paragraph::isLetter takes care of
9484         that now. Use Paragraph::isInset to identify insets.
9485         (selectSelectedWord): do not test for hyphenation break.
9486
9487         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
9488         that protected spaces are considered as spaces.
9489
9490         * paragraph.C (isLetter): cleanup the code for ispell extras; use
9491         Inset::isLetter.
9492
9493 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
9494
9495         * lyxserver.h:
9496         * lyxserver.C: fix it. and small cleanup.
9497
9498 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
9499
9500         * BufferView_pimpl.C: use inline helpers
9501
9502         * LaTeXFeatures.h:
9503         * LaTeXFeatures.C: fix typos
9504
9505         * Spacing.h:
9506         * Spacing.C: move spacing_string into class
9507
9508         * ToolbarDefaults.C: move stuff into namespace anon
9509
9510         * layout.h: update enum
9511
9512         * lyxfunc.C: use better debug
9513
9514         * minibuffer.h: fix typo
9515
9516         * debug.h:
9517         * debug.C:
9518         * WorkArea.C: add and use Debug::WORKAREA
9519
9520         * lyxtext.h:
9521         * text.C:
9522         * text2.C: code re-organisation, inline helpers
9523
9524 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
9525
9526         * Layout.C: replaced a few cases of std::vector.size() == 0 with
9527         std::vector.empty().
9528
9529 2001-11-09  Allan Rae  <rae@lyx.org>
9530
9531         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
9532         '\n's after tables.  Tabular and ERT inset work now makes this no
9533         longer necessary.
9534
9535 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
9536
9537         * minibuffer.h:
9538         * minibuffer.C: fix crash, improve drop-down completion
9539
9540 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
9541
9542         * lyxserver.h:
9543         * lyxserver.C: invalidate fd's when doing endPipe()
9544
9545 2001-11-08  José Matos  <jamatos@fep.up.pt>
9546
9547         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
9548         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
9549
9550         * paragraph.h:
9551         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
9552
9553 2001-11-07  José Matos  <jamatos@fep.up.pt>
9554
9555         * buffer.h:
9556         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
9557         const qualifier.
9558
9559         * buffer.C (sgmlOpenTag):
9560         * buffer.C (sgmlCloseTag): removed debug info.
9561
9562         * buffer.h (sgmlOpenTag):
9563         * buffer.h (sgmlCloseTag): made public.
9564
9565 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9566
9567         * buffer.C (saveParamsAsDefaults):
9568         * lyx_cb.C (MenuLayoutSave): remove
9569
9570         * LyXAction.C (init):
9571         * commandtags.h:
9572         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
9573
9574 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9575
9576         * buffer.C (setPaperStuff): removed from here...
9577
9578         * bufferparams.C (setPaperStuff): ... and moved there.
9579
9580 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
9581
9582         * minibuffer.h:
9583         * minibuffer.C:
9584         * XFormsView.C: add support for drop-down completion
9585
9586 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
9587
9588         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
9589         commands.
9590
9591 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9592
9593         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
9594         disabled.
9595
9596 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
9597
9598         * lyx_main.C: change ref to known bugs
9599
9600 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
9601
9602         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
9603         to work around older babel problems.
9604
9605 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
9606
9607         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
9608
9609 2001-10-24  Juergen Vigna  <jug@sad.it>
9610
9611         * tabular-old.C (ReadOld): below variable changes reflected.
9612
9613         * tabular.[Ch]: added ltType struct for longtable header/footer
9614         defines and changed all instances where they are used. Added
9615         future support for double top/bottom rows.
9616
9617 2001-10-24  José Matos  <jamatos@fep.up.pt>
9618
9619         * buffer.h (docbookHandleCaption):
9620         * buffer.C (docbookHandleCaption): removed unused function.
9621         (makeDocBookFile): moved docbook supported version to v4.1.
9622
9623 2001-10-24  José Matos  <jamatos@fep.up.pt>
9624
9625         * tabular.h:
9626         * tabular.C (docbookRow): new function to export docbook code of a row.
9627         (DocBook): now honors the longtable flags.
9628
9629 2001-10-23  José Matos  <jamatos@fep.up.pt>
9630
9631         * LaTeXFeatures.h:
9632         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
9633         of the lyx defined sgml entities used in a docbook/linuxdoc document.
9634
9635         * buffer.C (makeLinuxDocFile):
9636         (makeDocBookFile): reworked the preamble, more clean, and with
9637         support for lyx defined entities. Changed the document declaration
9638         to be more XML friendly.
9639
9640         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
9641         if we need to output XML that should be done with a filter.
9642
9643 2001-10-22  Juergen Vigna  <jug@sad.it>
9644
9645         * sp_pspell.h (class PSpell): add alive function needed in the
9646         controller to see if the spellchecker could be started.
9647
9648 2001-10-22  Juergen Vigna  <jug@sad.it>
9649
9650         * buffer.C (insertStringAsLines): modify the font for inserting
9651         chars in certain conditions by calling checkInsertChar(font).
9652
9653 2001-10-19  Juergen Vigna  <jug@sad.it>
9654
9655         * text.C (workWidth): use getRow instead of wrong algorithm.
9656         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
9657
9658 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
9659
9660         * lyxserver.h:
9661         * lyxserver.C:
9662         * lyx_main.h:
9663         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
9664
9665 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9666
9667         * text.C (workWidth): do not search for the exact row when
9668         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
9669         optimization for big documents.
9670
9671 2001-10-18  Juergen Vigna  <jug@sad.it>
9672
9673         * text.C (workWidth): new function with added Inset * parameter.
9674
9675 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9676
9677         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
9678
9679         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
9680         change return type of getColumnNearX.
9681
9682
9683         * text.C (changeRegionCase): use uppercase/lowercase instead of
9684         toupper/tolower.
9685         (leftMargin):
9686         (rightMargin): simplify code by factoring out the uses of
9687         textclasslist.
9688         (labelFill):
9689         (numberOfHfills):
9690         (setHeightOfRow):
9691         (appendParagraph): use Paragraph::size_type
9692
9693 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9694
9695         * vspace.C (asLatexString): add a missing break
9696
9697 2001-10-15  Herbert Voss  <voss@perce.de>
9698
9699         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
9700
9701 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9702
9703         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
9704         is not available.
9705
9706 2001-10-10  André Pönitz <poenitz@gmx.net>
9707
9708         * lyxfunc.C: removed greek_kb_flag.
9709
9710 2001-10-10  Herbert Voss  <voss@perce.de>
9711
9712         * lyx_main.C: delete global string help_lyxdir.
9713
9714 2001-10-09  Herbert Voss  <voss@perce.de>
9715
9716         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
9717
9718         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
9719
9720         * lyx_main.C: added global string help_lyxdir.
9721
9722         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
9723
9724 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
9725
9726         * lyxrc.C (set_font_norm_type): support iso8859-4
9727
9728 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
9729
9730         * LaTeX.C (deplog): add another regex for MikTeX
9731
9732 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
9733
9734         * lyxrc.C (set_font_norm_type): support iso8859-3
9735
9736 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9737
9738         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
9739
9740         * LaTeXFeatures.C: remove special case of french and index
9741
9742         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
9743         before \begin{document}). This solves several incompatibilities.
9744
9745 2001-10-03  Garst Reese  <reese@isn.net>
9746
9747         * lyx_cb.C: change CheckTex error msg.
9748
9749 2001-10-03  José Matos  <jamatos@fep.up.pt>
9750
9751         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
9752
9753 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9754
9755         * .cvsignore: update
9756
9757         * lyx_main.C (commandLineVersionInfo): use new style version info.
9758
9759         * buffer.C (writeFile):
9760         (makeLaTeXFile):
9761         (makeLinuxDocFile):
9762         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
9763
9764         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
9765
9766         * version.h: update to use stuff in version.C
9767
9768         * version.C.in: new file. Contains version information determined
9769         at compile time. This is a merging of version.h and
9770         version_info.h.in.
9771
9772 2001-10-03  Juergen Vigna  <jug@sad.it>
9773
9774         * BufferView_pimpl.C (update): don't change "dirty" status in
9775         updateInset call.
9776
9777 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
9778
9779         * WorkArea.C (c-tor): re-position version string slightly.
9780
9781 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
9782
9783         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
9784         revert to previous code.
9785
9786         WorkArea.[Ch]: (show, destroySplash): methods removed.
9787
9788         WorkArea.C: rework code so that it's an amalgam of the codes before and
9789         after the splash screen was moved to WorkArea.
9790
9791 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9792
9793         * lyxrc.C (read):
9794         * vspace.C (inPixels):
9795         (lyx_advance):
9796         * kbmap.C (bind):
9797         * buffer.C (insertStringAsLines):
9798         (asciiParagraph): fix types to be large enough
9799
9800         * lyxlex_pimpl.h: change member status from short to int
9801
9802         * layout.h: fix type of endlabeltype
9803
9804         * kbmap.C (bind):
9805         * kbsequence.C (parse): change return type to string::size_type
9806
9807         * LaTeX.C (updateBibtexDependencies): comment out unneeded
9808         variable
9809
9810         * Bullet.C (bulletSize):
9811         (bulletEntry): do not use short ints as parameters
9812
9813         * BufferView2.C (insertLyXFile): change a char to an int.
9814
9815         * WorkArea.C (WorkArea): remove unneeded floats in computation
9816
9817 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
9818
9819         * buffer.C (asciiParagraph): Treat '\\' as other chars.
9820
9821         * paragraph.C (asString): Do not ignore newline/hfill chars when
9822         copying to the clipboard.
9823
9824 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
9825
9826         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
9827         after a multi-line inset.
9828
9829 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
9830
9831         * paragraph.C (validate): Set NeedLyXFootnoteCode
9832
9833 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
9834
9835         * lyxfont.C (LyXSizeNames): changed increase-error to increase
9836         and decrease-error to decrease.
9837
9838 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9839
9840         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
9841         it more readable (should be equivalent)
9842
9843 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
9844
9845         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
9846
9847 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9848
9849         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
9850         of a cursor (row, etc.) after a character has been deleted
9851         (deleteEmptyParagraphMechanism): call the method above on _all_
9852         cursors held by the LyXText when a double space has been
9853         detected/deleted.
9854
9855 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
9856
9857         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
9858         pixmap.
9859         (resizeCurrentBuff): remove code to destroy the old splash dialog.
9860
9861         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
9862         background. Use greyOut() and the new show() methods to toggle between
9863         the foreground and background. Add code to remove the splash after
9864         its initial showing.
9865
9866         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
9867         (create_forms): no longer call Dialogs::showSplash.
9868
9869 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9870
9871         * .cvsignore: add version_info.h
9872
9873 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9874
9875         * version_info.h.in: new file
9876
9877         * Makefile.am: add version_info.h.in
9878
9879         * lyx_main.C (commandLineVersionInfo): use version_info defined in
9880         version_info.h instead of VERSION_INFO
9881
9882 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
9883
9884         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
9885         The ERT inset now returns string().
9886
9887 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
9888
9889         * lyxtext.h, text.C (selectNextWord): renamed as
9890         selectNextWordToSpellcheck.
9891
9892         * text.C (selectNextWordToSpellcheck): Modified to not select
9893         words inside an ERT inset.
9894
9895 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9896
9897         * lyx_cb.C (MenuLayoutSave): change a bit the question
9898
9899         * sp_base.h: include <sys/types.h>
9900
9901 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
9902
9903         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
9904
9905 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
9906
9907         * several files: fix typos in user-visible strings
9908
9909 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9910
9911         * text2.C (pasteSelection): do not set the selection, since it
9912         will be cleared later. Actually, the intent was to fix the way the
9913         selection was set, but I figured rmoving the code was just as good.
9914
9915 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
9916
9917         * FontLoader.C (available): Check if font is available without
9918         loading the font.
9919
9920 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
9921
9922         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
9923
9924 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
9925
9926         * lyxrc.[Ch]: added display_graphics variable and associated code.
9927
9928 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9929
9930         * bufferparams.C (hasClassDefaults): new method. Returns true if
9931         the buffer parameters correspond to known class defaults
9932
9933 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
9934
9935         * XFormsView.C (show): set minimum size to the main window.
9936
9937 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9938
9939         * text2.C (copySelection):
9940         (cutSelection):
9941         * lyxfind.C (LyXReplace):
9942         * BufferView_pimpl.C (Dispatch): pass the correct flag to
9943         LyXText::selectionAsString.
9944
9945         * paragraph.C (asString): add "label" argument to the second form
9946
9947         * text2.C (selectionAsString): add "label" argument and pass it to
9948         Paragraph::asString.
9949
9950 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9951
9952         * lyx_main.C (commandLineHelp): remove version information
9953
9954 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
9955
9956         * lyx_main.C: add -version commandline option
9957
9958 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9959
9960         * paragraph.h: make the optional constructor arg required instead.
9961         some modifications to other files because of this.
9962
9963         * minibuffer.C (C_MiniBuffer_peek_event): make it static
9964
9965         * lyxserver.C (C_LyXComm_callback): make it static
9966
9967         * lyx_main.C (error_handler): make it static
9968
9969         * lyx_gui.C (LyX_XErrHandler): make it static
9970
9971         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
9972
9973         * WorkArea.C: make the extern "C" methods static.
9974
9975         * Makefile.am (lyx_LDADD): simplify
9976
9977 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
9978
9979         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
9980         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
9981
9982         * LyXAction.C (init):
9983         * lyxfunc.C (dispatch): associated code removal.
9984
9985 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9986
9987         * lyxfont.h (isSymbolFont): shut off warning
9988
9989         * text.C (setHeightOfRow):
9990         (getVisibleRow): fix crash with empty paragraphs which have a
9991         bottom line
9992
9993 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
9994
9995         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
9996         code.
9997
9998 2001-09-04  José Matos  <jamatos@fep.up.pt>
9999         * buffer.C
10000         * buffer.h
10001         * tabular.C (docbook): rename docBook method to docbook.
10002
10003 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
10004
10005         * Makefile.am: add dependencies to main.o.
10006
10007 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
10008
10009         * FontLoader.C (available): Return false if !lyxrc.use_gui
10010
10011 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
10012
10013         * FontInfo.C (query):
10014         * converter.C (view):
10015         * importer.C (Import):
10016         * exporter.C (Export): Can not -> cannot.
10017
10018 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
10019
10020         * BufferView_pimpl.C: allow to create index inset even if
10021           string is empty
10022
10023 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
10024
10025         * buffer.C (getLists): replace boost::tie code with an explicit pair
10026         as boost::tie can break some compilers.
10027
10028         * iterators.h: Added a std:: declaration to the return type of
10029         ParIterator::size.
10030
10031 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
10032
10033         * lyxrc.C: add help for view_dvi_paper_option, default to safe
10034           case.
10035
10036 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
10037
10038         * iterators.[Ch]: New files. Provide paragraph iterators.
10039
10040         * buffer.C (changeLanguage): Use paragraph iterators.
10041         (isMultiLingual): ditto
10042
10043         * BufferView2.C (ChangeInsets): Use paragraph iterators.
10044
10045 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
10046
10047         * FontLoader.C: Support for cmr font.
10048
10049 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
10050
10051         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
10052         (available): New method.
10053
10054         * FontInfo.C (getFontname): Use scalable fonts even when
10055         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
10056         found.
10057
10058 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
10059
10060         * converter.C (Formats::view): reverted! Incorrect fix.
10061
10062 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
10063
10064         * converter.C (Formats::view): only output the -paper option
10065         if the dvi viewer is xdvi, thereby fixing bug #233429.
10066
10067 2001-08-23  Herbert Voss  <voss@perce>
10068
10069         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
10070
10071 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
10072
10073         * Spacing.h (Spacing): Set space to Default on in the default
10074         constructor.
10075
10076 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10077
10078         * vc-backend.h (RCS::versionString): add RCS to version
10079         (CVS::versionString): add CVS to version
10080
10081         * vc-backend.C (scanMaster): do not add CVS to version.
10082         (scanMaster): do not add RCS to version
10083
10084         * lyxvc.C (versionString): new method
10085
10086         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
10087
10088 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10089
10090         * Spacing.C (set): initialize fval
10091
10092 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
10093
10094         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
10095         " or \.
10096
10097 2001-08-16  Juergen Vigna  <jug@sad.it>
10098
10099         * lyxfunc.C (dispatch): implemented the new FINISHED states.
10100
10101 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
10102
10103         * BufferView_pimpl.C:
10104         * figureForm.C:
10105         * lyxtext.h:
10106         * text2.C: setParagraph takes linespacing now
10107
10108 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
10109
10110         * LyxAction.C: add internal LFUN_CITATION_INSERT
10111
10112         * LyXView.C: actually apply fix
10113
10114         * bufferlist.C: fix open non-existent file
10115
10116         * lyxfind.C: fix indentation
10117
10118         * lyxfunc.C: remove unneeded assert, fix typo
10119
10120 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
10121
10122         * MenuBackend.C: use "Floatname List"
10123
10124 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
10125
10126         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
10127         when converting LaTeX layout to insetERT.
10128         Generate a non-collapsed float when reading old float
10129
10130 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
10131
10132         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
10133         ERT insets.
10134
10135 2001-08-13  Juergen Vigna  <jug@sad.it>
10136
10137         * text.C (fill): return 0 instead of 20 as this seems to be the more
10138         correct value.
10139
10140 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
10141
10142         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
10143         lyxrc.font_norm.
10144
10145 2001-08-13  Juergen Vigna  <jug@sad.it>
10146
10147         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
10148         casesensitive off.
10149         (SearchBackward): comment out the unlocking of the inset_owner this
10150         should not be needed!
10151
10152 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
10153
10154         * Many files: Remove inherit_language, and add latex_language
10155
10156         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
10157         collapsible insets.
10158
10159 2001-08-10  Juergen Vigna  <jug@sad.it>
10160
10161         * text.C (prepareToPrint): fixed hfill-width in draw!
10162
10163         * BufferView2.C (selectLastWord): save the selection cursor as this
10164         now is cleared in the function LyXText::clearSelection!
10165
10166 2001-08-08  Juergen Vigna  <jug@sad.it>
10167
10168         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
10169         BACKSPACE type functions.
10170
10171         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
10172         is only cutted from the document but not put in the cut-buffer, where
10173         still the old stuff should be.
10174
10175         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
10176
10177         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
10178
10179         * tabular.C (SetWidthOfCell): fixed special case where the width
10180         was not updated!
10181         (LeftLine): handle '|' in align_special.
10182         (RightLine): ditto
10183         (LeftAlreadyDrawed): ditto
10184         (SetWidthOfCell): ditto
10185
10186 2001-08-07  Juergen Vigna  <jug@sad.it>
10187
10188         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
10189
10190 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10191
10192         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
10193         * lyxlex.[hC]: ditto
10194
10195 2001-08-06  Juergen Vigna  <jug@sad.it>
10196
10197         * text.C (getVisibleRow): fix up row clearing a bit.
10198
10199 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10200
10201         * minibuffer.C: make sure the X server sees the changes in the input.
10202
10203 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10204
10205         * paragraph.C (getFont): split into...
10206         (getLabelFont): this
10207         (getLayoutFont): and this
10208         * paragraph_pimpl.C (realizeFont): calling this
10209
10210         * text2.C (getFont): split into...
10211         (getLayoutFont): this
10212         (getLabelFont): and this
10213         (realizeFont): all three calling this
10214
10215         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
10216         files where used.
10217
10218 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10219
10220         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
10221
10222 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
10223
10224         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
10225         layouts from the Quote inset insertion.
10226
10227 2001-08-03  Juergen Vigna  <jug@sad.it>
10228
10229         * BufferView_pimpl.C (update): do the fitCursor only at the end!
10230
10231         * screen.C (drawFromTo): don't call fitcursor here and do the loop
10232         only if status not is already CHANGED_IN_DRAW (second level).
10233
10234         * text.C (draw): don't set the need_break_row when inside an
10235         InsetText LyXText.
10236
10237 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10238
10239         * buffer.C (parseSingleLyXformat2Token): handle more latex
10240         conversion cases.
10241
10242         * bufferview_funcs.[hC]: change function names to
10243         begin with small char, adjust other files.
10244
10245 2001-08-02  André Pönitz <poenitz@gmx.net>
10246
10247         * lyxfunc.C:
10248         BufferView_pimpl.C: remove broken special code for math-greek
10249
10250 2001-08-02  Juergen Vigna  <jug@sad.it>
10251
10252         * BufferView_pimpl.C (update): redone this function so that we
10253         update the text again if there was a CHANGE_IN_DRAW.
10254
10255         * screen.C (cursorToggle): removed LyXText parameter and recoded.
10256         (drawFromTo): added a new internal bool which is used by draw() and
10257         redraw() function.
10258         (general): some cursor drawing problems fixed.
10259
10260 2001-08-01  Juergen Vigna  <jug@sad.it>
10261
10262         * lyxfind.C (LyXFind): fixed
10263         (SearchForward): ditto
10264         (SearchBackward): ditto
10265
10266         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
10267         spurius drawing of the cursor in the main area.
10268
10269         * text2.C (status): small fix which could lead to a segfault!
10270         (clearSelection): remove unneeded BufferView param.
10271
10272 2001-08-01  André Pönitz <poenitz@gmx.net>
10273
10274         * lyxfunc.C: small change due to changed mathed interface
10275
10276 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10277
10278         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
10279
10280 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
10281
10282         * lyxfunc.c: fail gracefully if file doesn't exist
10283
10284         * LyXSendto.C:
10285         * buffer.C:
10286         * lyxfunc.C:
10287         * BufferView_pimpl.C: IsDirWriteable() proto changed
10288
10289         * LyXView.C: fix updateWindowTitle() to store the last title
10290
10291 2001-07-31  Juergen Vigna  <jug@sad.it>
10292
10293         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
10294         the font (wrong since using of Paragraph::highestFontInRange).
10295
10296         * paragraph.C (highestFontInRange): added a default_size parameter.
10297
10298         * text.C (getVisibleRow): minor clear row changes (still not perfect).
10299         (setHeightOfRow): reformat
10300
10301 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10302
10303         * converter.[hC] + affected files: move to (inital-char)lowercase
10304         function names.
10305
10306         * ParagraphParameters.C (ParagraphParameters): remove commented code
10307
10308         * PainterBase.[Ch]: remove commented code
10309
10310         * LaTeXFeatures.h: add "bool floats" for float.sty
10311
10312         * LaTeXFeatures.C (LaTeXFeatures): init floats
10313         (require): handle float
10314         (getPackages): do it with floats
10315
10316 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10317
10318         * BufferView_pimpl.C (Dispatch): improve handling of
10319         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
10320
10321         * commandtags.h: #include lyxfont.h here temporarily to avoid
10322         keybinding bug.
10323
10324         * bufferlist.h: include LString.h here.
10325
10326 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10327
10328         * text2.C (getStringToIndex): new method.
10329
10330 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
10331
10332         * *: Reduced header file dependencies all over.
10333
10334 2001-07-30  Baruch Even  <baruch@lyx.org>
10335
10336         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
10337
10338 2001-07-29  Baruch Even  <baruch@lyx.org>
10339
10340         * buffer.C (readInset): Changed GRAPHICS to Graphics.
10341
10342 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10343
10344         * ParameterStruct.h (endif): add a default constructor to make
10345         sure that all variables is initialized.
10346
10347         * ParagraphParameters.C (ParagraphParameters): adjust
10348
10349 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10350
10351         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
10352         index; also, check that there is something to index, and that it
10353         does not span over several paragraphs.
10354         (doubleClick): use WHOLE_WORD_STRICT for double click.
10355
10356         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
10357
10358         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
10359         scheme.
10360
10361 2001-07-26  Baruch Even  <baruch@lyx.org>
10362
10363         * buffer.C (readInset): Changed to call up InsetGraphics when reading
10364         an InsetFig figure, backwards compatible reading of old figure code.
10365
10366 2001-07-27  Juergen Vigna  <jug@sad.it>
10367
10368         * text2.C: font.realize function adaption.
10369
10370         * text.C (draw): add a warnings lyxerr text if needed.
10371
10372         * layout.C: font.realize function adaption.
10373
10374         * language.C: add inherit_language and implement it's handlings
10375
10376         * bufferview_funcs.C (StyleReset): remove language parameter from
10377         font creation (should be language_inherit now).
10378
10379         * bufferparams.C (writeFile): handle ignore_language.
10380
10381         * paragraph.C (getFontSettings): the language has to be resolved
10382         otherwise we have problems in LyXFont!
10383
10384         * lyxfont.C (lyxWriteChanges): added document_language parameter
10385         (update): removed unneeded language parameter
10386
10387         * paragraph.C (validate): fixed wrong output of color-package when
10388         using interface colors for certain fonts in certain environments,
10389         which should not seen as that on the final output.
10390
10391 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
10392
10393         * BufferView_pimpl.C:
10394         * Thesaurus.h:
10395         * Thesaurus.C:
10396         * Makefile.am:
10397         * commandtags.h:
10398         * LyXAction.C: add thesaurus support
10399
10400         * lyxfind.h:
10401         * lyxfind.C: add "once" parameter, for thesaurus, to not
10402           move to the next match
10403
10404 2001-07-26  Juergen Vigna  <jug@sad.it>
10405
10406         * lyxfont.C (realize): honor ignore_language too!
10407         (resolved): ditto.
10408
10409         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
10410
10411         * text.C (draw): one place more for ignore_language to not draw
10412         itself!
10413
10414 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
10415
10416         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
10417
10418 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10419
10420         * buffer.C (parseSingleLyXformat2Token): a more general fix for
10421         the minipage conversion problem.
10422
10423 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10424
10425         * buffer.C (parseSingleLyXformat2Token): check minipage if we
10426         insert an inset.
10427
10428 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10429
10430         * BufferView.h: don't forward declare WorkArea
10431
10432         * BufferView.C: don't include WorkArea.h
10433
10434 2001-07-25  André Pönitz <poenitz@gmx.net>
10435
10436         * commandtags.h:
10437         * LyXAction.C:
10438         * lyxfunc.C:  new LFUN 'math-space'
10439
10440         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
10441
10442 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10443
10444         * text2.C (toggleInset): call open/close
10445
10446 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10447
10448         * lyxfunc.C (dispatch): add debug for the disabled case
10449
10450         * font.C (buttonText): make similar to rectText
10451
10452         * buffer.C (readInset): comment out parsing of insetlist and
10453         insttheorem
10454
10455         * PainterBase.C (rectText): small correction
10456
10457         * BufferView_pimpl.C: comment out insettheorem and insetlist
10458         * LyXAction.C: ditto
10459         * commandtags.h: ditto
10460
10461 2001-07-24  Juergen Vigna  <jug@sad.it>
10462
10463         * text.C (draw): honor the ignore_language.
10464
10465         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
10466
10467 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10468
10469         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
10470         char inset.
10471
10472 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
10473
10474         * lyxtext.h: remove unused (and unimplemented) methods
10475
10476 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
10477
10478         * text.C (getVisibleRow): honor background color
10479
10480         * PainterBase.h:
10481         * Painter.h: remove default color argument for fillRectangle
10482
10483         * text.C (backgroundColor): new method
10484
10485 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10486
10487         * text.C (getVisibleRow): adjust
10488
10489         * font.[Ch] (rectText): new method, metrics
10490         (buttonText): new method, metrics
10491
10492         * PainterBase.[hC]: make rectText and buttonText always draw and take
10493         fewer paramteres.
10494
10495 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
10496
10497         * ToolbarDefaults.C (read):
10498         * MenuBackend.C (read): allow escaping in all strings
10499
10500         * BufferView_pimpl.C (insertAndEditInset): new method.
10501         (Dispatch): use insertAndEditInset whenever appropriate.
10502
10503         * BufferView_pimpl.C (insertNote): removed
10504
10505         * BufferView_pimpl.C (smartQuote): new method, moved from
10506         BufferView; if an insetquote cannot be inserted, insert a '"'
10507         character instead.
10508
10509         * BufferView2.C: remove insertCorrectQuote();
10510
10511         * lyxfunc.C (getStatus): Add support for all remaingin
10512         inset-insert lfuns.
10513
10514         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
10515
10516         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
10517         command (necessary to pass " as parameter of self-insert.
10518
10519         * text.C (selectWordWhenUnderCursor):
10520         (selectWord): add word_location parameter
10521         (selectWordWhenUnderCursor): same + remove special code for word
10522         boundary.
10523         (selectNextWord): use kind() to guess type of insetspecialchar,
10524         not latex().
10525
10526         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
10527         (insertErtContents): create ert insets as collapsed.
10528         (readInset): better compatibility code for Info inset.
10529
10530 2001-07-20  Juergen Vigna  <jug@sad.it>
10531
10532         * lyxfunc.C (dispatch): use always LyXFind now!
10533
10534         * text2.C (init): add a reinit flag so that the LyXText can be
10535         reinited instead of deleted and reallocated (used in InsetText).
10536
10537         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
10538
10539         * text.C: ditto
10540
10541         * text2.C: ditto
10542
10543 2001-07-18  Juergen Vigna  <jug@sad.it>
10544
10545         * text.C (selectNextWord): handle insets inside inset by calling
10546         always the bv->text functions so that we can go up the_locking_inset!
10547
10548         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
10549         in strange locations when inside an inset!
10550
10551         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
10552         handling to include insets.
10553
10554         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
10555
10556 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10557
10558         * LyXAction.C (init):
10559         * commandtags.h:
10560         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
10561         LIGATURE_BREAK, since the name is so stupid.
10562
10563 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
10564
10565         * buffer.C (readInset): enable reading of new InsetNotes as well as old
10566         InsetInfos.
10567
10568         * FontLoader.C: remove FORMS_H_LOCATION cruft.
10569
10570         * sp_form.[Ch]: remove.
10571
10572         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
10573
10574         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
10575         InsetInfo.
10576
10577         * src/buffer.C (readInset): ditto.
10578
10579 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
10580
10581         * BufferView_pimpl.C (specialChar): new method. Obsoletes
10582         menuSeparator(), endOfSentenceDot(), ldots() and
10583         hyphenationPoint(), which are therefore removed.
10584         (Dispatch): handle LFUN_HYPHENATION_BREAK.
10585
10586         * LyXAction.C (init):
10587         * commandtags.h: add LFUN_HYPHENATION_BREAK.
10588
10589         * paragraph.C (getWord): removed.
10590
10591         * BufferView_pimpl.C (Dispatch): use last word or selection for
10592         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
10593
10594         * lyx_main.C (queryUserLyXDir): do not ask before creating
10595         user_dir, except if it has been named explicitely.
10596
10597 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
10598
10599         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
10600         a document of zero size.
10601
10602 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
10603
10604         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
10605         approriately in the c-tor and in require().
10606         (getPackages): output the appropriate LaTeX for natbib support.
10607
10608         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
10609         variables "use_natbib" and "use_numerical_citations" when reading the
10610         LyX file.
10611         (readInset): read the various natbib cite commands.
10612         (validate): white-space change.
10613
10614         * bufferparams.[Ch]: new variables "bool use_natbib" and
10615         "bool use_numerical_citations".
10616         (writeFile): output them in the LyX file.
10617
10618 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
10619
10620         * lyxfunc.C (getStatus): add support for all the inset insertion
10621         commands.
10622
10623         * text2.C (insertInset):
10624         * paragraph.C (insetAllowed):
10625         * BufferView_pimpl.C (insertInset): update to take in account the
10626         renaming of insertInsetAllowed
10627
10628         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
10629
10630         * text2.C (getInset): new method. returns inset at cursor position.
10631
10632         * BufferView_pimpl.C (Dispatch): changes because of this.
10633
10634         * LyXAction.C (init): rename open-stuff to inset-toggle.
10635
10636         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
10637
10638         * text2.C (toggleInset): renamed from openStuff; use
10639         Inset::open().
10640
10641 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
10642
10643         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
10644
10645         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
10646
10647 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
10648
10649         * buffer.C (readLyXformat2): Add filename to the error dialog
10650
10651 2001-07-18  Juergen Vigna  <jug@sad.it>
10652
10653         * tabular.C (GetCellNumber): put an assert here instead of the check!
10654
10655 2001-07-17  Juergen Vigna  <jug@sad.it>
10656
10657         * BufferView_pimpl.C (toggleSelection): adapted too.
10658
10659         * text.C (selectNextWord): adapted for use with insets.
10660         (selectSelectedWord): ditto
10661
10662 2001-07-17  Juergen Vigna  <jug@sad.it>
10663
10664         * sp_spell.C (PSpell): fix initialitation order.
10665
10666 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10667
10668         * paragraph.C: spacing
10669
10670 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
10671
10672         * sp_spell.C: repair language selection for pspell
10673
10674 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10675
10676         * lyxfunc.h: change more methods to begin with lower char.
10677
10678 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
10679
10680         * buffer.C (parseSingleLyXformat2Token): Generate error insets
10681         for unknown layouts.
10682
10683 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
10684
10685         * buffer.C (readLyXformat2): Generate an error dialog if there are
10686         unknown layouts.
10687
10688 2001-07-16  Juergen Vigna  <jug@sad.it>
10689
10690         * sp_spell.C: always compile ISpell part.
10691
10692         * lyxrc.C: added use_pspell entry and it's handling.
10693
10694 2001-07-13  Juergen Vigna  <jug@sad.it>
10695
10696         * sp_spell.C: removed double includes.
10697
10698 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
10699
10700         Consistent use of Lsstream.h:
10701         * Lsstream.h: added using std::stringstream for consistencies sake.
10702
10703         * buffer.C: removed using std::stringstream
10704
10705         * lyxfont.C (stateText):
10706         * paragraph.C (asString):
10707         * text.C (selectNextWord, selectSelectedWord):
10708         * text2.C (setCounter):
10709         * vspace.C (asString, asLatexString):
10710         std::ostringstream -> ostringstream.
10711
10712 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
10713
10714         * LyXAction.C: add LFUN_HELP_ABOUTLYX
10715         * commandtags.h: add LFUN_HELP_ABOUTLYX
10716         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
10717
10718 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
10719
10720         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
10721         cursorToggle()
10722         * lyx_gui_misc.C: remove spellchecker
10723         * lyxfunc.C: showSpellchecker
10724         * sp_base.h: added
10725         * sp_ispell.h: added
10726         * sp_pspell.h: added
10727         * sp_spell.C: added
10728         * sp_form.[Ch]: removed
10729         * spellchecker.[Ch]: removed
10730
10731 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
10732
10733         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
10734         is set.
10735         (simpleTeXSpecialChars): Simply print the input character without
10736         any special translation if pass_thru is set.
10737
10738         * layout.h: Added bool pass_thru to layout class for being able to
10739         implement pass through of a paragraph for Literate Programming.
10740
10741         * layout.C: add LT_PASS_THRU to LayoutTags enum.
10742         * layout.C (LyXLayout): set pass_thru to flase in constructor.
10743         * layout.C (Read): add "passthru" to list of layout tags and add
10744         code to set the pass_thru boolean when it is read.
10745
10746 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10747
10748         * trans_decl.h: remove allowed from KmodInfo
10749
10750         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
10751         remove allowed code
10752         (Load): adjust
10753
10754         * paragraph_pimpl.C (erase): use boost::prior
10755
10756         * Painter.C (text): use data() instead of c_str() when length is
10757         also provided.
10758         * WorkArea.C (putClipboard): ditto
10759         * font.h (width): ditto
10760
10761         * BufferView2.C: use it-> instead of (*it). for iterators
10762         * texrow.C: ditto
10763         * paragraph_pimpl.C: ditto
10764         * paragraph.C: ditto
10765         * minibuffer.C: ditto
10766         * language.C: ditto
10767         * kbmap.C: ditto
10768         * encoding.C: ditto
10769         * counters.C: ditto
10770         * converter.C: ditto
10771         * chset.C: ditto
10772         * Variables.C: ditto
10773         * TextCache.C: ditto
10774         * MenuBackend.C: ditto
10775         * LyXAction.C: ditto
10776         * LColor.C: ditto
10777         * FloatList.C: ditto
10778         * DepTable.C: ditto
10779         * ColorHandler.C (LyXColorHandler): ditto
10780
10781 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10782
10783         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
10784
10785         * text2.C (openStuff): reintroduce this method (which had been
10786         nuked in NEW_INSETS frenzy).
10787
10788         * lyxfunc.C (Dispatch): when an action has not been handled, use
10789         its name in the error message, not its number.
10790
10791         * paragraph.C (inInset): change method name to begin with lowercase.
10792
10793         * undo_funcs.C:
10794         * text2.C: updates because of this.
10795
10796 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10797
10798         * ToolbarDefaults.C (add): add spaces in error message
10799
10800 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10801
10802         * buffer.C (readLyXformat2): initialize the ert comp. variables.
10803         (readLyXformat2): rename return_par to first_par, use lyxlex's
10804         pushToken and remove the manual push handling.
10805         (parseSingleLyXformat2Token): add another ert comp. variable:
10806         in_tabular, rename return_par to first_par. handle newlines better
10807
10808 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10809
10810         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
10811
10812 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10813
10814         * text2.C (getParFromID): removed
10815
10816         * buffer.C (getParFromID): new method moved form lyxtext.
10817         * BufferView2.C (insertErrors): adjust
10818         (setCursorFromRow): adjust
10819         * BufferView_pimpl.C (restorePosition): adjust
10820         * lyxfunc.C (Dispatch): adjust
10821         * undo_funcs.C (textUndo): adjust
10822         (textRedo): adjust
10823         (textHandleUndo): adjust
10824         (textHandleUndo): adjust
10825
10826 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10827
10828         * buffer.C: up' the LYX_FORMAT
10829
10830         * lyxfont.h: turn NO_LATEX on as default
10831
10832         * buffer.C (insertErtContents): new methods of tex style compability.
10833         (parseSingleLyXformat2Token): use it several places.
10834         * tabular.C (OldFormatRead): and here
10835
10836 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10837
10838         * text2.C: remove some commented code.
10839         reindent file.
10840
10841         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
10842         * trans.C: changes because of the above.
10843
10844 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
10845
10846         * text2.C (setCounter): Fix counters bug with bibliography layout.
10847
10848 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10849
10850         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
10851         own member functions
10852         (simpleTeXSpecialChars): ditto
10853
10854 2001-07-06  Juergen Vigna  <jug@sad.it>
10855
10856         * a lot of files: changed the access to LyXText::status and the
10857         call of undo-functions.
10858
10859         * undo.[Ch]: added a inset_id to the undo informations.
10860
10861         * undo_funcs.[Ch]: added and moved here all undo functions.
10862
10863         * lyxtext.h: give the status enum a weight, made status_ a private
10864         variable and made accessor functions for it, removed the whole bunch
10865         of undo-functions as they are now in their own file, make some
10866         functions publically available. Added function ownerParagraph with
10867         int parameter.
10868
10869         * paragraph.[Ch]: added "bool same_ids" to the constructor,
10870         made InInset() a const function, added getParFromID() function.
10871
10872         * buffer.[Ch]: added const version for inset_iterator functions,
10873         added getInsetFromID() function.
10874
10875         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
10876         changed undo functions for new version.
10877
10878 2001-07-05  Juergen Vigna  <jug@sad.it>
10879
10880         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
10881         unknow mechanism does not call the proper constructor but only this
10882         one also if I request the other!?
10883
10884 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10885
10886         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
10887
10888         * text2.C (LyXText): use initialization lists.
10889
10890         * lyxtext.h (Selection): initialize set_ and mark_
10891         (init): remove method
10892
10893 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
10894
10895         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
10896
10897 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10898
10899         * screen.[Ch]: change method names to begin with lowercase
10900
10901         * BufferView_pimpl.C (updateScrollbar): simplify further and
10902         hopefully make it a bit faster.
10903
10904 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10905
10906         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
10907         calling directly xforms functions.
10908
10909         * Painter.C (Painter):
10910         * lyx_cb.C (MenuWrite):
10911         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
10912         fl_display.
10913
10914         * lyx_gui.C: remove bogus guiruntime extern declaration.
10915
10916 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10917
10918         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
10919         in NEW_INSETS
10920         (redoDrawingOfParagraph): ditto
10921         (redoParagraphs): ditto
10922         (cutSelection): don't create a object for CutAndPaste use the
10923         static method directly
10924         (pasteSelection): ditto
10925
10926         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
10927         LyXview (+ rename)
10928
10929 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10930
10931         * modifications to some other files because of this.
10932
10933         * Makefile.am (lyx_SOURCES): add XFormsView
10934
10935         * XFormsView.[Ch]: new files
10936
10937         * LyXView.[Ch]: make LyXView a base class for the gui handling for
10938         the main window. Move the gui dependent stuff to XFormsView
10939
10940 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10941
10942         * tabular.C (GetCellInset): update cur_cell also in the row/col
10943         version of this function.
10944
10945         * lyxfunc.C: no need to include figure_form.h here.
10946
10947         * FontLoader.h:
10948         * lyxfunc.h:
10949         * lyxscreen.h:
10950         * text2.C:
10951         * lyxvc.C: no need to include forms.h here.
10952
10953 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10954
10955         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
10956
10957         * lyxfunc.C (Dispatch):
10958         * Spacing.C (set):
10959         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
10960         constructor argument.
10961
10962 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10963
10964         * paragraph.C (Paragraph): dont't clear, and just set layout.
10965         (makeSameLayout): use params's copy contructor.
10966
10967         * ParagraphParameters.[Ch] (makeSame): delete method
10968
10969 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
10970
10971         * Variables.[Ch]: fix indentation, rename set to isSet
10972
10973 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10974
10975         * lyxfunc.C (Dispatch): fix typo
10976
10977 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10978
10979         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
10980         upper_bound.
10981
10982         * bufferlist.C: include assert.h for emergencyWrite().
10983
10984 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
10985
10986         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
10987           give up at last (bug #425202) !
10988
10989 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
10990
10991         * lyx_gui_misc.C:
10992         * sp_form.h:
10993         * sp_form.C:
10994         * spellchecker.h:
10995         * spellchecker.C: strip spellchecker options and bring up
10996           preferences tab instead
10997
10998 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10999
11000         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
11001         the istringstream constructor
11002
11003 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11004
11005         * paragraph.C (getLayout): fix return value
11006
11007         * paragraph.h: do not declare getLayout as inline.
11008
11009         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
11010
11011 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11012
11013         * lyxcursor.h (operator<): new func
11014         (operator>): new func
11015         (operator>=): new func
11016         (operator<=): new func
11017
11018         * text.C (changeCase): use selection.start and selection.end
11019         (changeRegionCase): require from to be <= to. Require par to be a
11020         valid paragraph.
11021
11022         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
11023
11024 2001-06-27  Juergen Vigna  <jug@sad.it>
11025
11026         * text.C (cursorLeftOneWord): changed to return the cursor and added
11027         overlay with BufferView * parameter which calls this one.
11028         (getWord): added
11029         (selectWord): use new getWord function.
11030         (changeCase): renamed from changeWordCase as and extended to work
11031         also on selections.
11032
11033         * lyxtext.h: added enum word_location
11034
11035         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
11036         changeCase as this operates now also on selections.
11037
11038 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
11039
11040         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
11041
11042         * many files: send debug output to Debug::INFO instead of
11043         Debug::ANY.
11044
11045         * converter.C (View):
11046         (Convert):
11047         (Move): send debug output to Debug::FILES instead of console.
11048
11049 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
11050
11051         * lyxfunc.C (getStatus): use func_status
11052
11053         * func_status.h: new header, describing the results of
11054         LyXFunc::getStatus;
11055
11056         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
11057         LFUN_MATH_HALIGN.
11058
11059 2001-06-25  The LyX Project  <jug@sad.it>
11060
11061         * buffer.C (sgmlOpenTag):
11062         (sgmlCloseTag):
11063         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
11064
11065 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11066
11067         * text2.C: remove some dead code
11068
11069         * tabular.C (GetCellInset): store the last cell checked (gotten)
11070
11071         * tabular.h: add the helper for the speedup
11072
11073         * lyxtext.h: remove some dead code
11074
11075 2001-06-26  The LyX Project  <Asger>
11076
11077         * paragraph.C: Change export to LaTeX of alignment to
11078         \begin{center} and family for better roundtrip work with reLyX.
11079
11080         * Tune the math drawing a bit.
11081
11082 2001-06-25  The LyX Project  <Asger>
11083
11084         * LColor.C (LColor): New color for math background. New color
11085         for buttons.
11086
11087 2001-06-25  The LyX Project  <jug@sad.it>
11088
11089         * lyxfunc.C (MenuNew): remove extra check for .lyx file
11090
11091         * lyxfunc.C (Open):
11092         * bufferlist.C (newFile): do not restrict to files ending with
11093         .lyx
11094
11095         * BufferView_pimpl.C (MenuInsertLyXFile):
11096
11097 2001-06-24  The LyX Project  <jug@sad.it>
11098
11099         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
11100         of compare_no_case
11101
11102 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11103
11104         * lyxtext.h: rename most methods to begin with a small char.
11105         Lots of changes because of this.
11106
11107         * paragraph.C (Paragraph): do not call fitToSize
11108         (erase): call Pimpl::erase
11109         (insertChar): call Pimpl::insertChar
11110         (insertInset): call Pipl::insertInset
11111         (breakParagraph): do not call fitToSize
11112         (breakParagraphConservative): do not call fitToSize
11113         (fitToSize): remove method
11114
11115         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
11116
11117 2001-06-24  The LyX Project  <Asger>
11118
11119         * Fix Qt compilation^2
11120
11121 2001-06-24  The LyX Project  <jug@sad.it>
11122
11123         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
11124         depthHook(getDepth()-1).
11125
11126         * paragraph.h:
11127         * ParagraphParameters.h:
11128         * ParameterStruct.h: change type of depth to unsigned int ==
11129         depth_type. Many adaptations to other files before of that.
11130
11131 2001-06-24  The LyX Project  <Asger>
11132
11133         * Fix Qt compilation.
11134
11135 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11136
11137         * paragraph.h: renamed several methods to begin with small letter.
11138         several changes to many parts of the code because of this.
11139
11140 2001-06-23  The LyX Project  <jug@sad.it>
11141
11142         * text2.C (InsertStringAsLines): renamed from InsertStringA;
11143         rewritten to discard all double spaces when KeepEmpty is off
11144         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
11145         to only handle newlines but not fiddle with spaces and friends.
11146
11147         * lyxfunc.C (MenuNew): when doing 'new from template', use
11148         template_path as default directory
11149
11150 2001-06-23  The LyX Project  <Asger>
11151
11152         * Clean-up of header file includes all over
11153         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
11154
11155 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11156
11157         * paragraph.h: renamed from lyxparagraph.h
11158
11159 2001-06-23  Asger  <lyx@violet.home.sad.it>
11160
11161         * Buffer.h: Removed Buffer::resize
11162         * BufferList.h: Removed BufferList::resize
11163         * LyXView.h: Added LyXView::resize. This way, we will only reflow
11164         the document lazily when we change the width, or the font settings.
11165
11166 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
11167
11168         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
11169
11170 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
11171
11172         * buffer.h: remove out of date comment
11173
11174 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
11175
11176         * lyxscreen.h:
11177         * screen.C: fix "theoretical" GC leak
11178
11179 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11180
11181         * LaTeX.C (scanAuxFile):
11182         (deplog): remove trailing \r when reading stream (useful under
11183         win32)
11184
11185 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
11186
11187         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
11188         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
11189         and BufferView::theLockingInset(Inset*), so should use them and not
11190         access bv_->text->the_locking_inset directly.
11191
11192         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
11193
11194 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
11195
11196         * Makefile.am:
11197         * tex-defs.h: remove old unused file
11198
11199 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
11200
11201         * BufferView_pimpl.C: fix typo, remove minibuffer message
11202           when buffer has loaded
11203
11204 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11205
11206         * lyxfunc.C (Dispatch): use stringstream
11207         (MenuNew): use stringstream
11208         (Open): use stringstream
11209
11210         * importer.C (Import): use stringstream
11211
11212         * bufferview_funcs.C (CurrentState): use stringstream
11213
11214         * LaTeX.C (run): use stringstream
11215
11216         * BufferView_pimpl.C (savePosition): use stringstream
11217         (restorePosition): use stringstream
11218         (MenuInsertLyXFile): use stringstream
11219
11220 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
11221
11222         * BufferView.C:
11223         * Bullet.C:
11224         * ColorHandler.C:
11225         * FontInfo.C:
11226         * FontLoader.C:
11227         * LColor.C:
11228         * LaTeXFeatures.C:
11229         * Painter.C:
11230         * gettext.C:
11231         * lyx_gui_misc.C:
11232         * lyxserver.C:
11233         * vspace.C: removed // -*- C++ -*- as first line.
11234
11235         * lyxfind.h:
11236         * version.h: added // -*- C++ -*- as first line.
11237
11238 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11239
11240         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
11241
11242         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
11243         of string
11244
11245 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11246
11247         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
11248         of floats.
11249
11250 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11251
11252         * gettext.C: include LString.h even when --disable-nls is on.
11253
11254 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
11255
11256         * converter.h (Get): changed argument type from int to
11257         FormatList::size_type to avoid unnecessary conversion.
11258
11259         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
11260         before using it.
11261
11262 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11263
11264         * gettext.h: include LString.h even when --disable-nls is on.
11265
11266 2001-06-07  Juergen Vigna  <jug@sad.it>
11267
11268         * text.C (BreakAgain): subst spaces with tabs.
11269
11270         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
11271         (resizeInsetsLyXText): set force on resizeLyXText.
11272
11273 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11274
11275         * gettext.h (gettext_init):
11276         (locale_init): use a real definition instead of a macro
11277
11278 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
11279
11280         * Bufferview_pimpl.C:
11281         * LColor.h:
11282         * LColor.C: further lcolor tidies
11283
11284 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11285
11286         * BufferView_pimpl.C (updateScrollbar): simplify.
11287
11288         * BufferView2.C: don't include insets/insetinfo.h, change
11289         prototype for insertInset and call the Pimpl version. let
11290         updateInset call Pimpl version.
11291
11292         * BufferView.h: move inset_slept to BufferView::Pimpl, move
11293         gotoInset to BufferView::Pimpl
11294
11295 2001-06-01  Juergen Vigna  <jug@sad.it>
11296
11297         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
11298         inside a LockingInset (is the update needed at all?).
11299
11300 2001-05-31  Juergen Vigna  <jug@sad.it>
11301
11302         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
11303         here not the old one otherwise how should we compare it afterwards
11304         if it's the same!
11305
11306 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11307
11308         * lyxfont.C:
11309         * tabular.C:
11310         * tabular-old.C:
11311         * FontInfo.C: bring C functions into global namespace when
11312         necessary
11313
11314 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11315
11316         * LString.h: make sure config.h has been loaded before LString.h.
11317
11318         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
11319         (one for each char read by EatLine!).
11320
11321         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
11322         variables.
11323
11324 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11325
11326         * paragraph.C (BreakParagraph): set the inset_owner in the new par
11327         to the same as the par we break from
11328
11329 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11330
11331         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
11332
11333         * MenuBackend.C (expand): also create menu entries for wide
11334         versions of the floats.
11335
11336         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
11337
11338         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
11339
11340         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
11341         frontends/Makefile.am
11342
11343         * text2.C: adjust
11344         * text.C: adjust
11345
11346
11347         * tabular.C (getTokenValue): add std::
11348
11349         * tabular-old.C (getTokenValue): add std::
11350         (getTokenValue): ditto
11351         (getTokenValue): ditto
11352
11353         * screen.C (ToggleSelection): adjust
11354
11355         * lyxtext.h: put selection cursors inside a Selection struct.
11356
11357         * lyxfunc.C (moveCursorUpdate): adjust
11358
11359         * lyxfont.C (latexWriteStartChanges): add std::
11360
11361         * lyxfind.C: adjust
11362
11363         * font.h: delete with(char const *, LyXFont const &)
11364
11365         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
11366
11367         * FontInfo.C (getFontname): add std::
11368
11369         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
11370         (workAreaButtonPress): adjust
11371         (tripleClick): adjust
11372         (update): adjust
11373         (moveCursorUpdate): adjust
11374         (Dispatch): adjust
11375
11376         * BufferView2.C (gotoInset): adjust
11377
11378 2001-05-30  Juergen Vigna  <jug@sad.it>
11379
11380         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
11381         to check pspell I add this as default as I now have new pspell
11382         libraries and they seem to use this.
11383
11384 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11385
11386         * text2.C (CutSelection): make the cursor valid before the call to
11387         ClearSelection.
11388
11389 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11390
11391         * kbsequence.C (parse): de-uglify a bit the parsing code, which
11392         relied on 0 terminated strings and other horrors. Bug found due to
11393         the new assert in lyxstring!
11394
11395         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
11396         KP_ keys.
11397
11398 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11399
11400         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
11401         to latinkeys.bind.
11402
11403         * lyxfunc.C (processKeySym): change method of getting to the
11404         self-insert char.
11405
11406         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
11407         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
11408         * BufferView_pimpl.[Ch]: here as private methods.
11409
11410 2001-05-28  Juergen Vigna  <jug@sad.it>
11411
11412         * text.C (SetHeightOfRow): added the update() call again as it is
11413         needed to initialize inset dimensions!
11414
11415 2001-05-16  Juergen Vigna  <jug@sad.it>
11416
11417         * text2.C (SetCharFont): Add new function with BufferView * and
11418         bool toggleall parameters for setting insets internal fonts.
11419         (SetFont): Freeze the undo as we may change fonts in Insets and
11420         all this change should be inside only one Undo!
11421
11422         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
11423         setting font's in insets as for them we have the SetFont function!
11424
11425 2001-05-15  Juergen Vigna  <jug@sad.it>
11426
11427         * text2.C (ClearSelection): to be sure we REALLY don't have any
11428         selection anymore!
11429
11430         * tabular.C (TeXCellPreamble): fixed the left border problem for
11431         multicolumn cells.
11432
11433 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
11434
11435         * LaTeX.C (deplog): Make sure that the main .tex file is in the
11436         dependancy file
11437
11438 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11439
11440         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
11441         LFUN_BREAKPARAGRAPH.
11442
11443         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
11444         help test to "internal only", similar for LFUN_INSERT_URL
11445
11446         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
11447         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
11448         auto_region_delete and deadkeys.
11449
11450 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
11451
11452         * LColor.h:
11453         * LColor.C: remove some dead entries, tidy a little
11454
11455 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11456
11457         * lyxfunc.C (processKeySym): comment the Escape handling, remove
11458         commented code.
11459         (Dispatch): implement LFUN_ESCAPE
11460
11461         * commandtags.h: add LFUN_ESCAPE
11462
11463         * LyXAction.C (init): add entry for LFUN_ESCAPE
11464
11465         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
11466         Remove commented code.
11467         (insertNote): moved here
11468         (open_new_inset): moved here
11469
11470         * BufferView[2].[Ch]: move insertNote and open_new_inset to
11471         BufferView_pimpl
11472
11473 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11474
11475         * kbmap.C (findbinding): clean it up and make it work correctly.
11476
11477         * lyx_main.C (init): do not pass argc and argv as parameters
11478
11479 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
11480
11481         * buffer.C: fix path for OS/2 & Win32
11482
11483         * lyx_gui.C:
11484         * lyx_main:
11485         * lyx_main.C: Added os:: class.
11486
11487         * os2_defines.h: update
11488
11489 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11490
11491         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
11492         better by trying again with reduced state.
11493
11494 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11495
11496         * lyxrc.C (read): print error about invalid key sequence only when
11497         debugging (because not all latinX keysyms are known to some X
11498         servers)
11499
11500         * kbsequence.C (getiso): add a few std:: qualifiers
11501         (getiso): comment out extra return statement.
11502
11503 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11504
11505         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
11506         handling.
11507         (Dispatch): enhance the accent inset a bit. (not perfect)
11508
11509 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11510
11511         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
11512
11513 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11514
11515         * bufferlist.C (emergencyWrite): fix assert() call
11516
11517 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
11518
11519         * text.C (InsertChar): Added trivial patch to only send the "you
11520         can not do multiple spaces this way" message once during a
11521         session.
11522
11523 2001-05-08  Baruch Even  <baruch@lyx.org>
11524
11525         * Makefile.am: Changed order of libraries to get LyX to link properly
11526         with the gnome frontend.
11527
11528 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11529
11530         * LaTeXFeatures.h: add a std:: qualifier
11531
11532 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11533
11534         * paragraph.C (String): use stringstream
11535
11536 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11537
11538         * paragraph.C (writeFile): remove footflag arg
11539
11540         * buffer.C (makeLaTeXFile): use stringstream
11541         (latexParagraphs): remove footnot gurba
11542
11543         * LaTeXFeatures.C (getPackages): use stringstream
11544         (getMacros): likewise
11545         (getTClassPreamble): likewise
11546         (getFloatDefinitions): new method
11547
11548         * paragraph.C (writeFile): reindent
11549         (Erase): reindent
11550
11551         * WorkArea.h: revert the xpos + etc changes.
11552
11553         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
11554
11555         * lyxparagraph.[Ch]: add copy constructor, remove Clone
11556
11557         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
11558         (pasteSelection): likewise
11559         * text2.C (CreateUndo): likewise
11560
11561 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11562
11563         * minibuffer.C (peek_event): temporarily reduce the functionality
11564         of the minibuffer (to allow args on lfuns)
11565
11566         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
11567         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
11568
11569         * buffer.C (readInset): add compability reading of old float
11570         lists, add reading of new style float list.
11571         (readInset): avoid reevaluation of inscmd.getCmdName()
11572         (getLists): reindent
11573
11574         * MenuBackend.C (MenuItem): implement parsing of
11575         md_floatlistinsert and md_floatinsert.
11576         (expand::LastFiles): move initalizaton of iterators out of loop,
11577         avoid reevaluation.
11578         (expand::Documents): introduce typdedef vector<string> Strings,
11579         and use it.
11580         (expand::ExportFormats): introduce typedef vector<Format const *>
11581         Formats, and use it.
11582         (expand): implement FloatListInsert and FloatInsert.
11583
11584         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
11585         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
11586         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
11587
11588         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
11589         handling.
11590         (Dispatch::LFUN_FLOAT_LIST): implement
11591
11592 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
11593
11594         * LaTeX.C (run): Fix problem with --export code.
11595
11596 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
11597
11598         * BufferView.[Ch] (workarea): removed.
11599         (getClipboard) new method; wrapper for workarea()->getClipboard()
11600
11601         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
11602         bug.
11603
11604         * WorkArea.h (width, height, xpos, ypos): These methods all
11605         returned the dimensions of the work_area sub-area of WorkArea,
11606         resulting in a position error if the WorkArea were resized. Now
11607         return the dimensions of the entire WorkArea.
11608
11609         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
11610
11611 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11612
11613         * LaTeX.C (deplog): correct the syntax of regex reg1
11614
11615 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11616
11617         * undo.C: remove !NEW_INSETS cruft
11618
11619 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11620
11621         * text2.C: remove !NEW_INSETS cruft
11622
11623         * text.C: remove !NEW_INSETS cruft
11624
11625         * tabular.C: remove !NEW_INSETS cruft
11626
11627         * spellchecker.C: remove !NEW_INSETS cruft
11628
11629         * lyxtext.h: remove !NEW_INSETS cruft
11630
11631         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
11632
11633         * lyxfunc.C: remove !NEW_INSETS cruft
11634
11635         * lyxfind.C: remove !NEW_INSETS cruft
11636
11637         * lyx_cb.C: remove !NEW_INSETS cruft
11638
11639         * figureForm.C: remove  !NEW_INSETS cruft
11640
11641         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
11642
11643         * buffer.[Ch]: remove !NEW_INSETS cruft
11644
11645         * ToolbarDefaults.C: remove !NEW_INSETS cruft
11646
11647         * CutAndPaste.C: remove !NEW_INSETS cruft
11648
11649         * BufferView_pimpl.C: remove !NEW_INSETS cruft
11650
11651         * BufferView2.C: remove !NEW_INSETS cruft
11652
11653         * BufferView.h: remove !NEW_INSETS cruft
11654
11655 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11656
11657         * Lsstream.h: include LString.h before the sstream headers to
11658         fix problem with gcc 2.95.3 and lyxstring
11659
11660 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11661
11662         * lyx_main.C: add using directives when needed for C functions
11663         declared in std:: namespace.
11664
11665 2001-04-27  Juergen Vigna  <jug@sad.it>
11666
11667         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
11668         (SetHeightOfRow): comment out the update call should not be needed!
11669
11670 2001-04-13  Juergen Vigna  <jug@sad.it>
11671
11672         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
11673         (LyXTabular): tried to minimize operator= operations (and realized
11674         hopfully Lars wish).
11675
11676 2001-04-27  Juergen Vigna  <jug@sad.it>
11677
11678         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
11679
11680 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11681
11682         * lyxfunc.C (Dispatch): hack to make listof algorithm work
11683
11684         * buffer.C (readInset): hack to make listof algorithm work
11685
11686         * BufferView_pimpl.C: hack to make listof algorithm work
11687
11688 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11689
11690         * LyXAction.C: removed all !NEW_INSETS cruft
11691         (init): moved lfun_item in method
11692
11693         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
11694
11695 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
11696
11697         * BufferView2.C (theLockingInset): white space.
11698
11699 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11700
11701         * minibuffer.C: include <iostream>
11702
11703         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
11704
11705         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
11706
11707         * commandtags.h: add LFUN_TRANSPOSE_CHARS
11708
11709         * text.[Ch] (TransposeChars): new method
11710
11711 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11712
11713         * call message directly through LyXView instead of through LyXFunc
11714         * BufferView2.C: adjust
11715         * BufferView_pimpl.C: adjust
11716         * FontLoader.C: adjust
11717         * buffer.C: adjust
11718         * bufferview_funcs.C: adjust
11719         * converter.C: adjust
11720         * figureForm.C: adjust
11721         * importer.C: adjust
11722         * lyx_cb.C: adjust
11723         * lyx_gui_misc.C: adjust
11724         * lyxfunc.C: adjust
11725         * lyxvc.C: adjust
11726         * text2.C: adjust
11727         + more files in subdirs
11728
11729         * lyxparagraph.h (size): move up int file
11730         (GetLayout): ditto
11731
11732         * adjust all uses of Assert to lyx::Assert.
11733
11734         * BufferView2.C (ChangeCitationsIfUnique): adjust for
11735         lyxfunctional in namespace lyx
11736         * layout.C (hasLayout): ditto
11737         (GetLayout): ditto
11738         (GetLayout): ditto
11739         (delete_layout): ditto
11740         (NumberOfClass): ditto
11741         * converter.C (GetFormat): ditto
11742         (GetNumber): ditto
11743         (Add): ditto
11744         (Delete): ditto
11745         (SetViewer): ditto
11746         * bufferlist.C (getFileNames): ditto
11747         (emergencyWriteAll): ditto
11748         (exists): ditto
11749         (getBuffer): ditto
11750         * MenuBackend.C (hasSubmenu): ditto
11751         (hasMenu): ditto
11752         (getMenu): ditto
11753         * BufferView_pimpl.C (getInsetByCode): ditto
11754
11755 2001-04-18  Juergen Vigna  <jug@sad.it>
11756
11757         * vspace.C (asLatexString): fixed the 100% problem.
11758
11759 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11760
11761         * lyxfunc.C (Dispatch):
11762         * minibuffer.C:
11763         * minibuffer.h: add a few std:: qualifiers
11764
11765 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11766
11767         * minibuffer.[Ch]: reimplement so that commands is initiated and
11768         run from lyxfunc, simplified som handling, and made the completion
11769         and history code for complete. wip.
11770
11771         * lyxfunc.C (processKeySym): call message
11772         (miniDispatch): new temporary method
11773         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
11774         (LFUN_MESSAGE): implement
11775         (LFUN_MESSAGE_PUSH): implement
11776         (LFUN_MESSAGE_POP): implement
11777         (initMiniBuffer): the initial/defualt minibuffer message.
11778
11779         * lyxfont.[Ch]: inline some more getters
11780
11781         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
11782
11783         * lyx_gui_misc.[Ch] (WriteStatus): remove method
11784
11785         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
11786         (AutoSave): use LFUN_MESSAGE
11787         (Reconfigure): ditto
11788
11789         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
11790
11791         * figureForm.C: use LFUN_MESSAGE
11792
11793         * converter.C (runLaTeX): use LFUN_MESSAGE
11794
11795         * bufferview_funcs.C: use LFUN_MESSAGE
11796         (Melt): ditto
11797         (changeDepth): ditto
11798
11799         * bufferparams.h: use boost::
11800
11801         * bufferlist.h: inherit privately from noncopyable
11802
11803         * bufferlist.C (loadLyXFile): remove some commented code.
11804
11805         * buffer.C (runChktex): use LFUN_MESSAGE
11806
11807         * ShareContainer.h: inherit privately from noncopyable
11808
11809         * ParagraphParameters.[hC] (depth): inline it.
11810
11811         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
11812         methods.
11813         (message): new method
11814         (messagePush): ditto
11815         (messagePop): ditto
11816         (show): init minibuffer
11817         (showState): direct call
11818
11819         * LaTeX.[Ch]: inherit privately from noncopyable
11820         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
11821         instead of WriteStatus.
11822
11823         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
11824
11825         * BufferView_pimpl.C (buffer): don't init minibuffer
11826         (workAreaButtonPress): use LFUN_MESSAGE
11827         (workAreaButtonRelease): ditto
11828         (savePosition): ditto
11829         (restorePosition): ditto
11830         (MenuInsertLyXFile): ditto
11831         (workAreaExpose): don't init minibuffer
11832         (update): remove commented code, simplify
11833
11834         * BufferView2.C (openStuff): use LFUN_MESSAGE
11835         (toggleFloat): ditto
11836         (menuUndo): ditto
11837         (menuRedo): ditto
11838         (copyEnvironment): ditto
11839         (pasteEnvironment): ditto
11840         (copy): ditto
11841         (cut): ditto
11842         (paste): ditto
11843         (gotoInset): ditto
11844         (updateInset): remove some commented code
11845
11846         * lastfiles.h: inherit privately from noncopyable
11847         * layout.h: ditto
11848         * lyx_gui.h: ditto
11849         * lyx_main.h: ditto
11850         * lyxlex.h: ditto
11851         * lyxlex_pimpl.h: ditto
11852
11853         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
11854         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
11855         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
11856
11857         * LyXAction.h: inherit privately from noncopyable, add methods
11858         func_begin, func_end, returning iterators to the func map.
11859
11860         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
11861         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
11862         (func_begin): new method
11863         (func_end): new method
11864
11865         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
11866         and not)
11867         (copySelection): ditto
11868         (pasteSelection): ditto
11869
11870         * BufferView.C: whitespace change
11871         * BufferView.h: inherit privately from noncopyable
11872
11873 2001-04-16  Allan Rae  <rae@lyx.org>
11874
11875         * tabular-old.C (l_getline):
11876         * spellchecker.C (sc_check_word):
11877         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
11878         an unrecognised preprocessor directive.  So ensure they're wrapped.
11879
11880 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
11881
11882         * src/exporter.C (Export): Give an error message when path to file
11883         contains spaces.
11884
11885 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
11886
11887         * LaTeX.C (deplog): Always check that foundfile exists.
11888
11889 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11890
11891         * lyx_main.h:
11892         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
11893
11894 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11895
11896         * tabular.[Ch] (getLabelList): implement new method
11897
11898         * minibuffer.h: comment ouf setTiimer
11899
11900         * minibuffer.C (ExecutingCB): constify res
11901         (peek_event): constify s
11902         (Set): constify ntext
11903         (Init): constify nicename
11904
11905         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
11906
11907         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
11908         (savePosition): use two params to Minibuffer::Set
11909         (restorePosition): ditto
11910
11911 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11912
11913         * lyx_main.C: include language.h
11914
11915         * Makefile.am (lyx_main.o): add language.h
11916
11917 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11918
11919         * exporter.C:
11920         * paragraph.C:
11921         * screen.C:
11922         * tabular.C:
11923         * CutAndPaste.C: include gettext.h
11924
11925         * lyxfont.h: remove old hack with ON and OFF.
11926
11927         * lyxparagraph.h:
11928         * lyxfont.h: do not include language.h...
11929
11930         * BufferView2.C:
11931         * LaTeXFeatures.C:
11932         * Painter.C:
11933         * bufferview_funcs.C:
11934         * font.C:
11935         * lyxfont.C:
11936         * text.C:
11937         * text2.C:
11938         * trans_mgr.C:
11939         * paragraph.C: ... but do it here instead
11940
11941 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11942
11943         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
11944
11945         * tabular.C: small reformat
11946
11947         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
11948         NEW_INSETS version
11949         (GetChar): ditto
11950         (BreakParagraph): ditto
11951         (SetOnlyLayout): ditto
11952         (SetLayout): ditto
11953
11954         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
11955         with one arg less.
11956
11957         * lastfiles.C: removed most using decl, add std:: where needed
11958
11959         * buffer.C: ws changes
11960
11961         * MenuBackend.C (class compare_format): put into anon namespace
11962         (expand): constify label, names, action, action2
11963         (expand):
11964
11965         * text.C (SingleWidth): constify font
11966         (IsBoundary): constify rtl2
11967         (GetVisibleRow): constify ww
11968
11969         * LaTeX.C (deplog): constify logfile
11970
11971         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
11972         start_x, end_x
11973         (workAreaExpose): constify widthChange, heightChange
11974
11975         * lyxrow.C (par): moved
11976         (height): moved
11977         (next): moved
11978         * lyxrow.h: as inlines here
11979
11980         * lyxfont.h (shape): moved from lyxfont.C
11981         (emph): moved from lyxfont.C
11982
11983         * lyxfont.C (LyXFont): use initialization list for all
11984         constructors
11985         (shape): move to lyxfont.h as inline
11986         (emph): move to lyxfont.h as inline
11987
11988
11989 2001-04-04  Juergen Vigna  <jug@sad.it>
11990
11991         * vspace.C: had to include stdio.h for use of sscanf
11992
11993 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
11994
11995         * BufferView.h:
11996         * BufferView_pimpl.h: remove xforms cruft. Both classes are
11997         independent of xforms.
11998
11999 2001-04-02  Juergen Vigna  <jug@sad.it>
12000
12001         * spellchecker.C: fixed namespace placing!
12002
12003 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
12004
12005         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
12006         the LyXParagraph * is 0.
12007
12008 2001-03-29  Juergen Vigna  <jug@sad.it>
12009
12010         * vspace.C: added support for %, c%, p%, l%.
12011         (stringFromUnit): added helper function.
12012         (asLatexString): changed to give right results for the %-values.
12013
12014         * buffer.C: convert the widthp in a width%.
12015
12016 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
12017
12018         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
12019         figureForm.[Ch].
12020
12021         * figureForm.[Ch]: stripped the FD_from_figure manipulation
12022         code out of lux_cb.[Ch], ready for its (imminent?) removal.
12023
12024         * lyx_cb.[Ch]: see above.
12025
12026         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
12027         form1.[Ch].
12028
12029         * form1.[Ch]:
12030         * lyx.[Ch]: replaced by figure_form.[Ch].
12031
12032         * lyx_gui.C:
12033         * lyx_gui_misc.C:
12034         * lyxfunc.C: changed headers associated with above changes.
12035
12036 2001-03-27  Juergen Vigna  <jug@sad.it>
12037
12038         * BufferView_pimpl.C: set the temporary cursor right!
12039
12040 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
12041
12042         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
12043
12044 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
12045
12046         * LString.h: removed "using std::getline"!
12047
12048         * BufferView_pimpl.C (Dispatch): changes due to changes in
12049         InsetInclude::Params.
12050
12051         * buffer.C (tag_name): removed redundant break statements as they were
12052         producing lots of warnings with my compiler.
12053
12054 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12055
12056         * LString.h: add "using std::getline" when using the real <string>.
12057
12058 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
12059
12060         * buffer.C: removed bitset usage.
12061         PAR_TAG moved to an anonymous name space.
12062         (tag_name): new funtion, also in the anonymous namespace.
12063         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
12064         (makeDocBookFile): clean code. Completed transition from string arrays
12065         to string vectors.
12066         (SimpleDocBookOnePar): code clean.
12067
12068 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12069
12070         * tabular.C: add some comments.
12071
12072 2001-03-22  Juergen Vigna  <jug@sad.it>
12073
12074         * buffer.C (parseSingleLyXformat2Token): redone the minipage
12075         compatibility read a bit and fixed bug with minipage in different
12076         depth.
12077
12078 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
12079
12080         * buffer.C (pop_tag): removed.
12081         (push_tag): removed.
12082         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
12083         array replaced with vector. Added support for CDATA sections.
12084         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
12085         at any nest level.
12086         (makeDocBookFile): XML conformant declaration of CDATA section,
12087         fixed bug related to <emphasis> in the first paragraph char.
12088         (sgmlOpenTag): exclude empty tags.
12089         (sgmlCloseTag): ditto.
12090
12091         * buffer.h (pop_tag): removed.
12092         (push_tag): removed.
12093
12094 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
12095
12096         * language.h (Languages): added size_type and size().
12097
12098 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12099
12100         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
12101         response on compability reading of minipages. One probliem is that
12102         the old usage of minipages was «flertydig»
12103
12104         * several files here and in subdirs: don't use static at file
12105         scope use anon namespaces instead.
12106
12107 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
12108
12109         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
12110         LaTeX output. This is necessary for Literate document
12111         processing.
12112
12113 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12114
12115         * buffer.C: insert hfill when needed.
12116
12117         * tabular.C (l_getline): use string::erase, small whitespace change.
12118
12119         * BufferView_pimpl.C: try the anon namespace.
12120         * WorkArea.C: ditto
12121
12122 2001-03-16  Juergen Vigna  <jug@sad.it>
12123
12124         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
12125         otherwise it won't open options-dialogs.
12126
12127         * buffer.C: honor pextraWidth(p) on converting minipages.
12128
12129         * tabular.C (l_getline): changed the functions to strip trailing \r.
12130
12131 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
12132
12133         * BufferView_pimpl.C:
12134         * minibuffer..C: added "using SigC::slot" declaration.
12135
12136 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12137
12138         * lyxlex_pimpl.h: noncopyable is in namespace boost.
12139
12140         * text2.C: ditto
12141
12142         * text.C: ditto
12143
12144         * paragraph.C: ditto
12145
12146         * lyxtext.h: NO_PEXTRA
12147
12148         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
12149
12150         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
12151         * ParameterStruct.h: ditto
12152         * ParagraphParameters.h: ditto
12153         * lyxparagraph.h: ditto
12154
12155 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12156
12157         * buffer.C: add compability for minipage alignment.
12158         (latexParagraphs): remove unwanted pextra check.
12159
12160         * several files: remove CXX_WORKING_NAMESPACES
12161
12162         * buffer.C (pop_tag): tie is in namespace boost
12163
12164         * BufferView.h: noncopyable is in namespace boost
12165         * lyxlex.h: ditto
12166         * lyx_main.h: ditto
12167         * lyx_gui.h: ditto
12168         * layout.h: ditto
12169         * lastfiles.h: ditto
12170         * bufferlist.h: ditto
12171         * ShareContainer.h: ditto
12172         * LyXView.h: ditto
12173         * LyXAction.h: ditto
12174         * LaTeX.h: ditto
12175
12176 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
12177
12178         * Merging changes from BRANCH_MVC back into HEAD.
12179
12180         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
12181
12182 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
12183
12184         * BufferView_pimpl.C: change from intl.C
12185
12186         * combox.h:
12187         * combox.C:
12188         * Makefile.am: move combox.*
12189
12190         * form1.h:
12191         * form1.C:
12192         * lyx_gui.C:
12193         * intl.h:
12194         * intl.C: remove dialog (covered by prefs)
12195
12196 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
12197
12198         * lyxfunc.C (Dispatch): removed redundant break statement.
12199
12200 2001-03-14  Juergen Vigna  <jug@sad.it>
12201
12202         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
12203
12204 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12205
12206         * buffer.C: add hack to fix compability reading of minipages.
12207
12208 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
12209
12210         * buffer.C (getLists): Cleanup.
12211
12212 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12213
12214         * lyxfont.C (update): don't honor toggleall on font size.
12215
12216 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
12217
12218         * bmtable.c:
12219         * bmtable.h:
12220         * Makefile.am: moved to frontends/xforms/
12221
12222         * lyx_gui_misc.C:
12223         * lyxfunc.C:
12224         * BufferView_pimpl.C: changes for moved mathpanel
12225
12226 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
12227
12228         * gettext.h: fix gettext_init() in --disable-nls
12229
12230 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12231
12232         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
12233
12234 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
12235
12236         * lyx.C:
12237         * lyx.h: strip external form
12238
12239 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
12240
12241         * BufferView_pimpl.C: add comment, destroySplash()
12242
12243 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
12244
12245         * BufferView_pimpl.C:
12246         * LyXAction.C:
12247         * buffer.C:
12248         * commandtags.h:
12249         * lyxfunc.C: use re-worked insetinclude
12250
12251 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12252
12253         * buffer.C: add using std::stringstream.
12254
12255         * lyx_cb.C: readd using std::ios.
12256
12257         * buffer.C: add using std::map.
12258
12259         * BufferView_pimpl.C: add using std::vector.
12260
12261         * ShareContainer.h: add std:: to swap.
12262
12263         * buffer.h: add some typedefs
12264         * buffer.C (getLists): use them
12265         (getLists): renamed from getTocList.
12266         add a counter for the different float types and use it in the
12267         generated string.
12268         (getLists): use the same counter for the NEW_INSETS and the "non"
12269         NEW_INSETS
12270
12271         * lyx_cb.h: remove unused items, includes, using etc.
12272
12273         * ShareContainer.h: remove some commented code, add more comments
12274         and "documentation".
12275
12276 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12277
12278         * buffer.C (getTocList): make the list also when NEW_INSETS is
12279         defined.
12280
12281         * buffer.h: remove TocType
12282
12283         * buffer.C (getTocList): change to return a map<string,
12284         vector<TocItem> >, implement for dynamic number of list.
12285
12286         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
12287         * text2.C (PasteSelection): adjust
12288         * CutAndPaste.C (pasteSelection): adjust
12289
12290         * FloatList.C (FloatList): update from the new_insets branch.
12291         * Floating.[Ch]: ditto
12292         * LaTeXFeatures.C: ditto
12293         * buffer.C: ditto
12294         * lyxlex_pimpl.C: ditto
12295
12296         * paragraph.C (Last): remove when NEW_INSETS is defined.
12297
12298         * other file: changes because of the above.
12299
12300 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12301
12302         * lyxparagraph.h: rename next to next_, previous to previous_,
12303         make them private for NEW_INSETS. Rename Next() to next(),
12304         Previous() to previous().
12305
12306         * other files: changes because of the above.
12307
12308 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
12309
12310         * BufferView.h:
12311         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
12312         problem.
12313
12314 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12315
12316         * main.C (main): pass lyx_localedir to gettext_init().
12317
12318         * gettext.h: remove locale_init and gettext_init macros
12319
12320         * gettext.C (locale_init): new function
12321         (gettext_init): new function
12322
12323         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
12324         setlocale().
12325
12326 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
12327
12328         * Moved credits to frontends:
12329         * credits.[Ch]: removed
12330         * credits_form.[Ch]: removed
12331         * lyx_gui_misc.C: remove credits stuff
12332         * Makefile.am:
12333
12334 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12335
12336         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
12337
12338         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
12339         unneeded destructor.
12340
12341         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
12342         a standalone pointer again.
12343
12344         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
12345
12346 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
12347
12348         * Makefile.am:
12349         * filedlg.h:
12350         * filedlg.C:
12351         * LyXAction.C:
12352         * ToolbarDefaults.C:
12353         * bufferlist.C:
12354         * commandtags.h:
12355         * form1.C:
12356         * form1.h:
12357         * lyx_cb.C:
12358         * lyx_cb.h:
12359         * lyxfunc.h:
12360         * lyxfunc.C:
12361         * BufferView_pimpl.C: use new file dialog in GUII
12362
12363         * lyx_cb.h:
12364         * lyx_cb.C: remove LayoutsCB to Toolbar
12365
12366 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12367
12368         * ShareContainer.h (get): add std:: qualifier
12369
12370 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12371
12372         * ShareContainer.h: define a proper ShareContainer::value_type
12373         type (and use typename to please compaq cxx)
12374
12375 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12376
12377         * lyxparagraph.h: move serveral local vars to
12378         ParameterStruct/ParagraphParameters., use ShareContainer in
12379         FontTable., make vars in FontTable private and add getter and
12380         setter.
12381
12382         * paragraph.C: changes because of the above.
12383
12384         * lyxfont.h: remove copy constructor and copy assignment. (the
12385         default ones is ok), move number inside FontBits. move inlines to
12386         lyxfont.C
12387
12388         * lyxfont.C: add number to initializaton of statics, move several
12389         inlines here. constify several local vars. some whitespace
12390         cleanup. Dont hide outerscope variables.
12391
12392         * Spacing.h: add two new constructors to match the set methods.
12393
12394         * ShareContainer.h: new file, will perhaps be moved to support
12395
12396         * ParameterStruct.h: new file
12397
12398         * ParagraphParameters.h: new file
12399
12400         * ParagraphParameters.C: new file
12401
12402         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
12403         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
12404
12405         * BufferView_pimpl.C: ParagraphParameter changes.
12406         * buffer.C: Likewise.
12407         * bufferview_funcs.C: Likewise.
12408         * text.C: Likewise.
12409         * text2.C: Likewise.
12410
12411 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12412
12413         * lyxfind.C (LyXReplace): do not redefine default argument in
12414         implementation.
12415         (IsStringInText): ditto
12416         (SearchForward): ditto
12417         (SearchBackward): ditto
12418
12419 2001-03-06  Juergen Vigna  <jug@sad.it>
12420
12421         * lyxfind.C (IsStringInText): put parentes around expressions.
12422
12423 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
12424
12425         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
12426
12427 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
12428
12429         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
12430
12431         * stl_string_fwd.h: add comment
12432
12433         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
12434
12435         * tabular.h:
12436         * tabular.C: remove unused DocBook methods
12437
12438         * intl.C:
12439         * language.C:
12440         * paragraph.C:
12441         * buffer.C:
12442         killed DO_USE_DEFAULT_LANGUAGE
12443
12444 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12445
12446         * lyx_gui.C: do not include language.h.
12447
12448         * bufferview_funcs.C (ToggleAndShow): do not provide optional
12449         arguments in function implementation.
12450
12451 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12452
12453         * BufferView_pimpl.C: add <ctime>
12454
12455 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12456
12457         * BufferView_pimpl.C: add using std::find_if
12458
12459 2001-02-27  José Matos  <jamatos@fep.up.pt>
12460
12461         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
12462         by OnlyPath.
12463
12464 2001-02-11  José Matos  <jamatos@fep.up.pt>
12465
12466         * buffer.C (makeDocBookFile): command styles now have a parameter as
12467         "title" by default.
12468
12469 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
12470
12471         * layout_forms.[Ch]: removed
12472         * lyx_cb.[Ch]: out character
12473         * lyx_gui.C: out character
12474         * lyx_gui_misc.C: out character
12475         * bufferview_funcs.C: : out character,
12476         added toggleall as parameter in ToggleAndShow
12477
12478 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
12479
12480         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
12481
12482         * text2.C (SetCurrentFont): Disable number property at boundary.
12483
12484 2001-02-26  Juergen Vigna  <jug@sad.it>
12485
12486         * lyxfunc.C (getStatus): added a string argument override function so
12487         that this is correctly called from LyXFunc::Dispatch if it contains a
12488         do_not_use_argument which is used!
12489         (Dispatch): added check for "custom" export and call appropriate func.
12490
12491 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
12492
12493         * lyxrc.C: Add language_command_local, language_use_babel and
12494         language_global_options.
12495
12496         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
12497
12498         * buffer.C (makeLaTeXFile): Use language_use_babel and
12499         language_global_options.
12500
12501 2001-02-23  Juergen Vigna  <jug@sad.it>
12502
12503         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
12504         which works with LyXText and putted it inside BufferView. Here now we
12505         only call for that part the BufferView::Dispatch() function.
12506
12507         * BufferView.C (Dispatch): added.
12508
12509         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
12510         functions which needs to use a LyXText over from LyXFunc.
12511         (MenuInsertLyXFile): added
12512         (getInsetByCode): added
12513         (moveCursorUpdate): added
12514         (static TEXT): added
12515
12516 2001-02-22  Juergen Vigna  <jug@sad.it>
12517
12518         * BufferView_pimpl.C (update): call a status update to see if LyXText
12519         needs it.
12520
12521 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12522
12523         * vc-backend.C (revert): implement for CVS
12524         (getLog): implement for CVS
12525
12526 2001-02-20  Juergen Vigna  <jug@sad.it>
12527
12528         * text2.C (ClearSelection): added BufferView param for inset_owner call
12529
12530         * lyxfunc.C (TEXT): added this function and use it instead of
12531         directly owner->view()-text of getLyXText().
12532
12533 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
12534
12535         * src/layout_forms.C: out preamble
12536         * src/layout_forms.h: out preamble
12537         * src/lyx_cb.C: out preamble
12538         * src/lyx_cb.h: out preamble
12539         * src/lyx_gui.C: out preamble
12540         * src/lyx_gui_misc.C: out preamble
12541         * src/lyxfunc.C: connect with guii preamble
12542
12543 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
12544
12545         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
12546
12547 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
12548
12549         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
12550         whether to run bibtex.
12551
12552 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
12553
12554         * Makefile.am (lyx_SOURCES): Remove BackStack.h
12555
12556 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
12557
12558         * Makefile.am (lyx_SOURCES): removed bibforms.h
12559
12560         * vspace.h: doxygen
12561
12562         * text.C (GetVisibleRow): make several local vars const
12563
12564         * tabular.C: small cleanup.
12565
12566         * lyxserver.C (callback): use compare instead of strncmp
12567
12568         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
12569         inlines to after class or to paragraph.C
12570
12571         * lyxfont.h: remove friend operator!=
12572
12573         * converter.h: move friend bool operator< to non friend and after
12574         class def.
12575
12576         * combox.h: small cleanup
12577
12578         * buffer.h: doxygen, remove unused constructor, move inclas inlies
12579         to inlines after class def.
12580
12581         * buffer.C (pop_tag): use string operations instead of strcmp
12582
12583         * bmtable.c: doxygen, small cleanup
12584
12585         * LaTeX.h: remove friend operator==
12586
12587 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
12588
12589         * screen.C:
12590         * lyxrc.[Ch]:
12591         * lyxfunc.C:
12592         * lyxfont.[Ch]:
12593         * lyx_cb.C:
12594         * intl.[Ch]:
12595         * commandtags.h:
12596         * buffer.C:
12597         * WorkArea.[Ch]:
12598         * LyXAction.C:
12599         * BufferView_pimpl.C:
12600         * BufferView.[Ch]: remove cruft
12601
12602 2001-02-14  Juergen Vigna  <jug@sad.it>
12603
12604         * lyxfunc.C: removed #if 0 unused code
12605
12606         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
12607
12608         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
12609
12610         * text2.C (SetSelection): added a BufferView * parameter
12611
12612 2001-02-13  Juergen Vigna  <jug@sad.it>
12613
12614         * lyxfunc.C (Dispatch): fixed protected blank problem.
12615         * BufferView2.C (protectedBlank): added LyxText * parameter.
12616
12617         * tabular.C (AppendRow): forgot to set row_info of newly added row.
12618         (AppendColumn): same as above for column_info.
12619
12620         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
12621         (moveCursorUpdate): use a LyXText param for support of InsetText.
12622
12623         * BufferView_pimpl.C (doubleClick): added support for InsetText.
12624         (tripleClick): ditto
12625
12626         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
12627
12628         * BufferView_pimpl.C (update): added LyXText param to honor insets.
12629
12630         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
12631
12632         * text2.C (SetSelection): set correct update status if inset_owner
12633         (ToggleFree): ditto
12634
12635 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
12636
12637         * tabular.C: remove some commented code.
12638
12639 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
12640
12641         * BufferView_pimpl.C: call hideSplash()
12642
12643         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
12644
12645         * include_form.h:
12646         * bibforms.h: remove
12647
12648         * lyxfunc.C:
12649         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
12650           add LFUN_CHILD_CREATE
12651
12652         * counters.h: fix tiny typo
12653
12654         * lyx_cb.C:
12655         * lyx.h:
12656         * lyx_gui.C:
12657         * lyx.C: move splash to frontends/xforms/
12658
12659         * lyx_gui_misc.C: move Include and Bibform to frontends
12660
12661         * lyxvc.h: clarify comment
12662
12663         * vspace.C: tiny housekeeping
12664
12665 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
12666
12667         * text.C (PrepareToPrint): RTL Fix.
12668
12669         * paragraph.C (GetUChar): New method.
12670         (String):  Use GetUChar.
12671
12672         * buffer.C (asciiParagraph): Use GetUChar.
12673
12674 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
12675
12676         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
12677
12678 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
12679
12680         * buffer.h:
12681         * buffer.C: rename to getLogName(), handle
12682           build log / latex log nicely
12683
12684 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12685
12686         * MenuBackend.C:
12687         * MenuBackend.h: remove support for reference menuitem type.
12688
12689 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
12690
12691         * BufferView_pimpl.C: housekeeping
12692         * BufferView_pimpl.h:
12693         * LyXView.h:
12694         * Makefile.am:
12695         * Timeout.C:
12696         * Timeout.h:
12697         * minibuffer.h: move Timeout GUI-I
12698
12699 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
12700
12701         * lyxrc.C (read): Update converters data-structures.
12702
12703 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
12704
12705         * LaTeX.h (operator!=): add operator != for Aux_Info
12706
12707 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
12708
12709         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
12710
12711         * LaTeXLog.C: deleted, useful code moved to Buffer
12712
12713         * buffer.h:
12714         * buffer.C: new function getLatexLogName()
12715
12716         * lyx_gui_misc.C:
12717         * lyx_gui.C:
12718         * lyxvc.C:
12719         * lyxvc.h:
12720         * lyxfunc.C: use frontends for LaTeX and VC logs
12721
12722 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12723
12724         * LaTeX.h: yet another std:: that Allan forgot.
12725
12726         * Variables.C (set): renamed from isset(), because this clashes
12727         with some HP-UX macros (grr).
12728
12729 2001-02-06  Allan Rae  <rae@lyx.org>
12730
12731         * LaTeX.h: Another bug fix.  Missing std:: this time.
12732
12733 2001-02-04  Allan Rae  <rae@lyx.org>
12734
12735         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
12736         floats problem. I've left it commented out because it's not quite
12737         correct.  It should also test that the current object is a table or
12738         figure inset.  But I haven't gotten around to figuring out how to do
12739         that.  I *think* it'll be something like: "table" == inset.type()
12740
12741         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
12742         bool.
12743
12744 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
12745
12746         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
12747         all the citation/databases/styles in the auxilary file.
12748         (run): Rerun latex if there was a babel language error.
12749
12750 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
12751
12752         * text.C (Backspace): Preserve the font when changing newline char
12753         with a space.
12754         (BreakParagraph): If the cursor is before a space, delete the space.
12755
12756         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
12757
12758 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
12759
12760         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
12761         new argument (code).
12762         (ChangeCitationsIfUnique): New method.
12763
12764         * paragraph.C (GetPositionOfInset): Handle bibkey.
12765
12766 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12767
12768         * BufferView_pimpl.h: change type of Position::par_pos to
12769         LyXParagraph::size_type.
12770
12771 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
12772
12773         * BufferView_pimpl.C (savePosition, restorePosition): Write
12774         messages to minibuffer.
12775
12776 2001-01-28  José Matos  <jamatos@fep.up.pt>
12777
12778         * buffer.C (makeDocBookFile): adds support for document language.
12779         A silly restriction on the name of LatexCommand types where removed.
12780         Added support for CDATA sections, allows to chars unescaped, used
12781         among others in code, to avoid escape < and >.
12782
12783 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
12784
12785         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
12786         saved positions instrad of a stack. Furthermore, a position is
12787         stored using paragraph id/paragraph position.
12788
12789         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
12790         Remove LFUN_REF_BACK.
12791
12792 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
12793
12794         * converter.C (dvipdfm_options): New method.
12795
12796 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
12797
12798         * vspace.C (isValidLength): Fix for empty input string.
12799
12800 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12801
12802         * LyXAction.C (init): change description of LFUN_FIGURE to
12803         "Insert Graphics"
12804
12805 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12806
12807         * LaTeX.C: add using directive
12808
12809 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
12810
12811         * MenuBackend.C (expand): Fix the sorting of the formats.
12812
12813 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
12814
12815         * lyx_main.C: tiny error message fix
12816
12817 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12818
12819         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
12820         calling fl_initialize(). This fixes the problem with ',' as
12821         decimal separator in text files.
12822
12823 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
12824
12825         * trans.C (process): Fix the keymap bug.
12826
12827 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
12828
12829         * LaTeX.C (scanAuxFiles): New method. Provides support for
12830         multiple bibliographies (when using the bibtopic/bibunits pacakges).
12831         (scanLogFile) Scan for "run BibTeX" messages.
12832
12833         * buffer.C (makeLaTeXFile): Do not load the ae package when using
12834         OT1 font encoding. Also, load the aecompl package if the ae
12835         package is loaded.
12836
12837         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
12838
12839 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12840
12841         * texrow.C (increasePos): turn two error messages into debug
12842         messages.
12843
12844 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
12845
12846         * LaTeX.C (scanAux): Handle the \@input macro.
12847         (runBibTeX): Use scanAux().
12848
12849         * language.C (latex_options_): New field.
12850
12851         * LaTeXFeatures.C (getMacros): Add language macros.
12852
12853         * buffer.C (makeLaTeXFile): Small fix.
12854
12855 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12856
12857         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
12858
12859         * text2.C: add a using directive.
12860
12861 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
12862
12863         * BufferView2.C:
12864         * lyx_gui_misc.h:
12865         * lyxfr1.C:
12866         * lyxfunc.C: kill LyXBell.
12867
12868 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
12869
12870         * text.C (IsBoundary): Remove the error message
12871
12872         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
12873
12874         * lyxrc.C (setDefaults): Correct initialization value for
12875         font_norm_type.
12876
12877 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
12878
12879         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
12880         gotoError().
12881
12882         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
12883         and GotoNextNote().
12884
12885         * src/LyXAction.C: Added reference-next.
12886
12887         * text.C (InsertChar): Use contains instead of strchr.
12888
12889         * lyx_cb.C (MenuInsertLabel): Enable default value code.
12890
12891 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
12892
12893         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
12894         alignment commands (when needed).
12895
12896         * text.C (InsertChar): Add ':' to number separator chars.