]> git.lyx.org Git - features.git/blob - src/ChangeLog
24d007561eabca850cfe70f6cae6b26704494f05
[features.git] / src / ChangeLog
1 2003-09-16  Angus Leeming  <leeming@lyx.org>
2
3         * paragraph.C (IsInsetChar): new function in namespace anon, moved out of
4         support/textutils.h.
5         (isWord): move the contents of support/textutils.h's IsWordChar here.
6
7         * buffer.C:
8         * lyxfind.C:
9         * rowpainter.C:
10         * text.C:
11         * text2.C: add #include "paragraph.h".
12
13         * rowpainter.C:
14         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
15
16 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
17
18         * main.C: 
19         * lyx_main.C: 
20         * lyx_cb.C: 
21         * buffer.C: 
22         * LaTeX.C: use namespace alias for lyx::support::os
23
24 2003-09-16  Angus Leeming  <leeming@lyx.org>
25
26         * bufferparams.C:
27         * bufferview_funcs.C:
28         * factory.C:
29         * lyxfunc.C:
30         * paragraph_pimpl.C:
31         * rowpainter.C:
32         * text.C: add #include "LColor.h".
33
34 2003-09-16  Angus Leeming  <leeming@lyx.org>
35
36         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph, setUnderbar,
37         setNoun, setNumber, setColor, setLanguage): no longer return LyXFont &.
38         Store the FontBits::color variable as an int rather than as an LColor::color
39         so that we can move LColor.h out of the lyxfont.h header file.
40
41         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
42         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot string
43         calls together.
44
45         * lyxrc.C: add #include "LColor.h".
46
47 2003-09-15  Angus Leeming  <leeming@lyx.org>
48
49         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as a cow_ptr.
50
51 2003-09-15  Angus Leeming  <leeming@lyx.org>
52
53         * LColor.h: add an EnumLColor wrapper for LColor::color.
54
55         * lyxfont.[Ch] (color, setColor, realColor):
56         * lyxtext.h, text.C (backgroundColor):
57         pass EnumLColor args to/from the functions, rather than LColor::color ones.
58
59         * lyxfont.h:
60         * lyxtext.h: forward declare EnumLColor.
61
62         * lyx_main.C: add #include "LColor.h".
63
64 2003-09-15  Angus Leeming  <leeming@lyx.org>
65
66         * .cvsignore: add lyx-gtk.
67
68 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
69
70         * Chktex.C
71         * LaTeX.C
72         * LaTeXFeatures.C
73         * ParagraphParameters.C
74         * Spacing.C
75         * buffer.C
76         * bufferparams.C
77         * bufferview_funcs.C
78         * chset.C
79         * counters.C
80         * funcrequest.C
81         * lyxfont.C
82         * lyxgluelength.C
83         * lyxlength.C
84         * paragraph.C
85         * paragraph_funcs.C
86         * text3.C
87         * vc-backend.C: remove usage of STRCONV
88
89 2003-09-15  Angus Leeming  <leeming@lyx.org>
90
91         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
92         explicitly define the color passed to the painter.
93
94 2003-09-15  Angus Leeming  <leeming@lyx.org>
95
96         * bufferparams.C (BufferParams): reorder member initializers to avoid
97         compiler warning.
98
99 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
100
101         * CutAndPaste.C (pasteSelection): remove an outdated #warning
102         * text.C (updateRowPositions): remove an unusual nop
103
104 2003-09-12  André Pönitz  <poenitz@gmx.net>
105
106         * BufferView_pimpl.C:
107         * Bullet.C:
108         * layout.h:
109         * lyxfunc.C:
110         * lyxlayout.[Ch]:
111         * lyxtextclass.C:
112         * rowpainter.C:
113         * text.C:
114         * text2.C:
115         * Counters.[Ch]: finish the 'automatic counters' job
116
117 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
118
119         * aspell.C: include <boost/assert.cpp> (compile fix)
120
121 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
122
123         * boost.C (assertion_failed): use lyx::support::abort instead of
124         assert.
125
126 2003-09-10  Angus Leeming  <leeming@lyx.org>
127
128         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h with their
129         _fwd progeny.
130
131 2003-09-09  Angus Leeming  <leeming@lyx.org>
132
133         134 files throughtout the source tree: replace 'using namespace abc;'
134         directives with the appropriate 'using abc::xyz;' declarations.
135
136 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
137
138         * boost.C (emergencyCleanup): moved here from LAssert.c
139         (assertion_failed): new function, called by BOOST_ASSERT
140
141         * several files: change Assert to BOOST_ASSERT
142
143 2003-09-09  Angus Leeming  <leeming@lyx.org>
144
145         * buffer.[Ch]: Add an Impl class and move Buffer's member
146         variables into it. As a result move several header files out of
147         buffer.h.
148
149         Add header files to lots of .C files all over the tree as a result.
150
151 2003-09-09  Angus Leeming  <leeming@lyx.org>
152
153         * buffer.[Ch]: make Buffer's member variables private. Add
154         accessor functions.
155
156         Lots of changes all over the tree as a result.
157
158 2003-09-08  Angus Leeming  <leeming@lyx.org>
159
160         * graph.C: #include <config.h>.
161
162 2003-09-08  Angus Leeming  <leeming@lyx.org>
163
164         * BranchList.C:
165         * BufferView.C:
166         * BufferView_pimpl.C:
167         * CutAndPaste.C:
168         * DepTable.C:
169         * LaTeX.C:
170         * LaTeXFeatures.C:
171         * LyXAction.C:
172         * MenuBackend.C:
173         * TextCache.C:
174         * aspell.C:
175         * buffer.C:
176         * bufferlist.C:
177         * changes.C:
178         * chset.C:
179         * converter.C:
180         * counters.C:
181         * debug.C:
182         * graph.C:
183         * ispell.C:
184         * lyx_cb.C:
185         * lyxfind.C:
186         * lyxfunc.C:
187         * lyxlex_pimpl.C:
188         * lyxrc.C:
189         * lyxrow.C:
190         * paragraph.C:
191         * rowpainter.C:
192         * texrow.C:
193         * text.C:
194         * text2.C:
195         * toc.C: remove redundant using directives.
196
197 2003-09-07  Angus Leeming  <leeming@lyx.org>
198
199         * LaTeXFeatures.h: remove #include "support/types.h".
200         * ToolbarBackend.h: remove #include <algorithm>.
201         * changes.h: remove #include <ctime>.
202         * debug.h: remove #include <iosfwd>.
203         * graph.h: remove #include "support/std_string.h".
204         * lyx_main.h: remove #include <csignal>.
205         * lyxlex_pimpl.h: remove #include <fstream>.
206         * sgml.h: remove #include <algorithm>, <utility>.
207         * toc.h: remove #include "support/std_ostream.h". Add #include <iosfwd>.
208
209 2003-09-07  Angus Leeming  <leeming@lyx.org>
210
211         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
212
213         * converter.h: forward declare LatexRunParams.
214         * encoding.h: remove #include "lyxrc.h".
215         * lyxtext.h: remove #include "LColor.h".
216         * lyxtextclass.h: remove #include "support/types.h".
217         * trans.h: remove #include "tex-accent.h".
218         * trans_mgr.h: remove #include "tex-accent.h".
219         * insets/inset.h: remove #include "support/types.h", <vector>.
220         * insets/insetcollapsable.h: remove #include "LColor.h".
221         * insets/insetinclude.h: remove #include "dimension.h".
222         * insets/insetlatexaccent.h: remove #include "dimension.h".
223         * insets/insetoptarg.h:: remove #include "insettext.h".
224         * insets/insettext.h: remove #include "dimension.h", <boost/shared_ptr.hpp>
225
226         * insets/renderers.h: add #include "dimension.h".
227         * insets/updatableinset.h: add #include "support/types.h".
228
229         * many .C files: Associated changes.
230
231 2003-09-06  Angus Leeming  <leeming@lyx.org>
232
233         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just one,
234         inside testInvariant.
235
236         * PrinterParams.C: new file.
237         * PrinterParams.[Ch]: move the function bodies out of line.
238
239 2003-09-06  Angus Leeming  <leeming@lyx.org>
240
241         * ParagraphParameters.h: forward declare ParameterStruct rather than
242         including its header file.
243         (depth): moved out-of-line.
244
245 2003-09-06  Angus Leeming  <leeming@lyx.org>
246
247         * BufferView_pimpl.h:
248         * kbmap.h:
249         * kbsequence.h:
250         * lyxfunc.h: forward declare LyXKeySym rather than
251         #include "frontends/LyXKeySym.h".
252
253         * BufferView_pimpl.C:
254         * kbmap.C:
255         * kbsequence.C:
256         * lyxfunc.C: associated changes.
257
258 2003-09-06  Angus Leeming  <leeming@lyx.org>
259
260         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
261         As a result, can remove the #include "insets/inset.h" from BufferView.h
262
263 2003-09-06  Angus Leeming  <leeming@lyx.org>
264
265         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
266         As a result, can remove the #include "insets/inset.h" from BufferView.h
267
268 2003-09-06  Angus Leeming  <leeming@lyx.org>
269
270         * buffer_funcs.C:
271         * buffer.h:
272         * bufferlist.C:
273         * BufferView.C:
274         * bufferview_funcs.C:
275         * BufferView_pimpl.C:
276         * CutAndPaste.C:
277         * lyx_cb.C:
278         * lyxfunc.C:
279         * paragraph.h:
280         * ParagraphParameters.C:
281         * tabular.C:
282         * text3.C:
283         * toc.C:
284         * undo_funcs.C:
285         * frontends/controllers/ControlDocument.C:
286         * insets/insetcaption.C: rearrange the #includes into some sort of
287         coherent order.
288
289         * buffer.h: remove #includes ErrorList.h, undo.h
290
291 2003-09-06  Angus Leeming  <leeming@lyx.org>
292
293         * support/types.h: add a 'depth_type' typedef, used to store the
294         nesting depth of a paragraph.
295
296         * paragraph.h:
297         * ParameterStruct.h: use this lyx::depth_type typedef rather than
298         defining explicitly.
299
300         * buffer.h:
301         * paragraph_funcs.h:
302         * ParagraphParameters.h:
303         * sgml.h: use lyx::depth_type rather than Paragraph or
304         ParameterStruct's depth_type.
305
306         * buffer.h
307         * paragraph_funcs.h: no need to #include paragraph.h anymore.
308
309         * BufferView.C:
310         * BufferView_pimpl.C:
311         * CutAndPaste.C:
312         * ParagraphParameters.C:
313         * buffer_funcs.C:
314         * bufferlist.C:
315         * bufferview_funcs.C:
316         * lyx_cb.C:
317         * lyxfunc.C:
318         * tabular.C:
319         * text3.C:
320         * toc.C:
321         * undo_funcs.C:
322         * frontends/LyXView.C:
323         * frontends/controllers/ControlDocument.C:
324         * frontends/controllers/ControlErrorList.C:
325         * insets/insetbibitem.C:
326         * insets/insetbranch.C:
327         * insets/insetcaption.C:
328         * insets/insetcollapsable.C:
329         * insets/insetenv.C:
330         * insets/insetert.C:
331         * insets/insetfloat.C:
332         * insets/insetfoot.C:
333         * insets/insetfootlike.C:
334         * insets/insetnewline.C:
335         * insets/insetquotes.C:
336         * insets/insettabular.C:
337         * insets/insettext.C:
338         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
339
340         * frontends/controllers/ControlChanges.C: #include "changes.h".
341
342 2003-09-06  Angus Leeming  <leeming@lyx.org>
343
344         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather than
345         #including paragraph.h.
346
347         * ParagraphList.h:
348         * RowList.h: deleted. Superfluous.
349
350         * CutAndPaste.h:
351         * iterators.h:
352         * lyxcursor.h:
353         * lyxtext.h:
354         * text_funcs.h:
355         * undo.h:
356         * undo_funcs.h:
357         * insets/inset.h:
358         * insets/insettext.h: use ParagraphList_fwd.h rather than ParagraphList.h.
359
360         * paragraph.h: don't forward declare ParagraphList.
361
362         * buffer.h:
363         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
364         rather than ParagraphList.h. paragraph.h is still needed for the
365         Paragraph::depth_type parameters.
366
367         * textcursor.h: enable it to compile stand-alone in light of the
368         above changes.
369
370         * bufferview_funcs.C:
371         * iterators.C:
372         * lyxfunc.C:
373         * lyxrow_funcs.C:
374         * paragraph.C:
375         * rowpainter.C:
376         * text.C:
377         * text2.C:
378         * text3.C:
379         * text_funcs.C:
380         * textcursor.C:
381         * undo.C:
382         * frontends/controllers/ControlParagraph.C:
383         * frontends/controllers/ControlTabular.C:
384         * insets/insetmarginal.C:
385         * insets/insetminipage.C:
386         * insets/insetnote.C:
387         * insets/insetoptarg.C: add header files needed to compile again.
388
389 2003-09-06  Angus Leeming  <leeming@lyx.org>
390
391         * RowList_fwd.h: new file, forward-declaring Row rather than
392         #including lyxrow.h.
393
394         * lyxrow_funcs.h:
395         * lyxtext.h:
396         * paragraph.h:
397         * insets/insettext.h: use it instead of RowList.h
398
399         * bufferview_funcs.C:
400         * lyxfunc.C:
401         * lyxrow_funcs.C:
402         * paragraph.C:
403         * rowpainter.C:
404         * text.C:
405         * text2.C:
406         * text3.C: #include "RowList.h".
407
408 2003-09-05  Angus Leeming  <leeming@lyx.org>
409
410         * factory.C (createInset):
411         * vspace.C (c-tor): replace sscanf call with an istringstream.
412         * ispell.C: re-add missing HP/UX headers.
413         * lyxserver.C: re-add missing  os2 headers.
414
415 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
416
417         * BranchList.C:
418         * graph.C:
419         * ispell.C:
420         * lastfiles.C:
421         * lyx_cb.C:
422         * lyxserver.C:
423         * texrow.C:
424         * text3.C: re-add missing system headers, needed for 2.95.2.
425
426 2003-09-05  Angus Leeming  <leeming@lyx.org>
427
428         Changes most place everywhere due to the removal of using directives
429         from support/std_sstream.h.
430
431 2003-09-05  Angus Leeming  <leeming@lyx.org>
432
433         Replace LString.h with support/std_string.h,
434         Lsstream.h with support/std_sstream.h,
435         support/LIstream.h with support/std_istream.h,
436         support/LOstream.h with support/std_ostream.h.
437
438         Changes resulting throughout the tree.
439
440 2003-09-05  Angus Leeming  <leeming@lyx.org>
441
442         * sgml.h: ensure that the header file can be compiled stand-alone.
443         * *.C: strip out redundant #includes. (320 in total.)
444
445 2003-09-04  Angus Leeming  <leeming@lyx.org>
446
447         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
448         here (from getPackages).
449
450         * debug.[Ch]: add a new EXTERNAL tag.
451
452 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
453
454         * text2.C (cursorEnd): simplify
455         (setCursor): adjust
456         (getColumnNearX): adjust
457
458         * text.C (computeBidiTables): adjust
459         (fill): adjust
460
461         * rowpainter.C (paintChars): adjust
462         (paintSelection): adjust
463         (paintChangeBar): adjust
464         (paintText): adjust
465
466         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
467         lastPos instead.
468         (numberOfSeparators): adjust
469
470 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
471
472         * LyXAction.C:
473         * box.[Ch]:
474         * lfuns.h:
475         * lyxfunc.C:
476         * text3.C: Restricts the mouse click functionality
477         of insets like bibtex, include, toc and floatlist to the visible
478         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
479         up the dialogs. Cursor has to be in front of the inset (i.e.
480         start of row) for this to function.
481
482 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
483
484         * bufferview_funcs.C (currentState): output row information
485
486 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
487
488         * bufferview_funcs.C (currentState): output paragraph position
489
490 2003-09-04  Angus Leeming  <leeming@lyx.org>
491
492         * FloatList.h: move out #include "Floating.h".
493         * LaTeX.h: move out #include "DepTable.h".
494         * LyXAction.h: move out #include "funcrequest.h".
495         * buffer.h: move out #include "author.h", "iterators.h".
496         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
497         * lyx_main.h: move out #include "errorlist.h".
498         * lyxfunc.h: move out #include "FuncStatus.h".
499         * lyxtext: move out #include "lyxcursor.h".
500         * paragraph_pimpl.h: move out #include "counters.h".
501
502 2003-09-03  Angus Leeming  <leeming@lyx.org>
503
504         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
505         preamble_snippets list, enabling us to add snippets to the preamble only
506         if the snippet was not there already.
507
508 2003-09-04  Angus Leeming  <leeming@lyx.org>
509
510         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
511
512 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
513
514         * lyxfunc.C (dispatch): if fitCursor did something be sure to
515         update
516
517 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
518
519         * BranchList.C: point fix, earlier forgotten
520
521 2003-09-02  Angus Leeming  <leeming@lyx.org>
522
523         * box.C (contains): renamed from 'contained' after a fantastic
524         amount of hot air.
525
526 2003-09-02  John Levon  <levon@movementarian.org>
527
528         * BufferView.C:
529         * lyxcursor.h:
530         * lyxcursor.C:
531         * lyxfunc.C:
532         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
533
534 2003-09-02  John Levon  <levon@movementarian.org>
535
536         * text2.C: simplification of cursorEnd(), including partial
537         fix for bug 1376
538
539 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
540
541         * buffer.C (readFile): add a space
542
543 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
544
545         * BufferView_pimpl.C (update): remove bogus fitCursor() call
546
547 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
548
549         * buffer.C (readFile): new function, take a filename and a
550         ParagraphList::iterator
551         (readFile): adjust
552         (readFile): adjust, make it private. don't use setStream, make
553         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
554         always contain the filename.
555
556         * BufferView.C (insertLyXFile): simplify and make it work for
557         gzipped files.
558
559 2003-08-30  John Levon  <levon@movementarian.org>
560
561         * Makefile.am: fix dist (from Kayvan)
562
563 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
564
565         * most files: change to use const Buffer refs
566
567 2003-08-27  André Pönitz  <poenitz@gmx.net>
568
569         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
570         on top of ownerPar().
571
572 2003-08-27  John Levon  <levon@movementarian.org>
573
574         * funcrequest.C: properly initialise POD members
575
576 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
577
578         * lyxtext.h (top_y): move top_y from here
579         * text.C:
580         * text2.C:
581         * text3.C:
582         * BufferView.[Ch]:
583         * BufferView_pimpl.[Ch]: to here
584         * frontends/screen.C:
585         * insets/insettabular.C:
586         * insets/insettext.C: adjust
587         * rowpainter.[Ch] (paintRows): remove LyXText & argument
588
589 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
590
591         * BufferView.[Ch]:
592         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
593
594 2003-08-26  André Pönitz  <poenitz@gmx.net>
595
596         * paragraph_func.[Ch] (outerPar): new function
597
598         * paragraph.C:
599         * paragraph_funcs.C:
600         * paragraph_funcs.h:
601         * paragraph_pimpl.C:
602         * text2.C: remove Inset::par_owner
603
604 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
605
606         * lyxrow_funcs.C:
607         * lyxtext.h:
608         * text.C:
609         * text2.C: eliminates the needFullRow/display() stuff
610         altogether, putting the logic in metrics/draw in the insets.
611
612 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
613
614         * text2.C (redoParagraphInternal, redoParagraphs):
615         * text.C (redoParagraph): add a call to updateRowPositions at the
616         end of each 'metrics-like' call. Remove all others.
617         (getRow): remove the 'y-computing' version.
618         (getRowNearY): do not compute nor return the real y. Solve the
619         'y < 0' problem and simplify.
620
621 2003-08-22  Angus Leeming  <leeming@lyx.org>
622
623         * *.[Ch]: clean-up of licence and author blurbs.
624         Also move config.h out of a few .h files and into a few .C files.
625
626 2003-08-22  André Pönitz  <poenitz@gmx.net>
627
628         * lyxrow.[Ch]: add x_ and *fill_ members
629
630         * lyxtext.h:
631         * text.C:
632         * rowpainter.C:
633         * text2.C: adjust/remove prepareToPrint() calls
634
635 2003-08-22  André Pönitz  <poenitz@gmx.net>
636
637         * lyxrow.[Ch]: add  end_ member
638
639         * lyxrow_funcs.C: use LyXRow::end_
640
641         * lyxtext.h (singleWidth): add LyXFont parameter
642
643         * rowpainter.C:
644         * text2.C: adjust LyXText::singleWidth() calls
645
646         * text.C (redoParagraph): simplify row breaking logic
647
648
649 2003-08-19  André Pönitz  <poenitz@gmx.net>
650
651         * funcrequest.C: initialize button_ member
652
653         * text3.C:
654         * rowpainter.[Ch]: interface consolidation
655
656 2003-08-18  André Pönitz  <poenitz@gmx.net>
657
658         * BufferView.C:
659         * BufferView_pimpl.C:
660         * lyxfind.C:
661         * paragraph_funcs.C:
662         * rowpainter.C:
663         * text3.C: remove LyXScreen::draw() and fitCursor calls
664
665         * BranchList.h: remove spurious semicolons
666
667         * MenuBackend.C: fix branchlist related crash
668
669 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
670
671         * BranchList.[Ch]:
672         * InsetList.[Ch]:
673         * LColor.[Ch]:
674         * LyXAction.C:
675         * Makefile.am:
676         * MenuBackend.[Ch]:
677         * bufferparams.[Ch]:
678         * factory.C:
679         * lfuns.h:
680         * lyxfunc.C:
681         * text3.C: implements the 'branch inset'
682         idea. This allows the output of various versions of a document
683         from a single source version, selectively outputing or suppressing
684         output of parts of the text.
685         This implementation contains a 'branch list editor' in a separate
686         tab of the document settings dialog. Branches are user definable
687         and have a "display colour" to distinguish them on-screen.
688
689         ColorHandler was somewhat cleaned up.
690         (1) make possible a dynamically growing LColor list by allowing
691         the graphic context cache to grow along (vector);
692         (2) eliminate an IMHO unnecessary step in colour allocation.
693
694 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
695
696         * BufferView_pimpl.C: compile fix
697
698 2003-08-15  André Pönitz  <poenitz@gmx.net>
699
700         * rowpainter.C: remove extra metrics calls
701
702         * lyxtext.h: merge the two constructors into a single one,
703           pass reference to owner's par list
704
705         * BufferView_pimpl.C:
706         * text.C:
707         * text2.C: adjust
708
709 2003-08-15  André Pönitz  <poenitz@gmx.net>
710
711         * lyxrow_funcs.[Ch]:
712         * lyxtext.h:
713         * paragraph.h:
714         * paragraph_funcs.C:
715         * rowpainter.C:
716         * text.C:
717         * text2.C:
718         * text3.C:
719         * text_funcs.C: split LyXText::rowlist_ into individual
720         Paragraph::rows_ chunks
721
722         * BufferView.[Ch]:
723         * BufferView_pimpl.[Ch]:
724         * lyxfind.C:
725         * lyxtext.h:
726         * text3.C: remove toggleSelection()
727
728 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
729
730         * bufferlist.C: beautify two alerts (shorter text of buttons)
731         * buffer.C: Remove redundant ' ' from message
732         * tabular.h:
733         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
734         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
735         rename VALIGN_CENTER to VALIGN_MIDDLE
736
737 2003-08-11  André Pönitz  <poenitz@gmx.net>
738
739         * lyxtext.h (getPar):
740         * text.C: new function
741
742 2003-08-11  André Pönitz  <poenitz@gmx.net>
743
744         * Makefile.am:
745         * tracer.[Ch]: remove unneeded files
746
747         * InsetList.[Ch]: remove resizeInsetsLyXText()
748
749         * lyxtext.h:
750         * text.C:
751         * text2.C:
752         * text3.C: merge insertParagraphs() and appendParagraph()
753         remove breakAgain(), update()
754
755         * BufferView_pimpl.[Ch]:
756         * bufferview_funcs.[Ch]:
757         * lyxfunc.C:
758         * paragraph.[Ch]:
759         * rowpainter.C:
760         * tabular.C: adjust after text & InsetList changes.
761
762 2003-08-08  André Pönitz  <poenitz@gmx.net>
763
764         * text.C (insertChar, backspace): replace rowlist fiddling
765         with rebreak of full par
766
767         * lyxtext.h:
768         * text.C (breakAgainOneRow, redoHeightOfParagraph,
769         checkParagraph, updateInset): removed
770
771 2003-08-07  André Pönitz  <poenitz@gmx.net>
772
773         * paragraph.C:
774         * text3.C: merge some LFUN handlers, remove dead code
775
776 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
777
778         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
779
780 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
781
782         * text2.C (DEPM): fix part of bug 1255 and 1256
783
784 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
785
786         * BufferView_pimpl.C (workAreaDispatch): change to use
787         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
788         that are no mouse related.
789
790 2003-08-05  André Pönitz  <poenitz@gmx.net>
791
792         * BufferView.[Ch]:
793         * BufferView_pimpl.[Ch]:
794         * bufferview_funcs.C:
795         * text2.C:
796         * text3.C: rip out "deep update"
797
798         * textcursor.[Ch] (last_sel_cursor): remove unused member
799
800 2003-08-04  André Pönitz  <poenitz@gmx.net>
801
802         * BufferView.[Ch]:
803         * BufferView_pimpl.[Ch]:
804         * ParagraphParameters.C:
805         * bufferview_funcs.C:
806         * lyx_cb.C:
807         * lyxfind.C:
808         * lyxfunc.C:
809         * text.C:
810         * text2.C:
811         * text3.C: replace "complicated" BufferView::update(...) calls with
812         simpler ones.
813
814         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
815
816 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
817
818         * Makefile.am (lyx_SOURCES): add paper.h
819
820 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
821
822         * Makefile.am: move things around so that both lyx-qt and
823         lyx-xforms can be built (according to --with-frontend). Then lyx
824         is a symbolic link to lyx-[firstfrontend]
825
826 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
827
828         * Always use std::endl with lyxerr
829
830 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
831
832         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
833
834 2003-08-01  André Pönitz  <poenitz@gmx.net>
835
836         * BufferView.[Ch]:
837         * BufferView_pimpl.[Ch]:
838         * lyxfunc.C:
839         * text3.C: merge BufferView::repaint() and BufferView::update()
840
841 2003-08-01  José Matos  <jamatos@lyx.org>
842
843         * buffer.[Ch]: file_format is no longer a buffer data element.
844
845 2003-08-01  André Pönitz  <poenitz@gmx.net>
846
847         * BufferView.C:
848         * lyxtext.h:
849         * text.C:
850         * text2.C: make redoParagraph more independent of current cursor
851
852         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
853         * text.C:
854         * text2.C: remove unneeded members
855
856 2003-07-30  André Pönitz  <poenitz@gmx.net>
857
858         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
859
860         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
861           create a single function...
862
863         * paragraph_funcs.C (moveItem): ... here.
864
865         * text.C:
866           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
867
868 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
869
870         * LColor.[Ch]: Add comment and greyedout logical colors.
871
872 2003-07-30  André Pönitz  <poenitz@gmx.net>
873
874         * tabular.C: don't use Assert too heavily. This crashes where it
875           shouldn't
876
877 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
878
879         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
880         is disabled (bug 1232)
881
882 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
883
884         * factory.C: limited 'arg' scope
885
886 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
887
888         * factory.C: fixed Note submenu issues
889
890 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
891
892         * factory.C: submenu for Note/Comment/Greyedout
893
894 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
895
896         * lyx_main.C (LyX):
897         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
898
899 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
900
901         * LaTeXFeatures.C:
902         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
903         greyedout. Patch provided by Jürgen Spitzmüller.
904
905 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
906
907         * kbmap.C (read): fix error message when reading bind files
908
909 2003-07-29  Angus Leeming  <leeming@lyx.org>
910
911         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
912         certainly does not do what it purports to do. I am doing it, and
913         us, a favour by killing it.
914
915 2003-07-28  José Matos  <jamatos@lyx.org>
916
917         * buffer.C (readBody, do_writeFile):
918         * paragraph.C(readParagraph): \end_document replaces \the_end.
919
920 2003-07-29  André Pönitz  <poenitz@gmx.net>
921
922         * BufferView.[Ch]:
923         * BufferView_pimpl.[Ch]:
924         * lyxfunc.C:
925         * text2.C:
926         * text3.C:
927         * textcursor.[Ch]: remove toggleToggle & Co
928
929 2003-07-28  José Matos  <jamatos@fep.up.pt>
930
931         * buffer.C (readParagraph):
932         * params_func (readParToken, readParagraph):
933         * paragraph.C (write): \layout -> \begin_layout.
934
935 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
936
937         * lyxlex_pimpl.C (setFile): clean up slightly.
938
939         * bufferparams.h: add compressed var
940
941         * buffer_funcs.C (readFile): adjust for LyXLex change
942         (newFile): ditto + simplify
943
944         * buffer.C (writeFile): handle writing of compressed files
945
946         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
947         Check if the file is compressed and set a bufferparm if so.
948
949         * Makefile.am (lyx_LDADD): remove explicit -lz
950
951 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
952
953         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
954         makeDocBookFile): put the real LyX version in the first line of
955         the file
956
957         * version.h:
958         * version.C.in: remove lyx_docversion
959
960         * tabular.C (write_attribute): add a template-based version to
961         write enums properly
962
963 2003-07-28  André Pönitz  <poenitz@gmx.net>
964
965         * lyxtext.h:
966         * text.C:
967         * text2.C:
968         * text3.C: use doubles again for x-coordinates. They are needed.
969
970 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
971
972         * messages.C (getLocaleDir): use lyx_localedir()
973
974         * lyxlex_pimpl.C (setFile): compress stuff
975
976         * buffer.C (writeFile): add some compression stuff
977         (do_writeFile): new func, dont call expliti close... will this
978         breake anything?
979
980         * Makefile.am (lyx_LDADD): add -lz
981
982 2003-07-28  José Matos  <jamatos@fep.up.pt>
983
984         * buffer.C: increment file format.
985         * paragraph_funcs (readParagraph, readParToken):
986         * paragraph.C (readParagraph): add \end_layout.
987
988 2003-07-27  Angus Leeming  <leeming@lyx.org>
989
990         * Makefile.am: remove special casing for configure-time setting of
991         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
992
993         * lyx_main.C (init): remove all Jean-Marc's magic setting of
994         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
995
996 2003-07-26  André Pönitz  <poenitz@gmx.net>
997
998         * paragraph_func.[Ch]:
999         * paragraph.C (realizeFont): inline it whereever it is used
1000
1001         * rowpainter.C:
1002         * text.C:
1003         * text2.C:
1004         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
1005
1006
1007 2003-07-26  André Pönitz  <poenitz@gmx.net>
1008
1009         *       lyxtext.h:
1010         * text.C:
1011         * text2.C: get rid of LyXText::need_break_row
1012
1013 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
1014
1015         * toc.[Ch]: put namespace toc inside namespace lyx
1016
1017         * MenuBackend.C (expandToc2): adjust for lyx::toc
1018         (expandToc): ditto
1019
1020         * lyxfunc.C (dispatch): adjust for lyx::find
1021
1022         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
1023         lyx::find instead. Reorganize a bit.
1024         (LyXReplace): rename to replace
1025         (LyXFind): rename to find
1026
1027         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
1028         (dispatch): ditto
1029
1030 2003-07-26  André Pönitz  <poenitz@gmx.net>
1031
1032         * text.C (setHeightOfRow): restrict scope of temporary variable
1033
1034         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
1035           code (never has been used?)
1036
1037 2003-07-27  Asger Alstrup  <alstrup@local>
1038
1039         * text.C (fill): Optimise algorithm to exploit that we can reuse
1040         the LyXFont for many characters.
1041         (setHeightOfRow): Same thing.
1042         (rowBreakPoint): Same thing.
1043
1044 2003-07-26  Asger Alstrup  <alstrup@local>
1045
1046         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
1047
1048         * text.C (singleWidth): Spurious font copying in hot-spot
1049         singleWidth avoided. Reorder tests for arabic for efficiency.
1050
1051         * text.C (fill): handle empty paragraphs better.
1052
1053 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1054
1055         * ispell.C:
1056         * encoding.h: add includes
1057
1058         * lyxrc.C: remove reading of bind files
1059
1060         * lyx_main.C (init): setup bindings and menus only if we have a
1061         gui.
1062
1063         * kbmap.C (read): new method. Do the actual reading of bind
1064         files.
1065
1066         * converter.C (dvipdfm_options):
1067         * bufferparams.C:
1068         * lyxrc.C (read):
1069         (output): adapt PAPER_* enums.
1070
1071         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
1072
1073         * bufferparams.h: remove paper-related enums from there
1074
1075         * paper.h: New file. A trivial header file to hold paper-related
1076         enums. It should later expand to contain many paper-related
1077         horrors access.
1078
1079         * lyxrc.C: declare extern displayTranslator
1080
1081 2003-07-27  José Matos  <jamatos@fep.up.pt>
1082
1083         * tabular.[Ch] (linuxdoc): add support for tables and figures
1084         (linuxdoc).
1085
1086 2003-07-27  José Matos  <jamatos@fep.up.pt>
1087
1088         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
1089         consistency in both functions.
1090         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
1091
1092 2003-07-26  Asger Alstrup  <alstrup@local>
1093
1094         * rowpainter.C (paintRows): Change algorithm to work directly on
1095         the insets rather than asking every character in the document
1096         whether its an inset.
1097
1098 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
1099
1100         * buffer.C (openFileWrite): factorize some code
1101
1102 2003-07-26  Angus Leeming  <leeming@lyx.org>
1103
1104         * lyx_cb.C:
1105         * lyx_main.[Ch]: replace occurances of system_tempdir with
1106         os::getTmpDir().
1107
1108 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
1109
1110         * rename Inset to InsetOld
1111
1112 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
1113
1114         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
1115         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
1116         which I think is a bit clearer. EDIT is gone, since it was
1117         premature optimisation, and broken for mathed anyway.
1118         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
1119         with cursor positioning in insets as well (math insets still do not
1120         work, but that's a different story anyway.) It mysteriously
1121         crashes sometimes with undo in the first paragraph, but I'm fairly
1122         confident that this is a compiler bug.
1123
1124 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
1125
1126         * paragraph.C (Paragraph): adjust for new clone return type
1127         (operator==): ditto
1128         (copyIntoMinibuffer): ditto
1129
1130 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
1131
1132         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
1133         by not having a special case, and always doing a full rebreak of
1134         the document after undo.
1135
1136 2003-07-23  Angus Leeming  <leeming@lyx.org>
1137
1138         * factory.C (createInset): InsetExternal::setParams now takes a
1139         Buffer const * arg.
1140
1141 2003-07-23  Angus Leeming  <leeming@lyx.org>
1142
1143         * factory.C (createInset): changed interface to the external and
1144         graphics mailers' string2params functions.
1145
1146 2003-07-23  Angus Leeming  <leeming@lyx.org>
1147
1148         * factory.C (createInset): pass a
1149         Buffer const * parameter to InsetExternalMailer's string2params.
1150
1151 2003-07-22  John Levon  <levon@movementarian.org>
1152
1153         * Thesaurus.h: include the right aiksaurus header
1154
1155 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1156
1157         * MenuBackend.C (expand): check menu shortcuts unconditionally
1158
1159 2003-07-21  Angus Leeming  <leeming@lyx.org>
1160
1161         * factory.C (createInset): pass a
1162         buffer_path parameter to InsetGraphicsMailer's string2params.
1163
1164 2003-07-21  Angus Leeming  <leeming@lyx.org>
1165
1166         * BufferView_pimpl.C (buffer):
1167         * buffer.C (d-tor):
1168         * lyx_main.C (LyX):
1169         * lyxfunc.C (dispatch):
1170         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
1171         rather than the grfx shortcut.
1172
1173 2003-07-21  André Pönitz  <poenitz@gmx.net>
1174
1175         * rowpainter.C: remove unused variables
1176
1177         * tabular_funcs.C:
1178         * tabular_funcs.h: move to tabular.C
1179         * Makefile.am: adjust
1180
1181         * tabular.[Ch]: basic optical cleaning
1182
1183         * author.h: pass references, not values
1184
1185 2003-07-18  André Pönitz  <poenitz@gmx.net>
1186
1187         * lyxtext.h:
1188         * metricsinfo.C:
1189         * metricsinfo.h:
1190         * rowpainter.C:
1191         * text.C:
1192         * text2.C:
1193         * text3.C: two-phase drawing for InsetText and InsetTabular
1194         some float -> int changes.
1195
1196 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
1197
1198         * lyx_main.C: fix the fix
1199
1200 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
1201
1202         * lyx_main.C: fix a crash in batch mode if no files specified
1203         * converter.C: ws
1204
1205 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
1206
1207         * format.[Ch] (papersize): moved to BufferParams
1208         * converter.[Ch] (dvips_options): moved to BufferParams
1209         (dvipdfm_options): moved to anon namespace
1210         * bufferparams.[Ch]: added above functions.
1211
1212 2003-07-17  André Pönitz  <poenitz@gmx.net>
1213
1214         * lyxtext.h:
1215         * rowpainter.C:
1216         * text2.C: don't call inset->update() anymore
1217
1218         * metricsinfo.[Ch]: add convenience constructor
1219
1220 2003-07-16  André Pönitz  <poenitz@gmx.net>
1221
1222         * lyxcursor.[Ch]:
1223         * lyxfunc.[Ch]:
1224         * text.C:
1225         * text2.C: replace the LyXCursor::irow_ member with
1226          on-demand computation of the value
1227
1228 2003-07-16  John Levon  <levon@movementarian.org>
1229
1230         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
1231
1232 2003-07-15  André Pönitz  <poenitz@gmx.net>
1233
1234         * text.C:
1235         * text2.C: remove no more needed refresh_row
1236
1237 2003-07-15  André Pönitz  <poenitz@gmx.net>
1238
1239         * lyxtext.h:
1240         * rowpainter.C:
1241         * text2.C:
1242         * text3.C: refresh_status tristate -> need_update bool
1243
1244 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
1245
1246         * lyxtext.h (init): remove reinit argument (act as if always true)
1247         * text2.C: adjust to that
1248
1249 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1250
1251         * bufferview_funcs.[Ch]: introduce function replaceSelection()
1252         * text3.C: use it to delete selections in some cases
1253         (bugs 441, 673, 702, 954).
1254
1255 2003-07-14  André Pönitz  <poenitz@gmx.net>
1256
1257         * rowpainter.[Ch]: reduce interface
1258
1259 2003-07-14  André Pönitz  <poenitz@gmx.net>
1260
1261         * BufferView_pimpl.C:
1262         * text2.C: adjust after removing unused BufferView * argument
1263
1264 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
1265
1266         * text2.C (init): fix a crash fired on resize
1267
1268 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
1269
1270         * buffer.[Ch]: added new closing signal
1271         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
1272         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
1273         BufferView::Pimpl via the closing the signal
1274
1275 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
1276
1277         * buffer.[Ch]: take out all bv-related from buffer
1278         * BufferView.C:
1279         * BufferView_pimpl.[Ch]: connect to new signals
1280         * CutAndPaste.C: removed useless asserts
1281         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
1282         * lyxvc.[Ch]:
1283         * vc-backend.[Ch]:
1284         * lyxfunc.C: moved view-related funciontality from vc here
1285         * paragraph.C: removed outdated comments
1286         * text.C: ws
1287
1288 2003-07-10  André Pönitz  <poenitz@gmx.net>
1289
1290         * BufferView_pimpl.C:
1291         * tabular.h:
1292         * tabular_funcs.C:
1293         * text.C:
1294         * text2.C: remove InsetText::InnerCache, clean up consequences
1295
1296 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
1297
1298         * ispell.C: fix two typos in error messages
1299
1300 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
1301
1302         * Extend Note inset to other forms of annotation like Comment
1303         and Greyedout. Right button click gives dialog.
1304
1305         Files modified or added (+):
1306
1307         * insetnote.[Ch]
1308         * FormNote.[Ch]      +
1309         * ControlNote.[Ch]   +
1310         * form_note.fd       +
1311         * Makefile.am in frontends/xforms, frontends/xforms/forms,
1312         frontends/controllers
1313         * xforms/Dialogs.C
1314         * factory.C
1315
1316 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1317
1318         * aspell.C: add missing namespace lyx::support
1319
1320 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
1321
1322         * BufferView.[Ch] (newFile): Add
1323         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
1324         * LaTeX.[Ch] (message): added this signal and use it
1325         * buffer.[Ch] (busy, message): added these signals and use them
1326         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
1327         * converter.C:
1328         * exporter.C:
1329         * format.C:
1330         * importer.C: use buffer signals instead of direct bv calling
1331         * lyx_cb.[Ch] (ShowMessage): removed
1332         * lyx_main.C:
1333         * lyxfunc.C:
1334         * paragraph_funcs.C:
1335         * text2.C: use buffer signals
1336
1337 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
1338
1339         * introduce namespace lyx::graphics
1340
1341 2003-07-02  André Pönitz  <poenitz@gmx.net>
1342
1343         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
1344
1345 2003-07-01  André Pönitz  <poenitz@gmx.net>
1346
1347         * text.C:
1348         * text2.C:
1349         * text3.C:
1350         * text_funcs.[Ch]:
1351         * textcursor.h:
1352         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
1353           text*.C to text_func.C
1354
1355 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
1356
1357         * introduce namespace lyx::support
1358
1359 2003-06-30  André Pönitz  <poenitz@gmx.net>
1360
1361         * Chktex.C:
1362         * funcrequest.C:
1363         * lyxtext.h:
1364         * text.C: re-enable --with-included-string
1365
1366 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
1367
1368         * textcursor.C: add <config.h>
1369
1370         * text.C (getWord): remove const from word_location arg
1371
1372         * lyxvc.C (getLogFile): fix const type order
1373
1374         * lyxtext.h: remove const from word_location arg, add arg name
1375
1376         * lyxlayout.h: currect type on labeltype.
1377
1378         * importer.C: correct \file
1379
1380         * converter.C (intToFormat): use std:: on ret val, ws changes
1381
1382         * bufferlist.h: correct \file
1383
1384         * buffer.C (makeLinuxDocFile): fix const type order
1385         (makeDocBookFile): ditto
1386         (fillWithBibKeys): use std:: on stdlib args.
1387
1388         * CutAndPaste.C: fix authors.
1389         (availableSelections): use std:: on return vector
1390
1391 2003-06-27  André Pönitz  <poenitz@gmx.net>
1392
1393         * BufferView_pimpl.C:
1394         * bufferview_funcs.C:
1395         * lyxcursor.C:
1396         * lyxcursor.h:
1397         * lyxfunc.C:
1398         * lyxtext.h:
1399         * rowpainter.C:
1400         * text.C:
1401         * text2.C:
1402         * text3.C: remove LyXCursor::row_ member
1403
1404         * lyxtext.h:
1405         * text.C: rename fullRebreak() to partialRebreak() and implement
1406           a fullRebreak() that really bereks fully
1407
1408         * textcursor.h: new struct for cursor-related data
1409
1410 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
1411
1412         * lyx_main.C (LyX): get full path of document loaded on the
1413         command line
1414
1415 2003-06-26  André Pönitz  <poenitz@gmx.net>
1416
1417         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
1418           remove unused/broken operator>,<,>=.
1419
1420         *       text.C: remove only use of broken operator<= in an Assert().
1421
1422 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
1423
1424         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
1425         moved errorlist_.clear to showErrorList
1426
1427 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
1428
1429         * converter.C (scanLog, runLaTeX):
1430         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
1431         move the bv->showErrorList call to the callers
1432         * lyxfunc.C: i.e. here...
1433         * text2.C: and here
1434         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
1435         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
1436         namespace, the second to...
1437         * buffer_funcs (BufferFormat, parseErrors): added
1438         * errorlist.C (ErrorList(TeXErrors const &)): removed
1439
1440 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1441
1442         * ToolbarBackend.C (getIcon): complain when icon cannot be found
1443
1444 2003-06-24  "Garst R. Reese" <reese@isn.net>
1445
1446         * debug.C: fix typo
1447
1448 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1449
1450         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
1451
1452         * version.C.in: change docversion to 1.4
1453
1454 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
1455
1456         * buffer.C: fix a bug just introduced
1457
1458 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
1459
1460         * buffer.[Ch]: added the parseError signal and use it, removed
1461         sgmlError
1462         * BufferView.[Ch] (addError): moved to ...
1463         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
1464         to the Buffer::parseError signal to catch (guess what) parse errors
1465         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
1466
1467 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
1468
1469         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
1470         ability to create a buffer and to return an existing one from
1471         the list. Moved these functions to...
1472         * buffer_funcs.[Ch]: added
1473         * BufferView.[Ch] (loadLyXFile): added
1474         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
1475         job removed from bufferlist::loadLyXFile.
1476         * buffer.C (setReadOnly): make it work without view
1477         (i.e added an if (users))
1478
1479 2003-06-19  Angus Leeming  <leeming@lyx.org>
1480
1481         * lfuns.h:
1482         * LyXAction.C (init):
1483         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
1484         with LFUN_DIALOG_SHOW <name> <data>.
1485
1486 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1487
1488         * CutAndPaste.C (availableSelections): small compilation fix for
1489         ancient (gcc 2.9x) compilers
1490
1491 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
1492
1493         * text3.C (cursorNext): add tmp var
1494
1495         * text2.C (updateCounters): for function calling out of for clause
1496         (replaceSelectionWithString): ditto
1497         (insertStringAsParagraphs): ditto
1498         (getColumnNearX): add tmp var
1499         (setCursorFromCoordinates): add tmp var
1500         (cursorDownParagraph): add tmp var
1501         (deleteEmptyParagraphMechanism): add tmp var
1502
1503         * text.C (insertChar): add tmp var
1504
1505         * rowpainter.C (paintDepthBar): add tmp var
1506
1507         * CutAndPaste.C (availableSelections): potentially check all
1508         paragraphs in a cut to fill the shown strings.
1509
1510 2003-06-18  André Pönitz  <poenitz@gmx.net>
1511
1512         * kbmap.[Ch]: use vector<> instead of list<>
1513
1514 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
1515
1516         * text3.C (dispatch): handle arg to LFUN_PASTE, call
1517         pasteSelection with index
1518
1519         * text2.C (pasteSelection): modify, call pasteSelection with index
1520
1521         * paragraph.C (asString): reimplement version with no interval to
1522         call the one with interval.
1523
1524         * lyxtext.h: add index arg to pasteSelection
1525
1526         * MenuBackend.C (MenuItem): handle PasteRecent
1527         (Menu::read::Menutags): add md_pasterecent
1528         (read): handle it
1529         (expandPasteRecent): new function
1530         (expand): use it
1531
1532         * MenuBackend.h: add PasteRecent to MenuItem::Kind
1533
1534         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
1535         the limited stack
1536         (availableSelections): new function
1537
1538 2003-06-17  Angus Leeming  <leeming@lyx.org>
1539
1540         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
1541
1542 2003-06-17  Angus Leeming  <leeming@lyx.org>
1543
1544         * lfuns.h:
1545         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
1546
1547         * lyxfunc.C (dispatch): invoke it.
1548
1549 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1550
1551         * iterators.C (operator++, ParPosition): reintroduce some
1552         const_cast for the benefit of older compilers.
1553
1554 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1555
1556         * text3.C (dispatch): do not modify clipboard when doing
1557         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
1558         LFUN_DELETE_SKIP on a selection selection
1559
1560 2003-06-16  André Pönitz  <poenitz@gmx.net>
1561
1562         * BufferView.C:
1563         * buffer.C:
1564         * buffer.h:
1565         * paragraph.C:
1566         * tabular.[Ch]: IU of clone() and getLabelList();
1567
1568 2003-06-13  André Pönitz  <poenitz@gmx.net>
1569
1570         * tabular.h: compactification
1571
1572 2003-06-12  André Pönitz  <poenitz@gmx.net>
1573
1574         * tabular.C:
1575         * tabular.h:
1576         * tabular_funcs.h: some renaming plus whitespace
1577
1578 2003-06-12  André Pönitz  <poenitz@gmx.net>
1579
1580         * BufferView.C:
1581         * BufferView_pimpl.C:
1582         * CutAndPaste.C:
1583         * buffer.C:
1584         * iterators.[Ch]:
1585         * lyxfunc.C:
1586         * text.C:
1587         * toc.C: Return a Paragraph & for ParIterator::operator*()
1588
1589 2003-06-11  John Levon  <levon@movementarian.org>
1590
1591         * lyx_main.C:
1592         * ToolbarBackend.h:
1593         * ToolbarBackend.C: add "Toolbars" section and
1594         put the flags there
1595
1596 2003-06-10  Angus Leeming  <leeming@lyx.org>
1597
1598         * lfuns.h:
1599         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
1600
1601         * lyxfunc.C (dispatch): invoke it.
1602
1603 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
1604
1605         * main.C: protect <ios> with HAVE_IOS
1606         (main): protect sync_with_stdio with HAVE_IOS
1607
1608 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
1609
1610         * text2.C (cutSelection): adjust
1611         (pasteSelection): adjust
1612
1613         * messages.C: handle get of empty string
1614
1615         * main.C (main): use sync_with_stdio(false)
1616
1617         * lyxfunc.C (dispatch): adjust
1618
1619         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
1620         (WriteAs): remove unneeded BufferView arg.
1621
1622         * bufferparams.h: use correct types on papersize, papersize2 and
1623         paperpackage.
1624
1625         * bufferparams.C (readToken): adjust for type
1626         (writeLaTeX): add missing cases to switch.
1627
1628         * bufferlist.C (quitWriteBuffer): adjust
1629         (close): adjust
1630
1631         * buffer.C (asciiParagraph): remove some commented code.
1632
1633         * CutAndPaste.C: remove current_view extern variable.
1634         (cutSelection): add BufferParams arg.
1635         (eraseSelection): add BufferParams arg.
1636         (pasteSelection): add Buffer const & arg
1637
1638 2003-06-07  John Levon  <levon@movementarian.org>
1639
1640         * buffer.C:
1641         * paragraph_funcs.C:
1642         * paragraph_pimpl.C:
1643         * text.C:
1644         * text2.C:
1645         * paragraph.h:
1646         * paragraph.C: allow InsetERT to freely space lines,
1647         and some consolidation of code
1648
1649 2003-06-06  José Matos  <jamatos@fep.up.pt>
1650
1651         * buffer.C (makeDocBookFile): fix bug #821
1652
1653 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
1654
1655         * BufferView_pimpl.C (dispatch): use Dialogs::visible
1656
1657 2003-06-04  Angus Leeming  <leeming@lyx.org>
1658
1659         * buffer.C: bump format to 224.
1660
1661 2003-06-05  André Pönitz  <poenitz@gmx.net>
1662
1663         * text2.C (redoParagraphs): remove two const_cast<>
1664
1665 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
1666
1667         * ParagraphList.h: remove last remnants of NO_STD_LIST
1668
1669 2003-06-03  Angus Leeming  <leeming@lyx.org>
1670
1671         * factory.C (createInset): small change to the way InsetExternal's params
1672         are set.
1673
1674 2003-06-04  André Pönitz  <poenitz@gmx.net>
1675
1676         * buffer.h: use Undo directly instead of shared_ptr<Undo>
1677
1678         * paragraph_pimpl.h:
1679         * paragraph.[Ch]: some Inset -> UpdatableInset changes
1680
1681         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
1682
1683         * undo_funcs.C: make some simple cases of undo work again
1684
1685 2003-06-03  John Levon  <levon@movementarian.org>
1686
1687         * ispell.C: HPUX doesn't have sys/select.h
1688         (from Albert Chin)
1689
1690 2003-06-03  John Levon  <levon@movementarian.org>
1691
1692         * CutAndPaste.C: update tabular and include inset
1693         buffer references
1694
1695         * buffer.h:
1696         * paragraph.h:
1697         * paragraph.C: remove owningBuffer(), don't pass Buffer
1698         to clone()
1699
1700         * factory.C: insetGraphicsParams changed
1701
1702 2003-06-02  John Levon  <levon@movementarian.org>
1703
1704         * LyXAction.C:
1705         * factory.C:
1706         * lfuns.h:
1707         * lyxfunc.C:
1708         * text3.C: remove insetparent
1709
1710 2003-06-02  John Levon  <levon@movementarian.org>
1711
1712         * buffer.h:
1713         * buffer.C: fix inset_iterator.end(), move out of line
1714         (bug 1149)
1715
1716 2003-06-01  John Levon  <levon@movementarian.org>
1717
1718         * text3.C: use a proper cut/paste when doing inset
1719         insert (from Jürgen Spitzmüller)
1720
1721 2003-06-01  John Levon  <levon@movementarian.org>
1722
1723         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
1724
1725 2003-05-30  André Pönitz  <poenitz@gmx.net>
1726
1727         * rowpainter.C: unify second drawing phase
1728
1729 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
1730
1731         * trans_mgr.C: remove one case of current_view
1732
1733         * text2.C (cursorBottom): delete NO_STD_LIST stuff
1734
1735         * paragraph_funcs.h: remove paragraph.h include
1736
1737         * paragraph.h: delete NO_STD_LIST stuff
1738
1739         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
1740
1741         * buffer.h: remove paragraph.h include
1742
1743         * ParagraphList.C: delete file
1744
1745         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
1746
1747         * toc.C (getTocList): adjust
1748
1749         * paragraph_pimpl.C (validate): adjust
1750
1751         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
1752
1753         * paragraph.C (Paragraph): adjust
1754         (getPositionOfInset): use const_iterator, adjust
1755         (bibitem): use const_iterator, adjust
1756         (setInsetOwner): adjust
1757
1758         * iterators.C (operator++): adjust
1759
1760         * InsetList.[Ch]: Replace selfmade iterator with standard
1761         vector::iterator also introduce const_iterator. Remove getPos,
1762         getInset and setInset from InsetTable. Adjust accordingly.
1763
1764         * BufferView.C (lockInset): adjust
1765         (ChangeInsets): adjust
1766
1767         * tabular.[Ch]: delete commented same_id functions
1768
1769 2003-05-28  John Levon  <levon@movementarian.org>
1770
1771         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
1772
1773 2003-05-28  André Pönitz  <poenitz@gmx.net>
1774
1775         * metricsinfo.[Ch]: remove 'fullredraw' member
1776
1777 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
1778
1779         * lyxtextclass.C (operator): remove caching.
1780
1781 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
1782
1783         * text3.C: adjust
1784
1785         * text2.C (cursorBottom): adjust
1786         (setCounter): use ParagraphList::find, adjust
1787
1788         * text.C (workWidth): use ParagraphList::find, adjust
1789
1790         * lyxcursor.C (LyXCursor): adjust
1791
1792         * buffer.C (inset_iterator): adjust
1793
1794         * ParagraphList.h: make iterator(value_type) private, make
1795         ParagraphList a friend of iterator.
1796
1797         * ParagraphList.C (find): new function
1798
1799         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
1800
1801 2003-05-27  André Pönitz  <poenitz@gmx.net>
1802
1803         * dimension.[Ch]: a -> asc, d -> des, w -> wid
1804
1805 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1806
1807         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
1808
1809 2003-05-26  John Levon  <levon@movementarian.org>
1810
1811         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
1812
1813 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
1814
1815         * remove same_id from function signatures, adjust.
1816
1817 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
1818
1819         * undo_funcs.C (createUndo): use the id functions directly, adjust.
1820
1821         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
1822
1823         * paragraph.C (Paragraph): get rid of same_ids parameter
1824
1825         * ParagraphList.C (insert): adjust
1826         (push_back): adjust
1827
1828 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
1829
1830         * paragraph_funcs.C (breakParagraph): adjust
1831         (breakParagraphConservative): adjust
1832
1833         * buffer.C (readParagraph): adjust
1834
1835         * ParagraphList.C (insert): take a reference instead of a pointer
1836         (insert): adjust
1837
1838         * paragraph.[Ch] (id): new function
1839
1840         * bufferlist.C (newFile): adjust
1841
1842         * ParagraphList.C (ParagraphList): adjust
1843         (assign): adjust
1844         (push_back): take a reference instead of a pointer.
1845
1846         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
1847
1848         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
1849         instead.
1850
1851         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
1852         set else use old code.
1853
1854         * ParagraphList.C: remove all NO_NEXT code and only compile this
1855         code of NO_STD_LIST is set.
1856
1857 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
1858
1859         * BufferView_pimpl.C:
1860         * TextCache.C:
1861         * TextCache.h:
1862         * bufferlist.C:
1863         * errorlist.h:
1864         * format.C:
1865         * format.h:
1866         * graph.C:
1867         * lyxfunc.C:
1868         * lyxrc.C:
1869         * graphics/GraphicsConverter.C:
1870         * graphics/PreviewLoader.C: header adjustment
1871
1872 2003-05-23  Angus Leeming  <leeming@lyx.org>
1873
1874         * LaTeXFeatures.[Ch] (useBabel): new method.
1875         * bufferparams.C (writeLaTeX): use it.
1876
1877 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
1878
1879         * ParagraphList.h (set): remove unused function.
1880
1881 2003-05-23  André Pönitz  <poenitz@gmx.net>
1882
1883         * BufferView.C:
1884         * BufferView_pimpl.C:
1885         * buffer.C:
1886         * buffer.h:
1887         * lyxfunc.C:
1888         * undo_funcs.C: setUndo reworked
1889
1890         * iterators.[Ch]: add access to topmost ParagraphList
1891
1892         * lyxtext.[Ch] (workWidth): add a const
1893
1894 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
1895
1896         * texrow.[Ch] (increasePos): remove function
1897         * exporter.C (export): removed unused var and outdated comment
1898
1899 2003-05-23  Angus Leeming  <leeming@lyx.org>
1900
1901         * latexrunparams.h: rename fragile as moving_arg.
1902         * paragraph.C (simpleTeXOnePar): ditto.
1903         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
1904
1905 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
1906
1907         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
1908         (createUndo): ditto
1909         (textUndoOrRedo): comment out a currently unused var.
1910
1911         * paragraph.h (NO_NEXT): enable NO_NEXT
1912
1913         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
1914
1915         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
1916
1917         * exporter.C (Export): adjust for removeAutoInsets removal.
1918
1919         * buffer.C (runChktex): adjust for removeAutoInsets removal.
1920
1921         * LyXAction.C (init): remove LFUN_REMOVEERRORS
1922
1923         * BufferView.[Ch] (removeAutoInsets): delete function
1924
1925 2003-05-22  Angus Leeming  <leeming@lyx.org>
1926
1927         * latexrunparams.h: add a free_spacing variable.
1928
1929         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
1930         to pass moving_arg, as the data is stored in runparams.fragile.
1931
1932         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
1933         to Inset::latexOptional or to simpleTeXOnePar.
1934
1935         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
1936         free_spacing arg to Inset::latexOptional.
1937
1938         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
1939         free_spacing arg.
1940
1941 2003-05-22  Angus Leeming  <leeming@lyx.org>
1942
1943         * latexrunparams.h: add fragile and use_babel variables.
1944
1945         * bufferparams.[Ch] (writeLaTeX): return use_babel.
1946         * buffer.C (makeLaTeXFile): store this returned value in
1947         runparams.use_babel, thus passing it to the inset::latex methods.
1948
1949         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
1950         simpleTeXSpecialChars as it is now stored in runparams.fragile.
1951
1952         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
1953         longer has a fragile arg, as it is stored in runparams.fragile.
1954
1955         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
1956         moving_arg parameter as the data is stored in runparams.fragile.
1957
1958         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
1959         a fragile parameter as the data is stored in runparams.fragile.
1960
1961 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
1962
1963         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
1964
1965 2003-05-22  Angus Leeming  <leeming@lyx.org>
1966
1967         * latexrunparams.h: add a 'bool nice' which defaults to false.
1968
1969         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
1970         now encapsulated within runparams.
1971
1972         * bufferlist.C (updateIncludedTeXfiles):
1973         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
1974
1975 2003-05-22  Angus Leeming  <leeming@lyx.org>
1976
1977         * latexrunparams.h: new file containing struct LatexRunParams.
1978         * Makefile.am: add new file.
1979
1980         * LaTeX.[Ch] (c-tor, run):
1981         * buffer.[Ch] (makeLaTeXFile):
1982         * bufferlist.[Ch] (updateIncludedTeXfiles):
1983         * converter.C (convert, scanLog):
1984         * converter.[Ch] (runLaTeX):
1985         * exporter.C (Export):
1986         * paragraph.[Ch] (simpleTeXOnePar):
1987         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
1988         * paragraph_funcs.[Ch] (latexParagraphs):
1989         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
1990         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
1991         pass around a LatexRunParams parameter.
1992
1993 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
1994
1995         * paragraph.[Ch]: remove unused constructor
1996
1997         * ParagraphList.C (erase): new function, taking two iterators
1998
1999 2003-05-22  André Pönitz  <poenitz@gmx.net>
2000
2001         * undo_funcs.C: remove duplicated code
2002
2003         * iterator.[Ch]: operator=
2004
2005 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
2006
2007         * tabular.C (SetMultiColumn): ws changes
2008
2009         * rowpainter.C (paintFirst): get rid of a ->previous
2010
2011         * lyx_cb.C (getPossibleLabel): parlist simplification
2012
2013         * BufferView.C (ChangeInsets): simplify slightly.
2014
2015 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2016
2017         * LyXAction.C: new lfun space-insert, kill protected-space-insert
2018         * lfuns.h: new LFUN_SPACE
2019         * lyxfunc.C: protected space has a new lfun
2020         * paragraph_funcs.C: read new space insets
2021         * text3.C:
2022         * factory.C: handle new space insets
2023
2024 2003-05-22  André Pönitz  <poenitz@gmx.net>
2025
2026         * BufferView.C:
2027         * BufferView_pimpl.C:
2028         * buffer.[Ch]:
2029         * lyxfunc.C:
2030         * undo_funcs.C: return a ParIterator from getParFromID.
2031
2032         * iterators.[Ch]: add two const's
2033
2034 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
2035
2036         * toc.C (getTocList): adjust
2037
2038         * iterators.[Ch]: rework for parlist
2039
2040         * buffer.C (par_iterator_begin): adjust
2041         (par_iterator_end): adjust
2042
2043         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
2044
2045         * BufferView.C (removeAutoInsets): adjust
2046         (ChangeInsets): adjust
2047
2048 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
2049
2050         * text.C (top_y): fix bug 1110
2051
2052 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
2053
2054         * errorlist.[Ch]: added
2055         * buffer.C:
2056         * BufferView.[Ch]:
2057         * BufferView_pimpl.C:
2058         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
2059         instead
2060
2061 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
2062
2063         * Makefile.am: ensure that lyx is relinked upon changes to the
2064         various "convenience" libs.
2065
2066 2003-05-20  Angus Leeming  <leeming@lyx.org>
2067
2068         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
2069         files are compiled in alphabetical order again.
2070
2071         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
2072
2073 2003-05-19  Angus Leeming  <leeming@lyx.org>
2074
2075         * gettext.[Ch]: remove "char const * _(char const *)".
2076
2077 2003-05-19  André Pönitz  <poenitz@gmx.net>
2078
2079         * dimension.[Ch]: promote from mathed/dimension.[Ch]
2080
2081         * Makefile.am:
2082         * BufferView.C:
2083         * DepTable.h:
2084         * LaTeXFeatures.C:
2085         * buffer.C:
2086         * lyxfont.C:
2087         * lyxlex.h:
2088         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
2089
2090 2003-05-19  André Pönitz  <poenitz@gmx.net>
2091
2092         * buffer.C:
2093         * lyxlayout.[Ch]:
2094         * lyxtextclass.[Ch]:
2095         * paragraph.C:
2096         * paragraph_funcs.[Ch]:
2097         * text2.C:
2098         * text3.C: more insetenv work
2099
2100 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
2101
2102         * ParagraphParameters.C (params2string): small bug fixed
2103
2104 2003-05-16  André Pönitz  <poenitz@gmx.net>
2105
2106         * debug.C:
2107         * bufferview_funcs.C: patch from Kornel Benko to prevent
2108           crash when _(...) is called twice in a statement
2109
2110 2003-05-16  André Pönitz  <poenitz@gmx.net>
2111
2112         * BufferView.C:
2113         * lyxfunc.C:
2114         * text.C:
2115         * text2.C:
2116         * text3.C:
2117         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
2118
2119 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
2120
2121         * lyx_main.C (init): remove spurious static_cast
2122
2123 2003-05-14  André Pönitz  <poenitz@gmx.net>
2124
2125         * BufferView.C: fix format string
2126
2127 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
2128
2129         * BufferView.[Ch] (insertErrors): removed
2130         * BufferView.[Ch] (showErrorList): added
2131         * buffer.C (runChkTeX):
2132         * converter.C (scanLog): call showErrorList instead of inserterrors
2133
2134 2003-05-13  André Pönitz  <poenitz@gmx.net>
2135
2136         * BufferView_pimpl.C:
2137         * buffer.C:
2138         * bufferview_func.C:
2139         * MenuBackend.C:
2140         * lyxfunc.C:
2141         * lyxrc.C:
2142         * tex-accent.C:
2143         * text3.C:
2144         * toc.C:
2145         * tabular_funcs.h: tostr() from its own header
2146
2147         * ParagraphParameters.C:
2148         * ToolbarBackend.C:
2149         * bufferparams.C:
2150         * format.C:
2151         * lyxlex_pimpl.C:
2152         * text3.C: STRCONV()
2153
2154 2003-05-12  André Pönitz  <poenitz@gmx.net>
2155
2156         * BufferView.C:
2157         * BufferView_pimpl.C:
2158         * CutAndPaste.C:
2159         * LaTeX.C:
2160         * LaTeXFeatures.C:
2161         * ParagraphParameters.C:
2162         * buffer.C:
2163         * bufferlist.C:
2164         * bufferparams.C:
2165         * bufferview_funcs.C:
2166         * converter.C:
2167         * counters.C:
2168         * debug.C:
2169         * exporter.C:
2170         * format.C:
2171         * importer.C:
2172         * lyx_cb.C:
2173         * lyx_main.C:
2174         * lyxfont.C:
2175         * lyxfunc.C:
2176         * lyxvc.C:
2177         * paragraph.C:
2178         * paragraph_funcs.C:
2179         * tabular.C:
2180         * tabular_funcs.C:
2181         * text2.C:
2182         * text3.C:  boost::format -> bformat  all over the place
2183
2184
2185 2003-05-09  André Pönitz  <poenitz@gmx.net>
2186
2187         * LColor.[Ch]: Pimpl the #include <map> away
2188
2189 2003-05-09  John Levon  <levon@movementarian.org>
2190
2191         * bufferlist.C: never remove emergency saves
2192
2193 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
2194
2195         * Makefile.am: better lib building
2196
2197 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
2198
2199         * texrow.[Ch]: remove dependency on Paragraph and just store a id
2200         instead.
2201         * paragraph_pimpl.C (simpleTeXBlanks): adjust
2202         (simpleTeXSpecialChars): adjust
2203         (simpleTeXSpecialChars): adjust
2204         * paragraph.C (simpleTeXOnePar): adjust
2205         * buffer.C (makeLaTeXFile): adjust
2206
2207         * Makefile.am (BOOST_LIBS): allow boost as system lib.
2208
2209         * text2.C (changeDepth): parlist cleanup
2210         (getColumnNearX): ditto
2211
2212         * rowpainter.C (getLabelFont): parlist cleanup
2213
2214         * bufferlist.C (newFile): parlist cleanup
2215
2216         * CutAndPaste.C (eraseSelection): parlist cleanup
2217
2218         * BufferView_pimpl.C (trackChanges): parlist cleanup
2219         (dispatch): ditto
2220
2221         * BufferView.C (lockInset): parlist cleanup.
2222         (ChangeInsets): ditto
2223
2224 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
2225
2226         * CutAndPaste.h: Update file header.
2227
2228         * CutAndPaste.C: Update file header.
2229         Store the parts cut out of the Document in a limited_stack.
2230         (copySelection): adjust
2231         (pasteSelection): new function, takes the index in the limited stack.
2232         (nrOfParagraphs): adjust
2233         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
2234         simplify error inset insertion.
2235         (checkPastePossible): adjust
2236
2237 2003-05-06  John Levon  <levon@movementarian.org>
2238
2239         * text2.C: don't cast wrap inset to float
2240
2241 2003-05-05  André Pönitz  <poenitz@gmx.net>
2242
2243         * iterator.C:
2244         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
2245
2246         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
2247           few naked Paragraph *.
2248
2249 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
2250
2251         * bufferparams.C: Output warning if a document with missing
2252         TeX document class is loaded
2253         * exporter.C: Disable TeX exports if the document class is missing
2254         * lyxtextclass.C:
2255         * lyxtextclass.h:
2256         * lyxtextclasslist.C: Handle new textclass.lst format; new method
2257         isTeXClassAvailable()
2258
2259 2003-05-03  John Levon  <levon@movementarian.org>
2260
2261         * BufferView.h:
2262         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
2263         explicit cursor show/hide
2264
2265         * BufferView_pimpl.h:
2266         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
2267         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
2268
2269         * lyxfunc.C: hide cursor before dispatching.
2270
2271         * lyx_cb.C:
2272         * lyxfind.C:
2273         * text.C:
2274         * text3.C: remove explicit cursor hides
2275
2276 2003-05-02  André Pönitz  <poenitz@gmx.net>
2277
2278         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
2279
2280         * undo_funcs.C:
2281         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
2282           linked lists
2283
2284         * text2.C: tiny whitespace
2285
2286 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
2287
2288         * undo_funcs.C: almost only ws changes.
2289
2290         * ParagraphList.C (splice): just return if pl is empty.
2291
2292 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
2293
2294         * ParagraphList.C (splice): new function.
2295
2296         * CutAndPaste.C (pasteSelection): use it
2297
2298 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2299
2300         * CutAndPaste.C (pasteSelection): remove the last next and
2301         previous from this file.
2302
2303 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2304
2305         * CutAndPaste.C (pasteSelection): more clean up, user proper
2306         ParagraphList functions for pasteing.
2307
2308         * ParagraphList.C (insert): new function, three arg insert
2309
2310 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2311
2312         * ParagraphList.C (insert): new function, three arg insert
2313
2314         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
2315         not on paragraphs.
2316
2317 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2318
2319         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
2320
2321 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2322
2323         * CutAndPaste.C (pasteSelection): remove some unneeded code.
2324
2325 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2326
2327         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
2328         (copySelection): clean up a bit.
2329         (pasteSelection): use make_pair
2330
2331         * ParagraphList.C (ParagraphList): implement copy constructor
2332         (operator=): implement, base on copy constructor.
2333         (assign): new func
2334
2335         * paragraph.C (erase): return a bool
2336
2337         * paragraph_pimpl.C (erasePos): remove function, move contents...
2338         (erase): ... here. Return a bool.
2339         (erase): call erase instead of erasePos.
2340
2341 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
2342
2343         * ParagraphList.h: define PitPosPair
2344         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
2345         ParagraphList, fix a bug on pasting multiple pars
2346         * text2.C: change interface to C&P
2347
2348 2003-04-30  André Pönitz  <poenitz@gmx.net>
2349
2350         * undo_func.C: revert part of yesterday's patch 2
2351
2352 2003-04-30  John Levon  <levon@movementarian.org>
2353
2354         * LColor.C: s/tabular/table/
2355
2356 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
2357
2358         * text3.C (dispatch): do not convert iterator -> pointer
2359         * undo_funcs.C (setCursorParUndo): ditto
2360         * text_funcs.C (transposeChars): ditto
2361
2362         * text2.C (setLayout): ws changes only
2363
2364         * text.C (breakParagraph): do not convert iterator -> pointer
2365         (insertChar): ditto
2366         (acceptChange): ditto
2367         (rejectChange): ditto
2368         (changeCase): ditto
2369         (Delete): ditto
2370         (backspace): ditto
2371
2372         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
2373         pointer
2374
2375 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
2376
2377         * text3.C (gotoInset): YABG (yet another bad getChar)
2378
2379 2003-04-29  André Pönitz  <poenitz@gmx.net>
2380
2381         * paragraph.h: make operator= private unimplemented as long as
2382           it is unusable
2383
2384         * ParagraphList.C: whitespace
2385
2386         * paragraph.[Ch]:
2387         * paragraph_pimpl.[Ch]:
2388         * paragraph_funcs.C:
2389         * CutAndPaste.C:
2390         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
2391
2392         * text2.C:
2393           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
2394
2395 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
2396
2397         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
2398         * paragraph.[Ch] (erase):
2399         * paragraph_pimpl.[Ch] (erase): change return type and value
2400         * text2.C (cutSelection): some rework
2401
2402 2003-04-28  John Levon  <levon@movementarian.org>
2403
2404         * bufferlist.C: changes for unsaved changes dialog
2405
2406 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2407
2408         * bufferlist.C (newFile): set language (messages_) for new
2409         documents also.
2410
2411         * buffer.C (readFile): ws changes only.
2412
2413 2003-04-28  André Pönitz  <poenitz@gmx.net>
2414
2415         * undo_funcs.C:
2416         * lyxfunc.C:
2417         * buffer.[Ch]:
2418         * BufferView_pimpl.C:
2419         * BufferView.C: getParFromID related ParagraphList::iterator changes
2420
2421 2003-04-28  André Pönitz  <poenitz@gmx.net>
2422
2423         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
2424           Changes
2425
2426 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2427
2428         * messages.C: remove one more localedir class variable.
2429
2430 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2431
2432         * messages.C (getLocaleDir): singleton generation function
2433         (Pimpl): use it.
2434         (Messages): add a default constructor.
2435
2436         * main.C (main): do not setup localedir here, do not call
2437         gettext_init.
2438
2439         * gettext.C (_): use it.
2440         (gettext_init): delete funciton
2441
2442 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
2443
2444         * gettext.C (getLyXMessages): new singleton generating function.
2445
2446         * buffer.C (updateDocLang): adjust
2447
2448         * Makefile.am (messages.o): add target
2449         (main.o): remove target
2450
2451 2003-04-27  John Levon  <levon@movementarian.org>
2452
2453         * bufferlist.C:
2454         * lyx_cb.C:
2455         * lyxfunc.C:
2456         * lyxvc.C: specify cancel button in Alert::prompt
2457
2458 2003-04-26  John Levon  <levon@movementarian.org>
2459
2460         * text3.C:
2461         * lyxfunc.C:
2462         * lfuns.h:
2463         * LyXAction.C: add LFUN_INSET_SETTINGS
2464
2465         * lyxfunc.C: don't enable tabular-feature when there's
2466         just any locking inset
2467
2468 2003-04-26  John Levon  <levon@movementarian.org>
2469
2470         * bufferlist.C: re-add Cancel to buffer close question
2471
2472         * lyxfunc.C: fix import UI a bit
2473
2474 2003-04-25  John Levon  <levon@movementarian.org>
2475
2476         * gettext.C: remove the broken asserts for now
2477
2478 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2479
2480         * messages.C: make case where setlocale cannot comply work better.
2481
2482         * buffer.C (updateDocLang): new function
2483         (changeLanguage): use it
2484         (readFile): use it
2485
2486         * text2.C (setCounter): use B_ a bit.
2487
2488         * lyxlayout.C (Read): be sure to trim the label strings.
2489
2490         * messages.C (Messages): fix typo in comment
2491
2492         * buffer.C (readFile): set message_ after file is loaded.
2493         (makeDocBookFile): remove double return
2494         (changeLanguage): reset message_ upon language change.
2495         (B_): new func, use this to get translated buffer strings.
2496
2497         * main.C: add myself and Jean Marc as authors.
2498
2499 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
2500
2501         * messages.[hC]: pimplify Messages, and three different pimpls to be
2502         used in different circumstances.
2503
2504         * gettext.[Ch]: change for use with new message code.
2505
2506 2003-04-24 André Pönitz <poenitz@gmx.net>
2507
2508         * factory.C: support for eqref
2509
2510 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
2511
2512         * messages.[Ch]: add missing char
2513
2514         * Makefile.am (lyx_SOURCES): add messages.[Ch]
2515
2516         * messages.[Ch]: New files
2517
2518 2003-04-18  John Levon  <levon@movementarian.org>
2519
2520         * BufferView.h:
2521         * BufferView.C:
2522         * BufferView_pimpl.C:
2523         * lfuns.h:
2524         * LyXAction.C:
2525         * lyxtext.h:
2526         * text2.C: remove layout-copy/paste (bug 778)
2527
2528 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
2529
2530         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
2531
2532 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
2533
2534         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
2535         if they succeed. Act accordingly.
2536
2537 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2538
2539         * text2.C (setCharFont): adjust
2540         (setCounter): adjust
2541         (insertStringAsLines): adjust
2542
2543         * text.C (leftMargin): adjust
2544         (setHeightOfRow): adjust
2545
2546         * rowpainter.C (paintFirst): adjust
2547         (paintLast): adjust
2548
2549         * paragraph_funcs.C (depthHook): ParagraphList::iterators
2550         (outerHook): ditto
2551         (isFirstInSequence): ditto
2552         (getEndLabel): ditto
2553         (outerFont): adjust
2554
2555         * paragraph.C (getParLanguage): comment out some hard stuff.
2556
2557         * buffer.C (insertStringAsLines): take a ParagraphList as arg
2558         (sgmlError): ditto
2559         (simpleDocBookOnePar): ditto
2560         (makeDocBookFile): use ParagraphList::iterator
2561
2562         * CutAndPaste.C (pasteSelection): adjust
2563
2564 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2565
2566         * text2.C (getFont): adjust
2567         (getLayoutFont): adjust
2568         (getLabelFont): adjust
2569
2570         * paragraph_funcs.C (TeXOnePar): adjust
2571
2572         * buffer.C (simpleLinuxDocOnePar): adjust
2573         (simpleDocBookOnePar): adjust
2574
2575         * CutAndPaste.C (pasteSelection): adjust
2576
2577         * BufferView.C (getEncoding): adjust
2578
2579         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
2580
2581 2003-04-16  John Levon  <levon@movementarian.org>
2582
2583         * lyxfind.C: use parlist stuff for search/changes
2584
2585 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2586
2587         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
2588
2589         * text2.C (deleteEmptyParagraphMechanism): adjust
2590
2591         * text2.[Ch] (ownerParagraph): delete func (both of them
2592
2593 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
2594
2595         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
2596
2597 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
2598
2599         * ParagraphList.C: prepare for NO_NEXT
2600
2601 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
2602
2603         * text2.C (getFont): adjust
2604         (getLayoutFont): adjust
2605         (getLabelFont): adjust
2606
2607         * paragraph.C (getFont): adjust
2608         (getLabelFont): adjust
2609         (getLayoutFont): adjust
2610
2611         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
2612
2613 2003-04-15  John Levon  <levon@movementarian.org>
2614
2615         From Angus Leeming
2616
2617         * lyx_main.C: handle Include in .ui files
2618
2619 2003-04-15  John Levon  <levon@movementarian.org>
2620
2621         * MenuBackend.C: make the doc files length shorter
2622
2623         * ToolbarBackend.h:
2624         * ToolbarBackend.C: handle toolbar placement flags,
2625         Minibuffer
2626
2627 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
2628
2629         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
2630         adjust
2631
2632         * paragraph_funcs.C (TeXOnePar): adjust
2633
2634         * paragraph.C (getLabelFont): add outerfont arg, adjust
2635         (getLayoutFont): ditto
2636         (simpleTeXOnePar): adjust
2637
2638         * paragraph_pimpl.C (realizeFont): delete func
2639
2640 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
2641
2642         * text2.C (beforeFullRowInset): added a bad getchar check, removed
2643         row argument, constify cur argument.
2644
2645 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
2646
2647         * text2.C (getFont): adjust
2648         (getLayoutFont): adjust
2649         (getLabelFont): adjust
2650
2651         * paragraph_funcs.C (TeXOnePar): adjust
2652         (outerFont): new func...
2653         (realizeFont): ...moved out from here, changed this to facilitate
2654         transition
2655
2656         * paragraph.C (getFont): take outerfont as arg, adjust
2657         (simpleTeXOnePar): add outerfont arg, adjust
2658
2659         * buffer.C (simpleLinuxDocOnePar): adjust
2660         (simpleDocBookOnePar): adjust
2661
2662         * CutAndPaste.C (pasteSelection): adjust
2663
2664         * BufferView.C (getEncoding): adjust
2665
2666 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
2667
2668         * text2.C (setCharFont): adjust
2669         (setCounter): adjust
2670
2671         * text.C (leftMargin): adjust
2672         (setHeightOfRow): adjust
2673
2674         * rowpainter.C (paintFirst): adjust
2675         (paintLast): adjust
2676
2677         * paragraph_pimpl.C (realizeFont): adjust
2678
2679         * paragraph.C (isFirstInSequence): move from here...
2680         * paragraph_funcs.C (isFirstInSequence): ...to here
2681
2682         * paragraph.C (outerHook): move from here...
2683         * paragraph_funcs.C (outerHook): ...to here
2684
2685         * paragraph.C (depthHook): move from here...
2686         * paragraph_funcs.C (depthHook): ...to here
2687
2688         * paragraph.C (getEndLabel): move from here...
2689         * paragraph_funcs.C (getEndLabel): ...to here
2690
2691         * text2.C (realizeFont): move from here...
2692         * paragraph_funcs.C (realizeFont): ...to here
2693
2694 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
2695
2696         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
2697
2698 2003-04-14  Angus Leeming  <leeming@lyx.org>
2699
2700         * LColor.[Ch]: scrap LColor mathcursor.
2701
2702 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
2703
2704         * lyxlex.[Ch] (text): delete function
2705         * trans.C (Load): adjust
2706         * paragraph_funcs.C (readParToken): adjust
2707
2708 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
2709
2710         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
2711         vector<char> instead of a char[].
2712
2713         * lyxlex_pimpl.C (getString): adjust
2714         (next): adjust
2715         (lex): use getString
2716         (eatLine): adjust
2717         (nextToken): adjust
2718
2719         * lyxlex.C (text): use pimpl_->getString()
2720         (getBool): ditto
2721         (findToken): ditto
2722
2723 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
2724
2725         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
2726         (makeFontEntriesLayoutSpecific): temp var for par.size()
2727         (setLayout): temp var for ownerParagraphs().end()
2728         (fullRebreak): temp var for rows().end()
2729         (selectionAsString): temp var for boost::next(startpit), realize
2730         that the while really is a regular for loop.
2731         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
2732         setCursor in one place.
2733         (setParagraph): temp vr for ownerParagraphs().end()
2734         (updateCounters): make the while loop a for loop
2735         (cutSelection): temp var for ownerParagraphs().end()
2736         (updateInset): make the do {} while() a regular for loop
2737         (getCursorX): use temp vars
2738         (setCurrentFont): use temp vars
2739         (getColumnNearX): use temp vars
2740
2741 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
2742
2743         * text.C (transformChar): use temp var for getChar
2744         (computeBidiTables): use temp var for row->par()
2745         (fill): move temp vars for row->par() and pit->layout() earlier in
2746         the function.
2747         (labelFill): use temp var for row->par()
2748         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
2749         asc and desc, realize that pit never changes and that firstpit is
2750         just a duplicate and not needed. Exchange rit->par() with pit in a
2751         lot of places.
2752         (breakAgain): use a temp var for boost::next(rit)
2753         (breakAgainOneRow): ditto
2754         (breakParagraph): use a temp var for rows().begin()
2755         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
2756         (cursorRightOneWord): use temp var for cursor.par() and
2757         cursor.pos(), remove usage of tmpcursor.
2758         (cursorLeftOneWord): use temp var for cursor.par() and
2759         cursor.pos() only set cur at end of function.
2760
2761 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
2762
2763         * text.C, text2.C: exchange all usage of Paragraph::next with
2764         boost::next(ParagraphList::iterator)
2765
2766         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
2767
2768         * text2.C (cursorTop): simplify implementation
2769         (cursorBottom): ditto
2770         (setParagraph): use ParagraphList::iterator
2771         (setCurrentFont): adjust
2772         (getColumnNearX): adjust
2773         (cursorRight): adjust
2774         (cursorLeft): remove usage of Paragraph::previous
2775         (cursorUpParagraph): ditto
2776         (deleteEmptyParagraphMechanism): slight cleanup
2777
2778         * text.C (isBoundary): take a Paragraph const & instead of a
2779         pointer as arg.
2780         (addressBreakPoint): ditto
2781         (leftMargin): remove usage of Paragraph::previous.
2782         (setHeightOfRow): ditto
2783         (cursorLeftOneWord): ditto
2784         (selectNextWordToSpellcheck): ditto
2785         (Delete): ditto
2786         (backspace): ditto
2787         (breakParagraph): remove one usage of Paragraph::next
2788         (redoParagraph): ditto
2789         (acceptChange): ditto
2790         (insertChar): adjust
2791         (rowBreakPoint): adjust
2792
2793         * bufferview_funcs.C (toggleAndShow): adjust
2794
2795 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
2796
2797         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
2798         methods to access it.
2799         * lyxtext.h:
2800         * text.C: Added updateRowPositions to compute all row positions.
2801         Make top_y and getRowNearY() to use the cached y position
2802
2803 2003-04-11  John Levon  <levon@movementarian.org>
2804
2805         * text.C (rowBreakPoint): reintroduce the labelEnd
2806         checks, code copied from the row fill stuff. Deep voodoo.
2807
2808         * text.C (fill): add a comment and debugging for the
2809         next poor soul.
2810
2811 2003-04-11  John Levon  <levon@movementarian.org>
2812
2813         * text.C: make sure fullrow insets get wrapped to the next line,
2814         even when they're in a manual label
2815
2816 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
2817
2818         * text2.C (insertParagraph): make it take ParagraphList::iterator
2819         as arg.
2820         (setLayout): make it return ParagraphList::iterator
2821         (redoParagraphs): ditto
2822         (setCounter): ditto
2823         (checkParagraph): ditto
2824
2825         * text.C (getRow): make getrow take ParagraphList::iterator as arg
2826
2827         * text2.C: adjust several funcs.
2828         (realizeFont): take a ParagraphList::iterator as arg.
2829         (getLayoutFont): ditto
2830         (getLabelFont): ditto
2831         (setCharFont): ditto
2832
2833         * text.C: adjust several funcs.
2834
2835 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
2836
2837         * text.C (selectNextWordToSpellcheck): don't accidentally
2838         skip insets
2839
2840 2003-04-10  John Levon  <levon@movementarian.org>
2841
2842         * ToolbarBackend.C (getIcon): special handling for
2843         LFUN_MATH_DELIM
2844
2845 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
2846
2847         * text2.C (cursorRight): a getChar assert fixed
2848
2849 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
2850
2851         * text2.C (getFont): change to take a ParagraphList::iterator
2852         instead of Paragraph*
2853         Adjust several functions.
2854
2855         * text.C (transformChar): change to take a ParagraphList::iterator
2856         instead of Paragraph*
2857         (singleWidth): ditto
2858         Adjust several functions.
2859
2860         * rowpainter.C: adjust several functions
2861         * rowpainter.h:store a ParagraphList::iterator and not a
2862         Paragraph&.
2863
2864
2865 2003-04-09  John Levon  <levon@movementarian.org>
2866
2867         * lyxfunc.C:
2868         * lfuns.h:
2869         * LyXAction.h:
2870         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
2871         and the "help" bits as well
2872
2873 2003-04-09  John Levon  <levon@movementarian.org>
2874
2875         * ToolbarBackend.h:
2876         * ToolbarBackend.C: allow multiple toolbars
2877
2878 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
2879
2880         * undo_funcs.C (setCursorParUndo): adjust
2881
2882         * text_funcs.C (transposeChars): adjust
2883
2884         * text3.C (gotoNextInset): adjust
2885         (dispatch): adjust
2886
2887         * text2.C (setLayout): adjust
2888         (changeDepth): adjust
2889         (setFont): adjust
2890         (redoParagraphs): adjust
2891         (selectionAsString): adjust
2892         (setParagraph): adjust
2893         (insertInset): adjust
2894         (cutSelection): adjust
2895         (copySelection): adjust
2896         (pasteSelection): adjust
2897         (insertStringAsLines): adjust
2898         (updateInset): adjust
2899         (setCursor): change to take a ParagraphList::iterator parameter
2900         (setCursorIntern): change to take a ParagraphList::iterator parameter
2901         (setCurrentFont): adjust
2902         (cursorLeft): adjust
2903         (cursorRight): adjust
2904         (deleteEmptyParagraphMechanism): adjust
2905
2906         * text.C (breakParagraph): adjust
2907         (insertChar): adjust
2908         (acceptChange): adjust
2909         (rejectChange): adjust
2910         (selectNextWordToSpellcheck): adjust
2911         (changeCase): adjust
2912         (Delete): adjust
2913         (backspace): adjust
2914
2915         * lyxfind.C (SearchForward): adjust
2916         (SearchBackward): adjust
2917         (nextChange): adjust
2918
2919         * lyxcursor.C (par): adjust
2920
2921         * lyxcursor.h: store a ParagraphList::iterator instead of a
2922         Paragraph*
2923
2924         * lyx_cb.C (getPossibleLabel): adjust
2925
2926         * bufferview_funcs.C (toggleAndShow): adjust
2927
2928         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
2929         (dispatch): adjust
2930
2931         * BufferView.C (removeAutoInsets): adjust
2932         (lockedInsetStoreUndo): adjust
2933
2934 2003-04-09  John Levon  <levon@movementarian.org>
2935
2936         * ToolbarBackend.C: try icon without argument
2937         if with argument fails
2938
2939 2003-04-08  John Levon  <levon@movementarian.org>
2940
2941         * ToolbarBackend.h:
2942         * ToolbarBackend.C: add getIcon(), handle tooltip,
2943         and change from "Icon" to "Item".
2944
2945 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
2946
2947         * BufferView.C (lockInset): another bad getchar crunched
2948
2949 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
2950
2951         * text2.C (changeDepth): do not setUndo on test_only (make undo work
2952         again)
2953
2954 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
2955
2956         * lyxfind.C (searchForward, searchBackwards): bug 782
2957
2958 2003-04-07  John Levon  <levon@movementarian.org>
2959
2960         * paragraph.C: remove dead comment
2961
2962         * text.C: remove troublesome depth-fiddling code
2963         in leftMargin() and rightMargin() (bug 1017)
2964
2965         * text.C: fix breaking of rows in nested lists
2966         (bug 1004)
2967
2968         * text2.C (updateCounters): fix up depth values
2969         (bug 1013)
2970
2971 2003-04-07  John Levon  <levon@movementarian.org>
2972
2973         * BufferView_pimpl.C: clear message when doc finishes resizing,
2974         and after a mouse event
2975
2976         * lyxfunc.C: clear message after exiting inset
2977
2978 2003-04-07  John Levon  <levon@movementarian.org>
2979
2980         * bufferview_funcs.C: show math status not outside
2981         status in the statusbar
2982
2983 2003-04-07  John Levon  <levon@movementarian.org>
2984
2985         * lyxfunc.C: note status changed after a depth change
2986
2987 2003-04-04  Angus Leeming  <leeming@lyx.org>
2988
2989         * LaTeX.h: move AuxInfo operator==, != out of line.
2990         Remove LaTeX virtual destructor; nothing derives from it.
2991         Move operator()() out of public area and rename it startscript().
2992         Change protected for private.
2993
2994 2003-04-04  Angus Leeming  <leeming@lyx.org>
2995
2996         * lyxfunc.C:
2997         * text2.C: remove unneeded #includes.
2998
2999 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
3000
3001         * text2.C (dEPM): fix the heigth of the next row
3002
3003 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
3004
3005         * text.C: squashed an invalid getChar requester + some ws changes
3006
3007 2003-04-03  John Levon  <levon@movementarian.org>
3008
3009         * bufferview_funcs.h:
3010         * bufferview_funcs.C:
3011         * lyxfunc.C:
3012         * lyxtext.h:
3013         * text2.C: make getStatus work for the env depth lfuns
3014
3015 2003-04-03  John Levon  <levon@movementarian.org>
3016
3017         * bufferview_funcs.h:
3018         * bufferview_funcs.C:
3019         * lyxfunc.C:
3020         * lyxtext.h:
3021         * text2.C: parlistize decDepth(), by merging it with incDepth()
3022
3023 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
3024
3025         * lyxrow.h: store a ParagraphList::iterator instead of a
3026         Paragraph* and adjust other class functions to suit.
3027
3028         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
3029         above.
3030
3031 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
3032
3033         * text2.C (setCursor): do not anchor to cursor row for the time being
3034
3035 2003-04-02  John Levon  <levon@movementarian.org>
3036
3037         * LyXAction.C:
3038         * lfuns.h:
3039         * lyx_main.C:
3040         * lyxtext.h:
3041         * text.C:
3042         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
3043
3044 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3045
3046         * paragraph.h: make ParagraphList and ParagraphList::iterator
3047         friends of Paragraph.
3048
3049         * buffer.C (makeLinuxDocFile): move towards ParagraphList
3050
3051         * ParagraphList.C: Use the private next_ and previous_ from
3052         Paragraph.
3053
3054 2003-04-01  John Levon  <levon@movementarian.org>
3055
3056         * ToolbarBackend.h:
3057         * ToolbarBackend.C:
3058         * Makefile.am: rename, remove defaults gunk
3059
3060         * MenuBackend.h:
3061         * MenuBackend.C: remove defaults gunk
3062
3063         * Languages.h:
3064         * Languages.C: remove defaults gunk
3065
3066         * lyx_main.h:
3067         * lyx_main.C: error out if files couldn't be found.
3068
3069 2003-04-02  John Levon  <levon@movementarian.org>
3070
3071         * text2.C: make incDepth() use parlist
3072
3073 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3074
3075         * undo_funcs.C (firstUndoParagraph): adjust
3076
3077         * text3.C (gotoInset): adjust
3078         (dispatch): adjust, and rewrite loop.
3079
3080         * text2.C (init): adjust, and rewrite loop.
3081         (redoParagraphs): adjust
3082         (updateInset): adjust, and rewrite loop.
3083         (deleteEmptyParagraphMechanism): adjust
3084
3085         * tabular.C (LyXTabular): adjust
3086         (SetMultiColumn): adjust
3087         (TeXRow): adjust
3088
3089         * lyxtext.[Ch] (ownerParagraph): delete function
3090         (ownerParagraphs): new function returns a ParagraphList.
3091
3092         * BufferView.C (removeAutoInsets): adjust
3093         (insertErrors): adjust
3094         (setCursorFromRow): adjust
3095
3096 2003-04-01  Angus Leeming  <leeming@lyx.org>
3097
3098         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
3099         in the frontends.
3100
3101 2003-04-02  John Levon  <levon@movementarian.org>
3102
3103         * lyxtext.h:
3104         * text.C:
3105         * Makefile.am:
3106         * text_funcs.h:
3107         * text_funcs.C: make transposeChars a free function
3108
3109         * lyxrow_funcs.C: remove wrong comment
3110
3111 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3112
3113         * lyxtext.h: adjust
3114         * rowpainter.C: adjust
3115         * text.C: adjust
3116         * text2.C: adjust
3117         * text3.C: adjust
3118
3119         * lyxrow_funcs. [Ch]: new files
3120
3121         * lyxrow.[Ch]: remove next and previous pointers
3122         (next,previous): remove accessor functions
3123         (isParEnd): move to lyxrow_funcs
3124         (lastPos): move to lyxrow_funcs
3125         (nextRowIsAllInset): move to lyxrow_funcs
3126         (lastPrintablePos): move to lyxrow_funcs
3127         (numberOfSeparators): move to lyxrow_funcs
3128         (numberOfHfills): move to lyxrow_funcs
3129         (numberOfLabelHfills): move to lyxrow_funcs
3130         (hfillExpansion): move to lyxrow_funcs
3131
3132         * lyxfunc.C: adjust
3133
3134         * bufferview_funcs.C (toggleAndShow): adjust
3135
3136         * RowList.h: Remove class RowList from file leave just a
3137         std::list<Row>.
3138
3139         * RowList.C: delete file
3140
3141         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
3142         and lyxrow_funcs.h
3143
3144 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3145
3146         * text3.C (cursorPrevious): adjust
3147         (cursorNext): adjust
3148         (dispatch): adjust
3149
3150         * text2.C (redoHeightOfParagraph): adjust
3151         (redoDrawingOfParagraph): adjust
3152         (setCursor): adjust
3153
3154         * text.C (breakParagraph): adjust
3155         (insertChar): adjust
3156         (backspace): adjust
3157
3158         * rowpainter.C (RowPainter): adjust
3159         (leftMargin): simplify and adjust
3160         (most rowpainter functions): adjust.
3161
3162         * rowpainter.h: store the row as RowList::iterator not as Row*
3163
3164         * lyxcursor.C (row): taka RowList::iterator as arg
3165         (irow): ditto
3166
3167         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
3168         of Row*.
3169
3170 2003-04-01  Angus Leeming  <leeming@lyx.org>
3171
3172         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
3173         stuff like bool Bool.
3174
3175 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
3176
3177         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
3178         rewrite a loop
3179
3180 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3181
3182         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
3183         RowList::iterator.
3184
3185         * lyxtext.h (rows): drop one version and leve a const variant that
3186         returns a RowList::iterator.
3187
3188 2003-03-31  Angus Leeming  <leeming@lyx.org>
3189
3190         * text.C (fill): ensure that the signature is the same as that in the
3191         header file.
3192
3193 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
3194
3195         * text2.C (redoParagraphs): adjust
3196         (updateCounters): adjust
3197         (checkParagraph): adjust
3198         (getColumnNearX): adjust and reformat a bit.
3199
3200         * text.C (top_y): adjust
3201         (workWidth): adjust
3202         (leftMargin): adjust
3203         (prepareToPrint): adjust
3204         (getRow): adjust
3205         (getRowNearY): adjust
3206
3207         * lyxtext.h: make rowlist_ mutable.
3208
3209         * RowList.h: add const_iterator
3210         * RowList.C: adjust for RowList::const_iterator.
3211
3212         * text2.C (getCursorX): make it take a RowList::iterator as arg,
3213         adjust.
3214
3215 2003-03-31  John Levon  <levon@movementarian.org>
3216
3217         * lyxrc.h:
3218         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
3219
3220         * lyx_main.C: set default fonts from using lyx_gui funcs
3221
3222         * exporter.C: pdf_mode moved from lyxrc
3223
3224         * lyx_cb.C:
3225         * lyxfunc.C: changes from above
3226
3227 2003-03-31  John Levon  <levon@movementarian.org>
3228
3229         * lyx_main.C: fix to the last fix
3230
3231 2003-03-31  John Levon  <levon@movementarian.org>
3232
3233         * bufferlist.C: "Load original" -> "Load Original"
3234
3235         * converter.C:
3236         * exporter.C:
3237         * importer.C:
3238         * lyx_main.C:
3239         * format.C: more Alert cleanups
3240
3241 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
3242
3243         * text2.C (removeParagraph): make it take a RowList::iterator as
3244         arg, adjust.
3245         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
3246         (postRowPaint): make it take a RowList::iterator as arg, adjust.
3247
3248         * text.C (anchor_row): make it take a RowList::iterator as arg,
3249         adjust.
3250         (computeBidiTables): make it take a const reference to Row instead
3251         of Row pointer, adjust.
3252         (leftMargin): make it take a RowList::iterator as arg, adjust.
3253         (rowBreakPoint): adjust
3254         (breakAgainOneRow): make it take a RowList::iterator as arg,
3255         adjust.
3256         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
3257
3258         * bufferview_funcs.C (toggleAndShow): adjust
3259
3260 2003-03-30  John Levon  <levon@movementarian.org>
3261
3262         * Makefile.am:
3263         * BoostFormat.h:
3264         * boost-inst.C: moved to support
3265
3266         * several files: changes as a result
3267
3268 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
3269
3270         * text2.C (LyXText): adjust.
3271         (init): adjust
3272         (removeRow): make it take a RowList::iterator as arg, adjust.
3273         (fullRebreak): adjust
3274         (deleteEmptyParagraphMechanism): adjust
3275         (clearPaint): adjust
3276         (postPaint): adjust
3277
3278         * text.C (top_y): adjust
3279         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
3280         (breakAgain): make it take a RowList::iterator as arg, adjust.
3281         (breakParagraph): adjust
3282         (insertChar): adjust
3283         (backspace): adjust
3284
3285         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
3286         need_break_row, and refresh_row.
3287
3288         * text3.C (dispatch): adjust
3289
3290         * text2.C (checkParagraph): adjust
3291         (setCursor): adjust
3292         (setCursorFromCoordinates): adjust
3293
3294         * text.C (top_y): adjust
3295         (workWidth): adjust
3296         (getRow): make it return a RowList::iterator, adjust
3297         (getRowNearY): make it return a RowList::iterator, adjust
3298
3299         * text2.C (init): adjust
3300         (insertRow): remove function
3301         (insertParagraph): adjust
3302         (redoParagraphs): adjust
3303         (fullRebreak): adjust
3304         (updateCounters): adjust
3305
3306         * text.C (top_y): rewrite to use RowList iterators.
3307         (top_y): adjust
3308         (setHeightOfRow): rewrite to sue RowList iterators.
3309         (appendParagraph): adjust
3310         (breakAgain): adjust
3311         (breakAgainOneRow): adjust
3312         (breakParagraph): adjust
3313         (getRow): adjust
3314         (getRowNearY): adjust, and remove commented code.
3315
3316         * lyxtext.h (firstRow): delete function
3317         (lastRow): delete function
3318         (rows): new function (const and non-const versions.)
3319         (insertRow): delete function
3320
3321         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
3322
3323 2003-03-29  John Levon  <levon@movementarian.org>
3324
3325         * BufferView_pimpl.C: always update scrollbar top
3326         because pasting text when we're anchored could mean we
3327         miss an update altogether
3328
3329 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3330
3331         * text2.C (init): use rowlist_.end() and not 0.
3332         (insertRow): change to take a RowList::iterator as arg, adjust
3333         for this.
3334         (insertParagraph): change to take a RowList::iterator as arg,
3335         adjust for this.
3336         (redoParagraphs): remove some debug msgs.
3337
3338         * text.C (appendParagraph): change to take a RowList::iterator
3339         arg, adjust for this.
3340         (breakAgain): add an assert
3341         (breakAgainOneRow): ditto
3342
3343 2003-03-29  John Levon  <levon@movementarian.org>
3344
3345         * text2.C: do not clear selection after inc/decDepth
3346         (bug 550)
3347
3348 2003-03-29  John Levon  <levon@movementarian.org>
3349
3350         * BufferView.C:
3351         * buffer.C: fix broken strerrors according to Lars
3352
3353 2003-03-29  John Levon  <levon@movementarian.org>
3354
3355         * converters.C: more Alert cleanups
3356
3357 2003-03-29  John Levon  <levon@movementarian.org>
3358
3359         * bufferview_funcs.C: remove pointless Alert
3360
3361         * buffer.C: fix confusing error message when
3362         a template is chmoded 000
3363
3364 2003-03-29  John Levon  <levon@movementarian.org>
3365
3366         * BufferView.C:
3367         * BufferView.h:
3368         * BufferView_pimpl.C: Alert fixes
3369
3370         * Makefile.am:
3371         * tabular.C:
3372         * tabular-old.C: remove unused table compat reading
3373
3374 2003-03-29  John Levon  <levon@movementarian.org>
3375
3376         * BufferView.C:
3377         * buffer.C:
3378         * lyx_cb.h:
3379         * lyx_cb.C: more Alert cleanups
3380
3381         * lyxfunc.C: don't allow chktex if not latex document
3382
3383 2003-03-29  John Levon  <levon@movementarian.org>
3384
3385         * lyx_cb.C:
3386         * BufferView.C:
3387         * buffer.C: warnings pushed down from support/,
3388         kill err_alert
3389
3390 2003-03-29  John Levon  <levon@movementarian.org>
3391
3392         * lyxfunc.C: safety check for C-r (revert)
3393
3394 2003-03-29  John Levon  <levon@movementarian.org>
3395
3396         * bufferlist.h:
3397         * bufferlist.C: several UI fixes using Alert::prompt.
3398         Fix the pointless looping quit code. Fix stupid revert
3399         behaviour (bug 938)
3400
3401         * lyxvc.h:
3402         * lyxvc.C:
3403         * lyx_cb.C: use Alert::prompt
3404
3405         * lyx_main.C: remove a silly question
3406
3407         * lyxfunc.C: remove a couple of silly questions,
3408         use Alert::prompt
3409
3410 2003-03-28  John Levon  <levon@movementarian.org>
3411
3412         * text2.C: fix bug 974 (End on empty par)
3413
3414 2003-03-28  John Levon  <levon@movementarian.org>
3415
3416         * BufferView_pimpl.C:
3417         * LyXAction.C:
3418         * lfuns.h: remove do-nothing math greek lfuns
3419
3420 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
3421
3422         * lyxgluelength.h (isValidGlueLength): add default arg on
3423         parameter 2. Remove default arg from friend in class.
3424
3425         * lyxlength.h (isValidLength): add default arg on parameter 2.
3426         Remove default arg from friend in class.
3427
3428         * text2.C (LyXText): adjust, initialize refresh_row.
3429         (init): adjust
3430         (removeRow): adjust
3431         (insertRow): adjust
3432         (insertParagraph): adjst
3433         (redoParagraphs): adjust
3434         (fullRebreak): adjust
3435         (updateCounters): adjust
3436         (deleteEmptyParagraphMechanism): first attempt at fixing a
3437         crashing bug.
3438
3439         * text.C (top_y): adjust
3440         (setHeightOfRow): adjust
3441         (getRow): adjust
3442         (getRowNearY): adjust
3443
3444         * lyxtext.h: include RowList.h
3445         (~LyXText): not needed anymore, deleted.
3446         (firstRow): modify for RowList
3447         (lastRow): new function
3448         Delete firstrow and lastrow class variables, add a Rowlist
3449         rowlist_ class variable.
3450
3451         * lyxrow.C (lastPos): use empty() and not !size() to check if a
3452         paragraph is empty.
3453
3454         * RowList.C (insert): fix case where it == begin().
3455
3456 2003-03-26  Angus Leeming  <leeming@lyx.org>
3457
3458         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
3459         the thesaurus dialog.
3460
3461 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
3462
3463         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
3464
3465         * RowList.[Ch]: new files
3466
3467         * ParagraphList.C (erase): handle the case where it == begin
3468         correctly.
3469
3470 2003-03-25  John Levon  <levon@movementarian.org>
3471
3472         * Makefile.am:
3473         * aspell_local.h:
3474         * aspell.C: add new aspell support
3475
3476         * lyxrc.h:
3477         * lyxrc.C: Make use_pspell be use_spell_lib. Always
3478         have it accessible.
3479
3480 2003-03-25  Angus Leeming  <leeming@lyx.org>
3481
3482         * lfuns.h:
3483         * LyXAction.C (init): new LFUN_INSET_INSERT.
3484
3485         * BufferView_pimpl.C (dispatch): split out part of the
3486         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
3487
3488         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
3489         LFUN_INSET_APPLY.
3490
3491 2003-03-25  Angus Leeming  <leeming@lyx.org>
3492
3493         * lyxfunc.C (dispatch): changes to the Dialogs interface.
3494
3495 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
3496
3497         * text2.C:
3498         * text3.C: remove useless row->height(0)
3499
3500 2003-03-25  John Levon  <levon@movementarian.org>
3501
3502         * lyxtext.h:
3503         * text2.C:
3504         * text3.C: rename the refreshing stuff to better names
3505
3506 2003-03-24  John Levon  <levon@movementarian.org>
3507
3508         * BufferView_pimpl.h:
3509         * BufferView_pimpl.C: update layout choice on a mouse
3510         press/release
3511
3512 2003-03-23  John Levon  <levon@movementarian.org>
3513
3514         * Makefile.am: fix commandtags.h reference
3515
3516 2003-03-22  John Levon  <levon@movementarian.org>
3517
3518         * BufferView_pimpl.C:
3519         * lyxtext.h:
3520         * rowpainter.C:
3521         * rowpainter.h:
3522         * text.C:
3523         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
3524
3525 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
3526
3527         * lyxtext.h:
3528         * text.C: take the rtl methods out of line
3529
3530 2003-03-21 André Pönitz <poenitz@gmx.net>
3531
3532         * metricsinfo.[Ch]: new files containing structures to be passed around
3533         during the two-phase-drawing...
3534
3535 2003-03-21 André Pönitz <poenitz@gmx.net>
3536
3537         * lyxtextclass.C: read 'environment' tag.
3538
3539 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
3540
3541         * text2.C (removeRow): fix bug 964
3542
3543 2003-03-20  John Levon  <levon@movementarian.org>
3544
3545         * rowpainter.C:
3546         * text.C:
3547         * text2.C: paint cleanups. Inset::update() dropped font
3548         parameter
3549
3550 2003-03-19  John Levon  <levon@movementarian.org>
3551
3552         * lyxfunc.C: only fitcursor/markDirty if available()
3553
3554 2003-03-19  John Levon  <levon@movementarian.org>
3555
3556         * commandtags.h: rename to ...
3557
3558         * lfuns.h: ... this, and renumber / cleanup
3559
3560 2003-03-19  John Levon  <levon@movementarian.org>
3561
3562         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
3563         fit the cursor after an lfun
3564
3565         * BufferView.h:
3566         * BufferView.C:
3567         * BufferView_pimpl.h:
3568         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
3569
3570         * LyXAction.C: layout-character should have ReadOnly
3571
3572         * ParagraphParameters.C:
3573         * buffer.C:
3574         * bufferview_funcs.C:
3575         * lyx_cb.C:
3576         * lyxfind.C:
3577         * lyxtext.h:
3578         * text.C:
3579         * text2.C:
3580         * text3.C:
3581         * undo_funcs.C: changes from above
3582
3583 2003-03-18  John Levon  <levon@movementarian.org>
3584
3585         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
3586         remove it from update()
3587
3588         * lyxfunc.C: update layout choice after an lfun
3589
3590         * text3.C: remove extra updateLayoutChoice()s
3591
3592 2003-03-18  John Levon  <levon@movementarian.org>
3593
3594         * text.C: top_y change means full repaint, fix
3595         a drawing bug with cursor movement
3596
3597 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
3598
3599         * lyxtext.h:
3600         * text.C:
3601         * text2.C: anchor row on setCursor
3602
3603 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
3604
3605         * lyxtext.h: remove almost all mutable keywords
3606         * text.C:
3607         * text2.C:
3608         * text3.C: remove const keywords accordingly
3609
3610 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
3611
3612         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
3613         anon namespace
3614         (TeXEnvironment): ditto
3615         (TeXOnePar): ditto
3616
3617 2003-03-17  John Levon  <levon@movementarian.org>
3618
3619         * text.C (rowBreakPoint): remove attempt to fix displayed
3620         math insets inside a manual label
3621
3622 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
3623
3624         * lyxtext.h: remove BufferView* as first arg from almost all class
3625         functions.
3626         * other files: adjust.
3627
3628 2003-03-17  John Levon  <levon@movementarian.org>
3629
3630         * lyxtext.h:
3631         * undo_funcs.C:
3632         * text2.C: more paint cleanups
3633
3634         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
3635
3636         * rowpainter.h:
3637         * rowpainter.C: remove "smart" background painting code
3638
3639 2003-03-16  John Levon  <levon@movementarian.org>
3640
3641         * lyxtext.h:
3642         * text.C:
3643         * text2.C:
3644         * text3.C: add helper functions for setting refresh_row/y
3645
3646 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
3647
3648         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
3649         newline inset which *can* get inserted in the pass_thru layouts.
3650         This is primarily for literate documents.
3651
3652 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
3653
3654         * buffer.C: increment LYX_FORMAT to 223
3655
3656 2003-03-14 André Pönitz <poenitz@gmx.net>
3657
3658         * textclass.h: prepare for environment handling, ws changes
3659         * lyxlayout.C: read latexheader and latexfooter tags
3660
3661 2003-03-14  John Levon  <levon@movementarian.org>
3662
3663         * text2.C: rewrite ::status() a bit
3664
3665 2003-03-13  John Levon  <levon@movementarian.org>
3666
3667         * lyxtext.h: add some docs
3668
3669 2003-03-13  John Levon  <levon@movementarian.org>
3670
3671         * lyxtext.h:
3672         * text.C:
3673         * text2.C:
3674         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
3675
3676 2003-03-13  John Levon  <levon@movementarian.org>
3677
3678         * text3.C: fix appendix redrawing
3679
3680 2003-03-13  John Levon  <levon@movementarian.org>
3681
3682         * text.C (setHeightOfRow):
3683         * rowpainter.h:
3684         * rowpainter.C: make appendix mark have the text
3685           "Appendix" so the user knows what it is
3686
3687         * LColor.h:
3688         * LColor.C: s/appendixline/appendix/ from above
3689
3690 2003-03-13  John Levon  <levon@movementarian.org>
3691
3692         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
3693
3694         * text.C: fix a getChar(pos) bug properly
3695
3696 2003-03-13  Angus Leeming  <leeming@lyx.org>
3697
3698         * commandtags.h:
3699         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
3700         Probably only temporary. Let's see how things pan out.
3701
3702         * BufferView.C (unlockInset):
3703         * BufferView_pimpl.C (fitCursor):
3704         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
3705
3706         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
3707         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
3708
3709         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
3710         new functions that convert ParagraphParameters to and from a string.
3711
3712         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
3713         BufferView::Pimpl's dispatch.
3714         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
3715
3716 2003-03-13 André Pönitz <poenitz@gmx.net>
3717
3718         * lyxfunc.C:
3719         * text3.C:
3720         * factory.C: make it aware of InsetEnv
3721
3722 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3723
3724         * text2.C (setCursor): never ask for one past last
3725         (setCursor): add some debugging messages.
3726
3727         * text.C (singleWidth): never ask for one past last
3728         (singleWidth): ditto
3729         (leftMargin): ditto
3730         (rightMargin): ditto
3731         (rowBreakPoint): ditto
3732         (setHeightOfRow): ditto
3733         (prepareToPrint): ditto
3734
3735         * rowpainter.C (paintBackground): never ask for one past last
3736         (paintText): never ask for one past last
3737
3738         * paragraph_pimpl.C (getChar): make the assert stricter, never
3739         allow the one past last pos to be taken
3740
3741         * paragraph.C (getChar): ws changes only
3742
3743         * lyxrow.C (nextRowIsAllInset): never ask for one past last
3744         (numberOfSeparators): ditto
3745         (numberOfHfills): ditto
3746
3747 2003-03-12  John Levon  <levon@movementarian.org>
3748
3749         * author.h:
3750         * author.C:
3751         * bufferparams.h:
3752         * bufferparams.C:
3753         * paragraph_funcs.C: fix per-buffer authorlists
3754
3755 2003-03-12  John Levon  <levon@movementarian.org>
3756
3757         * text.C: fix newline in right address
3758
3759 2003-03-12  Angus Leeming  <leeming@lyx.org>
3760
3761         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
3762         duplicate those in LyXFunc::dispatch.
3763
3764         * commandtags.h:
3765         * LyXAction.C:
3766         * ToolbarDefaults.C:
3767         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
3768         Add LFUN_FONTFREE_UPDATE.
3769
3770         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
3771         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
3772
3773         * bufferview_func.[Ch]: several new functions to facilliate
3774         transfer of data to and from the character dialog.
3775
3776 2003-03-12  John Levon  <levon@movementarian.org>
3777
3778         * buffer.C:
3779         * paragraph.h:
3780         * paragraph.C:
3781         * paragraph_funcs.C:
3782         * paragraph_pimpl.C:
3783         * sgml.C:
3784         * tabular.C:
3785         * text.C:
3786         * text3.C: remove META_NEWLINE in favour of an inset
3787
3788         * rowpainter.h:
3789         * rowpainter.C: remove paintNewline (done by inset)
3790
3791 2003-03-12  John Levon  <levon@movementarian.org>
3792
3793         * paragraph_pimpl.C: complain about bad getChar()s
3794         for a while at least
3795
3796 2003-03-12  John Levon  <levon@movementarian.org>
3797
3798         * buffer.h:
3799         * buffer.C: move paragraph read into a separate function,
3800         a little renaming to reflect that.
3801
3802         * bufferparams.h:
3803         * bufferparams.C: remove the author_ids map, not necessary now
3804
3805         * factory.h:
3806         * factory.C: moved Buffer::readInset to here
3807
3808         * paragraph_funcs.h:
3809         * paragraph_funcs.C: readParagraph free function moved from
3810         buffer.C
3811
3812         * tabular.C: name change
3813
3814 2003-03-12  John Levon  <levon@movementarian.org>
3815
3816         * buffer.C:
3817         * ParagraphParameters.C: move par params input to
3818         a read() method
3819
3820         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
3821         behave like a normal read from the stream wrt reading
3822         a line vs. a \\token
3823
3824 2003-03-12  John Levon  <levon@movementarian.org>
3825
3826         * paragraph.C:
3827         * ParagraphParameters.h:
3828         * ParagraphParameters.C: move output code to a
3829         ::write() method
3830
3831 2003-03-12  John Levon  <levon@movementarian.org>
3832
3833         * BufferView.C (insertLyXFile):
3834         * buffer.h:
3835         * buffer.C:
3836         * tabular.C: use a parlist iterator for creating the
3837           document.
3838
3839 2003-03-12  John Levon  <levon@movementarian.org>
3840
3841         * buffer.C: make current_change static local not
3842           static file-scope
3843
3844 2003-03-12  John Levon  <levon@movementarian.org>
3845
3846         * buffer.C: fix insertStringAsLines for change tracking
3847
3848 2003-03-12  John Levon  <levon@movementarian.org>
3849
3850         * BufferView.C:
3851         * tabular.C:
3852         * buffer.h:
3853         * buffer.C:
3854         * bufferparams.h:
3855         * bufferparams.C: move author list into params. Rename some
3856           functions. Move the header reading into a separate token
3857           loop. Move the header token reading into BufferParams.
3858
3859 2003-03-12  John Levon  <levon@movementarian.org>
3860
3861         * changes.C: put debug inside lyxerr.debugging() checks
3862
3863 2003-03-11 André Pönitz <poenitz@gmx.net>
3864
3865         * factory.C: make it aware of InsetHFill
3866
3867 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
3868
3869         * buffer.C (latexParagraphs): move function from here...
3870         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
3871         args.
3872
3873 2003-03-10  Angus Leeming  <leeming@lyx.org>
3874
3875         * LyXAction.C (init): fix bug in poplating array with multiple entries
3876         with the same LFUN (spotted by JMarc).
3877
3878 2003-03-10  John Levon  <levon@movementarian.org>
3879
3880         * text.C:
3881         * text2.C: move getColumnNearX() near its
3882         only call site
3883
3884 2003-03-10  John Levon  <levon@movementarian.org>
3885
3886         * text.C: fix break before a minipage
3887
3888 2003-03-10  John Levon  <levon@movementarian.org>
3889
3890         * text.C: fix the last commit
3891
3892 2003-03-09  John Levon  <levon@movementarian.org>
3893
3894         * lyxtext.h:
3895         * text.C:
3896         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
3897         bug 365 (don't break before insets unless needed). Don't
3898         return a value > last under any circumstances.
3899
3900 2003-03-09  Angus Leeming  <leeming@lyx.org>
3901
3902         * BufferView_pimpl.C (trackChanges, dispatch): call
3903         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
3904
3905 2003-03-09  Angus Leeming  <leeming@lyx.org>
3906
3907         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
3908         than Dialogs::showAboutlyx().
3909
3910 2003-03-09  Angus Leeming  <leeming@lyx.org>
3911
3912         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
3913         than Dialogs::showTabularCreate().
3914
3915 2003-03-09  John Levon  <levon@movementarian.org>
3916
3917         * lyxtext.h:
3918         * text.C:
3919         * text2.C: 3rd arg to nextBreakPoint was always the same.
3920           Use references.
3921
3922 2003-03-08  John Levon  <levon@movementarian.org>
3923
3924         * lyxrow.C:
3925         * paragraph.C:
3926         * paragraph.h:
3927         * rowpainter.C:
3928         * text.C:
3929         * text2.C: Remove the "main" bit from the "main body"
3930           notion.
3931
3932 2003-03-08  John Levon  <levon@movementarian.org>
3933
3934         * text.C (leftMargin): The left margin of an empty
3935         manual label paragraph should not include the label width
3936         string length.
3937
3938         * text.C (prepareToPrint): don't attempt to measure hfills
3939         for empty manual label paragraphs - the answer should be 0
3940
3941 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
3942
3943         * CutAndPaste.C: remove commented code and reindent.
3944
3945 2003-03-08  John Levon  <levon@movementarian.org>
3946
3947         * lyxfunc.h:
3948         * lyxfunc.C: move reloadBuffer()
3949
3950         * BufferView.h:
3951         * BufferView.C: to here
3952
3953         * lyxvc.C: add comment
3954
3955         * vc-backend.h:
3956         * vc-backend.C: call bv->reload() to avoid
3957           getStatus() check on MENURELOAD
3958
3959 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
3960
3961         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
3962         to an old format .dep file.
3963
3964 2003-03-07  Angus Leeming  <leeming@lyx.org>
3965
3966         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
3967         when the LFUN_MOUSE_RELEASE should have been handled by
3968         inset->localDispatch.
3969
3970 2003-03-07  Angus Leeming  <leeming@lyx.org>
3971
3972         * BufferView_pimpl.C (dispatch):
3973         * LyXAction.C (init):
3974         * ToolbarDefaults.C (init):
3975         * commandtags.h:
3976         * lyxfunc.C (getStatus):
3977         remove LFUN_INSET_GRAPHICS.
3978
3979         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
3980
3981 2003-03-07  Angus Leeming  <leeming@lyx.org>
3982
3983         * commandtags.h:
3984         * LyXAction.C (init):
3985         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
3986
3987         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
3988
3989         * commandtags.h:
3990         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
3991
3992         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
3993         localDispatch method LFUN_INSET_DIALOG_UPDATE.
3994
3995 2003-03-07  Angus Leeming  <leeming@lyx.org>
3996
3997         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
3998         remove "ert".
3999
4000 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4001
4002         * ParagraphList.C (front): new function
4003         (back): implement
4004
4005 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
4006
4007         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
4008         and top_row_offset_. removed var first_y.
4009         * text.C (top_y):
4010         * text2.C (LyXText, removeRow):
4011         * text3.C:
4012         * BufferView_pimpl.C:
4013         use these methods instead of using first_y
4014
4015 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4016
4017         * text2.C (pasteSelection): adjust for checkPastePossible
4018
4019         * CutAndPaste.C: remove Paragraph * buf and replace with
4020         ParagraphList paragraphs.
4021         (DeleteBuffer): delete
4022         (cutSelection): change the tc type to textclass_type
4023         (copySelection): change the tc type to textclass_type
4024         (copySelection): adjust for ParagraphList
4025         (pasteSelection): change the tc type to textclass_type
4026         (pasteSelection): adjust for Paragraphlist
4027         (nrOfParagraphs): simplify for ParagraphList
4028         (checkPastePossible): simplify for ParagraphList
4029         (checkPastePossible): remove unused arg
4030
4031         * ParagraphList.C (insert): handle the case where there are no
4032         paragraphs yet.
4033
4034         * CutAndPaste.h: make CutAndPaste a namespace.
4035
4036         * text3.C (dispatch): adjust
4037
4038         * text.C (breakParagraph): add a ParagraphList as arg
4039
4040         * paragraph_funcs.C (breakParagraph): change to take a
4041         BufferParams and a ParagraphList as args.
4042         (breakParagraphConservative): ditto
4043         (mergeParagraph): ditto
4044         (TeXDeeper): add a ParagraphList arg
4045         (TeXEnvironment): ditto
4046         (TeXOnePar): ditto
4047
4048         * buffer.C (readLyXformat2): adjust
4049         (insertStringAsLines): adjust
4050         (latexParagraphs): adjust
4051
4052         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
4053         (cutSelection): adjust
4054         (pasteSelection): adjust
4055
4056         * BufferView_pimpl.C (insertInset): adjust
4057
4058 2003-03-05  Angus Leeming  <leeming@lyx.org>
4059
4060         * commandtags.h:
4061         * LyXAction.C (init):
4062         * BufferView_pimpl.C (dispatch):
4063         * lyxfunc.C (getStatus):
4064         remove LFUN_CHILD_INSERT.
4065
4066         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
4067
4068 2003-03-05  Angus Leeming  <leeming@lyx.org>
4069
4070         * commandtags.h:
4071         * LyXAction.C (init):
4072         * src/factory.C (createInset):
4073         * lyxfunc.C (getStatus):
4074         * text3.C (dispatch):
4075         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
4076
4077         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
4078
4079 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
4080
4081         * ParagraphList.C (insert): handle insert right before end()
4082         (erase): fix cases where it can be first or last paragraph.
4083
4084 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
4085
4086         * paragraph_funcs.C (TeXEnvironment): remove all usage of
4087         Paragraph::next and Paragraph::previous
4088         (TeXOnePar): ditto
4089
4090         * text.C (breakParagraph): adjust
4091
4092         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
4093         BufferParams& as arg.
4094         (breakParagraph): use ParagraphList::insert
4095         (breakParagraphConservative): take a Buffer* instead of a
4096         BufferParams& as arg.
4097         (breakParagraphConservative): use ParagraphList::insert.
4098
4099         * buffer.C (insertStringAsLines): un-const it
4100         (insertStringAsLines): adjust
4101
4102         * ParagraphList.C (insert): new function
4103
4104         * CutAndPaste.C (pasteSelection): adjust
4105
4106         * text.C (backspace): adjust
4107
4108         * tabular.C (SetMultiColumn): adjust
4109
4110         * CutAndPaste.C (cutSelection): adjust
4111         (pasteSelection): adjust
4112
4113         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
4114         Buffer const * as arg
4115
4116         * ParagraphList.C (erase): new function
4117         * paragraph_funcs.C (mergeParagraph): use it
4118         (mergeParagraph): make it take a Buffer* instead of a
4119         BufferParams* as arg
4120
4121         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
4122         as arg
4123         (breakParagraphConservative): ditto
4124
4125         * paragraph.h: remove the breakParagraph friend
4126
4127         * paragraph.C (eraseIntern): new function
4128         (setChange): new function
4129
4130         * paragraph_funcs.C (mergeParagraph): make it take a
4131         ParagraphList::iterator instead of a Paragraph *, adjust
4132         accordingly.
4133
4134         * paragraph.h: move an #endif so that the change tracking stuff
4135         also works in the NO_NEXT case.
4136
4137 2003-03-04  Angus Leeming  <leeming@lyx.org>
4138
4139         * commandtags.h:
4140         * LyXAction.C: new LFUN_INSET_MODIFY.
4141
4142         * BufferView_pimpl.C (dispatch): if an inset is found to be open
4143         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
4144
4145 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
4146
4147         * several files: ws changes only
4148
4149         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
4150         (TeXEnvironment): ditto
4151         (TeXDeeper): ditto
4152
4153         * buffer.C (makeLaTeXFile): adjust
4154         (latexParagraphs): make it take ParagraphList::iterator as args
4155
4156 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4157
4158         * buffer.C (latexParagraphs): adjust
4159
4160         * paragraph.C (TeXOnePar): move function...
4161         (optArgInset): move function...
4162         (TeXEnvironment): move function...
4163         * paragraph_pimpl.C (TeXDeeper): move function...
4164         * paragraph_funcs.C: ...here
4165
4166         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
4167
4168 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4169
4170         * buffer.C (readInset): remove compability code for old Figure and
4171         InsetInfo insets
4172
4173 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4174
4175         * buffer.C: ws changes
4176         (readInset):
4177
4178         * BufferView_pimpl.C: ditto
4179         * author.C: ditto
4180         * buffer.h: ditto
4181         * bufferlist.h: ditto
4182         * changes.h: ditto
4183         * lyxfunc.C: ditto
4184
4185 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
4186
4187         * converter.[Ch]: split into itself +
4188         * graph.[Ch]
4189         * format.[Ch]
4190         * Makefile.am: += graph.[Ch] + format.[Ch]
4191         * MenuBackend.C
4192         * buffer.C
4193         * exporter.C
4194         * importer.C
4195         * lyx_main.C
4196         * lyxfunc.C
4197         * lyxrc.C: added #include "format.h"
4198
4199 2003-02-27  Angus Leeming  <leeming@lyx.org>
4200
4201         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
4202           a label.
4203
4204         * factory.C (createInset): add "label" to the factory.
4205
4206         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
4207           string and do no more.
4208
4209 2003-02-27  Angus Leeming  <leeming@lyx.org>
4210
4211         * commandtags.h:
4212         * LyXAction.C (init):
4213         * factory.C (createInset):
4214         * BufferView_pimpl.C (dispatch):
4215           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
4216
4217         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
4218
4219         * lyxfunc.C (dispatch):
4220         * text3.C (dispatch): pass name to params2string.
4221
4222 2003-02-26  Angus Leeming  <leeming@lyx.org>
4223
4224         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
4225           blocks together.
4226           Rearrange the ~includes. Strip out the unnecessary ones.
4227
4228         * factory.C (createInset): reformat.
4229           create new insets for the various LFUN_XYZ_APPLY lfuns.
4230
4231 2003-02-26  John Levon  <levon@movementarian.org>
4232
4233         * lyxrow.h:
4234         * lyxrow.C: add isParStart,isParEnd helpers
4235
4236         * paragraph.h: make isInserted/DeletedText take refs
4237
4238         * paragraph_funcs.h:
4239         * paragraph_funcs.C: remove #if 0'd code
4240
4241         * lyxtext.h:
4242         * text3.C:
4243         * text2.C:
4244         * text.C: use lyxrow helpers above.
4245           Move draw and paint routines to RowPainter.
4246           Make several methods use refs not pointers.
4247           Make backgroundColor() const.
4248           Add markChangeInDraw(), isInInset().
4249           Merge changeRegionCase into changeCase.
4250           Make workWidth() shouldn't-happen code into an Assert.
4251
4252         * rowpainter.h:
4253         * rowpainter.C: new class for painting a row.
4254
4255         * vspace.h:
4256         * vspace.C: make inPixels take a ref
4257
4258 2003-02-26  Angus Leeming  <leeming@lyx.org>
4259
4260         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
4261         LFUN_REF_APPLY.
4262
4263 2003-02-25  John Levon  <levon@movementarian.org>
4264
4265         * ispell.C: give the forked command a more accurate name
4266
4267 2003-02-22  John Levon  <levon@movementarian.org>
4268
4269         * toc.h:
4270         * toc.C: make TocItem store an id not a Paragraph *
4271           (bug #913)
4272
4273 2003-02-21  Angus Leeming  <leeming@lyx.org>
4274
4275         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
4276           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
4277           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
4278           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
4279           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
4280           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
4281
4282         * BufferView_pimpl.C (dispatch):
4283         * LyXAction.C (init):
4284         * factory.C (createInset):
4285         * lyxfunc.C (getStatus, dispatch):
4286         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
4287
4288 2003-02-21  Angus Leeming  <leeming@lyx.org>
4289
4290         * BufferView_pimpl.C (MenuInsertLyXFile):
4291         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
4292         * lyxfunc.C (menuNew, open, doImport):
4293           no longer pass a LyXView & to fileDlg.
4294
4295 2003-02-21  Angus Leeming  <leeming@lyx.org>
4296
4297         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
4298         * LyXAction.C: change, BIBKEY to BIBITEM.
4299         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
4300         Change InsetBibKey to InsetBibitem.
4301         Change BIBKEY_CODE to BIBITEM_CODE.
4302         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
4303         * factory.C: replace insetbib.h with insetbibitem.h.
4304         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
4305         * paragraph.C: replace insetbib.h with insetbibitem.h.
4306         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
4307         Change bibkey() to bibitem().
4308         * text.C: remove insetbib.h.
4309         * text2.C: replace insetbib.h with insetbibitem.h.
4310         change bibkey() to bibitem().
4311         * text3.C: remove insetbib.h.
4312         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
4313
4314 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4315
4316         * lyxrc.C (output): enclose user email in quotes (in case there are
4317         several words)
4318
4319 2003-02-18  John Levon  <levon@movementarian.org>
4320
4321         * buffer.h: add std::
4322
4323 2003-02-17  John Levon  <levon@movementarian.org>
4324
4325         * SpellBase.h:
4326         * ispell.h:
4327         * ispell.C:
4328         * pspell.h:
4329         * pspell.C: reworking. Especially in ispell, a large
4330           number of clean ups and bug fixes.
4331
4332         * lyxfunc.C: fix revert to behave sensibly
4333
4334 2003-02-17 André Pönitz <poenitz@gmx.net>
4335
4336         * LyXAction.C:
4337         * commandtags.h: new LFUN_INSERT_BIBKEY
4338
4339         * layout.h:
4340         * lyxlayout.C:
4341         * buffer.C:
4342         * factory.C:
4343         * text.C:
4344         * text2.C:
4345         * text3.C:
4346         * paragraph.[Ch]:
4347         * paragraph_func.C: remove special bibkey handling
4348
4349 2003-02-17  John Levon  <levon@movementarian.org>
4350
4351         * text.C (Delete): fix case where delete at the end of
4352           the very first paragraph would not merge the pars
4353
4354 2003-02-17  John Levon  <levon@movementarian.org>
4355
4356         * lyxrow.C: fix lastPrintablePos()
4357
4358 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4359
4360         * bufferparams.C (writeLaTeX): add a std:here
4361
4362         * buffer.C: and remove a using directive there
4363
4364 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4365
4366         * buffer.C (makeLaTeXFile): move the code that generates the
4367           preamble...
4368
4369         * bufferparams.C (writeLaTeX): ... in this new method
4370
4371         * LaTeXFeatures.C (getEncodingSet): make const
4372           (getLanguages): make const
4373
4374         * MenuBackend.C (binding): returns the binding associated to this
4375           action
4376           (add): sets the status of each item by calling getStatus. Adds
4377           some intelligence.
4378           (read): add support for OptSubMenu
4379           (expand): remove extra separator at the end of expanded menu
4380
4381 2003-02-15  John Levon  <levon@movementarian.org>
4382
4383         * BufferView.C:
4384         * BufferView_pimpl.C:
4385         * bufferlist.h:
4386         * bufferlist.C: remove pointless BufferStorage bloat. Remove
4387           inset code that had no actual effect. Remove unneeded status
4388           code.
4389
4390 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4391
4392         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
4393           in preamble
4394
4395 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
4396
4397         * text.C (drawLengthMarker): also draw an arrow marker for
4398           symbolic lengths (medskip...)
4399
4400 2003-02-14  John Levon  <levon@movementarian.org>
4401
4402         * tabular.h:
4403         * tabular.C: better method names
4404
4405 2003-02-14  John Levon  <levon@movementarian.org>
4406
4407         * BufferView_pimpl.C:
4408         * bufferlist.C:
4409         * buffer.C:
4410         * converter.C:
4411         * lyx_cb.C:
4412         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
4413           it's a more accurate name. Remove some pointless uses.
4414
4415 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4416
4417         * text2.C (LyXText): change order of initilizers to shut off
4418           warnings
4419
4420 2003-02-14  John Levon  <levon@movementarian.org>
4421
4422         * buffer.C: use ParIterator for getParFromID()
4423
4424         * paragraph.h:
4425         * paragraph.C:
4426         * paragraph_pimpl.h:
4427         * paragraph_pimpl.C: remove unused getParFromID()
4428
4429 2003-02-14  John Levon  <levon@movementarian.org>
4430
4431         * buffer.C: remove some very old #if 0'd parse code
4432
4433 2003-02-13  John Levon  <levon@movementarian.org>
4434
4435         * text.h:
4436         * text.C:
4437         * text2.C: move hfillExpansion(), numberOfSeparators(),
4438           rowLast(), rowLastPrintable(), numberofHfills(),
4439           numberOfLabelHfills() ...
4440
4441         * lyxrow.h:
4442         * lyxrow.C: ... to member functions here.
4443
4444         * paragraph.h:
4445         * paragraph.C:
4446         * lyxtext.h:
4447         * text.C: remove LyXText::beginningOfMainBody(), and call
4448           p->beginningOfMainBody() directly. Move the check for
4449           LABEL_MANUAL into the latter.
4450
4451         * text.h:
4452         * text.C:
4453         * text2.C:
4454         * vspace.C:
4455         * BufferView.h:
4456         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
4457
4458         * text.h:
4459         * text.C:
4460         * text2.C:
4461         * text3.C:
4462         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
4463           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
4464
4465 2003-02-13  John Levon  <levon@movementarian.org>
4466
4467         * CutAndPaste.C: remove debug
4468
4469 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4470
4471         * paragraph.C (asString): remove two unused variables
4472
4473         * lyxtextclass.C (readTitleType):
4474           (Read):
4475           (LyXTextClass): handle new members titletype_ and titlename_
4476
4477         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
4478
4479 2003-02-09  John Levon  <levon@movementarian.org>
4480
4481         * buffer.h:
4482         * buffer.C: replace hand-coded list with a map for the dep clean
4483
4484 2003-02-08  John Levon  <levon@movementarian.org>
4485
4486         * LaTeX.C: consolidate code into showRunMessage() helper
4487
4488 2003-02-08  John Levon  <levon@movementarian.org>
4489
4490         * lyxfind.C:
4491         * lyxtext.h:
4492         * text2.C:
4493         * BufferView.C: change setSelectionOverString() to setSelectionRange()
4494           and pass the size in explicitly
4495
4496         * BufferView_pimpl.h:
4497         * BufferView_pimpl.C:
4498         * BufferView.h:
4499         * BufferView.C: add getCurrentChange()
4500
4501         * BufferView_pimpl.h:
4502         * BufferView_pimpl.C: handle change lfuns
4503
4504         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
4505           for changes. Mark pasted paragraphs as new.
4506
4507         * support/lyxtime.h:
4508         * support/lyxtime.C:
4509         * DepTable.C: abstract time_t as lyx::time_type
4510
4511         * LColor.h:
4512         * LColor.C: add colours for new text, deleted text, changebars
4513
4514         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
4515           package use "usenames" option.
4516
4517         * commandtags.h:
4518         * lyxfunc.C:
4519         * LyXAction.C: add change lfuns
4520
4521         * Makefile.am:
4522         * author.h:
4523         * author.C: author handling
4524
4525         * buffer.h:
4526         * buffer.C: add a per-buffer author list, with first entry as
4527           current author. Handle new .lyx tokens for change tracking. Output
4528           author list to .lyx file. Output dvipost stuff to .tex preamble.
4529           Bump lyx format to 222.
4530
4531         * bufferlist.h:
4532         * bufferlist.C: add setCurrentAuthor() to reset current author details
4533           in all buffers.
4534
4535         * bufferparams.h:
4536         * bufferparams.C: add param for tracking
4537
4538         * bufferview_funcs.C: output change info in minibuffer
4539
4540         * Makefile.am:
4541         * changes.h:
4542         * changes.C: add change-tracking structure
4543
4544         * debug.h:
4545         * debug.C: add CHANGES debug flag
4546
4547         * lyxfind.h:
4548         * lyxfind.C: add code for finding the next change piece
4549
4550         * lyxrc.h:
4551         * lyxrc.C: add user_name and user_email
4552
4553         * lyxrow.h:
4554         * lyxrow.C: add a metric for the top of the text line
4555
4556         * lyxtext.h:
4557         * text.C: implement accept/rejectChange()
4558
4559         * lyxtext.h:
4560         * text.C: paint changebars. Paint new/deleted text in the chosen
4561         colours. Strike through deleted text.
4562
4563         * paragraph.h:
4564         * paragraph.C:
4565         * paragraph_pimpl.h:
4566         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
4567           in the current change to the insert functions. Rework erase to
4568           mark text as deleted, adding an eraseIntern() and a range-based
4569           erase(). Implement per-paragraph change lookup and
4570           accept/reject.
4571
4572         * paragraph_funcs.C: Fixup paste for change tracking.
4573
4574         * tabular.C: mark added row/columns as new.
4575
4576         * text.C: fix rowLast() to never return -1. Don't allow
4577           spellchecking of deleted text. Track transpose changes. Don't
4578           allow paragraph break or merge where appropriate.
4579
4580         * text2.C: leave cursor at end of selection after a cut.
4581
4582 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4583
4584         * text.C (getLengthMarkerHeight):
4585         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
4586         visible on screen too.
4587
4588 2003-02-07  John Levon  <levon@movementarian.org>
4589
4590         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
4591
4592 2003-02-05  Angus Leeming  <leeming@lyx.org>
4593
4594         * lyxserver.C (read_ready): revert my patch of 11 September last year
4595         as it sends PC cpu through the roof. Presumably this means that
4596         the lyxserver will no longer run on an Alpha...
4597
4598 2003-01-30  Angus Leeming  <leeming@lyx.org>
4599
4600         * factory.C (createInset): create an InsetCommandParam of type "index"
4601         and use it to 'do the right thing'.
4602
4603         * text2.C (getStringToIndex): ensure that cursor position is always
4604         reset to the reset_cursor position.
4605
4606 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4607
4608         * lyxfunc.C (getStatus): "buffer-export custom" should never be
4609         disabled.
4610
4611 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
4612
4613         * bufferview.C:
4614         * lyxcb.C:
4615         * lyxfunc.C: Output messages with identical spelling, punctuation,
4616         and spaces
4617
4618 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
4619
4620         * MenuBackend.C (expandFormats): List only viewable export formats
4621         in "View" menu
4622
4623         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
4624         message
4625
4626         * lyxfunc.C (getStatus): Make sure that formats other than
4627         "fax" can also be disabled
4628
4629 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4630
4631         * text3.C (dispatch): put the lfuns that insert insets in 3
4632         groups, and call doInsertInset with appropriate arguments.
4633         (doInsertInset): new function, that creates an inset and inserts
4634         it according to some boolean parameters.
4635
4636 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4637
4638         * buffer.C (readFile): remember to pass on 'par' when calling
4639         readFile recursively.
4640
4641 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4642
4643         * MenuBackend.C (expandFormats): add "..." to import formats.
4644
4645 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
4646
4647         * paragraph.C (asString): Remove XForms RTL hacks.
4648
4649 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
4650         * buffer.C: fix typo
4651
4652 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
4653
4654         * Makefile.am (LIBS): delete var
4655         (lyx_LDADD): add @LIBS@ here instead.
4656
4657 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
4658
4659         * Clarify the meaning of "wheel mouse jump"
4660
4661 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4662
4663         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
4664         tabular in a float
4665
4666 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4667
4668         * importer.C (Loaders): do not preallocate 3 elements in the
4669         vector, since one ends up with 6 elements otherwise
4670
4671 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4672
4673         * DepTable.C (write): write the file name as last element of the
4674         .dep file (because it may contain spaces)
4675         (read): read info in the right order
4676
4677 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4678
4679         * paragraph_pimpl.C (simpleTeXBlanks):
4680         (simpleTeXSpecialChars):
4681         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
4682
4683         * tabular.C (latex): add some missing case statements. Reindent.
4684
4685         * MenuBackend.C (expandToc): remove unused variable.
4686
4687 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
4688
4689         * LColor.C:
4690         * LaTeX.C:
4691         * LyXAction.C:
4692         * MenuBackend.C:
4693         * buffer.C:
4694         * exporter.C:
4695         * lyxfunc.C:
4696         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
4697         and the like.
4698
4699 2003-01-05  John Levon  <levon@movementarian.org>
4700
4701         * BufferView.h:
4702         * BufferView.C: add getEncoding()
4703
4704         * kbsequence.h:
4705         * kbsequence.C: do not store last keypress
4706
4707         * lyxfunc.h:
4708         * lyxfunc.C: store last keypress here instead. Pass encoding
4709           to getISOEncoded()
4710
4711 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4712
4713         * lyx_main.C (init): remove annoying error message when following
4714         symbolic links (bug #780)
4715
4716 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4717
4718         * text.C (insertChar):
4719         * lyxrc.C (getDescription): remove extra spaces
4720
4721 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4722
4723         * lyxrc.C (getDescription): remove extra spaces
4724
4725 2002-12-20  John Levon  <levon@movementarian.org>
4726
4727         * text3.C: hack fix for page up/down across tall rows
4728
4729 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4730
4731         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
4732         not been invoked
4733
4734 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4735
4736         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
4737         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
4738         thesaurus is not compiled in
4739
4740 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
4741
4742         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
4743
4744 2002-12-16  Angus Leeming  <leeming@lyx.org>
4745
4746         * lyxrc.[Ch]:
4747         * lyx_main.C (init): remove override_x_deadkeys stuff.
4748
4749 2002-12-12  John Levon  <levon@movementarian.org>
4750
4751         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
4752           insert. Only remove shift modifier under strict
4753           circumstances.
4754
4755 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
4756
4757         * MenuBackend.C (expandToc): fix crash.
4758
4759 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
4760
4761         * MenuBackend.C (expandToc): gettext on float names.
4762
4763 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4764
4765         * lyxlength.[Ch]: set default unit to UNIT_NONE,
4766         implement bool empty() [bug 490]
4767
4768 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4769
4770         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
4771
4772 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4773
4774         * several files: ws changes
4775
4776 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4777
4778         * text2.C (setCounter): clean up a bit, use boost.format.
4779         (updateCounters): initialize par upon declaration.
4780
4781         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
4782         if the layout exists. We do not just store the layout any more.
4783         (SwitchLayoutsBetweenClasses): use boost.format
4784
4785 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4786
4787         * converter.C (convert): if from and to files are the same, use a
4788         temporary files as intermediary
4789
4790 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4791
4792         * commandtags.h:
4793         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
4794
4795 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
4796
4797         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
4798
4799 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4800
4801         * tabular.C (asciiPrintCell): use string(size, char) instead of
4802         explicit loop.
4803
4804         * sgml.C (openTag): fix order of arguments to string constructor
4805         (closeTag): ditto
4806
4807         * lyxfunc.C (dispatch): use boost.format
4808
4809         * lots of files: change "c" -> 'c'
4810
4811 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
4812
4813         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
4814
4815 2002-11-25  Angus Leeming  <leeming@lyx.org>
4816
4817         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
4818
4819         * lyx_main.C (init): compile fix.
4820
4821 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4822
4823         * lyx_cb.C (start): boost.formatify
4824         do not include <iostream>
4825
4826         * lengthcommon.C: ws only
4827
4828         * boost-inst.C,BoostFormat.h: add more explict instantations
4829
4830 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
4831
4832         * lots of files: handle USE_BOOST_FORMAT
4833
4834 2002-11-21  John Levon  <levon@movementarian.org>
4835
4836         * pspell.C: fix compile
4837
4838 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4839
4840         * lyxfunc.C (dispatch): use boost::format
4841         (open): ditto
4842         (doImport): ditto
4843
4844         * lyxfont.C (stateText): use boost::format
4845
4846         * lyx_main.C (LyX): use boost::format
4847         (init): ditto
4848         (queryUserLyXDir): ditto
4849         (readRcFile): ditto
4850         (parse_dbg): ditto
4851         (typedef boost::function): use the recommened syntax.
4852
4853         * importer.C (Import): use boost::format
4854
4855         * debug.C (showLevel): use boost::format
4856
4857         * converter.C (view): use boost::format
4858         (convert): ditto
4859         (move): ditto
4860         (scanLog): ditto
4861
4862         * bufferview_funcs.C (currentState): use boost::format
4863
4864         * bufferlist.C (emergencyWrite): use boost::format
4865
4866         * buffer.C (readLyXformat2): use boost::format
4867         (parseSingleLyXformat2Token): ditto
4868
4869         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
4870
4871         * LaTeX.C (run): use boost::format
4872
4873         * Chktex.C (scanLogFile): use boost::format
4874
4875         * BufferView_pimpl.C (savePosition): use boost::format
4876         (restorePosition): ditto
4877         (MenuInsertLyXFile): ditto
4878
4879         * BoostFormat.h: help file for explicit instation.
4880
4881 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
4882
4883         * tabular.C (latex): Support for block alignment in fixed width
4884         columns.
4885
4886 2002-11-17  John Levon  <levon@movementarian.org>
4887
4888         * BufferView_pimpl.C:
4889         * lyx_cb.C:
4890         * lyxfunc.C: split filedialog into open/save
4891
4892 2002-11-08  Juergen Vigna  <jug@sad.it>
4893
4894         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
4895         by my last patch (hopefully).
4896
4897 2002-11-08  John Levon  <levon@movementarian.org>
4898
4899         * iterators.h:
4900         * iterators.C:
4901         * buffer.h:
4902         * buffer.C:
4903         * paragraph.h:
4904         * paragraph.C:
4905         * toc.h:
4906         * toc.C: ParConstIterator, and use it (from Lars)
4907
4908 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
4909
4910         * lyxtextclass.[Ch]: revise and add doxygen comments
4911
4912 2002-11-07  John Levon  <levon@movementarian.org>
4913
4914         * text.C: fix progress value for spellchecker
4915
4916         * toc.C: fix navigate menu for insetwrap inside minipage
4917
4918         * paragraph_funcs.C: added FIXME for suspect code
4919
4920 2002-11-07  John Levon  <levon@movementarian.org>
4921
4922         * BufferView_pimpl.C: fix redrawing of insets
4923           on buffer switch
4924
4925 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4926
4927         * text2.C (updateCounters): fix bug 668
4928
4929 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
4930
4931         * text3.C (dispatch): Do not make the buffer dirty when moving the
4932         cursor.
4933
4934 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
4935
4936         * vc-backend.C: STRCONV
4937         (scanMaster): ditto
4938
4939         * text2.C (setCounter): STRCONV
4940
4941         * paragraph.C (asString): STRCONV
4942
4943         * lyxlength.C (asString): STRCONV
4944         (asLatexString): ditto
4945
4946         * lyxgluelength.C (asString): STRCONV
4947         (asLatexString): ditto
4948
4949         * lyxfunc.C (dispatch): STRCONV
4950         (open): ditto
4951
4952         * lyxfont.C (stateText): STRCONV
4953
4954         * importer.C (Import): STRCONV
4955
4956         * counters.C (labelItem): STRCONV
4957         (numberLabel): ditto
4958         (numberLabel): remove unused ostringstream o
4959
4960         * chset.C: STRCONV
4961         (loadFile): ditto
4962
4963         * bufferview_funcs.C (currentState): STRCONV
4964
4965         * buffer.C (readFile): STRCONV
4966         (asciiParagraph): ditto
4967         (makeLaTeXFile): ditto
4968
4969         * Spacing.C (writeEnvirBegin): STRCONV
4970
4971         * LaTeXFeatures.C (getLanguages): STRCONV
4972         (getPackages): ditto
4973         (getMacros): ditto
4974         (getBabelOptions): ditto
4975         (getTClassPreamble): ditto
4976         (getLyXSGMLEntities): ditto
4977         (getIncludedFiles): ditto
4978
4979         * LaTeX.C: STRCONV
4980         (run): ditto
4981         (scanAuxFile): ditto
4982         (deplog): ditto
4983
4984         * LString.h: add the STRCONV macros
4985
4986         * BufferView_pimpl.C (savePosition): STRCONV
4987         (restorePosition): ditto
4988         (MenuInsertLyXFile): ditto
4989
4990         * vc-backend.C (scanMaster): change from submatch[...] to
4991         submatch.str(...)
4992
4993         * funcrequest.C: include config.h
4994
4995         * factory.C: include config.h
4996
4997         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
4998
4999         * box.C: include config.h
5000
5001         * LaTeX.C (scanAuxFile): change from submatch[...] to
5002         submatch.str(...)
5003         (deplog): ditto
5004
5005 2002-10-25  Angus Leeming  <leeming@lyx.org>
5006
5007         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
5008
5009         * ispell.[Ch] (setError): new method.
5010         * ispell.C (c-tor): move out child process into new class LaunchIspell.
5011         Use setError() insetead of goto END.
5012
5013         * lyx_cb.C (AutoSave): move out child process into new class
5014         AutoSaveBuffer.
5015
5016 2002-10-30  John Levon  <levon@movementarian.org>
5017
5018         * text3.C: make start appendix undoable
5019
5020 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
5021
5022         * lyxlength.C (inPixels): Fix returned value.
5023
5024         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
5025         environment.
5026
5027 2002-10-24  Angus Leeming  <leeming@lyx.org>
5028
5029         * lyxgluelength.h: no need to forward declare BufferParams
5030         or BufferView, so don't.
5031
5032 2002-10-21  John Levon  <levon@movementarian.org>
5033
5034         * BufferView.C: menuUndo ->undo, redo
5035
5036         * BufferView.h: document, remove dead, make some methods private
5037
5038         * paragraph_funcs.h:
5039         * paragraph_funcs.C:
5040         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
5041
5042         * buffer.h:
5043         * buffer.C:
5044         * sgml.h:
5045         * sgml.C: move sgml open/close tag into sgml.C
5046
5047         * bufferview_funcs.h: unused prototype
5048
5049         * lyxfunc.h:
5050         * lyxfunc.C: remove unused
5051
5052         * lyxtext.h:
5053         * text.C: remove unused
5054
5055 2002-10-21  John Levon  <levon@movementarian.org>
5056
5057         * BufferView.h:
5058         * BufferView.C:
5059         * BufferView_pimpl.h:
5060         * BufferView_pimpl.C: fix mouse wheel handling based on
5061           patch from Darren Freeman
5062
5063 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
5064
5065         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
5066
5067 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
5068
5069         * lyxlength.C (inPixels): Fix hanfling of negative length.
5070         Fix LyXLength::MU case.
5071
5072 2002-10-16  John Levon  <levon@movementarian.org>
5073
5074         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
5075
5076 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5077
5078         * converter.C (view): add support for $$i (file name) and $$p
5079         (file path) for the viewer command. If $$i is not specified, then
5080         it is appended to the command (for compatibility with old syntax)
5081
5082 2002-10-14  Juergen Vigna  <jug@sad.it>
5083
5084         * undo_funcs.C (textHandleUndo): alter the order in which the
5085         new undopar is added to the LyXText, as we have to set first
5086         the right prev/next and then add it as otherwise the rebuild of
5087         LyXText is not correct. Also reset the cursor to the right paragraph,
5088         with this IMO we could remove the hack in "redoParagraphs()".
5089
5090 2002-10-09  Angus Leeming  <leeming@lyx.org>
5091
5092         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
5093         to turn off an optimisation if a new inset is to be inserted.
5094
5095 2002-10-11 André Pönitz <poenitz@gmx.net>
5096
5097         * lyxtext.h: make some functions public to allow access
5098         from inset/lyxtext for handling LFUN_PRIOR/NEXT
5099
5100 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5101
5102         * text3.C (dispatch): when changing layout, avoid an infinite loop
5103         [bug #652]
5104
5105 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5106
5107         * lyxrc.C (read): treat a viewer or converter command of "none" as
5108         if it were empty.
5109
5110         * MenuBackend.C (expandFormats): for an update, also allow the
5111         formats that are not viewable
5112
5113         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
5114         script if it is newer than the lyxrc.defaults in user directory
5115
5116 2002-10-07 André Pönitz <poenitz@gmx.net>
5117
5118         * text.C: Vitaly Lipatov's small i18n fix
5119
5120 2002-09-25  Angus Leeming  <leeming@lyx.org>
5121
5122         * ispell.h: doxygen fix.
5123
5124 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
5125
5126         * buffer.h (readFile): Add a new argument to the method, to allow
5127         reading of old-format templates.
5128
5129 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
5130
5131         * toc.C (getTocList): Get TOC from InsetWrap.
5132
5133 2002-09-16  John Levon  <levon@movementarian.org>
5134
5135         * lyxfunc.C: check tabular for cut/copy too
5136
5137 2002-09-12  John Levon  <levon@movementarian.org>
5138
5139         * LyXAction.C: tidy
5140
5141         * factory.h:
5142         * factory.C: add header
5143
5144         * paragraph_funcs.h:
5145         * paragraph_funcs.C: cleanup
5146
5147 2002-09-11  John Levon  <levon@movementarian.org>
5148
5149         * PrinterParams.h: odd/even default to true
5150
5151 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
5152
5153         * PrinterParams.h: update printer parameters for new xforms dialog
5154
5155 2002-09-11  Angus Leeming  <leeming@lyx.org>
5156
5157         * lyxserver.C (read_ready): re-write to make it more transparent
5158         and to make it work in coherent fashion under Tru64 Unix.
5159
5160 2002-09-11  André Pönitz <poenitz@gmx.net>
5161
5162         * commandtags.h:
5163         * LyXAction.C:
5164         * text3.C: implement LFUN_WORDSEL
5165
5166 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
5167
5168         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
5169         make floatlist_ a boost::shared_ptr<FloatList>
5170
5171         * lyxtextclass.C: include FloatList.h
5172         (LyXTextClass): initialize floatlist_
5173         (TextClassTags): add TC_NOFLOAT
5174         (Read): match "nofloat" to TC_NOFLOAT and use it.
5175         (readFloat): modify call to floatlist_
5176         (floats): ditto
5177         (floats): ditto
5178
5179         * FloatList.[Ch] (FloatList): remove commented out float
5180         initialization.
5181         (erase): new function
5182
5183 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5184
5185         * MenuBackend.C (expandToc): fix crash when there is no document
5186         open
5187
5188 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
5189
5190         * many files: Add insetwrap.
5191
5192 2002-09-09  John Levon  <levon@movementarian.org>
5193
5194         * text2.C: remove confusing and awkward depth wraparound
5195
5196 2002-09-09  John Levon  <levon@movementarian.org>
5197
5198         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
5199
5200         * buffer.h:
5201         * buffer.C: remove getIncludeonlyList()
5202
5203         * paragraph.C:
5204         * lyxfunc.C: remove headers
5205
5206 2002-09-09  Juergen Vigna  <jug@sad.it>
5207
5208         * text.C (getColumnNearX): fix form Michael this is most
5209         probably a cut&paste bug.
5210
5211 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5212
5213         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
5214
5215         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
5216         references, ws changes.
5217
5218         * text2.C (init): update counters after init
5219         (insertParagraph): no need to set counter on idividual paragraphs.
5220         (setCounter): access the counters object in the textclass object
5221         on in the buffer object.
5222         (updateCounters): ditto
5223
5224         * lyxtextclass.C: include counters.h, add variable ctrs_ as
5225         shared_ptr<Counters> to avoid loading counters.h in all
5226         compilation units.
5227         (LyXTextClass): initialize ctrs_
5228         (TextClassTags): add TC_COUNTER, and ...
5229         (Read): use it here.
5230         (CounterTags): new tags
5231         (readCounter): new function
5232         (counters): new funtion
5233         (defaultLayoutName): return a const reference
5234
5235         * counters.C (Counters): remove contructor
5236         (newCounter): remove a couple of unneeded statements.
5237         (newCounter): simplify a bit.
5238         (numberLabel): some small formatting changes.
5239
5240         * buffer.[Ch]: remove all traces of counters, move the Counters
5241         object to the LyXTextClass.
5242
5243 2002-09-06  Alain Castera  <castera@in2p3.fr>
5244
5245         * tabular.C: uses \tabularnewline; uses >{...} construct from array
5246         package to set the horizontal alignment on fixed width columns.
5247
5248         * lyx_sty.C:
5249         * lyx_sty.h: added tabularnewline macro def.
5250
5251         * LaTeXFeatures.C: added NeedTabularnewline macro feature
5252
5253 2002-09-06  John Levon  <levon@movementarian.org>
5254
5255         * LyXAction.C: tooltips for sub/superscript
5256
5257         * MenuBackend.C: a bit more verbose
5258
5259         * lyxfunc.C: tiny clean
5260
5261         * undo_funcs.C: document undo_frozen
5262
5263 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
5264
5265         * counters.C (Counters): add missing algorithm counter.
5266
5267         * text2.C (setCounter): lookup the counter with layouts latexname
5268         instead of by section number.
5269         (setCounter): use a hackish way to lookup the correct enum
5270         counter.
5271         a float name->type change
5272         reset enum couners with counter name directly instead of depth value.
5273
5274         * counters.C (Counters): remove the push_backs, change to use the
5275         float type not the float name.
5276         (labelItem): remove unused string, float name->type change
5277
5278         * counters.h: don't include vector, loose the enums and sects vectors
5279
5280 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5281
5282         * lyxtextclass.C (TextClassTags): add TC_FLOAT
5283         (Read): add float->TC_FLOAT to textclassTags
5284         (Read): and handle it in the switch
5285         (readFloat): new function
5286
5287         * FloatList.C (FloatList): comment out the hardcoded float
5288         definitions.
5289
5290         * lyxlayout.h: ws change.
5291
5292 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
5293
5294         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
5295
5296 2002-09-03  Angus Leeming  <leeming@lyx.org>
5297
5298         * BufferView_pimpl.h: qualified name is not allowed in member
5299         declaration: WorkArea & Pimpl::workarea() const;
5300
5301         * factory.C: added using std::endl directive.
5302
5303         * text3.C: added using std::find and std::vector directives.
5304
5305 2002-08-29  André Pönitz <poenitz@gmx.net>
5306
5307         * lyxtext.h:
5308         * text2.C: remove unused member number_of_rows
5309
5310         * Makefile.am:
5311         * BufferView2.C: remove file, move contents to...
5312         * BufferView.C: ... here
5313
5314         * BufferView_pimpl.C:
5315         * factory.C: move more inset creation to factory
5316
5317         * vspace.C: avoid direct usage of LyXText, ws changes
5318
5319         * BufferView.[Ch]:
5320                 don't provide direct access to WorkArea, use two simple
5321                 acessors haveSelction() and workHeight() instead
5322
5323
5324 2002-08-29  John Levon  <levon@movementarian.org>
5325
5326         * BufferView_pimpl.C (dispatch): do not continue when
5327           no buffer
5328
5329 2002-08-28  André Pönitz <poenitz@gmx.net>
5330
5331         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
5332
5333         * BufferView.h:
5334         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
5335
5336 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
5337
5338         * buffer.C: increment LYX_FORMAT to 221
5339
5340         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
5341         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
5342
5343         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
5344
5345         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
5346
5347 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5348
5349         * factory.C (createInset): use LyXTextClass::floats
5350
5351         * MenuBackend.C (expandFloatListInsert):
5352         (expandFloatInsert):
5353         (expandToc):
5354
5355         * text2.C (setCounter):
5356
5357         * LaTeXFeatures.C (useFloat):
5358         (getFloatDefinitions):
5359
5360         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
5361
5362         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
5363         floatlist_, with accessor floats().
5364
5365         * FloatList.h: remove global FloatList
5366
5367 2002-08-26  André Pönitz <poenitz@gmx.net>
5368
5369         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
5370
5371         * BufferView.h:
5372         * BufferView2.C:
5373         * BufferView_pimpl.C:
5374         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
5375
5376 2002-08-25  John Levon  <levon@movementarian.org>
5377
5378         * LyXAction.C: fix margin note description
5379
5380 2002-08-24  John Levon  <levon@movementarian.org>
5381
5382         * buffer.C:
5383         * bufferlist.C:
5384         * bufferview_funcs.C:
5385         * lyxfont.C:
5386         * undo_funcs.C: cleanups
5387
5388         * lyxfunc.C: disable CUT/COPY when no selection
5389
5390 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
5391
5392         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
5393         in "enum UNIT"; e.g. PTW for Percent of TextWidth
5394
5395         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
5396         Add backward compatibility to "mono", "gray" and "no".
5397
5398 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
5399
5400         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
5401         (and file_format >= 200).
5402
5403 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5404
5405         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
5406
5407 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5408
5409         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
5410
5411 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
5412
5413         * BufferView_pimpl.C:
5414         * LyXAction.C:
5415         * buffer.C:
5416         * commandtags.h:
5417         * lyxfunc.C:
5418         * paragraph.[Ch]:
5419         * text2.C:
5420         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
5421         inset and code to make it  work with the paragraph code. The inset
5422         can be anywhere in the paragraph, but will only do the expected
5423         thing in LaTeX if the layout file contains the parameter line
5424                         OptionalArgs    1
5425         (or more generally, a nonzero value) for that layout.
5426
5427 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5428
5429         * paragraph.h: remove the declaration of undefined counters class
5430         function.
5431
5432 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
5433
5434         * text2.C (setCounter):  fixed enumeration mis-count as reported by
5435         Dr. Richard Hawkins.
5436
5437 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5438
5439         * paragraph_funcs.h: remove some unneeded includes
5440
5441         * text.C (backspace): pasteParagraph now in global scipe
5442
5443         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
5444         (pasteSelection): ditto
5445
5446         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
5447         * paragraph_funcs.C (pasteParagraph): ... here
5448
5449 2002-08-20  André Pönitz <poenitz@gmx.net>
5450
5451         * commandtags.h: new LFUNs for swapping/copying table row/colums
5452
5453         * LyXAction.C:
5454         * lyxfunc.C: support for new lfuns
5455
5456 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
5457
5458         * tabular.C:
5459         * buffer.[Ch]: remove NO_COMPABILITY stuff
5460
5461 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
5462
5463         * boost.C (throw_exception): new file, with helper function for
5464         boost compiled without exceptions.
5465
5466         * paragraph.h:
5467         * lyxlength.C:
5468         * buffer.C:
5469         * ParameterStruct.h:
5470         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
5471
5472         * bufferlist.C (emergencyWriteAll): use boost bind
5473
5474         * BufferView_pimpl.C (moveCursorUpdate): remove inline
5475
5476         * text.C: include paragraph_funcs.h
5477         (breakParagraph): breakParagraph is now in global scope
5478
5479         * paragraph_funcs.[Ch]: new files
5480
5481         * paragraph.C (breakParagraph,breakParagraphConservative): move to
5482         global scope
5483
5484         * buffer.C: include paragraph_funcs.h
5485         (insertStringAsLines): breakParagraph is now in global scope
5486
5487         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
5488         paragraph_funcs.C
5489
5490         * CutAndPaste.C: include paragraph_funcs.h
5491         (cutSelection): breakParagraphConservative is now in global scope
5492         (pasteSelection): ditto
5493
5494         * buffer.h: declare oprator== and operator!= for
5495         Buffer::inset_iterator
5496
5497         * bufferlist.C (emergencyWrite): don't use fmt(...)
5498
5499         * text3.C: add using std::endl
5500
5501         * BufferView.C (moveCursorUpdate): remove default arg
5502
5503 2002-08-20  André Pönitz <poenitz@gmx.net>
5504
5505         * buffer.[Ch]: move inline functions to .C
5506
5507         * BufferView2.C:
5508         * BufferView_pimpl.C:
5509         * text.C:
5510         * buffer.[Ch]: use improved inset_iterator
5511
5512         * buffer.C:
5513         * paragraph.[Ch]: write one paragraph at a time
5514
5515 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
5516
5517         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
5518         style if style is not specified.
5519
5520 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5521
5522         * text2.C (setCounter): when searching for right label for a
5523         caption, make sure to recurse to parent insets (so that a caption
5524         in a minipage in a figure float works) (bug #568)
5525
5526 2002-08-20  André Pönitz <poenitz@gmx.net>
5527
5528         * text3.C: new file for LyXText::dispatch() and helpers
5529
5530         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
5531
5532         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
5533
5534 2002-08-19  André Pönitz <poenitz@gmx.net>
5535
5536         * lyxtext.h:
5537         * text.C: new LyXText::dispatch()
5538
5539         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
5540
5541 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
5542
5543         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
5544
5545         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
5546         Hebrew text.
5547
5548 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5549
5550         * Makefile.am: use $(variables) instead of @substitutions@
5551
5552 2002-08-15  André Pönitz <poenitz@gmx.net>
5553
5554         * lyxfunc.C:
5555         * BufferView_pimpl.C: streamlining mathed <-> outer world
5556         interaction
5557
5558         * commandtags.h:
5559         * LyXAction.C: remove unused LFUN_MATH
5560
5561 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5562
5563         * paragraph.[Ch]: add some NO_NEXT ifdefs.
5564
5565 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5566
5567         * paragraph.C (Paragraph): reformat a bit
5568         (cutIntoMinibuffer): use builtin InsetList function instad of
5569         doing it manually.
5570         (getInset): ditto
5571
5572         * buffer.C: include boost/bind.hpp, add using std::for_each
5573         (writeFileAscii): use ParagraphList iterators
5574         (validate): use for_each for validate traversal of paragraphs
5575         (getBibkeyList): use ParagraphList iterators
5576         (resizeInsets): use for_each to resizeInsetsLyXText for all
5577         paragraphs.
5578         (getParFromID): use ParagraphList iterators
5579
5580         * BufferView2.C (lockInset): use paragraph list and iterators
5581
5582 2002-08-14  John Levon  <levon@movementarian.org>
5583
5584         * lyxserver.C: remove spurious xforms include
5585
5586 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5587
5588         * lyxfunc.C (getStatus): disable math-extern outside of math mode
5589
5590 2002-08-13  André Pönitz <poenitz@gmx.net>
5591
5592         * LyXAction.[Ch]:
5593         * lyxfunc.C: further cleaning
5594
5595 2002-08-13  André Pönitz <poenitz@gmx.net>
5596
5597         * funcrequest.h: new constructor
5598
5599         * funcrequest.C: move stuff here from .h
5600
5601         * Makefile.am:
5602         * BufferView_pimpl.C:
5603         * LyXAction.C:
5604         * toc.C:
5605         * lyxfunc.C: subsequent changes
5606
5607         * lyxfunc.h: new view() member function
5608
5609         * lyxfunc.C: subsequent changes
5610
5611 2002-08-13  Angus Leeming  <leeming@lyx.org>
5612
5613         * BufferView2.C:
5614         * BufferView_pimpl.C:
5615         * buffer.C:
5616         * converter.C:
5617         * importer.C:
5618         * lyxfunc.C:
5619         * lyxvc.C:
5620         * toc.C:
5621         * vc-backend.C:
5622         changes due to the changed LyXView interface that now returns references
5623         to member variables not pointers.
5624
5625 2002-08-13  Angus Leeming  <leeming@lyx.org>
5626
5627         * WordLangTuple (word, lang_code): return references to strings,
5628         not strings.
5629
5630         * BufferView.h:
5631         * SpellBase.h:
5632         * lyxtext.h: forward-declare WordLangTuple.
5633
5634         * BufferView2.C:
5635         * ispell.C:
5636         * pspell.C:
5637         * text.C: #include "WordLangTuple.h".
5638
5639         * lyxtext.h:
5640         * text.C: (selectNextWordToSpellcheck): constify return type.
5641
5642 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
5643
5644         * buffer.C:
5645         * buffer.h:
5646         * lyxtext.h:
5647         * paragraph.C:
5648         * paragraph_pimpl.h:
5649         * text.C:
5650         * text2.C:
5651         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
5652         suggested by Angus.
5653         Made updateCounter always count from start of buffer, and removed
5654         second argument (par).
5655         Reverted floats number display to '#'. Perhaps I'll try again when the
5656         code base is sanitized a bit.
5657
5658 2002-08-12  Angus Leeming  <leeming@lyx.org>
5659
5660         * buffer.[Ch] (getLabelList): constify.
5661
5662 2002-08-07  André Pönitz <poenitz@gmx.net>
5663
5664         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
5665
5666         * funcrequest.h: extension to keep mouse (x,y) position
5667
5668 2002-08-12  Juergen Vigna  <jug@sad.it>
5669
5670         * BufferView2.C (insertErrors): forbid undo when inserting error
5671         insets.
5672
5673         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
5674
5675 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
5676
5677         * ParagraphList.[Ch]: new files
5678
5679         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
5680
5681         * BufferView2.C (lockInset): ParagraphList changes
5682         * toc.C: ditto
5683         * text2.C: ditto
5684         * bufferlist.C: ditto
5685         * buffer.h: ditto
5686         * buffer.C: ditto
5687
5688 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
5689
5690         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
5691         unused class variable counter_,
5692
5693         * paragraph.[Ch] (getFirstCounter): delete unused function
5694
5695         * counters.C: include LAssert.h
5696         (reset): add a new function with no arg, change other version to
5697         not have def. arg and to not allow empty arg.
5698
5699         * text2.C (setCounter): remove empty arg from call to Counters::reset
5700
5701 2002-08-11  John Levon  <levon@movementarian.org>
5702
5703         * Makefile.am: add WordLangTuple.h
5704
5705 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
5706
5707         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
5708         lyxfunc.C lyxlex_pimpl.C: ws changes only.
5709
5710         * insets/insettext.C: InsetList changes
5711
5712         * graphics/GraphicsSupport.C (operator()): InsetList changes
5713
5714         * toc.C (getTocList): InsetList changes
5715
5716         * paragraph_pimpl.[Ch]: InsetList changes
5717
5718         * paragraph.[Ch]: InsetList changes
5719
5720         * buffer.C (inset_iterator): InsetList changes
5721         (setParagraph): ditto
5722         * buffer.h (inset_iterator): ditto
5723         * iterators.C (operator++): ditto
5724         * iterators.h: ditto
5725
5726         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
5727
5728         * InsetList.[Ch]: new files, most InsetList handling moved out of
5729         paragraph.C.
5730
5731         * BufferView2.C (removeAutoInsets): InsetList changes
5732         (lockInset): ditto
5733         (ChangeInsets): ditto
5734
5735 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
5736
5737         * paragraph_pimpl.h (empty): new function
5738
5739         * paragraph.[Ch] (empty): new function
5740
5741         * other files: use the new Paragraph::empty function
5742
5743 2002-08-09  John Levon  <levon@movementarian.org>
5744
5745         * lyxtext.h: remove unused refresh_height
5746
5747 2002-08-09  John Levon  <levon@movementarian.org>
5748
5749         * Makefile.am:
5750         * sgml.h:
5751         * sgml.C:
5752         * buffer.C:
5753         * paragraph.h:
5754         * paragraph.C: move sgml char escaping out of paragraph
5755
5756         * paragraph.h:
5757         * paragraph.C: remove id setter
5758
5759         * buffer.C:
5760         * paragraph.C:
5761         * paragraph_pimpl.C: remove dead tex_code_break_column
5762
5763         * bufferview_funcs.C: small cleanup
5764
5765         * lyxfunc.C: remove dead proto
5766
5767         * lyxtext.h: make some stuff private. Remove some dead stuff.
5768
5769         * lyxgluelength.C: make as[LyX]String() readable
5770
5771 2002-08-08  John Levon  <levon@movementarian.org>
5772
5773         * LyXAction.h:
5774         * LyXAction.C:
5775         * MenuBackend.C:
5776         * ToolbarDefaults.C:
5777         * lyxfunc.C:
5778         * lyxrc.C:
5779         * toc.C: lyxaction cleanup
5780
5781 2002-08-08  John Levon  <levon@movementarian.org>
5782
5783         * BufferView2.C: small cleanup
5784
5785         * lyxfind.h:
5786         * lyxfind.C: move unnecessary header into the .C
5787
5788 2002-08-08  John Levon  <levon@movementarian.org>
5789
5790         * funcrequest.h: just tedious nonsense
5791
5792         * lyx_main.h:
5793         * lyx_main.C: cleanups
5794
5795         * buffer.C:
5796         * vspace.C: remove dead header lyx_main.h
5797
5798 2002-08-07  Angus Leeming  <leeming@lyx.org>
5799
5800         * Paragraph.[Ch]:
5801         * paragraph_pimpl.h:
5802         Forward declare class Counters in paragraph.h by moving the ctrs member
5803         variable into Paragraph::Pimpl.
5804         (counters): new method, returning a reference to pimpl_->ctrs.
5805
5806         * text2.C: ensuing changes.
5807
5808 2002-08-07  John Levon  <levon@movementarian.org>
5809
5810         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
5811
5812         * BufferView_pimpl.C: announce X selection on double/triple
5813           click
5814
5815         * lyx_main.C: use correct bool in batch dispatch
5816
5817         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
5818
5819 2002-08-07  André Pönitz <poenitz@gmx.net>
5820
5821         * funcrequest.h: new class to wrap a kb_action and its argument
5822
5823         * BufferView.[Ch]:
5824         * BufferView_pimpl[Ch]:
5825         * LaTeX.C:
5826         * LyXAction.[Ch]:
5827         * lyxfunc.[Ch]:
5828         * lyxrc.C: subsequent changes
5829
5830
5831 2002-08-07  John Levon  <levon@movementarian.org>
5832
5833         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
5834           document options change.
5835
5836 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
5837
5838         * counters.[Ch]
5839         * text2.C
5840         * paragraph.[Ch]
5841         * makefile.am: move counters functionality over from
5842         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
5843
5844 2002-08-06  John Levon  <levon@movementarian.org>
5845
5846         * WordLangTuple.h: new file for word + language code tuple
5847
5848         * SpellBase.h:
5849         * pspell.h:
5850         * pspell.C:
5851         * ispell.h:
5852         * ispell.C:
5853         * lyxtext.h:
5854         * text.C:
5855         * text2.C:
5856         * BufferView.h:
5857         * BufferView2.C: use WordLangTuple
5858
5859         * layout.h:
5860         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
5861
5862 2002-08-06  John Levon  <levon@movementarian.org>
5863
5864         * lyx_main.C: fix cmdline batch handling
5865
5866 2002-08-06  André Pönitz <poenitz@gmx.net>
5867
5868         * lyxrc.C: set default for show_banner to true
5869
5870 2002-08-06  John Levon  <levon@movementarian.org>
5871
5872         * pspell.C: fix a crash, and allow new aspell to work
5873
5874 2002-08-06  John Levon  <levon@movementarian.org>
5875
5876         * lyxfunc.C:
5877         * kbmap.C: small cleanup
5878
5879         * vspace.h:
5880         * vspace.C: add const
5881
5882 2002-08-05  John Levon  <levon@movementarian.org>
5883
5884         * LyXAction.C: back to tabular-insert
5885
5886 2002-08-04  John Levon  <levon@movementarian.org>
5887
5888         * BufferView.h:
5889         * BufferView.C: cosmetic change
5890
5891         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
5892
5893         * bufferlist.C:
5894         * buffer.h:
5895         * buffer.C:
5896         * lyxcb.h:
5897         * lyxcb.C:
5898         * lyxserver.C:
5899         * lyxvc.C:
5900         * vc-backend.C:
5901         * BufferView2.C: purge all "Lyx" not "LyX" strings
5902
5903         * lyxcursor.h:
5904         * lyxcursor.C: attempt to add some documentation
5905
5906         * lyxfunc.C:
5907         * commandtags.h:
5908         * LyXAction.C:
5909         * ToolbarDefaults.C:
5910         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
5911           merge with LFUN_TABULAR_INSERT
5912
5913         * Makefile.am:
5914         * SpellBase.h:
5915         * ispell.h:
5916         * ispell.C:
5917         * pspell.h:
5918         * pspell.C: split up i/pspell implementations into separate
5919           files, many cleanups
5920
5921         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
5922
5923         * text2.C: some cleanup
5924
5925         * lyxfunc.C: don't check for isp_command == "none" any more, it
5926           didn't make any sense
5927
5928 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
5929
5930         * counters.[Ch]
5931         * text2.C
5932         * paragraph.[Ch]
5933         * makefile.am: move counters functionality over
5934         from text2.C/paragraph.[Ch] to counters.[Ch], and
5935         make proper C++.
5936 2002-08-02  John Levon  <levon@movementarian.org>
5937
5938         * buffer.C: s/lyxconvert/lyx2lyx/
5939
5940 2002-08-02  Angus Leeming  <leeming@lyx.org>
5941
5942         * lyxlex.C: revert John's change as it breaks reading of the user
5943         preamble.
5944
5945 2002-08-02  Angus Leeming  <leeming@lyx.org>
5946
5947         * importer.C (Import):
5948         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
5949         changes due to LyXView::view() now returning a boost::shared_ptr.
5950
5951 2002-08-02  John Levon  <levon@movementarian.org>
5952
5953         * lyxlex.C: small cleanup
5954
5955 2002-08-02  John Levon  <levon@movementarian.org>
5956
5957         * text2.C (status): small cleanup, no logic change
5958
5959 2002-08-01  John Levon  <levon@movementarian.org>
5960
5961         * buffer.h:
5962         * buffer.C (writeFile): don't output alerts, caller
5963           handles this
5964
5965         * bufferlist.C:
5966         * lyx_cb.C: from above
5967
5968         * lyxfunc.C: allow to open non-existent files
5969
5970 2002-07-31  John Levon  <levon@movementarian.org>
5971
5972         * lyxserver.C: don't let incidental errors get
5973           in the way (errno)
5974
5975 2002-07-30  John Levon  <levon@movementarian.org>
5976
5977         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
5978
5979 2002-07-30  John Levon  <levon@movementarian.org>
5980
5981         * lyxserver.h:
5982         * lyxserver.C: remove I/O callback too
5983
5984 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5985
5986         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
5987         log.
5988
5989 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5990
5991         * many files: strip,frontStrip -> trim,ltrim,rtrim
5992
5993 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
5994
5995         * PrinterParams.h: remove extern containsOnly, and include
5996         support/lstrings.h instead.
5997
5998         * LaTeX.C (scanAuxFile): modify because of strip changes
5999         (deplog): ditto
6000         * buffer.C (makeLaTeXFile): ditto
6001         * bufferparams.C (writeFile): ditt
6002         * lyxfont.C (stateText): ditto
6003         * lyxserver.C (read_ready): ditto
6004         * vc-backend.C (scanMaster): ditto
6005
6006         * BufferView_pimpl.h: ws changes
6007
6008         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
6009
6010 2002-07-26  André Pönitz <poenitz@gmx.net>
6011
6012         * kb_sequence.C: remove unnedred usings
6013
6014 2002-07-26  Juergen Vigna  <jug@sad.it>
6015
6016         * lyxfind.C (LyXReplace): we have to check better if the returned
6017         text is not of theLockingInset()->getLockingInset().
6018
6019 2002-07-25  Juergen Vigna  <jug@sad.it>
6020
6021         * lyxfind.C (LyXReplace): don't replace if we don't get the
6022         right LyXText.
6023
6024         * undo_funcs.C (createUndo): remove debugging code.
6025
6026 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
6027
6028         * buffer.C (parseSingleLyXformat2Token): Use default placement
6029         when reading old floats.
6030
6031         * FloatList.C (FloatList): Change the default placement of figure
6032         and tables to "tbp".
6033
6034 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
6035
6036         * MenuBackend.C: using std::max
6037
6038 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6039
6040         * MenuBackend.C (expandToc):
6041         (expandToc2): code moved from xforms menu frontend. It is now
6042         generic and TOCs are transparent to menu frontends.
6043
6044 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6045
6046         * toc.C (getTocList): protect against buf=0
6047
6048         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
6049         Menu as first parameter. Now, this calls itself recursively to
6050         expand a whole tree (this will be useful for TOC handling)
6051         (expandFloatInsert): remove 'wide' version of floats
6052
6053         * MenuBackend.h (submenuname): returns the name of the submenu.
6054         (submenu): returns the submenu itself, provided it has been
6055         created by MenuBackend::expand
6056
6057 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6058
6059         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
6060         insets which have noFontChange == true. (bug #172)
6061
6062 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6063
6064         * BufferView_pimpl.C: add connection objects and use them...
6065         (Pimpl): here.
6066
6067 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6068
6069         * MenuBackend.C (expandLastfiles):
6070         (expandDocuments):
6071         (expandFormats):
6072         (expandFloatListInsert):
6073         (expandFloatInsert):
6074         (expand): split expand in parts
6075
6076 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
6077
6078         * lyx_gui.C: use lyx_gui::exit()
6079
6080 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
6081
6082         * LyXAction.C: show the failing pseudo action
6083
6084 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
6085
6086         * buffer.C (readFile): Run the lyxconvert script in order to read
6087         old files.
6088
6089 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
6090
6091         * LyXAction.C:
6092         * commandtags.h:
6093         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
6094
6095 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
6096
6097         * LyXAction.C:
6098         * commandtags.h:
6099         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
6100
6101 2002-07-22  Herbert Voss  <voss@lyx.org>
6102
6103         * lengthcommon.C:
6104         * lyxlength.[Ch]: add support for the vertical lengths
6105
6106 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
6107
6108         * toc.[Ch]: std:: fixes
6109
6110 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6111
6112         * lyxrc.C: do not include lyx_main.h
6113
6114         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
6115         for layouts
6116
6117         * lyxrc.C:
6118         * encoding.C:
6119         * bufferlist.C:
6120         * BufferView2.C: include "lyxlex.h"
6121
6122         * tabular.h:
6123         * bufferparams.h: do not #include "lyxlex.h"
6124
6125         * lyxtextclasslist.C (Add): remove method
6126         (classlist): renamed to classlist_
6127
6128         * paragraph_pimpl.C:
6129         * paragraph.C:
6130         * text2.C:
6131         * CutAndPaste.C:
6132         * bufferview_funcs.C:
6133         * bufferlist.C:
6134         * text.C:
6135         * LaTeXFeatures.C:
6136         * buffer.C:
6137         * toc.C (getTocList): use BufferParams::getLyXTextClass
6138
6139         * toc.C (getTocList): use InsetFloat::addToToc
6140
6141         * toc.[Ch]: new files, containing helper functions to handle table
6142         of contents
6143
6144         * lyxfunc.C (dispatch): no need to remove spaces around command
6145         given as a string
6146         (getStatus): handle LFUN_SEQUENCE by returning the status of the
6147         first command of the sequence; it is not very clever, but I do not
6148         have a better idea, actually
6149
6150         * LyXAction.C (LookupFunc): make sure to remove space at the
6151         beginning and end of the command
6152
6153 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6154
6155         * MenuBackend.C (getMenubar): new method: return the menubar of
6156         this menu set
6157         (read): treat differently reading of menu and menubar (in
6158         particular, the menubar has no name now)
6159         (Menu::menubar): remove
6160
6161         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
6162         saving is finished
6163
6164 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
6165
6166         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
6167         a bibitem inset in a RTL paragraph.
6168
6169 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
6170
6171         * paragraph_pimpl.C: constify
6172
6173         * BufferView_pimpl.C:
6174         * LaTeX.C:
6175         * lyxfunc.C: fix dispatch in a nicer way
6176
6177 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6178
6179         * lyxfunc.C (dispatch):
6180         * BufferView_pimpl.C:
6181         * BufferView_pimpl.h:
6182         * BufferView.C:
6183         * BufferView.h: rename Dispatch() to dispatch()
6184
6185         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
6186
6187         * lyxlayout.C (Read): honor DependsOn tag
6188
6189         * lyxlayout.[Ch] (depends_on): new method
6190
6191         * version.C.in: update lyx_docversion
6192
6193         * LaTeXFeatures.C (getMacros): only define \LyX when needed
6194
6195         * paragraph.C (validate): remove from here...
6196         * paragraph_pimpl.C (validate): ... and move here
6197         (isTextAt): make it const
6198
6199         * buffer.C (getLists): ws cleanup
6200
6201 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
6202
6203         * language.C (read): Use iso8859-1 encoding in latex_lang
6204         (this prevents LyX from crashing when using iso10646-1 encoding).
6205
6206 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6207
6208         * text2.C (toggleInset): if cursor is inside an inset, close the
6209         inset and leave cursor _after_ it
6210
6211 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
6212
6213         * lyxfunc.C: move minibuffer completion handling out of here
6214
6215 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
6216
6217         * BufferView_pimpl.C:
6218         * LaTeX.C: fix dispatch calls
6219
6220 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
6221
6222         * text.C (drawChars): Fix Arabic text rendering.
6223
6224 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
6225
6226         * LyXAction.C:
6227         * commandtags.h:
6228         * lyxfunc.C: remove message-push/pop
6229
6230         * lyxserver.C:
6231         * lyxfunc.h:
6232         * lyxfunc.C: rationalise some code by removing verboseDispatch
6233           in favour of a bool argument to dispatch()
6234
6235 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6236
6237         * lyx_main.C (init): make sure to read symlinks as absolute paths
6238
6239 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
6240
6241         * lyxfunc.h:
6242         * lyxfunc.C: no need for commandshortcut to be a member
6243
6244 2002-07-15  André Pönitz <poenitz@gmx.net>
6245
6246         * converter.C: add support for $$s (scripts from lib/scripts dir)
6247         * lyx_main.C: white space
6248
6249 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
6250
6251         * bufferlist.C:
6252         * lyxrc.h:
6253         * lyxrc.C: remove second exit confirmation
6254
6255 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
6256
6257         * BufferView.h:
6258         * BufferView.C:
6259         * BufferView2.C:
6260         * BufferView_pimpl.h:
6261         * BufferView_pimpl.C:
6262         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
6263
6264 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6265
6266         * MenuBackend.C (expand): add numeric shortcuts to document menu
6267
6268         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
6269
6270 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6271
6272         * lyxfont.C (setLyXFamily):
6273         (setLyXSeries):
6274         (setLyXShape):
6275         (setLyXSize):
6276         (setLyXMisc):
6277         (lyxRead):
6278         * debug.C (value):
6279         * buffer.C (asciiParagraph): use ascii_lowercase
6280
6281 2002-07-15  Mike Fabian  <mfabian@suse.de>
6282
6283         * lyxlex_pimpl.C (search_kw):
6284         * lyxlex.C (getLongString):
6285         * converter.h (operator<):
6286         * converter.C (operator<):
6287         * buffer.C (parseSingleLyXformat2Token):
6288         (asciiParagraph):
6289         * ToolbarDefaults.C (read):
6290         * MenuBackend.C (checkShortcuts):
6291         (read):
6292         * LColor.C (getFromGUIName):
6293         (getFromLyXName): use the compare_ascii_no_case instead of
6294         compare_no_case, because in turkish, 'i' is not the lowercase
6295         version of 'I', and thus turkish locale breaks parsing of tags.
6296
6297 2002-07-16  Angus Leeming  <leeming@lyx.org>
6298
6299         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
6300         now takes a Buffer const & argument.
6301
6302 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
6303
6304         * BufferView.C (resize): check there's a buffer to resize
6305
6306 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
6307
6308         * lyxfunc.C: remove dead code
6309
6310         * lyxserver.h:
6311         * lyxserver.C: use lyx_guii::set_read_callback
6312
6313 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
6314
6315         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
6316         an inset in a RTL paragraph.
6317
6318 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
6319
6320         * lyxfunc.C: repaint after a font size update
6321
6322 2002-07-15  André Pönitz <poenitz@gmx.net>
6323
6324         * lyxlength.C: inBP should be able to return negative values
6325
6326 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
6327
6328         * lyxfunc.C: use lyx_gui::update_fonts()
6329
6330 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
6331
6332         * lyxfunc.C: use lyx_gui::update_color()
6333
6334 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
6335
6336         * bufferlist.C:
6337         * lyxfunc.h:
6338         * lyxfunc.C:
6339         * lyxrc.h:
6340         * lyxrc.C: remove file->new asks for name option, and let
6341           buffer-new take an argument
6342
6343 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
6344
6345         * BufferView_pimpl.C: remove unneeded extra repaint()
6346
6347 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
6348
6349         * LyXAction.C: allow command-sequence with NoBuffer
6350
6351         * lyxfunc.C: don't insist on trailing ';' for command-sequence
6352
6353 2002-07-10  Angus Leeming  <leeming@lyx.org>
6354
6355         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
6356
6357 2002-07-09  Angus Leeming  <leeming@lyx.org>
6358
6359         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
6360
6361 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
6362
6363         * lengthcommon.h: whitespace
6364
6365         * lyxfunc.C: update scrollbar after goto paragraph
6366
6367         * lyxtext.h: factor out page break drawing, and fix it so
6368           page break/added space paints as selected nicely
6369
6370 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
6371
6372         * BufferView_pimpl.C: add FIXMEs, clean up a little
6373
6374 2002-07-09  André Pönitz <poenitz@gmx.net>
6375
6376         * lyxfont.[Ch]: support for wasy symbols
6377
6378 2002-07-08  André Pönitz <poenitz@gmx.net>
6379
6380         * BufferView_pimpl.C: apply John's patch for #93.
6381
6382 2002-07-05  Angus Leeming  <leeming@lyx.org>
6383
6384         * BufferView_pimpl.C (buffer): generate previews if desired.
6385
6386         * LColor.h: add "preview" to the color enum.
6387
6388         * LColor.C (LColor): add a corresponding entry to the items array.
6389
6390         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
6391         with this buffer.
6392
6393 2002-07-05  Angus Leeming  <leeming@lyx.org>
6394
6395         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
6396         The body of the code is now in the method that is passed an ostream &
6397         rather than a file name.
6398         Pass an additional only_preamble parameter, useful for the forthcoming
6399         preview stuff.
6400
6401 2002-07-03  André Pönitz <poenitz@gmx.net>
6402
6403         * lyxfunc.C: simplify getStatus() a bit for math stuff
6404
6405 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6406
6407         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
6408
6409 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6410
6411         * text.C (changeRegionCase): do not change case of all the
6412         document when region ends at paragraph end (bug #461)
6413
6414 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6415
6416         * paragraph.C (startTeXParParams):
6417         (endTeXParParams): add \protect when necessary
6418
6419 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6420
6421         * BufferView_pimpl.C (workAreaExpose): remove warning
6422
6423 2002-06-27  Angus Leeming  <leeming@lyx.org>
6424
6425         * Makefile.am: add lyxlayout_ptr_fwd.h.
6426
6427 2002-06-26  André Pönitz <poenitz@gmx.net>
6428
6429         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
6430
6431 2002-06-25  Angus Leeming  <leeming@lyx.org>
6432
6433         * lyxfunc.C (dispatch): Comment out the call to
6434         grfx::GCache::changeDisplay. The method no longer exists now that the
6435         pixmap generation part of the graphics loader has been moved into
6436         InsetGraphics.
6437
6438 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6439
6440         * text2.C: layout as layout
6441
6442         * text.C: layout as layout
6443
6444         * tabular.C (OldFormatRead): layout as layout
6445
6446         * paragraph_pimpl.C (TeXDeeper): layout as layout
6447         (realizeFont): layout as layout
6448
6449         * paragraph.C (writeFile): layout as layout
6450         (validate): layout as layout
6451         (getFont): layout as layout
6452         (getLabelFont): layout as layout
6453         (getLayoutFont): layout as layout
6454         (breakParagraph): layout as layout
6455         (stripLeadingSpaces): layout as layout
6456         (getEndLabel): layout as layout
6457         (getMaxDepthAfter): layout as layout
6458         (applyLayout): layout as layout
6459         (TeXOnePar): layout as layout
6460         (simpleTeXOnePar): layout as layout
6461         (TeXEnvironment): layout as layout
6462         (layout): layout as layout
6463         (layout): layout as layout
6464
6465         * lyxtextclass.C (compare_name): new functor to work with
6466         shared_ptr, layout as layout
6467         (Read): layout as layout
6468         (hasLayout): layout as layout
6469         (operator): layout as layout
6470         (delete_layout): layout as layout
6471         (defaultLayout): layout as layout
6472
6473         * lyxlayout_ptr_fwd.h: new file
6474
6475         * lyxlayout.C (Read): layout as layout
6476
6477         * lyx_cb.C (MenuInsertLabel): layout as layout
6478
6479         * bufferlist.C (newFile): layout as layout
6480
6481         * buffer.C (readLyXformat2): layout as layout
6482         (parseSingleLyXformat2Token): layout as layout
6483         (insertStringAsLines): layout as layout
6484         (asciiParagraph): layout as layout
6485         (latexParagraphs): layout as layout
6486         (makeLinuxDocFile): layout as layout
6487         (simpleLinuxDocOnePar): layout as layout
6488         (makeDocBookFile): layout as layout
6489         (simpleDocBookOnePar): layout as layout
6490         (getLists): layout as layout
6491
6492         * LaTeXFeatures.C (getTClassPreamble): layout as layout
6493
6494         * CutAndPaste.C (cutSelection): layout as layout
6495         (pasteSelection): layout as layout
6496         (SwitchLayoutsBetweenClasses): layout as layout
6497
6498         * BufferView_pimpl.C (Dispatch): layout as layout
6499         (smartQuote): layout as layout
6500
6501         * BufferView2.C (unlockInset): layout as layout
6502
6503 2002-06-24  André Pönitz <poenitz@gmx.net>
6504
6505         * lyxfunc.C: fix #487
6506
6507 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
6508
6509         * lyxrc.h:
6510         * lyxrc.C:
6511         * lyxfunc.C: remove display_shortcuts, show_banner
6512
6513 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
6514
6515         * Buffer_pimpl.C: oops, update on resize
6516
6517 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
6518
6519         * buffer.C:
6520         * converter.C:
6521         * exporter.C:
6522         * lyxfunc.C:
6523         * BufferView.h:
6524         * BufferView.C: use repaint()
6525
6526         * BufferView_pimpl.h:
6527         * BufferView_pimpl.C: s/updateScreen()/repaint()/
6528           as it's a clearer description. Remove superfluous
6529           redraws.
6530
6531 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
6532
6533         * text.C: fix bug 488. Not ideal, but getting
6534           getWord() to work properly for the insets that
6535           matter is more difficult ...
6536
6537 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
6538
6539         * BufferView_pimpl.C:
6540         * LyXAction.C:
6541         * commandtags.h:
6542         * lyxfunc.C: remove the six million index lyxfuncs to just
6543           one, and DTRT (bug 458)
6544
6545 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
6546
6547         * BufferView.h:
6548         * BufferView.C:
6549         * BufferView_pimpl.h:
6550         * BufferView_pimpl.C: clean up resize() stuff,
6551           and unnecessary updateScreen()s
6552
6553 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
6554
6555         * BufferView.h:
6556         * BufferView.C:
6557         * BufferView_pimpl.h:
6558         * BufferView_pimpl.C:
6559         * lyxfind.h:
6560         * lyxfind.C:
6561         * minibuffer.C: remove focus management of workarea,
6562           not needed. Use screen's greyOut()
6563
6564 2002-06-17  Herbert Voss  <voss@lyx.org>
6565
6566         * converter.C: (convert) do not post a message, when converting
6567         fails, let the calling function decide what to do in this case
6568
6569 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
6570
6571         * lyxfunc.C: tidy up a little
6572
6573 2002-06-16    <alstrup@diku.dk>
6574
6575         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
6576         Got rid of FORMS_H_LOCATION include. Now we are
6577         GUII.
6578
6579 2002-06-15  LyX Development team  <lyx@rilke>
6580
6581         * buffer.[Ch] (sgmlOpenTag):
6582         (sgmlCloseTag): Added support for avoiding pernicious mixed
6583         content. Return number of lines written.
6584
6585         (makeLinuxDocFile):
6586         (makeDocBookFile): Fixed calls to sgml*Tag.
6587         Simple white space clean.
6588
6589         (simpleDocBookOnePar): Simple white space clean.
6590
6591         * tabular.[Ch] (docBook): Renamed to docbook and got another
6592         argument to related with the pernicious mixed content.
6593
6594         (docbookRow): Fixed calls for docbook inset method.
6595
6596 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
6597
6598         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
6599         so it's X11 independent.
6600
6601         * kb*.[Ch]: ditto.
6602
6603         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
6604
6605 2002-06-15  Lyx Development team  <lyx@electronia>
6606
6607         * intl.h: Renamed getTrans to getTransManager.
6608
6609 2002-06-14  Angus Leeming  <leeming@lyx.org>
6610
6611         * Makefile.am: nuke forgotten stl_string_fwd.h.
6612
6613 2002-06-12  Angus Leeming  <leeming@lyx.org>
6614
6615         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
6616
6617 2002-06-13  Angus Leeming  <leeming@lyx.org>
6618
6619         * LaTeX.C:
6620         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
6621
6622 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
6623
6624         * kbmap.C (getiso): add support for cyrillic and greek
6625
6626 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
6627
6628         * BufferView.h:
6629         * BufferView.C:
6630         * BufferView_pimpl.h:
6631         * BufferView_pimpl.C: move bogus scrolling logic
6632           to xforms
6633
6634 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
6635
6636         * lyxfunc.C:
6637         * BufferView_pimpl.C: view->resize() change
6638
6639 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
6640
6641         * BufferView_pimpl.C: topCursorVisible
6642           prototype change
6643
6644 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
6645
6646         * Makefile.am:
6647         * lyx_gui.h:
6648         * lyx_gui.C: move to frontends/
6649
6650         * main.C:
6651         * lyx_main.h:
6652         * lyx_main.C: changes from above
6653
6654 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
6655
6656         * intl.C:
6657         * intl.h:
6658         * kbmap.C:
6659         * kbsequence.C:
6660         * lyx_cb.C:
6661         * lyx_main.C: minor tidy
6662
6663 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
6664
6665         * BufferView_pimpl.h:
6666         * BufferView_pimpl.C:
6667         * BufferView.h:
6668         * BufferView.C: make painter() const,
6669           remove dead code
6670
6671         * BufferView2.C: use screen() accessor
6672
6673         * lyx_main.h:
6674         * lyx_main.C: some minor cleanup
6675
6676 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
6677
6678         * BufferView_pimpl.h:
6679         * BufferView_pimpl.C: remove enter/leaveView,
6680           use workHeight()
6681
6682 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
6683
6684         * BufferView.h:
6685         * BufferView.C:
6686         * BufferView2.C:
6687         * BufferView_pimpl.h:
6688         * BufferView_pimpl.C: only construct screen once,
6689           rename
6690
6691         * lyxrc.C: remove pointless comment
6692
6693 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
6694
6695         * BufferView.h:
6696         * BufferView.C: remove active() and belowMouse()
6697
6698         * BufferView_pimpl.h:
6699         * BufferView_pimpl.C: use workarea() not workarea_,
6700           and make it use a scoped_ptr instead
6701
6702 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
6703
6704         * lyx_gui.C: add debug message on BadWindow
6705
6706 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6707
6708         * sp_spell.C: fdopen is not part of the C++ standard.
6709
6710         * paragraph.C (InsetIterator): use >= instead of ==
6711
6712 2002-06-07  Angus Leeming  <leeming@lyx.org>
6713
6714         Fixes needed to compile with Compaq cxx 6.5.
6715         * BufferView_pimpl.C:
6716         * DepTable.C:
6717         * buffer.C:
6718         * converter.C:
6719         * encoding.C:
6720         * lyx_gui.C:
6721         * lyx_main.C:
6722         * lyxtextclasslist.C:
6723         * minibuffer.C:
6724         * sp_spell.C:
6725         * tabular_funcs.C:
6726         * vc-backend.C:
6727         all c-library variables have been moved into namespace std. Wrap
6728         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
6729
6730         * lyxlength.C:
6731         * tabular-old.C:
6732         * tabular.C:
6733         Add a using std::abs declaration.
6734
6735         * kbmap.h (modifier_pair):
6736         * paragraph.h (InsetTable, InsetList):
6737         * lyxfont.h (FontBits):
6738         type definition made public.
6739
6740         * bufferlist.C (emergencyWriteAll): the compiler complains that
6741         there is more than one possible lyx::class_fun template to choose from.
6742         I re-named the void specialisation as lyx::void_class_fun.
6743
6744         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
6745
6746         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
6747         the compiler is is unable to find tostr in write_attribute.
6748
6749 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6750
6751         * buffer.C (sgmlError): hide #warning
6752
6753 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6754
6755         * xtl/*: get rid of xtl, which is not in use anyway
6756
6757         * LyXAction.C (init):
6758         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
6759         were unimplemented xtl experimentation
6760
6761 2002-06-04  André Pönitz <poenitz@gmx.net>
6762
6763         * lyxfunc.C: disable array operation on simple formulae
6764
6765 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
6766
6767         * converter.C: constify a bit
6768
6769 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
6770
6771         * lyx_gui.C: check xforms version correctly
6772
6773 2002-04-30  Herbert Voss  <voss@lyx.org>
6774
6775         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
6776         "keep" option
6777
6778 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
6779
6780         * lyxvc.C: fix bug 416 (make sure buffer is saved before
6781           attempt to register it with a VCS)
6782
6783 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6784
6785         * lyx_main.C (init): honor variables LYX_DIR_13x and
6786         LYX_USERDIR_13x
6787
6788 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
6789
6790         * buffer.h:
6791         * buffer.C:
6792         * lyx_main.C: fix a crash on bad command line,
6793           and give a useful exit status on error
6794
6795         * lyxfunc.C (doImport): allow -i lyx to work
6796
6797 2002-03-30  André Pönitz <poenitz@gmx.net>
6798
6799         * lyxfunc.C: mathed font changes
6800
6801 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
6802
6803         * LaTeX.C:
6804         * importer.h:
6805         * importer.C:
6806         * lyx_sty.h:
6807         * lyx_sty.C:
6808         * lyxlex.C:
6809         * lyxrow.h:
6810         * lyxtext.h:
6811         * paragraph.h:
6812         * paragraph.C:
6813         * texrow.h:
6814         * texrow.C:
6815         * text.C:
6816         * trans_mgr.h: srcdocs, and some minor cleanups
6817
6818 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6819
6820         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
6821         call getFont all the time)
6822
6823 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6824
6825         * switch from SigC signals to boost::signals
6826
6827 2002-05-29  André Pönitz <poenitz@gmx.net>
6828
6829         * paragraph_pimpl.C (getChar): don't call size() too often...
6830
6831 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6832
6833         * paragraph_pimpl.C (insertChar): do not try to update tables when
6834         appending (pos == size())
6835
6836         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
6837         in order to reduce drastically the number of comparisons needed to
6838         parse a large document
6839
6840 2002-05-29  André Pönitz <poenitz@gmx.net>
6841
6842         * text.C:
6843         * text2.C:
6844         * lyxtextclass.C:
6845         * sp_pspell.h:
6846         * textclasslist.[Ch]:
6847         * sp_ispell.h: whitespace change
6848
6849 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6850
6851         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
6852         lyxaction directly now.
6853
6854 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
6855
6856         * trans.C:
6857         * lyxfont.C:
6858         * lyxvc.C: remove unused headers
6859
6860 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
6861
6862         * Makefile.am:
6863         * buffer.h:
6864         * undostack.h:
6865         * undostack.C:
6866         * undo_funcs.h:
6867         * undo_funcs.C: some cleanups. Use shared_ptr
6868           and a template for the undo stacks.
6869
6870 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
6871
6872         * BufferView_pimpl.h:
6873         * BufferView_pimpl.C:
6874         * kbmap.h:
6875         * kbmap.C:
6876         * kbsequence.h:
6877         * kbsequence.C:
6878         * lyxfunc.h:
6879         * lyxfunc.C:
6880         * text2.C: use key_state/mouse_state
6881
6882 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6883
6884         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
6885         and LSubstring
6886
6887         * chset.C: change include order
6888         (loadFile): use boost regex and get rid of LRegex and LSubstring
6889
6890         * Makefile.am (BOOST_LIBS): new variable
6891         (lyx_LDADD): use it
6892
6893         * LaTeX.C: change include order.
6894         (scanAuxFile): use boost regex and get rid of LRegex and
6895         LSubstring
6896         (deplog): ditto
6897
6898 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
6899
6900         * ColorHandler.h:
6901         * ColorHandler.C:
6902         * FontInfo.h:
6903         * FontInfo.C: moved to frontends/xforms/
6904
6905         * FontLoader.h:
6906         * FontLoader.C: moved into frontends for GUIIzation
6907
6908         * Makefile.am:
6909         * lyx_gui.C:
6910         * lyxfont.C:
6911         * lyxfunc.C: changes from above
6912
6913 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
6914
6915         * LColor.C: remove spurious X include
6916
6917         * BufferView_pimpl.C:
6918         * Makefile.am:
6919         * font.h:
6920         * font.C:
6921         * text.C:
6922         * text2.C: move font metrics to frontends/
6923
6924 2002-05-24  Juergen Vigna  <jug@sad.it>
6925
6926         * undo_funcs.C (textHandleUndo): fix the cursor selection after
6927         setting the undo_cursor.
6928
6929         * ParagraphParameters.h: include local includes first.
6930
6931 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
6932
6933         * BufferView_pimpl.C:
6934         * BufferView_pimpl.h:
6935         * Makefile.am:
6936         * WorkArea.h:
6937         * WorkArea.C:
6938         * screen.C: move WorkArea into frontends/
6939
6940         * lyxscreen.h:
6941         * screen.C:
6942         * text.C:
6943         * BufferView.C:
6944         * BufferView2.C: move LyXScreen into frontends/
6945
6946         * lyxlookup.h:
6947         * lyxlookup.C:
6948         * lyx_gui.C: move lyxlookup into frontends/xforms/
6949
6950 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
6951
6952         * BufferView2.C:
6953         * BufferView_pimpl.C:
6954         * FontLoader.C:
6955         * LyXView.h:
6956         * LyXView.C:
6957         * Makefile.am:
6958         * WorkArea.C:
6959         * XFormsView.h:
6960         * XFormsView.C:
6961         * buffer.C:
6962         * bufferlist.C:
6963         * bufferview_funcs.C:
6964         * converter.C:
6965         * importer.C:
6966         * lyx_cb.C:
6967         * lyx_gui.C:
6968         * lyx_main.C:
6969         * lyx_find.C:
6970         * lyxfunc.C:
6971         * lyxvc.C:
6972         * minibuffer.C:
6973         * text.C:
6974         * text2.C:
6975         * trans.C:
6976         * vc-backend.C: move LyX/XFormsView into frontends/
6977
6978 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
6979
6980         * Makefile.am:
6981         * PainterBase.C:
6982         * PainterBase.h:
6983         * Painter.C:
6984         * Painter.h:
6985         * WorkArea.C:
6986         * WorkArea.h:
6987         * screen.C:
6988         * tabular.C:
6989         * text.C:
6990         * text2.C: move Painter to frontends/
6991
6992 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6993
6994         * buffer.C: comment out some some code that depend upon lyx_format
6995         < 220
6996
6997         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
6998         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
6999
7000         * buffer.h (NO_COMPABILITY): turn off compability
7001
7002         * ColorHandler.C: include scoped_array.hpp
7003
7004         * font.C: Use more specific smart_ptr header.
7005         * Painter.C: ditto
7006         * gettext.C: ditto
7007         * ShareContainer.h: ditto
7008         * lyx_main.h: ditto
7009         * kbmap.h: ditto
7010         * FontInfo.h: ditto
7011         * BufferView_pimpl.h: ditto
7012         * ColorHandler.h: ditto
7013
7014         * kbmap.C (defkey): change call to shared_ptr::reset
7015
7016 2002-05-21  Juergen Vigna  <jug@sad.it>
7017
7018         * buffer.C (insertErtContents): fix to insert ert asis if it is
7019         non empty. Skip it completely if it contains only whitespaces.
7020
7021 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
7022
7023         * BufferView_pimpl.C:
7024         * BufferView2.C: clear selection on paste (bug 393)
7025
7026 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7027
7028         * DepTable.C: include ctime
7029
7030 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
7031
7032         * buffer.C (latexParagraphs): Add new argument (moving_arg).
7033
7034 2002-05-14  Juergen Vigna  <jug@sad.it>
7035
7036         * text.C (breakParagraph): fixed function to honor the keepempty
7037         layout in the right maner and also to permit the right breaking
7038         algorithm on empty or non empyt keepempty paragraphs.
7039
7040         * paragraph.C (breakParagraph): we have to check also if the par
7041         is really empty (!size()) for isempty otherwise we do the wrong
7042         paragraph break.
7043
7044 2002-05-10  Juergen Vigna  <jug@sad.it>
7045
7046         * buffer.[Ch] : The following are only changes to the ert
7047         compatibility read reading old LaTeX layout and font stuff and
7048         convert it to ERTInsets.
7049
7050         * buffer.h: added isErtInset().
7051
7052         * buffer.C (struct ErtComp): add a fromlayout bool to check
7053         if we're inside a LaTeX layout.
7054         (isErtInset): new helper function.
7055         (insertErtContents): look for other ert insets before this one
7056         and insert the contents there, so that we don't have subsequent
7057         ERT insets with nothing between them. This way we create only one
7058         inset with multiple paragraphs. Also check if we don't insert only
7059         spaces ' ' as they are ignored anyway afterwards in the .tex file
7060         so if we have only spaces we will ignore this latex part in the
7061         new file.
7062         (parseSingleLyXformat2Token \\layout): better compatibility when
7063         reading layout-latex stuff.
7064         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
7065         language tag.
7066         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
7067         stuff after reading the inset only get the information back from
7068         the stack.
7069
7070 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
7071
7072         * buffer.C (makeLaTeXFile): Put language options after loading babel.
7073
7074         * LaTeXFeatures.C (getBabelOptions): New method.
7075
7076 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7077
7078         * BufferView_pimpl.C (Dispatch): work around missing argument for
7079         'layout'
7080
7081 2002-05-08  Juergen Vigna  <jug@sad.it>
7082
7083         * text.C (leftMargin): handle paragraph leftindent.
7084
7085         * paragraph.C (writeFile): write the new \\leftindent tag.
7086         (validate): handle leftindent code.
7087         (TeXEnvironment): handle paragraphleftindent code again.
7088
7089         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
7090
7091         * buffer.C (parseSingleLyXformat2Token): added compatibility code
7092         for paragrap_extra indent code and new token \\leftindent.
7093         (latexParagraphs): handle the leftindent as environment.
7094
7095         * ParameterStruct.h: added leftindent support.
7096
7097         * ParagraphParameters.C (leftIndent): added support functions for
7098         the paragraph left indent.
7099
7100         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
7101         more appropriate.
7102
7103 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
7104
7105         * paragraph.C (isRightToLeftPar): Return false for a paragraph
7106         inside insetERT.
7107
7108         * text.C (computeBidiTables): No bidi in insetERT.
7109
7110         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
7111         in RTL documents.
7112
7113 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7114
7115         * version.C.in: pre 5
7116
7117 2002-05-02  José Matos  <jamatos@fep.up.pt>
7118         * buffer.C (makeDocBookFile): white space changes, add newline to
7119         command styles.
7120         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
7121
7122         * tabular.C (docBook): fix typo.
7123
7124 2002-05-03  Juergen Vigna  <jug@sad.it>
7125
7126         * screen.C (drawFromTo): recalculate the rowpointer if we had a
7127         change in LyXText as we can not be sure it was not freed.
7128         (drawOneRow): remove unused code.
7129
7130         * text.C (drawInset): redo the calculation of the need_break_row as
7131         it could have a row which was already freed.
7132         (draw): look at the return value of drawInset and return false if
7133         it also returned false.
7134         (paintRowText): look at the return value of draw and return false if
7135         it also returned false.
7136
7137         * lyxtext.h: added bool return type to drawInset() and draw() so that
7138         if we have a change in the row so that the rowbreak has to be redone
7139         we abort drawing as it will be called again.
7140
7141 2002-05-02  Juergen Vigna  <jug@sad.it>
7142
7143         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
7144         a change in the maintext also if we're inside an inset.
7145         (Dispatch): set the cursor again after a break line and after the
7146         screen has been updated as it could be we're in a different row.
7147
7148         * text2.C (fixCursorAfterDelete): check to make sure we don't request
7149         to set the cursor behind the pargraph with > size().
7150         (setCursor): check also for the same paragraph when checking where
7151         to put the cursor if we have a NFR inset.
7152
7153         * buffer.C (parseSingleLyXformat2Token): move the compatibility
7154         parts of layout read further up as it still was in the wrong
7155         position.
7156
7157 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7158
7159         * screen.C (drawFromTo): change sine fullRebreak always return
7160         true.
7161
7162         * buffer.C (parseSingleLyXformat2Token): reindent some
7163
7164         * BufferView_pimpl.C (update): change since fullRebreak always
7165         return true.
7166         (Dispatch): git rid of the last hardcoded "Standard"s.
7167
7168 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7169
7170         * text2.[Ch] (fullRebreak): make it return void now that we always
7171         returned true.
7172
7173 2002-04-30  Juergen Vigna  <jug@sad.it>
7174
7175         * buffer.C (parseSingleLyXformat2Token): reset the font before the
7176         ert compatibility check for "latex" layout.
7177
7178 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
7179
7180         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
7181         minipages: use col% instead of p%, and also use the current font.
7182         (makeLaTeXFile): Fix use babel condition.
7183         (parseSingleLyXformat2Token): Correct font when reading old floats.
7184
7185 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
7186
7187         * BufferView_pimpl.C (Dispatch): Check that float type exists when
7188         inserting list of floats.
7189
7190 2002-04-25  Herbert Voss  <voss@lyx.org>
7191
7192         * MenuBackend.C (expand): don't add the graphics extensions to the
7193         export menu
7194
7195 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7196
7197         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
7198         non-existing layout, do not complain if it was the default layout
7199         of the original class (bug #342)
7200
7201 2002-04-24  Juergen Vigna  <jug@sad.it>
7202
7203         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
7204         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
7205
7206 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
7207
7208         * buffer.C (getBibkeyList): If using \bibliography, return the
7209         option field with the reference itself. Enables us to provide natbib
7210         support when using \bibliography.
7211
7212 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
7213
7214         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
7215
7216         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
7217         natbib is provided by the LaTeX class.
7218
7219 2002-04-23  Juergen Vigna  <jug@sad.it>
7220
7221         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
7222         Wakeup functions.
7223
7224         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
7225
7226 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7227
7228         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
7229
7230         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
7231         ensuremath around textordmasculine, textordfeminine and
7232         textdegree.
7233
7234 2002-04-19  Juergen Vigna  <jug@sad.it>
7235
7236         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
7237         reinitializing the buffer otherwise row-dimensions may be wrong.
7238         (update): reset also the selection cursors if they do exits otherwise
7239         their x/y positions may be wrong.
7240
7241         * text2.C (cursorDown): don't enter the inset if we came from a row
7242         above and are one row over the inset.
7243
7244         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
7245         really leaving an inset.
7246
7247 2002-04-18  Juergen Vigna  <jug@sad.it>
7248
7249         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
7250         of the selected paragraph does not have the selected layout also if
7251         the last one had!
7252
7253         * text2.C (setLayout): fixed bug which did not change last selected
7254         paragraph.
7255
7256         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
7257         changed the read and substituted \\end_float with \\end_inset!
7258
7259         * BufferView_pimpl.C (cursorPrevious):
7260         (cursorNext): fixed to make it work with rows heigher than the work
7261         area without moving the cursor only the draw of the row.
7262         (workAreaMotionNotify): fix jumping over high rows.
7263
7264 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7265
7266         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
7267         Ressler.
7268
7269 2002-04-16  Juergen Vigna  <jug@sad.it>
7270
7271         * text2.C (setCursor): set also the irow().
7272         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
7273         (cursorUp):
7274         (cursorDown): support for locking an inset if the x_fix value goes
7275         inside it. That way I can transverse insets too with cursor up/down.
7276
7277         * lyxrow.h: added irow helper function same as other (i) functions.
7278
7279         * BufferView_pimpl.C (cursorPrevious):
7280         (cursorNext): fixed for insets!
7281
7282 2002-04-15  Juergen Vigna  <jug@sad.it>
7283
7284         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
7285         position otherwise it is wrong in some cases.
7286
7287         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
7288         inside the inset before the call.
7289
7290 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
7291
7292         * buffer.[Ch] (getBibkeyList): make it const.
7293
7294 2002-04-12  Juergen Vigna  <jug@sad.it>
7295
7296         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
7297
7298         * text2.C (getCursorX): new helper function
7299         (setCursor): compute also ix_
7300         (setCursorFromCoordinates): set also ix.
7301
7302         * lyxcursor.h: added ix_ and helper functions.
7303
7304         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
7305
7306         * buffer.C (insertStringAsLines): dont break paragraph if the this
7307         paragraph is inside an inset which does not permit it!
7308
7309         * text.C (breakParagraph): honor keepempty flag and break the paragraph
7310         also with no chars on this paragraph.
7311         (paintRowText): only paint stuff if it's inside the workarea!
7312
7313         * paragraph.C (breakParagraph): honor keepempty flag and break the
7314         paragraph always below not above.
7315
7316         * BufferView2.C (unlockInset): update the paragraph layout on inset
7317         unlock as we changed paragraph in such a case.
7318
7319         * lyxfind.C (LyXFind): clear the former selection if not found!
7320
7321         * text2.C (insertInset): freeze Undo after setUndo so that it is not
7322         again called in insertChar().
7323
7324         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
7325         an inset which uses the whole row!
7326         (rightMargin): ditto.
7327         (insertChar): force a rebreak if we inserted an inset!
7328
7329 2002-03-28  Herbert Voss  <voss@lyx.org>
7330
7331         * lyxlength.[Ch]: add inBP() to get the right PS-point
7332         units (BigPoint). With inPixels we have rounding errors
7333
7334 2002-04-11  Juergen Vigna  <jug@sad.it>
7335
7336         * text2.C (setCursorFromCoordinates): set iy to the right value.
7337         (setCursor): add check if row->previous exists!
7338
7339         * buffer.C (parseSingleLyXformat2Token): reset font after read of
7340         an old float_type as this was the case in the old code!
7341
7342         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
7343
7344         * BufferView2.C (showLockedInsetCursor): use iy
7345         (fitLockedInsetCursor): ditto
7346
7347         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
7348         locked insets as there we have the right value now.
7349
7350         * lyxcursor.C: added iy_ variable and iy functions to set to the
7351         baseline of cursor-y of the locked inset.
7352
7353         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
7354         (setCursor): fixed for insets which need a full row.
7355
7356         * text.C (rowLastPrintable): don't ignore the last space when before
7357         an inset which needs a full row.
7358         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
7359         as last character of a row when before a inset which needs a full row.
7360
7361 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7362
7363         * version.C.in: update date
7364
7365         * text2.C (fullRebreak): try to always return true and see what
7366         happens...
7367
7368 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7369
7370         * MenuBackend.C (expand): use Floating::listName
7371
7372         * FloatList.C (FloatList): add listName argument to the built-in
7373         floats
7374
7375         * Floating.[Ch]: add listName member, which is the 'List of XXX'
7376         text associated with the float.
7377
7378 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7379
7380         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
7381
7382 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7383
7384         * ShareContainer.h: add a couple of missing typenames.
7385
7386 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
7387
7388         * lyxrc.C (getDescription): use _() correctly rather than N_().
7389
7390 2002-03-28  Herbert Voss  <voss@lyx.org>
7391
7392         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
7393         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
7394
7395 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7396
7397         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
7398         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
7399
7400 2002-03-29  Juergen Vigna  <jug@sad.it>
7401
7402         * lyxfunc.C (dispatch): add a missing fitCursor call.
7403
7404         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
7405         it was scrolled by a cursor move, so return the bool status.
7406
7407         * BufferView.C (fitCursor): return the bool flag also to the outside
7408         world as this is needed.
7409
7410         * screen.C (toggleToggle): don't subtract the offset if it's positive.
7411
7412         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
7413         call the edit() as it is not needed (and wrong) IMO.
7414         (workAreaButtonPress): set the screen_first variable before evt.
7415         unlock the inset as this may change screen_first and then we have
7416         a wrong y position for the click!
7417
7418 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7419
7420         * MenuBackend.C (expand): another translation that I missed
7421
7422 2002-03-28  Juergen Vigna  <jug@sad.it>
7423
7424         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
7425
7426         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
7427
7428 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7429
7430         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
7431
7432         * MenuBackend.C (expand): fix export/view/update when there is no
7433         document open.
7434
7435 2002-03-27  Herbert Voss  <voss@lyx.org>
7436
7437         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
7438         and text%
7439
7440 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7441
7442         * bufferview_funcs.C (currentState): only show paragraph number
7443         for is DEVEL_VERSION is set.
7444
7445         * lyxfunc.C (dispatch): put warning in INFO channel
7446
7447         * MenuBackend.C (expand): translate the name of floats
7448
7449         * FloatList.C (FloatList): mark the float names for translation
7450
7451         * converter.C (convert): use LibScriptSearch
7452
7453 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7454
7455         * MenuBackend.C (defaults): fix default menu (we might as well get
7456         rid of it...)
7457
7458 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7459
7460         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
7461         directory.
7462
7463 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7464
7465         * lyxvc.C: reorder includes.
7466
7467 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
7468
7469         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
7470           properly
7471
7472 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
7473
7474         * CutAndPaste.C: change layouts earlier on paste
7475           to avoid crashing when calling getFont()
7476
7477 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
7478
7479         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
7480         irritating #error.
7481
7482 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7483
7484         * WorkArea.C: remove 'Pending' debug message.
7485
7486         * most files: ws cleanup
7487
7488         * buffer.[Ch]: ws changes
7489
7490         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
7491
7492 2002-03-21  Juergen Vigna  <jug@sad.it>
7493
7494         * tabular.C (SetMultiColumn): collapse also the contents of the
7495         cells and set the last border right. Added a Buffer const * param.
7496
7497 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7498
7499         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
7500         linking or not.
7501
7502 2002-03-19  Juergen Vigna  <jug@sad.it>
7503
7504         * text2.C (clearSelection): reset also xsel_cache.
7505
7506         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
7507         where it needs to be called (John tells us to do so too :)
7508         (selectionLost): reset sel_cache.
7509
7510         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
7511
7512 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7513
7514         * text2.C (setCursorIntern): put debuging code in INSETS channel
7515
7516 2002-03-19  André Pönitz <poenitz@gmx.net>
7517
7518         * lyxfunc.C: tiny whitespace change
7519
7520 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7521
7522         * ToolbarDefaults.C (init):
7523         * LyXAction.C (init):
7524         * commandtags.h:
7525         * BufferView_pimpl.C (Dispatch):
7526         * lyxfunc.C (dispatch): remove LFUN_DEPTH
7527
7528 2002-03-19  Allan Rae  <rae@lyx.org>
7529
7530         * exporter.C (Export): removeAutoInsets before doing anything else.
7531         While I've just introduced a dependency on BufferView this really is
7532         the best place to clean the buffer otherwise you need to cleanup in
7533         a dozen places before calling export or cleanup in a dozen functions
7534         that export calls.
7535
7536         * converter.C (runLaTeX):
7537         (scanLog): Better handling of removeAutoInsets and screen updates.
7538
7539         * lyxfunc.C (dispatch): small whitespace changes
7540
7541 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7542
7543         * WorkArea.C (C_WorkAreaEvent): return a value.
7544         (event_cb): return 1 if we handled the event, 0 otherwise.
7545
7546         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
7547
7548 2002-03-18  Juergen Vigna  <jug@sad.it>
7549
7550         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
7551         (GetAdditionalWidth): ditto.
7552         (RightLine): ditto.
7553         (LeftLine): ditto.
7554
7555         * BufferView2.C (copy): use getLyXText() so that we do it inside an
7556         inset if we're there actually (probably not used right now but this
7557         is the direction to go for unifying code).
7558         (paste): disable code to clear the selection.
7559
7560         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
7561         inside an InsetText and move the check further up as it is in the
7562         wrong place.
7563
7564         * text2.C (pasteSelection): set a selection over the pasted text.
7565
7566 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
7567
7568         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
7569         and libgraphics to build on Cygwin.
7570
7571 2002-03-15  Juergen Vigna  <jug@sad.it>
7572
7573         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
7574         inserting an Inset into the paragraph. I know this is not the best
7575         fix but we already use current_view in CutAndPaste so we will remove
7576         all of it's using at the same time.
7577
7578         * buffer.C (sgmlError): deactivated function till it is rewritten in
7579         the right mode, now it can create problems.
7580
7581         * paragraph.C (isLineSeparator): check if getInset returns != 0,
7582         before accessing it.
7583
7584 2002-03-14  Juergen Vigna  <jug@sad.it>
7585
7586         * undo_funcs.C (textHandleUndo): do the right thing when updating
7587         the inset after the undo/redo.
7588
7589         * text2.C (setCursor): just some testcode for #44 not ready yet.
7590
7591         * undo_funcs.C (textHandleUndo): set the next() and previous()
7592         pointers of the paragraph to 0 before deleting otherwise we have
7593         problems with the Paragraph::[destructor].
7594
7595         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
7596         on a paragraph insertion.
7597
7598 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7599
7600         * buffer.C (asciiParagraph): use += operator for char append to
7601         string.
7602
7603         * paragraph.C (getFontSettings): compare >= not just >
7604         (highestFontInRange): ditto
7605         (setFont): ditto
7606
7607 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7608
7609         * paragraph.C: change several algorithm to be more appripriate for
7610         the problem domain. This is lookip in FontList and in the InsetList.
7611
7612 2002-03-13  André Pönitz <poenitz@gmx.net>
7613
7614         * commandtags.h:
7615         * LyXAction.C: remove unused LFUN_MATH_MACROARG
7616
7617 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
7618
7619         * commandtags.h:
7620         * LyXAction.C:
7621         * lyxfunc.C:
7622         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
7623
7624 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7625
7626         * Painter.C (display): anon helper function, adjust code for this
7627         change.
7628         (pixmap): remove function.
7629
7630         * Painter.h: remove private display variable.
7631
7632         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
7633
7634 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
7635
7636         * WorkArea.[Ch]: remove figinset_canvas cruft.
7637
7638 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7639
7640         * lyxtextclass.C (operator): add one item cache optimization.
7641
7642         * bufferlist.h: doxy changes
7643
7644         * bufferlist.C: ws changes
7645
7646         * DepTable.[Ch] (ext_exist): place const in the right spot.
7647
7648         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
7649         call resizeInsets.
7650         (workAreaExpose): call resizeInsets when the with BufferView changes.
7651         (Dispatch): adjust for protectedBlank removal
7652         (specialChar): call updateInset if the insert went ok.
7653
7654         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
7655         specialChar instead.
7656
7657         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
7658
7659         * BufferView.h: doxy change
7660
7661         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
7662
7663         * lyxtextclass.C (operator[]): remove non-const version
7664         (defaultLayout): remove non-const version
7665
7666 2002-03-12  Juergen Vigna  <jug@sad.it>
7667
7668         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
7669         did resize the LyXText too.
7670
7671         * buffer.C (readLyXformat2): set layout information on newly allocated
7672         paragraphs.
7673
7674         * tabular.C (OldFormatRead): set layout information on the paragraph.
7675
7676 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
7677
7678         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
7679
7680 2002-03-11  Juergen Vigna  <jug@sad.it>
7681
7682         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
7683         plainly wrong.
7684         (resizeCurrentBuffer): force also the insets to resize themselfes.
7685         (moveCursorUpdate): fixed up for InsetText.
7686
7687 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
7688
7689         * commandtags.h:
7690         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
7691         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
7692         value of Dialogs::tooltipsEnabled().
7693         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
7694
7695 2002-03-08  Juergen Vigna  <jug@sad.it>
7696
7697         * BufferView_pimpl.C (updateInset): update inset inside inset also
7698         if it isn't inside theLockingInset().
7699
7700 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7701
7702         * buffer.C (asciiParagraph): redo some of the word and line length
7703         handling.
7704         (getLists): look for Caption instead of caption.
7705
7706 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7707
7708         * buffer.C (Buffer): initialize niceFile to true
7709         (makeLaTeXFile):
7710         (makeLinuxDocFile):
7711         (makeDocBookFile): make sure niceFile is true on exit
7712
7713 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7714
7715         * buffer.C (makeLaTeXFile): escape ~ in \input@path
7716
7717 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
7718
7719         * LyXSendto.C: remove.
7720         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
7721         * lyx_gui.C: remove now-redundant comment.
7722         * ColorHandler.h: remove forward declaration of class WorkArea.
7723         * lyxfunc.C: remove #include "WorkArea.h".
7724
7725 2002-03-07  Juergen Vigna  <jug@sad.it>
7726
7727         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
7728         got moved away with the DEPM and also set the inset_owner always
7729         right which before could have been omitted.
7730
7731 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7732
7733         * buffer.C (parseSingleLyXformat2Token): use default layout is the
7734         wanted layout is not found.
7735
7736 2002-03-07  Juergen Vigna  <jug@sad.it>
7737
7738         * CutAndPaste.C (cutSelection): another layout settings forgotten.
7739
7740 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7741
7742         * paragraph.C (breakParagraph): use default layout not layout of
7743         prev paragraph.
7744         (Paragraph): clear ParagraphParameters.
7745
7746 2002-03-06  Juergen Vigna  <jug@sad.it>
7747
7748         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
7749         otherwise it would not be a valid lenght. Fixed a special case in
7750         the minipage compatibility read where we end the document with a
7751         minipage.
7752
7753         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
7754         was set as it could be 0 for InsetTexts first entry.
7755
7756 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7757
7758         * paragraph.C (writeFile): if layout is empty write out
7759         defaultLayoutName().
7760
7761         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
7762         file without named layout we set layout to defaultLayoutName().
7763
7764 2002-03-06  Juergen Vigna  <jug@sad.it>
7765
7766         * CutAndPaste.C (copySelection): set layout for new paragraph.
7767
7768         * text.C (prepareToPrint): leave ERT inset left aligned
7769         (leftMargin): don't indent paragraphs inside ERT insets
7770
7771 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7772
7773         * paragraph.C (breakParagraph): dont call clear do the work manually
7774
7775         * paragraph.[Ch] (clear): remove function
7776
7777 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7778
7779         * paragraph.C (Paragraph): dont call clear, the work has already
7780         been done.
7781
7782         * lyxtextclass.C (operator): assert if n is empty
7783
7784         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
7785         work manually instead.
7786
7787 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
7788
7789         * BufferView_pimpl.C: protect selectionLost against text == 0
7790
7791 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7792
7793         * text.C (breakParagraph): fix a setting layout to '0' problem.
7794
7795 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
7796
7797         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
7798         final location of file, for the included files, and graphics.
7799
7800 2002-03-05  Juergen Vigna  <jug@sad.it>
7801
7802         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
7803
7804 2002-03-04  Juergen Vigna  <jug@sad.it>
7805
7806         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
7807
7808         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
7809         last column of multicolumn cells.
7810         (SetWidthOfMulticolCell): recalculate NMC and real columns.
7811
7812 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
7813
7814         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
7815         file if it doesn't go to a temporary file.
7816
7817         * buffer.C (sgmlOpenTag):
7818         (sgmlCloseTag):  remove extra newline insertion.
7819
7820 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7821
7822         * text.C (getRowNearY): comment out debug msg
7823
7824 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7825
7826         * text2.C: first -> first_y
7827
7828         * text.C (getRowNearY): add some attemts at a possible
7829         optimization, not working.
7830
7831         * tabular.[Ch]: add BufferParams to several function so that newly
7832         created paragraph can be initialized to he default layotu for the
7833         buffers textclass.
7834
7835         * tabular-old.C (ReadOld): add buf->params to call of Init
7836
7837         * screen.C: rename text->first to text->first_y
7838
7839         * paragraph.C (breakParagraph): always set layout in the broken
7840         paragraph
7841
7842         * lyxtextclass.C (Read): remove lowercase
7843         (hasLayout): ditto
7844         (operator): ditto
7845         (delete_layout): ditto
7846
7847         * lyxtext.h: rename first -> first_y
7848
7849         * lyxlayout.C (Read): remove lowercase
7850         (name): ditto
7851         (setName): ditto
7852         (obsoleted_by): ditto
7853
7854         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
7855
7856         * buffer.C (insertErtContents): add params are to InsetERT
7857         (parseSingleLyXformat2Token): add code to check if a paragraphs
7858         layout really exist.
7859         (parseSingleLyXformat2Token): add params to several inset
7860         constructors
7861         (asciiParagraph): remove lowercase, do the layout comparisons with
7862         no_case
7863
7864         * BufferView_pimpl.C (cursorNext): first -> first_y
7865         (resizeCurrentBuffer): first -> first_y
7866         (updateScrollbar): first -> first_y
7867         (scrollCB): first -> first_y
7868         (workAreaMotionNotify): first -> first_y
7869         (workAreaButtonPress): first -> first_y
7870         (checkInsetHit): first -> first_y
7871         (cursorPrevious): first -> first_y
7872         (cursorNext): first -> first_y
7873         (Dispatch): add buffer_->params to severl inset contructors
7874
7875 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7876
7877         * lyxlayout.C (Read): remove some debug info that I forgot.
7878
7879         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
7880         clean up the code slightly.
7881         (makeLinuxDocFile): ditto
7882         (makeDocBookFile): ditto
7883
7884         * text2.C: layout as string
7885
7886         * text.C: layout as string
7887
7888         * paragraph_pimpl.C: layout as string
7889
7890         * paragraph.[Ch]: layout as string
7891
7892         * lyxtextclasslist.[Ch]: layout as string
7893
7894         * lyxtextclass.[Ch]: layout as string
7895
7896         * lyxtext.h: layout as string
7897
7898         * lyxlayout.[Ch]: layout as string
7899
7900         * lyx_cb.C: layout as string
7901
7902         * bufferview_funcs.C: layout as string
7903
7904         * bufferparams.C: layout as string
7905
7906         * buffer.C: layout as string
7907
7908         * LyXView.[Ch]: layout as string
7909
7910         * LaTeXFeatures.[Ch]: layout as string
7911
7912         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
7913
7914         * BufferView_pimpl.C: change current_layout to string, remove
7915         lyx::layout_type.
7916         (Dispatch):
7917         (smartQuote):
7918         (insertInset):
7919         (workAreaButtonRelease): layout as string
7920
7921         * BufferView2.C (unlockInset): adjust
7922
7923         * vspace.C (asLatexCommand): use an explict temp variable.
7924
7925 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
7926
7927         * Makefile.am: use FRONTEND_*
7928
7929 2002-03-01  Juergen Vigna  <jug@sad.it>
7930
7931         * tabular.C (SetWidthOfMulticolCell): changed to something better
7932         I hope but still work in progress.
7933         (recalculateMulticolumnsOfColumn): renamed function from
7934         recalculateMulticolCells as it is more appropriate now.
7935         (SetWidthOfCell): calculate multicols better.
7936
7937 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7938
7939         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
7940
7941         * lyxfunc.C (processKeySym): print sequence also if it is
7942         `deleted' (complete)
7943
7944         * kbsequence.C (print): print sequence even if it is deleted
7945         (complete would be a better word, actually).
7946
7947         * lyxfunc.C (dispatch): print complete options after a prefix key
7948
7949         * vspace.C (asLatexCommand): rewrite in a slightly different form.
7950
7951 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
7952
7953         * text2.C (setCharFont): eliminate setCharFont code duplication.
7954
7955 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7956
7957         * BufferView_pimpl.C (Dispatch): remove bogus handling of
7958         LFUN_TABULAR_FEATURE (bug #177)
7959
7960 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
7961
7962         * Makefile.am: remove figure.h
7963
7964 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
7965
7966         * Bufferview_pimpl.C:
7967         * CutAndPasteC:
7968         * LaTeX.C:
7969         * LyXSendto.C:
7970         * buffer.C:
7971         * bufferlist.C:
7972         * converter.C:
7973         * language.C:
7974         * lyxfunc.C:
7975         * lyxvc.C:
7976         * paragraph.C:
7977         * text.C:
7978         * text2.C: remove #include "lyx_gui_misc.h".
7979
7980         * LaTeX.C: added #include <cstdio>
7981
7982 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7983
7984         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
7985         that the paragraph following this one can have.
7986
7987         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
7988
7989         * vspace.C (asLatexCommand): fix bogus gcc warning
7990
7991         * Makefile.am (lyx_SOURCES): remove vms_defines.h
7992
7993 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
7994
7995         * text2.C (setLayout): get rid of redundant code
7996
7997 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
7998
7999         * text2.C (incDepth): make sure depth cannot be increased beyond
8000         reasonable values.
8001
8002 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
8003
8004         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
8005         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
8006
8007         * PainterBase.h (image):
8008         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
8009         a LyXImage const *.
8010
8011 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
8012
8013         * BufferView.C:
8014         * BufferView.h:
8015         * BufferView_pimpl.C:
8016         * BufferView_pimpl.h:
8017         * LaTeXFeatures.C:
8018         * LyXAction.C:
8019         * LyXView.C:
8020         * Makefile.am:
8021         * UpdateList.h:
8022         * UpdateList.C:
8023         * buffer.C:
8024         * figure.h:
8025         * figureForm.C:
8026         * figureForm.h:
8027         * figure_form.C:
8028         * figure_form.h:
8029         * lyx_cb.C:
8030         * lyx_gui.C:
8031         * lyx_gui_misc.C:
8032         * lyxfunc.C:
8033         * sp_base.h:
8034         * sp_ispell.h:
8035         * sp_pspell.h:
8036         * sp_spell.C: remove fig inset, and the crap house of
8037           cards that follows it
8038
8039 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
8040
8041         * Makefile.am:
8042         * lyxserver.C:
8043         * os2_defines.h:
8044         * os2_errortable.h:
8045         * nt_defines.h: move .h into support/
8046
8047         * vms_defines.h: remove
8048
8049         * WorkArea.C: add space in debug output
8050
8051         * text2.C:
8052         * paragraph.C:
8053         * buffer.C: add WITH_WARNINGS
8054
8055         * vc-backend.h:
8056         * vc-backend.C:
8057         * bufferlist.C: s/retrive/retrieve/, add docs
8058
8059         * vspace.h:
8060         * vspace.C:
8061         * kbmap.h:
8062         * lyxlength.h:
8063         * lyxgluelength.h:
8064         * length_common.h:
8065         * chset.h:
8066         * chset.C: add docs
8067
8068         * lyxgui.C: add ID to X error handler
8069
8070         * lyxtestclass.c: fix typo
8071
8072 2002-02-26  Juergen Vigna  <jug@sad.it>
8073
8074         * tabular_funcs.C (write_attribute): changed so that some default
8075         attributes are not written at all.
8076         (getTokenValue): set default values before trying to read the
8077         value so we have the return value always set as default if we don't
8078         find the token we search for.
8079
8080         * tabular.C (Write): write bools as bools not as strings!
8081
8082 2002-02-22  Juergen Vigna  <jug@sad.it>
8083
8084         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
8085         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
8086
8087         * text.C (leftMargin): don't add an indent for paragraphs inside
8088         tabular cells (fix #208).
8089
8090 2002-02-21  José Matos  <jamatos@fep.up.pt>
8091
8092         * tabular.C (docBook): fixed support for long tables.
8093
8094 2002-02-20  Juergen Vigna  <jug@sad.it>
8095
8096         * text2.C (getFont): get the drawing font of the Inset if this
8097         paragraph is inside an inset (only important for InsetERT for now).
8098
8099         * buffer.C (insertErtContents): use new lanugage params in ERT
8100         constructor.
8101
8102         * CutAndPaste.C: commenting out seemingly uneeded code.
8103
8104 2002-02-19  Allan Rae  <rae@lyx.org>
8105
8106         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
8107         Iterators might be simple to use but they also get invalidated.
8108         (removeAutoInsets): renamed saved cursor tracking variables and added
8109         some comments to clarify what everything does.
8110
8111 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
8112
8113         * Chktex.C:
8114         * LaTeX.C:
8115         * LyXSendto.C:
8116         * converter.C:
8117         * lyx_cb.C:
8118         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
8119         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
8120
8121         * lyxfunc.C:
8122         * vc-backend.h: remove #include "support/syscall.h"
8123
8124         * LaTeX.C:
8125         * LyXSendto.C:
8126         * converter.C: rearrange #includes in Lars' approved fashion.
8127
8128         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
8129         forward declare class Timeout in the header file.
8130
8131         * XFormsView.C: changes due to the above.
8132
8133         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
8134         similar to LyXView.
8135
8136         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
8137         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
8138
8139 2002-02-18  José Matos  <jamatos@fep.up.pt>
8140
8141         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
8142         insets contents.
8143
8144 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
8145
8146         * a lot of small ws changes
8147         * add a lot of using std::XXX
8148         * use std construcs some places where approp.
8149         * use some exisint stuff from lyxfunctional where approp.
8150         * Make file changes to use partial linking (lets test this now...)
8151
8152 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
8153
8154         * Chktex.C:
8155         * buffer.C:
8156         remove #include "support/syscontr.h" as it's redundant. Always has been.
8157
8158         * Chktex.C:
8159         * LaTeX.C:
8160         * LyXSendto.C:
8161         * converter.C:
8162         * lyx_cb.C:
8163         * vc-backend.C:
8164         change Systemcalls::System to Systemcalls::Wait and
8165         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
8166         No change of functionality, just reflects the stripped down Systemcalls
8167         class.
8168
8169 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
8170
8171         * debug.[Ch]: add a GRAPHICS type to the enum.
8172
8173 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8174
8175         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
8176
8177         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
8178         there is an inset.
8179
8180 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8181
8182         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
8183         match the changes below.
8184
8185         * text2.C (toggleInset): if there is not editable inset at cursor
8186         position, try to see if cursor is _inside_ a collapsable inset
8187         and close it.
8188
8189 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8190
8191         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
8192         document menu has a nice checkbox
8193
8194 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8195
8196         * lyxlength.C (asLatexString): change PW to output as percent of
8197         \textwidth.
8198
8199         * lengthcommon.C: change '%' to 't%'
8200
8201         * lyxfunc.C (dispatch): a few comments from Martin
8202
8203 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
8204
8205         * WorkArea.h:
8206         * WorkArea.C:
8207         * BufferView_pimpl.h:
8208         * BufferView_pimpl.C: clear our selection when X tells us we've lost
8209           the X selection.
8210
8211 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8212
8213         * vspace.C (inPixels): fix compiler warning
8214
8215 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8216
8217         * lyxfunc.C (getStatus): fix status message for disabled commands.
8218
8219 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
8220
8221         * BufferView_pimpl.C: fix crash on close buffer
8222         during selection (#227)
8223
8224 2002-01-27  Herbert Voss  <voss@lyx.org>
8225
8226         * buffer.C: link old Figure to new graphic inset
8227
8228 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
8229
8230         * FontLoader.C (getFontinfo): Change the latex font names in order
8231         to match the names of type1inst.
8232
8233 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8234
8235         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
8236
8237         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
8238         (extchanged): ditto
8239         (ext_exist): ditto
8240         (remove_files_with_extension): ditto
8241         (remove_file): ditto
8242         (write): ditto
8243
8244         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
8245         document is smaller than the work area height. Do not initialize
8246         static variables to 0.
8247
8248 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8249
8250         * lyx_gui.C (init): give the toolbar tooltips a normal font.
8251
8252         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
8253         LFUN_LAYOUT_PARAGRAPHS.
8254
8255         * tabular.C (GetCellFromInset): new method. Finds an inset in a
8256         tabular. It is possible to provide a possible cell, which will
8257         typically be the actcell from the corresponding insettabular
8258
8259         * lyxfunc.C (getStatus): small cleanup; disable
8260         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
8261         true
8262
8263 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8264
8265         * tabular.C (Validate): remove broken optimization (fixes bug #201)
8266
8267         * paragraph.C (startTeXParParams):
8268         (endTeXParParams): new methods. The LaTeX code to
8269         start/end paragraph formatting
8270         (simpleTeXOnePar): call startTeXParParams also when paragraph is
8271         empty (fixes bug #200)
8272
8273         * vspace.C (inPixels): adapt to the change below
8274         (inPixels): [later] more cleanups (remove unused variables)
8275
8276         * lyxlength.C (inPixels): change to use a width and a height as
8277         parameter.
8278
8279 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8280
8281         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
8282         Replaced with \paperwidth
8283
8284         * DepTable.C (insert): add std:: qualifier
8285
8286 2002-01-18  Allan Rae  <rae@lyx.org>
8287
8288         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
8289         updated also?
8290
8291         * text.C (drawInset): Turned out I didn't know enough about how
8292         rebreaking worked.  This fixes most of the redraw problems.  I see
8293         an occasional cursor trail when a line is broken now and the cursor
8294         placement can seem out by a few pixels also after a rebreak.
8295
8296 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8297
8298         * buffer.C (parseSingleLyXformat2Token): update because minipage
8299         width is now a LyXLength
8300
8301         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
8302
8303         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
8304         math insets
8305
8306 2002-01-17  Juergen Vigna  <jug@sad.it>
8307
8308         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
8309
8310         * BufferView2.C (lockInset): call edit() so that theLockingInset()
8311         is set correctly and the inset is updated correctly.
8312
8313 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8314
8315         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
8316         the beginning of the loop.
8317
8318 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
8319
8320         * lyxrc.C: improve help for use_scalable_fonts
8321
8322 2002-01-17  Allan Rae  <rae@lyx.org>
8323
8324         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
8325
8326 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8327
8328         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
8329         make sure to set their inset_owner to the right value (bug #171)
8330
8331 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
8332
8333         * DepTable.h
8334         * DepTable.C: Implement mtime checking to reduce time spent doing
8335         CRCs.
8336
8337 2002-01-16  Juergen Vigna  <jug@sad.it>
8338
8339         * tabular.C (GetAdditionalHeight): one of error fixed.
8340
8341         * lyxrc.C (output): small fix in writing use_pspell.
8342
8343 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
8344
8345         * sp_base.h: #include LString.h
8346
8347 2002-01-16  Allan Rae  <rae@lyx.org>
8348
8349         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
8350         Can someone check this please?
8351
8352         * text.C (drawInset): It was possible that p.row would be removed by
8353         breakAgainOneRow upsetting a few other settings.  There may be another
8354         small tweak possible by setting need_break_row = 0 when p.row has been
8355         removed but I don't know enough about the logic here.
8356
8357 2002-01-15  Allan Rae  <rae@lyx.org>
8358
8359         * text.C (insertChar): removed conditional truism.
8360
8361         * BufferView2.C (removeAutoInsets): More tweaks.
8362         cur_par_prev could be a stray pointer.  Check for trailing empty line
8363         in case last line was cur_par and only had an error inset on it.
8364
8365 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8366
8367         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
8368         absolute
8369
8370         * vc-backend.C (most methods):
8371         * exporter.C (Export):
8372         * converter.C (convert):
8373         (runLaTeX):
8374         * LyXSendto.C (SendtoApplyCB):
8375         * lyxfunc.C (dispatch):
8376         (menuNew):
8377         (open):
8378         (doImport):
8379         * lyx_cb.C (AutoSave):
8380         (InsertAsciiFile):
8381         * BufferView_pimpl.C (MenuInsertLyXFile):
8382         * buffer.C (runChktex): use Buffer::filePath().
8383
8384         * buffer.h: rename filename to filename_; rename filepath to
8385         filepath_ and make it private
8386         (filePath): new method
8387
8388         * buffer.C (writeFile): use fileName()
8389         (getLatexName):
8390
8391         * lyx_main.C (init): fix starting  of LyX when the binary is a
8392         link from so,ewhere else.
8393
8394         * minibuffer.C: include <cctype> for isprint
8395
8396 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
8397
8398         * buffer.C (parseSingleLyXformat2Token): changes associated with the
8399         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
8400         name clash with InsetCollapsable's width function.
8401
8402 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8403
8404         * lastfiles.C: include <iterator>
8405
8406 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
8407
8408         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
8409         std::count.
8410
8411         * buffer.C (makeLaTeXFile): ditto.
8412         Also make loop operation more transparent.
8413
8414 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
8415
8416         * ToolbarDefaults.C: remove trailing comma closing namespace.
8417
8418         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
8419
8420         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
8421         as in WorkArea.
8422
8423         * trans.C (Load): comment out unused variable, allowed.
8424
8425 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
8426
8427         * minibuffer.[Ch] (append_char): new method to recieve input from the
8428         drop-down completion browser. If a key was pressed, then recieve this
8429         char and append it to the existing string.
8430         (peek_event): modify the positioning data passed to the completion
8431         browser so that it can be placed above the minibuffer rather than below.
8432 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8433
8434         * LyXAction.C (init): alloe error-next for readonly documents.
8435
8436         * BufferView2.C (ChangeRefsIfUnique): use standard version of
8437         count.
8438
8439 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8440
8441         * bufferlist.C (readFile): create the buffer _after_ checking that
8442         the file exists.
8443
8444         * lyxfunc.C (verboseDispatch): fix handling of arguments
8445
8446         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
8447
8448         * lyxrc.C: use string::erase() instead of initializing to "".
8449
8450
8451 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
8452
8453         * BufferView_pimpl.h:
8454         * BufferView_pimpl.C:
8455         * WorkArea.h:
8456         * WorkArea.C:
8457         * text2.C: tell X when we have made a selection for copying
8458
8459 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8460
8461         * BufferView_pimpl.C (MenuInsertLyXFile):
8462         * lyxfunc.C (menuNew):
8463         (open):
8464         (doImport): add shortcuts to directory buttons
8465
8466         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
8467         open a float)
8468
8469         * lyxfunc.C (setStatusMessage):
8470         (getStatusMessage): new methods
8471         (getStatus):use setStatusMessage instead of setErrorMessage
8472         (dispatch): when function is disabled, set error message here
8473         [instead of in getStatus previously]
8474
8475         * BufferView_pimpl.C (workAreaButtonRelease): update
8476         toolbar/menubar here too.
8477
8478 2002-01-13  Allan Rae  <rae@lyx.org>
8479
8480         * BufferView2.C (removeAutoInsets): finished off earlier fix.
8481         Now seems indestructible.  Remaining task is to audit all other
8482         code affected by deleteEmptyParagraphMechanism.  One small quirk
8483         left is that an empty document with an error in the preamble can
8484         be made to report an error but no error box appears.  I don't know
8485         where it goes.
8486         (removeAutoInsets): Improved comments.
8487
8488 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
8489
8490         * Thesaurus.h:
8491         * Thesaurus.C: update for Aiksaurus 0.14
8492
8493 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8494
8495         * text2.C (firstParagraph): removed member function, all uses
8496         replaces with ownerParagraph
8497         (redoParagraphs): here
8498         (updateInset): here
8499         (toggleAppendix): here
8500         * BufferView2.C (insertErrors): here
8501         (setCursorFromRow): here
8502
8503 2002-01-13  Allan Rae  <rae@lyx.org>
8504
8505         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
8506         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
8507         There is still a way to segfault this although you may have to do this
8508         multiple times: Have an InsetERT with an unknown command in it.
8509         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
8510         <down-arrow>, <Enter> again, View->DVI, BANG!
8511
8512         * text2.C (setCursor):
8513         (deleteEmptyParagraphMechanism):
8514         * lyxtext.h (setCursor):
8515         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
8516         Making use of the return value may help fix other bugs.
8517
8518 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8519
8520         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
8521
8522         * LyXView.C (updateMenubar): call MenuBar::update here
8523         (updateToolbar): but not here
8524         (showState): do not update toolbar/menubar
8525
8526         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
8527         should need to care about that.
8528
8529         * lyxfunc.C (verboseDispatch): simplify a bit
8530         (getStatus): have a version which takes a pseudoaction, and
8531         another which requires a (kb_action,string).
8532
8533         * LyXAction.C (retrieveActionArg): make it work also when action
8534         is not a pseudo-action.
8535         (getActionName): simplify a bit
8536         (helpText):
8537
8538 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8539
8540         * lyxfunc.C (verboseDispatch): new families of methods with
8541         several ways to specify a command and a bool to indicate whether
8542         the command name and shortcut should be displayed in minibuffer
8543         (eventually, we could extend that to a finer bitmask like
8544         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
8545         (dispatch): the pristine dispatch command which just, well,
8546         dispatchs! Note it still sets its result to minibuffer; I'm not
8547         sure we want that.
8548
8549         * lyxfunc.h: remove setHintMessage
8550
8551         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
8552
8553 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8554
8555         * BufferView_pimpl.C (specialChar): delete new inset if we have
8556         not been able to insert it.
8557
8558         * kbmap.C: revert to using int instead of kb_action, since all we
8559         are dealing with is pseudo-actions.
8560
8561         * LyXAction.C (searchActionArg): change to return int instead of
8562         kb_action, since the result is a pseudoaction.
8563
8564 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
8565
8566         * buffer.C (insertErtContents): Fix (partially) the font bug.
8567
8568 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
8569
8570         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
8571         as the other one is broken on my machine!
8572
8573 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
8574
8575         * commandtags.h:
8576         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
8577
8578 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
8579
8580         * lyxrc.[Ch]: change names and descriptions of popup font variables to
8581         reflect their actual use. Provide compatibility code for older lyxrc
8582         files.
8583
8584         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
8585         FL_NORMAL_STYLE.
8586         change names of popup font variables in line with the changes to lyxrc.C
8587
8588 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8589
8590         * buffer.C (asciiParagraph): avoid outputing a word twice after
8591         an inset.
8592
8593         * lyxrc.C (getDescription): document that document_path and
8594         template_path can be empty.
8595
8596 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8597
8598         * LaTeXFeatures.C (getMacros):
8599         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
8600
8601         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
8602
8603         * LaTeXFeatures.C (useFloat): require "float" here instead of in
8604         getPackages.
8605         (getPackages): rename feature "floats" to "float". Use an array to
8606         iterate over 'simple' features (i.e. just a \usepackage). Add
8607         handling of "amsmath" (renamed from "amsstyle").
8608
8609 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
8610
8611         * LaTeXFeatures.C (require): Prevent duplicate entries in the
8612         features list.
8613
8614 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
8615
8616         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
8617         FuncStaus::FuncStatus & FuncStaus::some_method().
8618
8619 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
8620
8621         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
8622         of the func_satus stuff. Edited and massaged in various ways by
8623         JMarc.
8624
8625         * lyxfunc.C (getStatus): use FuncStatus
8626
8627 2002-01-08  Juergen Vigna  <jug@sad.it>
8628
8629         * text.C (nextBreakPoint): use function Inset::isChar().
8630
8631         * paragraph.C (TeXOnePar): use function
8632         Inset::forceDefaultParagraphs.
8633
8634         * buffer.C (latexParagraphs): use function
8635         Inset::forceDefaultParagraphs.
8636
8637 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
8638
8639         * lyx_gui.C (init): set the style of the menu popups to
8640         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
8641
8642 2002-01-07  Juergen Vigna  <jug@sad.it>
8643
8644         * text.C (setHeightOfRow): small fix
8645         (prepareToPrint): don't look at alignment if we don't have the place
8646         for doing it.
8647
8648 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
8649
8650         * box.C: New file. Move the Box methods and functions out of box.h,
8651         following Lars' suggestion.
8652
8653 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
8654
8655         * box.h: #include "support/LOstream.h", needed for inlined function.
8656
8657         * lyxtextclass.C:
8658         * lyxtextclasslist.C: added some using std declarations.
8659
8660 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
8661
8662         * box.h: make signed dimensions to allow insets wider than
8663           the screen (bug #162)
8664
8665         * BufferView_pimpl.C: add some insetHit debug
8666
8667 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
8668
8669         * vc-backend.C: add FIXME
8670
8671 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8672
8673         * lyxfunc.C (getStatus): enable code for showing math font status
8674         in toolbar/menu.
8675
8676 2002-01-07  Juergen Vigna  <jug@sad.it>
8677
8678         * text.C (nextBreakPoint): removed debug output not needed anymore.
8679
8680 2002-01-06  Juergen Vigna  <jug@sad.it>
8681
8682         * text.C (nextBreakPoint): fixed up this function we had this bug
8683         since ever but now hopefully we break row better.
8684         (insertChar): we have to check if an inset is the next char as it
8685         could now happen that a large inset is causing a break.
8686
8687 2002-01-05  Juergen Vigna  <jug@sad.it>
8688
8689         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
8690         if it doesn't like to be drawed.
8691
8692 2002-01-04  Juergen Vigna  <jug@sad.it>
8693
8694         * BufferView2.C (lockInset): forgot to set a cursor.
8695
8696         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
8697
8698 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
8699
8700         * FormMathsPanel.C:
8701         * FormMathsPanel.h
8702         * MathsSymbols.C:
8703         * form_maths_panel.C:
8704         * form_maths_panel.h:
8705         * form_maths_panel.fd: implemented sub- and super- buttons in math
8706         panel.
8707
8708         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
8709         (or ^ space) to be used as in TeX (req'd by André).
8710
8711         * lyxfunc.C: Allow ^ and _ again to be used both as
8712         super/subscript (mathed) and as themselves (in text).
8713
8714 2002-01-03  Allan Rae  <rae@lyx.org>
8715
8716         * LyXView.C (updateWindowTitle): Setup a short icon title of either
8717         "LyX" or the filename of the current buffer if it has one.  This is a
8718         modified form of John Levon's patch.
8719
8720         * XFormsView.C (setWindowTitle): also set icon title.
8721
8722         * LyXView.h (setWindowTitle): signature changed.
8723         * XFormsView.h (setWindowTitle): ditto.
8724
8725 2002-01-02  Juergen Vigna  <jug@sad.it>
8726
8727         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
8728
8729 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8730
8731         * screen.C (topCursorVisible): introduce a temp var for
8732         text->cursor.row(), handle the case where this row is null. (kindo
8733         hachish)
8734
8735         * text2.C (setCursor): add a couple of asserts.
8736
8737         * paragraph.h (inset_iterator): add -> operator
8738
8739         * paragraph.[Ch] (autoDeleteInsets): remove member function
8740
8741         * BufferView2.C (removeAutoInsets): rewrite to handle the old
8742         cursor pos correctly and handle inset deletion by itself.
8743         (insertErrors): move iterator declaration out of for expression
8744
8745         * lyxtextclass.C: add <algorithm>
8746
8747         * Makefile.am: added the new files to sources, removed layout.C
8748
8749         * layout.C: removed file
8750
8751         * layout.h: remove LYX_DUMMY_LAYOUT
8752
8753         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
8754         layout.
8755
8756         * lyxlayout.[Ch]:
8757         * lyxtextclass.[Ch]:
8758         * lyxtextclasslist.[Ch]: new files
8759
8760         * include order changes to a lot of files, also changes because of
8761         the six new files.
8762
8763 2001-12-27  Juergen Vigna  <jug@sad.it>
8764
8765         * buffer.C (asciiParagraph): more fixes.
8766
8767         * tabular.C (ascii): make ascii export support export of only the
8768         data separated by a column-delimiter.
8769         (ascii): better support for ascii export.
8770
8771         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
8772
8773 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8774
8775         * tabular_funcs.C: use a "using std::getline" instead of the
8776         previous fix from Angus (necessary for cxx + lyxstring)
8777
8778 2001-12-24  Juergen Vigna  <jug@sad.it>
8779
8780         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
8781
8782         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
8783         problems. First check a minipage also if we have some ert-contents
8784         (not only on par->size(), second set the right depth of the paragraph
8785         on the relink to the root-paragraph-list!
8786
8787         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
8788         which then did not anymore update the main paragraphs on undo/redo!
8789
8790 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8791
8792         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
8793         code. Support all font-changing funcs (even those which are not in
8794         menu currently). Support for reporting font settings in
8795         mathed (disabled until Andre provides a function on mathed's side).
8796
8797         * func_status.h (toggle): small helper function to set toggle
8798         state on a flag.
8799
8800 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
8801
8802         * tabular_funcs.C: getline -> std::getline
8803
8804 2001-12-21  Juergen Vigna  <jug@sad.it>
8805
8806         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
8807         accessed and could be 0 (I couldn't generate this but it seems
8808         Michael could!).
8809
8810 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8811
8812         * tabular_funcs.C: add LIstream.h, move write_attribute to..
8813         * tabular_funcs.h: here and include iosfwd
8814
8815 2001-12-20  Juergen Vigna  <jug@sad.it>
8816
8817         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
8818         inside inset but undo_par was.
8819
8820 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8821
8822         * Thesaurus.C: always include <config.h> in sources.
8823
8824         * Painter.h:
8825         * lyxlookup.h:
8826         * box.h: do not include <config.h> in header files
8827
8828         * text.C (paintLastRow): remove unused variable
8829
8830         * text.C (transformChar):
8831         (insertChar):
8832         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
8833
8834         * Painter.C (text):
8835         * font.C (width): rewrite to use uppercase() instead of
8836         islower/toupper.
8837
8838         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
8839
8840 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
8841
8842         * lyxfind.C: clean up of find failure position change
8843
8844 2001-12-20  Juergen Vigna  <jug@sad.it>
8845
8846         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
8847
8848         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
8849         (TeXRow): added to LaTeX a single tabular row.
8850         (TeXLongtableHeaderFooter): added to output LT-h/f data.
8851         (Latex): simplified and finally good LT-h/f support.
8852         (various_functions): just small adaptions for LT-h/f support.
8853
8854         * tabular_funcs.[hC]: added and moved here all not classfunctions
8855         of LyXTabular.
8856
8857 2001-12-19  Juergen Vigna  <jug@sad.it>
8858
8859         * tabular.[Ch]: better support for longtabular options (not finished
8860         yet!)
8861
8862 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8863
8864         * text.C (paintLastRow): use the label font instead of the font of
8865         the last character to compute the size of *_BOX. This makes more
8866         sense and avoids a crash with empty paragraphs.
8867         Use Painter::rectangle to draw EMPTY_BOX.
8868
8869 2001-12-19  Juergen Vigna  <jug@sad.it>
8870
8871         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
8872         the paragraphs if the replaced paragraph is not the first one!
8873         Tried to delete not used paragraphs but does not work yet so for
8874         now it's inside #ifdef's and by default off!
8875
8876 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8877
8878         * MenuBackend.C: include "lyx_main.h" instead of declaring
8879         lastfiles (actually was declared as LastFiles* instead of a
8880         scoped_ptr).
8881
8882 2001-12-17  Juergen Vigna  <jug@sad.it>
8883
8884         * tabular.C (AppendColumn): applied John's fix
8885
8886 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
8887
8888         * BufferView.h:
8889         * BufferView.C:
8890         * BufferView_pimpl.h:
8891         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
8892
8893         * Makefile.am:
8894         * box.h: new start of class for above
8895
8896         * lyxfunc.C: ignore space-only minibuffer dispatches.
8897           Show the command name when it doesn't exist
8898
8899         * minibuffer.C: don't add empty lines to the history
8900
8901         * minibuffer.C: add a space on dropdown completion
8902
8903 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
8904
8905         * text.C: fix line above/below drawing in insets
8906
8907 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8908
8909         * lyxlength.C (LyXLength): Initialize private variables.
8910
8911 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
8912
8913         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
8914         when inserting error insets.
8915
8916 2001-12-13  Juergen Vigna  <jug@sad.it>
8917
8918         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
8919         actually sometimes the before-paragraph.
8920         (setUndo): don't clear the redostack if we're not actually undoing!
8921
8922 2001-12-06  Juergen Vigna  <jug@sad.it>
8923
8924         * undo_funcs.C (textHandleUndo): well after John's hint I got here
8925         and fixed redoing of main paragraph, so we can use it now ;)
8926
8927         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
8928
8929 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8930
8931         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
8932         Juergen's request
8933
8934 2001-12-13  André Pönitz <poenitz@gmx.net>
8935
8936         * undostack.[Ch]:
8937         * undo_func.C: minor cleanup
8938
8939 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8940
8941         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
8942         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
8943         font in urw-fonts package which is marked as -urw-fontspecific and
8944         does not work (incidentally, changing the encoding in the
8945         fonts.dir of this package to -adobe-fontspecific fixes the
8946         problem).
8947
8948         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
8949         is a crash when undoing first paragraph (Juergen, please take a
8950         look). THis does not mean the undo fix is wrong, just that it
8951         uncovers problems.
8952
8953         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
8954         the (Paragraph*) version when needed instead of duplicating the
8955         code.
8956
8957         * text.C (workWidth): use Inset::parOwner to find out where the
8958         inset has been inserted. This is a huge performance gain for large
8959         documents with lots of insets. If Inset::parOwner is not set, fall
8960         back on the brute force method
8961
8962         * paragraph_pimpl.C (insertInset):
8963         * paragraph.C (Paragraph):
8964         (cutIntoMinibuffer): set parOwner of insets when
8965         inserting/removing them
8966
8967         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
8968
8969 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
8970
8971         * commandtags.h:
8972         * LyXAction.C:
8973         * lyx_main.C:
8974         * lyxfunc.C:
8975         * mathed/formulabase.C:
8976         * mathed/math_cursor.[Ch]:
8977         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
8978
8979
8980 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8981
8982         * lyxlength.[Ch] (operator!=): new function
8983
8984 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8985
8986         * text.C (workWidth): use Inset::parOwner to find out where the
8987         inset has been inserted. This is a huge performance gain for large
8988         documents with lots of insets. If Inset::parOwner is not set, fall
8989         back on the brute force method
8990
8991         * paragraph_pimpl.C (insertInset):
8992         * paragraph.C (Paragraph):
8993         (cutIntoMinibuffer): set parOwner of insets when
8994         inserting/removing them
8995
8996         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
8997
8998 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8999
9000         * tabular-old.C (getTokenValue):
9001         * tabular.C (getTokenValue):
9002         (write_attribute): new versions for LyXLength
9003         (everywhere): adjust the use of widths
9004
9005         * tabular.h: change the type of widths from string to LyXLength
9006
9007 2001-12-11  Ben Stanley <bds02@uow.edu.au>
9008
9009         * paragraph.C: fixed missing line number count when exporting
9010         Environments to LaTeX file
9011
9012         * buffer.C: added informational message for checking line numbers.
9013
9014 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9015
9016         * text2.C (deleteEmptyParagraphMechanism): if there is only one
9017         paragraph, do the 'double space' part, but not the 'empty
9018         paragraph' one.
9019
9020         * text.C (workWidth): small optimization
9021         (getLengthMarkerHeight): use minimal size for negative lengths.
9022
9023 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
9024
9025         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
9026
9027         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
9028
9029 2001-12-11  André Pönitz <poenitz@gmx.net>
9030
9031         * FontLoader.C:
9032         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
9033
9034 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
9035
9036         * text2.C: keep selection on a setFont()
9037
9038 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
9039
9040         * lyx_cb.C: another bv->text misuse, from insert label
9041
9042 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
9043
9044         * kbsequence.h:
9045         * kbsequence.C: re-instate nmodifier mask
9046
9047 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
9048
9049         * lyx_main.h: make lyxGUI private.
9050
9051 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
9052
9053         * lyxfind.C: place the cursor correctly on failed search
9054
9055 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9056
9057         * text.C (getLengthMarkerHeight): for small heights, the arrows
9058         are not always on top/bottom of the text
9059         (drawLengthMarker): smaller arrows; take the left margin in
9060         account; draw also vfills.
9061         (paintFirstRow):
9062         (paintLastRow): remove special code for vfill and standard spaces,
9063         since everything is handled in drawLengthMarker now.
9064
9065 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9066
9067         * buffer.C (insertErtContents): try to handle font and language
9068         interaction a bit better.g
9069
9070         * ColorHandler.C (updateColor): change the hash to cover the whole
9071         LColor enum, ws cleanup
9072         (getGCLinepars): ditto
9073         (getGCLinepars): only lookup in the linecache once.
9074
9075 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
9076
9077         * iterators.C (operator++): Make the iterator more robust
9078
9079         * BufferView2.C (removeAutoInsets): Use paragraph iterators
9080         (John's patch)
9081         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
9082
9083 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9084
9085         * lyxtext.h:
9086         * text.C: better added space drawing
9087
9088 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9089
9090         * LyXView.C:
9091         * BufferView2.C: fix layout combo update on inset unlock
9092
9093 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9094
9095         * Makefile.am: don't compile unused files
9096
9097 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9098
9099         * lyxfunc.C:
9100         * commandtags.h:
9101         * LyXAction.C: remove old LFUN_LAYOUTNO
9102
9103 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9104
9105         * paragraph_pimpl.h:
9106         * paragraph_pimpl.C: isTextAt() doesn't need font param
9107
9108 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9109
9110         * lyxlex.h:
9111         * lyxlex.C: little cleanup
9112
9113 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9114
9115         * BufferView_pimpl.C: fix insertAscii for insets
9116
9117 2001-12-05  Juergen Vigna  <jug@sad.it>
9118
9119         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
9120         set the right font on the "multi" paragraph paste!
9121
9122 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9123
9124         * trans_decl.h:
9125         * trans_mgr.[Ch]:
9126         * trans.[Ch]:
9127         * lyxgluelength.C:
9128         * lyxlength.C: remove out-commented code.
9129
9130         * BufferView_pimpl:
9131         * CutAndPaste.C:
9132         * DepTable.C:
9133         * buffer.C:
9134         * chset.C:
9135         * lastfiles.C:
9136         * lyxlex.C:
9137         * lyxlex_pimpl.C:
9138         * lyxserver.C:
9139         * screen.C:
9140         * tabular-old.C:
9141         * tabular.C:
9142         * text.C:
9143         * trans_mgr.C:
9144         * vc-backend.C: change "while(" to "while ("
9145
9146         * lyxlength.[Ch]: add zero function to check if length is zero or
9147         not
9148         * lyxgluelength.C: use it
9149
9150 2001-12-05  Allan Rae  <rae@lyx.org>
9151
9152         * lyxlength.C: Attempted a fix for the abs(int) header selection.
9153         Works for 2.95.3, from what I understand of Garst's reports this should
9154         work for other g++ versions.  We're screwed if the abs(int) definition
9155         changed between bugfix releases of gcc.
9156
9157 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
9158
9159         * text.C: fix chapter label offset !
9160
9161 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
9162
9163         * lyxtext.h:
9164         * text.C: fix hfill at end of line, clean up
9165
9166 2001-12-04  Juergen Vigna  <jug@sad.it>
9167
9168         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
9169         that we force an update of the inset and it's owners if neccessary.
9170
9171 2001-12-03  Juergen Vigna  <jug@sad.it>
9172
9173         * text.C (rowLast): simplified code
9174
9175 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
9176
9177         * lyxfunc.C: fix show options on timeout
9178
9179 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9180
9181         * screen.C (topCursorVisible): scroll half a page when the cursor
9182         reached top of bottom of screen
9183
9184 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
9185
9186         * minibuffer.C: deactivate on loss of focus
9187
9188 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9189
9190         * vspace.[Ch] (operator!=): add operator.
9191
9192 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
9193
9194         * BufferView_pimpl.C: refuse to open an inset when
9195         there's a selection.
9196
9197 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
9198
9199         * BufferView_pimpl.C: allow to click on RHS of full row insets
9200
9201 2001-11-30  Juergen Vigna  <jug@sad.it>
9202
9203         * tabular.C (LyXTabular): add a same_id to set the same id's in the
9204         insets for undo reasons.
9205
9206 2001-11-28  André Pönitz <poenitz@gmx.net>
9207
9208         * vspace.[Ch]: cosmetical changes
9209
9210 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
9211
9212         * LyXAction.h:
9213         * LyXAction.C:
9214         * lyxfunc.h:
9215         * lyxfunc.C:
9216         * kbmap.h:
9217         * kbmap.C:
9218         * lyxrc.C:
9219         * kbsequence.h:
9220         * kbsequence.C: part re-write of old kb code
9221
9222         * Painter.C:
9223         * WorkArea.C: remove Lgb_bug_find_hack
9224
9225 2001-11-30  José Matos <jamatos@fep.up.pt>
9226
9227         * buffer.C (makeDocBookFile): add a comment to point a hack.
9228         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
9229         Fixed a double write of labels.
9230
9231 2001-11-29 Ben Stanley <bds02@uow.edu.au>
9232
9233         * LaTeX.C:
9234         * LaTeX.h Fixed bug in LaTeX class where it would not
9235         re-run latex if no depfiles were changed, but the .dvi was removed.
9236
9237 2001-11-28  André Pönitz <poenitz@gmx.net>
9238
9239         * all the files from the change on 2001/11/26:
9240         use lyx::layout_type instead of LyXTextClass::size_type
9241         use lyx::textclass_type instead of LyXTextClassList::size_type
9242
9243 2001-11-29  Juergen Vigna  <jug@sad.it>
9244
9245         * text.C: added support for paragraph::isFreeSpacing()
9246
9247         * buffer.C: same as above
9248
9249         * paragraph.h: inserted isFreeSpacing() function to enable
9250         FreeSpacing inside InsetERT.
9251
9252         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
9253         of the paragraph's in the cut/copy buffer to 0!
9254
9255         * text2.C (removeRow): remove the assert as it can!
9256
9257         * lyxtext.h: added helper function firstRow returning firstrow and
9258         made firstrow private again.
9259
9260         * BufferView2.C (lockInset): don't relock if we're already locked!
9261
9262         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
9263         the only paragraph.
9264         (removeRow): added Assert::(firstrow)
9265
9266         * debug.C: forgot to add INSETTEXT here.
9267
9268 2001-11-28  Juergen Vigna  <jug@sad.it>
9269
9270         * sp_spell.C (initialize): changed error text to more general
9271         spellchecker command use (not only ispell!)
9272
9273         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
9274
9275         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
9276
9277 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
9278
9279         * vspace.C: initialise lyxgluelength on failure
9280
9281 2001-11-28  Allan Rae  <rae@lyx.org>
9282
9283         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
9284         declaration & definition that looks like a function declaration.
9285
9286 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9287
9288         * BufferView2.C (copy):
9289         (copyEnvironment): do not clear the selection when doing a copy.
9290
9291         * text.C (paintFirstRow): compilation fix
9292
9293 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
9294
9295         * tabular.C (Latex): correct line count when writing latex.
9296
9297 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
9298
9299         * paragraph_pimpl.h:
9300         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
9301           bug a bit
9302
9303 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
9304
9305         * text.C:
9306         * LColor.h:
9307         * LColor.C: change vfillline->added_space
9308
9309         * text.C: add markers and text for added space
9310
9311         * vspace.C: fix comment
9312
9313 2001-11-28  André Pönitz <poenitz@gmx.net>
9314
9315         * paragraph.C: whitespace changes
9316         * all the other files from the change on 2001/11/26:
9317         change *::pos_type into lyx::pos_type
9318
9319 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
9320
9321         * buffer.C (parseSingleLyXformat2Token): Set the language to the
9322         language of the document when inserting error insets.
9323
9324 2001-11-26  André Pönitz <poenitz@gmx.net>
9325
9326         * BufferView_pimpl.[Ch]:
9327         *       CutAndPaste.C:
9328         * buffer.[Ch]:
9329         * lyxcursor.[Ch]:
9330         * lyxfind.C:
9331         * lyxfunc.C:
9332         * lyxrow.[Ch]:
9333         * paragraph.[Ch]:
9334         * paragraph_pimpl.[Ch]:
9335         * sp_spell.C:
9336         * text.C:
9337         * text2.C: reduce header dependencies, introduce type for positions
9338
9339 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
9340
9341         * <various>: change to use Alert.h
9342
9343 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
9344
9345         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
9346         when encountering an unknown token.
9347         (readLyXformat2): Show an error message if there were unknown tokens.
9348
9349 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
9350
9351         * BufferView2.C:
9352         * BufferView_pimpl.C:
9353         * buffer.C:
9354         * paragraph.h:
9355         * text.C:
9356         * text2.C: use par->isInset()
9357
9358 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
9359
9360         * paragraph_pimpl.h:
9361         * paragraph_pimpl.C: cleanup
9362
9363 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9364
9365         * text2.C (removeRow):
9366         * text.C (setHeightOfRow): remove useless (and costly) call to
9367         getRow.
9368
9369 2001-11-20  Allan Rae  <rae@lyx.org>
9370
9371         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
9372         Now need Inset*::checkInsertChar() to return true for appropriate
9373         cases so that the characters in the minibuffer will actually be
9374         inserted.
9375
9376 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9377
9378         * text.C: change the order of the includes.
9379         (workWidth): initialize it at once.
9380         (workWidth): make maxw unsigned
9381         (setHeightOfRow): remove unused variable (inset)
9382         (selectSelectedWord): remove unused variable (inset)
9383         (paintRowText): fix drawing of hfill characters, and clean up a bit.
9384
9385 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9386
9387         * lyxserver.C (emergencyCleanup): do not try to close pipes if
9388         server is not running.
9389         (openConnection):
9390         (closeConnection): add debug info when server is disabled.
9391
9392         * ColorHandler.C (getGCForeground): send debug message to GUI
9393         channel.
9394
9395         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
9396
9397         * kbmap.C (bind): modify because return conventions of
9398         kb_sequence::parse have changed.
9399
9400         * kbsequence.C (parse): only ignore spaces and not any stupid
9401         control character. This avoids tests like s[i] <= ' ', which are
9402         guaranteed to fail with 8bit characters and signed chars.
9403         Change return code to string::npos when there have been no error
9404         (0 was a bad idea when error is at first character)
9405
9406 2001-11-14  José Matos  <jamatos@fep.up.pt>
9407
9408         * buffer.h:
9409         * buffer.C (simpleDocBookOnePar): removed unused argument.
9410
9411 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9412
9413         * text.C (selectNextWordToSpellcheck): do not test explicitely for
9414         insets which are part of a word. Paragraph::isLetter takes care of
9415         that now. Use Paragraph::isInset to identify insets.
9416         (selectSelectedWord): do not test for hyphenation break.
9417
9418         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
9419         that protected spaces are considered as spaces.
9420
9421         * paragraph.C (isLetter): cleanup the code for ispell extras; use
9422         Inset::isLetter.
9423
9424 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
9425
9426         * lyxserver.h:
9427         * lyxserver.C: fix it. and small cleanup.
9428
9429 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
9430
9431         * BufferView_pimpl.C: use inline helpers
9432
9433         * LaTeXFeatures.h:
9434         * LaTeXFeatures.C: fix typos
9435
9436         * Spacing.h:
9437         * Spacing.C: move spacing_string into class
9438
9439         * ToolbarDefaults.C: move stuff into namespace anon
9440
9441         * layout.h: update enum
9442
9443         * lyxfunc.C: use better debug
9444
9445         * minibuffer.h: fix typo
9446
9447         * debug.h:
9448         * debug.C:
9449         * WorkArea.C: add and use Debug::WORKAREA
9450
9451         * lyxtext.h:
9452         * text.C:
9453         * text2.C: code re-organisation, inline helpers
9454
9455 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
9456
9457         * Layout.C: replaced a few cases of std::vector.size() == 0 with
9458         std::vector.empty().
9459
9460 2001-11-09  Allan Rae  <rae@lyx.org>
9461
9462         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
9463         '\n's after tables.  Tabular and ERT inset work now makes this no
9464         longer necessary.
9465
9466 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
9467
9468         * minibuffer.h:
9469         * minibuffer.C: fix crash, improve drop-down completion
9470
9471 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
9472
9473         * lyxserver.h:
9474         * lyxserver.C: invalidate fd's when doing endPipe()
9475
9476 2001-11-08  José Matos  <jamatos@fep.up.pt>
9477
9478         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
9479         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
9480
9481         * paragraph.h:
9482         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
9483
9484 2001-11-07  José Matos  <jamatos@fep.up.pt>
9485
9486         * buffer.h:
9487         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
9488         const qualifier.
9489
9490         * buffer.C (sgmlOpenTag):
9491         * buffer.C (sgmlCloseTag): removed debug info.
9492
9493         * buffer.h (sgmlOpenTag):
9494         * buffer.h (sgmlCloseTag): made public.
9495
9496 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9497
9498         * buffer.C (saveParamsAsDefaults):
9499         * lyx_cb.C (MenuLayoutSave): remove
9500
9501         * LyXAction.C (init):
9502         * commandtags.h:
9503         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
9504
9505 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9506
9507         * buffer.C (setPaperStuff): removed from here...
9508
9509         * bufferparams.C (setPaperStuff): ... and moved there.
9510
9511 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
9512
9513         * minibuffer.h:
9514         * minibuffer.C:
9515         * XFormsView.C: add support for drop-down completion
9516
9517 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
9518
9519         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
9520         commands.
9521
9522 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9523
9524         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
9525         disabled.
9526
9527 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
9528
9529         * lyx_main.C: change ref to known bugs
9530
9531 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
9532
9533         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
9534         to work around older babel problems.
9535
9536 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
9537
9538         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
9539
9540 2001-10-24  Juergen Vigna  <jug@sad.it>
9541
9542         * tabular-old.C (ReadOld): below variable changes reflected.
9543
9544         * tabular.[Ch]: added ltType struct for longtable header/footer
9545         defines and changed all instances where they are used. Added
9546         future support for double top/bottom rows.
9547
9548 2001-10-24  José Matos  <jamatos@fep.up.pt>
9549
9550         * buffer.h (docbookHandleCaption):
9551         * buffer.C (docbookHandleCaption): removed unused function.
9552         (makeDocBookFile): moved docbook supported version to v4.1.
9553
9554 2001-10-24  José Matos  <jamatos@fep.up.pt>
9555
9556         * tabular.h:
9557         * tabular.C (docbookRow): new function to export docbook code of a row.
9558         (DocBook): now honors the longtable flags.
9559
9560 2001-10-23  José Matos  <jamatos@fep.up.pt>
9561
9562         * LaTeXFeatures.h:
9563         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
9564         of the lyx defined sgml entities used in a docbook/linuxdoc document.
9565
9566         * buffer.C (makeLinuxDocFile):
9567         (makeDocBookFile): reworked the preamble, more clean, and with
9568         support for lyx defined entities. Changed the document declaration
9569         to be more XML friendly.
9570
9571         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
9572         if we need to output XML that should be done with a filter.
9573
9574 2001-10-22  Juergen Vigna  <jug@sad.it>
9575
9576         * sp_pspell.h (class PSpell): add alive function needed in the
9577         controller to see if the spellchecker could be started.
9578
9579 2001-10-22  Juergen Vigna  <jug@sad.it>
9580
9581         * buffer.C (insertStringAsLines): modify the font for inserting
9582         chars in certain conditions by calling checkInsertChar(font).
9583
9584 2001-10-19  Juergen Vigna  <jug@sad.it>
9585
9586         * text.C (workWidth): use getRow instead of wrong algorithm.
9587         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
9588
9589 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
9590
9591         * lyxserver.h:
9592         * lyxserver.C:
9593         * lyx_main.h:
9594         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
9595
9596 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9597
9598         * text.C (workWidth): do not search for the exact row when
9599         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
9600         optimization for big documents.
9601
9602 2001-10-18  Juergen Vigna  <jug@sad.it>
9603
9604         * text.C (workWidth): new function with added Inset * parameter.
9605
9606 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9607
9608         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
9609
9610         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
9611         change return type of getColumnNearX.
9612
9613
9614         * text.C (changeRegionCase): use uppercase/lowercase instead of
9615         toupper/tolower.
9616         (leftMargin):
9617         (rightMargin): simplify code by factoring out the uses of
9618         textclasslist.
9619         (labelFill):
9620         (numberOfHfills):
9621         (setHeightOfRow):
9622         (appendParagraph): use Paragraph::size_type
9623
9624 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9625
9626         * vspace.C (asLatexString): add a missing break
9627
9628 2001-10-15  Herbert Voss  <voss@perce.de>
9629
9630         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
9631
9632 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9633
9634         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
9635         is not available.
9636
9637 2001-10-10  André Pönitz <poenitz@gmx.net>
9638
9639         * lyxfunc.C: removed greek_kb_flag.
9640
9641 2001-10-10  Herbert Voss  <voss@perce.de>
9642
9643         * lyx_main.C: delete global string help_lyxdir.
9644
9645 2001-10-09  Herbert Voss  <voss@perce.de>
9646
9647         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
9648
9649         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
9650
9651         * lyx_main.C: added global string help_lyxdir.
9652
9653         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
9654
9655 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
9656
9657         * lyxrc.C (set_font_norm_type): support iso8859-4
9658
9659 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
9660
9661         * LaTeX.C (deplog): add another regex for MikTeX
9662
9663 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
9664
9665         * lyxrc.C (set_font_norm_type): support iso8859-3
9666
9667 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9668
9669         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
9670
9671         * LaTeXFeatures.C: remove special case of french and index
9672
9673         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
9674         before \begin{document}). This solves several incompatibilities.
9675
9676 2001-10-03  Garst Reese  <reese@isn.net>
9677
9678         * lyx_cb.C: change CheckTex error msg.
9679
9680 2001-10-03  José Matos  <jamatos@fep.up.pt>
9681
9682         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
9683
9684 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9685
9686         * .cvsignore: update
9687
9688         * lyx_main.C (commandLineVersionInfo): use new style version info.
9689
9690         * buffer.C (writeFile):
9691         (makeLaTeXFile):
9692         (makeLinuxDocFile):
9693         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
9694
9695         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
9696
9697         * version.h: update to use stuff in version.C
9698
9699         * version.C.in: new file. Contains version information determined
9700         at compile time. This is a merging of version.h and
9701         version_info.h.in.
9702
9703 2001-10-03  Juergen Vigna  <jug@sad.it>
9704
9705         * BufferView_pimpl.C (update): don't change "dirty" status in
9706         updateInset call.
9707
9708 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
9709
9710         * WorkArea.C (c-tor): re-position version string slightly.
9711
9712 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
9713
9714         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
9715         revert to previous code.
9716
9717         WorkArea.[Ch]: (show, destroySplash): methods removed.
9718
9719         WorkArea.C: rework code so that it's an amalgam of the codes before and
9720         after the splash screen was moved to WorkArea.
9721
9722 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9723
9724         * lyxrc.C (read):
9725         * vspace.C (inPixels):
9726         (lyx_advance):
9727         * kbmap.C (bind):
9728         * buffer.C (insertStringAsLines):
9729         (asciiParagraph): fix types to be large enough
9730
9731         * lyxlex_pimpl.h: change member status from short to int
9732
9733         * layout.h: fix type of endlabeltype
9734
9735         * kbmap.C (bind):
9736         * kbsequence.C (parse): change return type to string::size_type
9737
9738         * LaTeX.C (updateBibtexDependencies): comment out unneeded
9739         variable
9740
9741         * Bullet.C (bulletSize):
9742         (bulletEntry): do not use short ints as parameters
9743
9744         * BufferView2.C (insertLyXFile): change a char to an int.
9745
9746         * WorkArea.C (WorkArea): remove unneeded floats in computation
9747
9748 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
9749
9750         * buffer.C (asciiParagraph): Treat '\\' as other chars.
9751
9752         * paragraph.C (asString): Do not ignore newline/hfill chars when
9753         copying to the clipboard.
9754
9755 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
9756
9757         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
9758         after a multi-line inset.
9759
9760 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
9761
9762         * paragraph.C (validate): Set NeedLyXFootnoteCode
9763
9764 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
9765
9766         * lyxfont.C (LyXSizeNames): changed increase-error to increase
9767         and decrease-error to decrease.
9768
9769 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9770
9771         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
9772         it more readable (should be equivalent)
9773
9774 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
9775
9776         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
9777
9778 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9779
9780         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
9781         of a cursor (row, etc.) after a character has been deleted
9782         (deleteEmptyParagraphMechanism): call the method above on _all_
9783         cursors held by the LyXText when a double space has been
9784         detected/deleted.
9785
9786 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
9787
9788         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
9789         pixmap.
9790         (resizeCurrentBuff): remove code to destroy the old splash dialog.
9791
9792         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
9793         background. Use greyOut() and the new show() methods to toggle between
9794         the foreground and background. Add code to remove the splash after
9795         its initial showing.
9796
9797         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
9798         (create_forms): no longer call Dialogs::showSplash.
9799
9800 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9801
9802         * .cvsignore: add version_info.h
9803
9804 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9805
9806         * version_info.h.in: new file
9807
9808         * Makefile.am: add version_info.h.in
9809
9810         * lyx_main.C (commandLineVersionInfo): use version_info defined in
9811         version_info.h instead of VERSION_INFO
9812
9813 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
9814
9815         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
9816         The ERT inset now returns string().
9817
9818 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
9819
9820         * lyxtext.h, text.C (selectNextWord): renamed as
9821         selectNextWordToSpellcheck.
9822
9823         * text.C (selectNextWordToSpellcheck): Modified to not select
9824         words inside an ERT inset.
9825
9826 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9827
9828         * lyx_cb.C (MenuLayoutSave): change a bit the question
9829
9830         * sp_base.h: include <sys/types.h>
9831
9832 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
9833
9834         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
9835
9836 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
9837
9838         * several files: fix typos in user-visible strings
9839
9840 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9841
9842         * text2.C (pasteSelection): do not set the selection, since it
9843         will be cleared later. Actually, the intent was to fix the way the
9844         selection was set, but I figured rmoving the code was just as good.
9845
9846 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
9847
9848         * FontLoader.C (available): Check if font is available without
9849         loading the font.
9850
9851 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
9852
9853         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
9854
9855 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
9856
9857         * lyxrc.[Ch]: added display_graphics variable and associated code.
9858
9859 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9860
9861         * bufferparams.C (hasClassDefaults): new method. Returns true if
9862         the buffer parameters correspond to known class defaults
9863
9864 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
9865
9866         * XFormsView.C (show): set minimum size to the main window.
9867
9868 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9869
9870         * text2.C (copySelection):
9871         (cutSelection):
9872         * lyxfind.C (LyXReplace):
9873         * BufferView_pimpl.C (Dispatch): pass the correct flag to
9874         LyXText::selectionAsString.
9875
9876         * paragraph.C (asString): add "label" argument to the second form
9877
9878         * text2.C (selectionAsString): add "label" argument and pass it to
9879         Paragraph::asString.
9880
9881 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9882
9883         * lyx_main.C (commandLineHelp): remove version information
9884
9885 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
9886
9887         * lyx_main.C: add -version commandline option
9888
9889 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9890
9891         * paragraph.h: make the optional constructor arg required instead.
9892         some modifications to other files because of this.
9893
9894         * minibuffer.C (C_MiniBuffer_peek_event): make it static
9895
9896         * lyxserver.C (C_LyXComm_callback): make it static
9897
9898         * lyx_main.C (error_handler): make it static
9899
9900         * lyx_gui.C (LyX_XErrHandler): make it static
9901
9902         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
9903
9904         * WorkArea.C: make the extern "C" methods static.
9905
9906         * Makefile.am (lyx_LDADD): simplify
9907
9908 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
9909
9910         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
9911         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
9912
9913         * LyXAction.C (init):
9914         * lyxfunc.C (dispatch): associated code removal.
9915
9916 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9917
9918         * lyxfont.h (isSymbolFont): shut off warning
9919
9920         * text.C (setHeightOfRow):
9921         (getVisibleRow): fix crash with empty paragraphs which have a
9922         bottom line
9923
9924 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
9925
9926         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
9927         code.
9928
9929 2001-09-04  José Matos  <jamatos@fep.up.pt>
9930         * buffer.C
9931         * buffer.h
9932         * tabular.C (docbook): rename docBook method to docbook.
9933
9934 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
9935
9936         * Makefile.am: add dependencies to main.o.
9937
9938 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
9939
9940         * FontLoader.C (available): Return false if !lyxrc.use_gui
9941
9942 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
9943
9944         * FontInfo.C (query):
9945         * converter.C (view):
9946         * importer.C (Import):
9947         * exporter.C (Export): Can not -> cannot.
9948
9949 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
9950
9951         * BufferView_pimpl.C: allow to create index inset even if
9952           string is empty
9953
9954 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
9955
9956         * buffer.C (getLists): replace boost::tie code with an explicit pair
9957         as boost::tie can break some compilers.
9958
9959         * iterators.h: Added a std:: declaration to the return type of
9960         ParIterator::size.
9961
9962 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
9963
9964         * lyxrc.C: add help for view_dvi_paper_option, default to safe
9965           case.
9966
9967 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
9968
9969         * iterators.[Ch]: New files. Provide paragraph iterators.
9970
9971         * buffer.C (changeLanguage): Use paragraph iterators.
9972         (isMultiLingual): ditto
9973
9974         * BufferView2.C (ChangeInsets): Use paragraph iterators.
9975
9976 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
9977
9978         * FontLoader.C: Support for cmr font.
9979
9980 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
9981
9982         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
9983         (available): New method.
9984
9985         * FontInfo.C (getFontname): Use scalable fonts even when
9986         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
9987         found.
9988
9989 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
9990
9991         * converter.C (Formats::view): reverted! Incorrect fix.
9992
9993 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
9994
9995         * converter.C (Formats::view): only output the -paper option
9996         if the dvi viewer is xdvi, thereby fixing bug #233429.
9997
9998 2001-08-23  Herbert Voss  <voss@perce>
9999
10000         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
10001
10002 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
10003
10004         * Spacing.h (Spacing): Set space to Default on in the default
10005         constructor.
10006
10007 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10008
10009         * vc-backend.h (RCS::versionString): add RCS to version
10010         (CVS::versionString): add CVS to version
10011
10012         * vc-backend.C (scanMaster): do not add CVS to version.
10013         (scanMaster): do not add RCS to version
10014
10015         * lyxvc.C (versionString): new method
10016
10017         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
10018
10019 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10020
10021         * Spacing.C (set): initialize fval
10022
10023 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
10024
10025         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
10026         " or \.
10027
10028 2001-08-16  Juergen Vigna  <jug@sad.it>
10029
10030         * lyxfunc.C (dispatch): implemented the new FINISHED states.
10031
10032 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
10033
10034         * BufferView_pimpl.C:
10035         * figureForm.C:
10036         * lyxtext.h:
10037         * text2.C: setParagraph takes linespacing now
10038
10039 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
10040
10041         * LyxAction.C: add internal LFUN_CITATION_INSERT
10042
10043         * LyXView.C: actually apply fix
10044
10045         * bufferlist.C: fix open non-existent file
10046
10047         * lyxfind.C: fix indentation
10048
10049         * lyxfunc.C: remove unneeded assert, fix typo
10050
10051 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
10052
10053         * MenuBackend.C: use "Floatname List"
10054
10055 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
10056
10057         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
10058         when converting LaTeX layout to insetERT.
10059         Generate a non-collapsed float when reading old float
10060
10061 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
10062
10063         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
10064         ERT insets.
10065
10066 2001-08-13  Juergen Vigna  <jug@sad.it>
10067
10068         * text.C (fill): return 0 instead of 20 as this seems to be the more
10069         correct value.
10070
10071 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
10072
10073         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
10074         lyxrc.font_norm.
10075
10076 2001-08-13  Juergen Vigna  <jug@sad.it>
10077
10078         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
10079         casesensitive off.
10080         (SearchBackward): comment out the unlocking of the inset_owner this
10081         should not be needed!
10082
10083 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
10084
10085         * Many files: Remove inherit_language, and add latex_language
10086
10087         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
10088         collapsible insets.
10089
10090 2001-08-10  Juergen Vigna  <jug@sad.it>
10091
10092         * text.C (prepareToPrint): fixed hfill-width in draw!
10093
10094         * BufferView2.C (selectLastWord): save the selection cursor as this
10095         now is cleared in the function LyXText::clearSelection!
10096
10097 2001-08-08  Juergen Vigna  <jug@sad.it>
10098
10099         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
10100         BACKSPACE type functions.
10101
10102         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
10103         is only cutted from the document but not put in the cut-buffer, where
10104         still the old stuff should be.
10105
10106         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
10107
10108         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
10109
10110         * tabular.C (SetWidthOfCell): fixed special case where the width
10111         was not updated!
10112         (LeftLine): handle '|' in align_special.
10113         (RightLine): ditto
10114         (LeftAlreadyDrawed): ditto
10115         (SetWidthOfCell): ditto
10116
10117 2001-08-07  Juergen Vigna  <jug@sad.it>
10118
10119         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
10120
10121 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10122
10123         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
10124         * lyxlex.[hC]: ditto
10125
10126 2001-08-06  Juergen Vigna  <jug@sad.it>
10127
10128         * text.C (getVisibleRow): fix up row clearing a bit.
10129
10130 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10131
10132         * minibuffer.C: make sure the X server sees the changes in the input.
10133
10134 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10135
10136         * paragraph.C (getFont): split into...
10137         (getLabelFont): this
10138         (getLayoutFont): and this
10139         * paragraph_pimpl.C (realizeFont): calling this
10140
10141         * text2.C (getFont): split into...
10142         (getLayoutFont): this
10143         (getLabelFont): and this
10144         (realizeFont): all three calling this
10145
10146         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
10147         files where used.
10148
10149 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10150
10151         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
10152
10153 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
10154
10155         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
10156         layouts from the Quote inset insertion.
10157
10158 2001-08-03  Juergen Vigna  <jug@sad.it>
10159
10160         * BufferView_pimpl.C (update): do the fitCursor only at the end!
10161
10162         * screen.C (drawFromTo): don't call fitcursor here and do the loop
10163         only if status not is already CHANGED_IN_DRAW (second level).
10164
10165         * text.C (draw): don't set the need_break_row when inside an
10166         InsetText LyXText.
10167
10168 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10169
10170         * buffer.C (parseSingleLyXformat2Token): handle more latex
10171         conversion cases.
10172
10173         * bufferview_funcs.[hC]: change function names to
10174         begin with small char, adjust other files.
10175
10176 2001-08-02  André Pönitz <poenitz@gmx.net>
10177
10178         * lyxfunc.C:
10179         BufferView_pimpl.C: remove broken special code for math-greek
10180
10181 2001-08-02  Juergen Vigna  <jug@sad.it>
10182
10183         * BufferView_pimpl.C (update): redone this function so that we
10184         update the text again if there was a CHANGE_IN_DRAW.
10185
10186         * screen.C (cursorToggle): removed LyXText parameter and recoded.
10187         (drawFromTo): added a new internal bool which is used by draw() and
10188         redraw() function.
10189         (general): some cursor drawing problems fixed.
10190
10191 2001-08-01  Juergen Vigna  <jug@sad.it>
10192
10193         * lyxfind.C (LyXFind): fixed
10194         (SearchForward): ditto
10195         (SearchBackward): ditto
10196
10197         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
10198         spurius drawing of the cursor in the main area.
10199
10200         * text2.C (status): small fix which could lead to a segfault!
10201         (clearSelection): remove unneeded BufferView param.
10202
10203 2001-08-01  André Pönitz <poenitz@gmx.net>
10204
10205         * lyxfunc.C: small change due to changed mathed interface
10206
10207 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10208
10209         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
10210
10211 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
10212
10213         * lyxfunc.c: fail gracefully if file doesn't exist
10214
10215         * LyXSendto.C:
10216         * buffer.C:
10217         * lyxfunc.C:
10218         * BufferView_pimpl.C: IsDirWriteable() proto changed
10219
10220         * LyXView.C: fix updateWindowTitle() to store the last title
10221
10222 2001-07-31  Juergen Vigna  <jug@sad.it>
10223
10224         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
10225         the font (wrong since using of Paragraph::highestFontInRange).
10226
10227         * paragraph.C (highestFontInRange): added a default_size parameter.
10228
10229         * text.C (getVisibleRow): minor clear row changes (still not perfect).
10230         (setHeightOfRow): reformat
10231
10232 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10233
10234         * converter.[hC] + affected files: move to (inital-char)lowercase
10235         function names.
10236
10237         * ParagraphParameters.C (ParagraphParameters): remove commented code
10238
10239         * PainterBase.[Ch]: remove commented code
10240
10241         * LaTeXFeatures.h: add "bool floats" for float.sty
10242
10243         * LaTeXFeatures.C (LaTeXFeatures): init floats
10244         (require): handle float
10245         (getPackages): do it with floats
10246
10247 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10248
10249         * BufferView_pimpl.C (Dispatch): improve handling of
10250         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
10251
10252         * commandtags.h: #include lyxfont.h here temporarily to avoid
10253         keybinding bug.
10254
10255         * bufferlist.h: include LString.h here.
10256
10257 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10258
10259         * text2.C (getStringToIndex): new method.
10260
10261 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
10262
10263         * *: Reduced header file dependencies all over.
10264
10265 2001-07-30  Baruch Even  <baruch@lyx.org>
10266
10267         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
10268
10269 2001-07-29  Baruch Even  <baruch@lyx.org>
10270
10271         * buffer.C (readInset): Changed GRAPHICS to Graphics.
10272
10273 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10274
10275         * ParameterStruct.h (endif): add a default constructor to make
10276         sure that all variables is initialized.
10277
10278         * ParagraphParameters.C (ParagraphParameters): adjust
10279
10280 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10281
10282         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
10283         index; also, check that there is something to index, and that it
10284         does not span over several paragraphs.
10285         (doubleClick): use WHOLE_WORD_STRICT for double click.
10286
10287         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
10288
10289         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
10290         scheme.
10291
10292 2001-07-26  Baruch Even  <baruch@lyx.org>
10293
10294         * buffer.C (readInset): Changed to call up InsetGraphics when reading
10295         an InsetFig figure, backwards compatible reading of old figure code.
10296
10297 2001-07-27  Juergen Vigna  <jug@sad.it>
10298
10299         * text2.C: font.realize function adaption.
10300
10301         * text.C (draw): add a warnings lyxerr text if needed.
10302
10303         * layout.C: font.realize function adaption.
10304
10305         * language.C: add inherit_language and implement it's handlings
10306
10307         * bufferview_funcs.C (StyleReset): remove language parameter from
10308         font creation (should be language_inherit now).
10309
10310         * bufferparams.C (writeFile): handle ignore_language.
10311
10312         * paragraph.C (getFontSettings): the language has to be resolved
10313         otherwise we have problems in LyXFont!
10314
10315         * lyxfont.C (lyxWriteChanges): added document_language parameter
10316         (update): removed unneeded language parameter
10317
10318         * paragraph.C (validate): fixed wrong output of color-package when
10319         using interface colors for certain fonts in certain environments,
10320         which should not seen as that on the final output.
10321
10322 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
10323
10324         * BufferView_pimpl.C:
10325         * Thesaurus.h:
10326         * Thesaurus.C:
10327         * Makefile.am:
10328         * commandtags.h:
10329         * LyXAction.C: add thesaurus support
10330
10331         * lyxfind.h:
10332         * lyxfind.C: add "once" parameter, for thesaurus, to not
10333           move to the next match
10334
10335 2001-07-26  Juergen Vigna  <jug@sad.it>
10336
10337         * lyxfont.C (realize): honor ignore_language too!
10338         (resolved): ditto.
10339
10340         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
10341
10342         * text.C (draw): one place more for ignore_language to not draw
10343         itself!
10344
10345 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
10346
10347         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
10348
10349 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10350
10351         * buffer.C (parseSingleLyXformat2Token): a more general fix for
10352         the minipage conversion problem.
10353
10354 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10355
10356         * buffer.C (parseSingleLyXformat2Token): check minipage if we
10357         insert an inset.
10358
10359 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10360
10361         * BufferView.h: don't forward declare WorkArea
10362
10363         * BufferView.C: don't include WorkArea.h
10364
10365 2001-07-25  André Pönitz <poenitz@gmx.net>
10366
10367         * commandtags.h:
10368         * LyXAction.C:
10369         * lyxfunc.C:  new LFUN 'math-space'
10370
10371         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
10372
10373 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10374
10375         * text2.C (toggleInset): call open/close
10376
10377 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10378
10379         * lyxfunc.C (dispatch): add debug for the disabled case
10380
10381         * font.C (buttonText): make similar to rectText
10382
10383         * buffer.C (readInset): comment out parsing of insetlist and
10384         insttheorem
10385
10386         * PainterBase.C (rectText): small correction
10387
10388         * BufferView_pimpl.C: comment out insettheorem and insetlist
10389         * LyXAction.C: ditto
10390         * commandtags.h: ditto
10391
10392 2001-07-24  Juergen Vigna  <jug@sad.it>
10393
10394         * text.C (draw): honor the ignore_language.
10395
10396         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
10397
10398 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10399
10400         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
10401         char inset.
10402
10403 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
10404
10405         * lyxtext.h: remove unused (and unimplemented) methods
10406
10407 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
10408
10409         * text.C (getVisibleRow): honor background color
10410
10411         * PainterBase.h:
10412         * Painter.h: remove default color argument for fillRectangle
10413
10414         * text.C (backgroundColor): new method
10415
10416 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10417
10418         * text.C (getVisibleRow): adjust
10419
10420         * font.[Ch] (rectText): new method, metrics
10421         (buttonText): new method, metrics
10422
10423         * PainterBase.[hC]: make rectText and buttonText always draw and take
10424         fewer paramteres.
10425
10426 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
10427
10428         * ToolbarDefaults.C (read):
10429         * MenuBackend.C (read): allow escaping in all strings
10430
10431         * BufferView_pimpl.C (insertAndEditInset): new method.
10432         (Dispatch): use insertAndEditInset whenever appropriate.
10433
10434         * BufferView_pimpl.C (insertNote): removed
10435
10436         * BufferView_pimpl.C (smartQuote): new method, moved from
10437         BufferView; if an insetquote cannot be inserted, insert a '"'
10438         character instead.
10439
10440         * BufferView2.C: remove insertCorrectQuote();
10441
10442         * lyxfunc.C (getStatus): Add support for all remaingin
10443         inset-insert lfuns.
10444
10445         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
10446
10447         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
10448         command (necessary to pass " as parameter of self-insert.
10449
10450         * text.C (selectWordWhenUnderCursor):
10451         (selectWord): add word_location parameter
10452         (selectWordWhenUnderCursor): same + remove special code for word
10453         boundary.
10454         (selectNextWord): use kind() to guess type of insetspecialchar,
10455         not latex().
10456
10457         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
10458         (insertErtContents): create ert insets as collapsed.
10459         (readInset): better compatibility code for Info inset.
10460
10461 2001-07-20  Juergen Vigna  <jug@sad.it>
10462
10463         * lyxfunc.C (dispatch): use always LyXFind now!
10464
10465         * text2.C (init): add a reinit flag so that the LyXText can be
10466         reinited instead of deleted and reallocated (used in InsetText).
10467
10468         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
10469
10470         * text.C: ditto
10471
10472         * text2.C: ditto
10473
10474 2001-07-18  Juergen Vigna  <jug@sad.it>
10475
10476         * text.C (selectNextWord): handle insets inside inset by calling
10477         always the bv->text functions so that we can go up the_locking_inset!
10478
10479         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
10480         in strange locations when inside an inset!
10481
10482         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
10483         handling to include insets.
10484
10485         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
10486
10487 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10488
10489         * LyXAction.C (init):
10490         * commandtags.h:
10491         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
10492         LIGATURE_BREAK, since the name is so stupid.
10493
10494 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
10495
10496         * buffer.C (readInset): enable reading of new InsetNotes as well as old
10497         InsetInfos.
10498
10499         * FontLoader.C: remove FORMS_H_LOCATION cruft.
10500
10501         * sp_form.[Ch]: remove.
10502
10503         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
10504
10505         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
10506         InsetInfo.
10507
10508         * src/buffer.C (readInset): ditto.
10509
10510 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
10511
10512         * BufferView_pimpl.C (specialChar): new method. Obsoletes
10513         menuSeparator(), endOfSentenceDot(), ldots() and
10514         hyphenationPoint(), which are therefore removed.
10515         (Dispatch): handle LFUN_HYPHENATION_BREAK.
10516
10517         * LyXAction.C (init):
10518         * commandtags.h: add LFUN_HYPHENATION_BREAK.
10519
10520         * paragraph.C (getWord): removed.
10521
10522         * BufferView_pimpl.C (Dispatch): use last word or selection for
10523         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
10524
10525         * lyx_main.C (queryUserLyXDir): do not ask before creating
10526         user_dir, except if it has been named explicitely.
10527
10528 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
10529
10530         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
10531         a document of zero size.
10532
10533 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
10534
10535         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
10536         approriately in the c-tor and in require().
10537         (getPackages): output the appropriate LaTeX for natbib support.
10538
10539         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
10540         variables "use_natbib" and "use_numerical_citations" when reading the
10541         LyX file.
10542         (readInset): read the various natbib cite commands.
10543         (validate): white-space change.
10544
10545         * bufferparams.[Ch]: new variables "bool use_natbib" and
10546         "bool use_numerical_citations".
10547         (writeFile): output them in the LyX file.
10548
10549 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
10550
10551         * lyxfunc.C (getStatus): add support for all the inset insertion
10552         commands.
10553
10554         * text2.C (insertInset):
10555         * paragraph.C (insetAllowed):
10556         * BufferView_pimpl.C (insertInset): update to take in account the
10557         renaming of insertInsetAllowed
10558
10559         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
10560
10561         * text2.C (getInset): new method. returns inset at cursor position.
10562
10563         * BufferView_pimpl.C (Dispatch): changes because of this.
10564
10565         * LyXAction.C (init): rename open-stuff to inset-toggle.
10566
10567         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
10568
10569         * text2.C (toggleInset): renamed from openStuff; use
10570         Inset::open().
10571
10572 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
10573
10574         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
10575
10576         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
10577
10578 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
10579
10580         * buffer.C (readLyXformat2): Add filename to the error dialog
10581
10582 2001-07-18  Juergen Vigna  <jug@sad.it>
10583
10584         * tabular.C (GetCellNumber): put an assert here instead of the check!
10585
10586 2001-07-17  Juergen Vigna  <jug@sad.it>
10587
10588         * BufferView_pimpl.C (toggleSelection): adapted too.
10589
10590         * text.C (selectNextWord): adapted for use with insets.
10591         (selectSelectedWord): ditto
10592
10593 2001-07-17  Juergen Vigna  <jug@sad.it>
10594
10595         * sp_spell.C (PSpell): fix initialitation order.
10596
10597 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10598
10599         * paragraph.C: spacing
10600
10601 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
10602
10603         * sp_spell.C: repair language selection for pspell
10604
10605 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10606
10607         * lyxfunc.h: change more methods to begin with lower char.
10608
10609 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
10610
10611         * buffer.C (parseSingleLyXformat2Token): Generate error insets
10612         for unknown layouts.
10613
10614 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
10615
10616         * buffer.C (readLyXformat2): Generate an error dialog if there are
10617         unknown layouts.
10618
10619 2001-07-16  Juergen Vigna  <jug@sad.it>
10620
10621         * sp_spell.C: always compile ISpell part.
10622
10623         * lyxrc.C: added use_pspell entry and it's handling.
10624
10625 2001-07-13  Juergen Vigna  <jug@sad.it>
10626
10627         * sp_spell.C: removed double includes.
10628
10629 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
10630
10631         Consistent use of Lsstream.h:
10632         * Lsstream.h: added using std::stringstream for consistencies sake.
10633
10634         * buffer.C: removed using std::stringstream
10635
10636         * lyxfont.C (stateText):
10637         * paragraph.C (asString):
10638         * text.C (selectNextWord, selectSelectedWord):
10639         * text2.C (setCounter):
10640         * vspace.C (asString, asLatexString):
10641         std::ostringstream -> ostringstream.
10642
10643 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
10644
10645         * LyXAction.C: add LFUN_HELP_ABOUTLYX
10646         * commandtags.h: add LFUN_HELP_ABOUTLYX
10647         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
10648
10649 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
10650
10651         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
10652         cursorToggle()
10653         * lyx_gui_misc.C: remove spellchecker
10654         * lyxfunc.C: showSpellchecker
10655         * sp_base.h: added
10656         * sp_ispell.h: added
10657         * sp_pspell.h: added
10658         * sp_spell.C: added
10659         * sp_form.[Ch]: removed
10660         * spellchecker.[Ch]: removed
10661
10662 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
10663
10664         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
10665         is set.
10666         (simpleTeXSpecialChars): Simply print the input character without
10667         any special translation if pass_thru is set.
10668
10669         * layout.h: Added bool pass_thru to layout class for being able to
10670         implement pass through of a paragraph for Literate Programming.
10671
10672         * layout.C: add LT_PASS_THRU to LayoutTags enum.
10673         * layout.C (LyXLayout): set pass_thru to flase in constructor.
10674         * layout.C (Read): add "passthru" to list of layout tags and add
10675         code to set the pass_thru boolean when it is read.
10676
10677 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10678
10679         * trans_decl.h: remove allowed from KmodInfo
10680
10681         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
10682         remove allowed code
10683         (Load): adjust
10684
10685         * paragraph_pimpl.C (erase): use boost::prior
10686
10687         * Painter.C (text): use data() instead of c_str() when length is
10688         also provided.
10689         * WorkArea.C (putClipboard): ditto
10690         * font.h (width): ditto
10691
10692         * BufferView2.C: use it-> instead of (*it). for iterators
10693         * texrow.C: ditto
10694         * paragraph_pimpl.C: ditto
10695         * paragraph.C: ditto
10696         * minibuffer.C: ditto
10697         * language.C: ditto
10698         * kbmap.C: ditto
10699         * encoding.C: ditto
10700         * counters.C: ditto
10701         * converter.C: ditto
10702         * chset.C: ditto
10703         * Variables.C: ditto
10704         * TextCache.C: ditto
10705         * MenuBackend.C: ditto
10706         * LyXAction.C: ditto
10707         * LColor.C: ditto
10708         * FloatList.C: ditto
10709         * DepTable.C: ditto
10710         * ColorHandler.C (LyXColorHandler): ditto
10711
10712 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10713
10714         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
10715
10716         * text2.C (openStuff): reintroduce this method (which had been
10717         nuked in NEW_INSETS frenzy).
10718
10719         * lyxfunc.C (Dispatch): when an action has not been handled, use
10720         its name in the error message, not its number.
10721
10722         * paragraph.C (inInset): change method name to begin with lowercase.
10723
10724         * undo_funcs.C:
10725         * text2.C: updates because of this.
10726
10727 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10728
10729         * ToolbarDefaults.C (add): add spaces in error message
10730
10731 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10732
10733         * buffer.C (readLyXformat2): initialize the ert comp. variables.
10734         (readLyXformat2): rename return_par to first_par, use lyxlex's
10735         pushToken and remove the manual push handling.
10736         (parseSingleLyXformat2Token): add another ert comp. variable:
10737         in_tabular, rename return_par to first_par. handle newlines better
10738
10739 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10740
10741         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
10742
10743 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10744
10745         * text2.C (getParFromID): removed
10746
10747         * buffer.C (getParFromID): new method moved form lyxtext.
10748         * BufferView2.C (insertErrors): adjust
10749         (setCursorFromRow): adjust
10750         * BufferView_pimpl.C (restorePosition): adjust
10751         * lyxfunc.C (Dispatch): adjust
10752         * undo_funcs.C (textUndo): adjust
10753         (textRedo): adjust
10754         (textHandleUndo): adjust
10755         (textHandleUndo): adjust
10756
10757 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10758
10759         * buffer.C: up' the LYX_FORMAT
10760
10761         * lyxfont.h: turn NO_LATEX on as default
10762
10763         * buffer.C (insertErtContents): new methods of tex style compability.
10764         (parseSingleLyXformat2Token): use it several places.
10765         * tabular.C (OldFormatRead): and here
10766
10767 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10768
10769         * text2.C: remove some commented code.
10770         reindent file.
10771
10772         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
10773         * trans.C: changes because of the above.
10774
10775 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
10776
10777         * text2.C (setCounter): Fix counters bug with bibliography layout.
10778
10779 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10780
10781         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
10782         own member functions
10783         (simpleTeXSpecialChars): ditto
10784
10785 2001-07-06  Juergen Vigna  <jug@sad.it>
10786
10787         * a lot of files: changed the access to LyXText::status and the
10788         call of undo-functions.
10789
10790         * undo.[Ch]: added a inset_id to the undo informations.
10791
10792         * undo_funcs.[Ch]: added and moved here all undo functions.
10793
10794         * lyxtext.h: give the status enum a weight, made status_ a private
10795         variable and made accessor functions for it, removed the whole bunch
10796         of undo-functions as they are now in their own file, make some
10797         functions publically available. Added function ownerParagraph with
10798         int parameter.
10799
10800         * paragraph.[Ch]: added "bool same_ids" to the constructor,
10801         made InInset() a const function, added getParFromID() function.
10802
10803         * buffer.[Ch]: added const version for inset_iterator functions,
10804         added getInsetFromID() function.
10805
10806         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
10807         changed undo functions for new version.
10808
10809 2001-07-05  Juergen Vigna  <jug@sad.it>
10810
10811         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
10812         unknow mechanism does not call the proper constructor but only this
10813         one also if I request the other!?
10814
10815 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10816
10817         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
10818
10819         * text2.C (LyXText): use initialization lists.
10820
10821         * lyxtext.h (Selection): initialize set_ and mark_
10822         (init): remove method
10823
10824 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
10825
10826         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
10827
10828 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10829
10830         * screen.[Ch]: change method names to begin with lowercase
10831
10832         * BufferView_pimpl.C (updateScrollbar): simplify further and
10833         hopefully make it a bit faster.
10834
10835 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10836
10837         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
10838         calling directly xforms functions.
10839
10840         * Painter.C (Painter):
10841         * lyx_cb.C (MenuWrite):
10842         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
10843         fl_display.
10844
10845         * lyx_gui.C: remove bogus guiruntime extern declaration.
10846
10847 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10848
10849         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
10850         in NEW_INSETS
10851         (redoDrawingOfParagraph): ditto
10852         (redoParagraphs): ditto
10853         (cutSelection): don't create a object for CutAndPaste use the
10854         static method directly
10855         (pasteSelection): ditto
10856
10857         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
10858         LyXview (+ rename)
10859
10860 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10861
10862         * modifications to some other files because of this.
10863
10864         * Makefile.am (lyx_SOURCES): add XFormsView
10865
10866         * XFormsView.[Ch]: new files
10867
10868         * LyXView.[Ch]: make LyXView a base class for the gui handling for
10869         the main window. Move the gui dependent stuff to XFormsView
10870
10871 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10872
10873         * tabular.C (GetCellInset): update cur_cell also in the row/col
10874         version of this function.
10875
10876         * lyxfunc.C: no need to include figure_form.h here.
10877
10878         * FontLoader.h:
10879         * lyxfunc.h:
10880         * lyxscreen.h:
10881         * text2.C:
10882         * lyxvc.C: no need to include forms.h here.
10883
10884 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10885
10886         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
10887
10888         * lyxfunc.C (Dispatch):
10889         * Spacing.C (set):
10890         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
10891         constructor argument.
10892
10893 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10894
10895         * paragraph.C (Paragraph): dont't clear, and just set layout.
10896         (makeSameLayout): use params's copy contructor.
10897
10898         * ParagraphParameters.[Ch] (makeSame): delete method
10899
10900 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
10901
10902         * Variables.[Ch]: fix indentation, rename set to isSet
10903
10904 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10905
10906         * lyxfunc.C (Dispatch): fix typo
10907
10908 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10909
10910         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
10911         upper_bound.
10912
10913         * bufferlist.C: include assert.h for emergencyWrite().
10914
10915 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
10916
10917         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
10918           give up at last (bug #425202) !
10919
10920 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
10921
10922         * lyx_gui_misc.C:
10923         * sp_form.h:
10924         * sp_form.C:
10925         * spellchecker.h:
10926         * spellchecker.C: strip spellchecker options and bring up
10927           preferences tab instead
10928
10929 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10930
10931         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
10932         the istringstream constructor
10933
10934 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10935
10936         * paragraph.C (getLayout): fix return value
10937
10938         * paragraph.h: do not declare getLayout as inline.
10939
10940         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
10941
10942 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10943
10944         * lyxcursor.h (operator<): new func
10945         (operator>): new func
10946         (operator>=): new func
10947         (operator<=): new func
10948
10949         * text.C (changeCase): use selection.start and selection.end
10950         (changeRegionCase): require from to be <= to. Require par to be a
10951         valid paragraph.
10952
10953         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
10954
10955 2001-06-27  Juergen Vigna  <jug@sad.it>
10956
10957         * text.C (cursorLeftOneWord): changed to return the cursor and added
10958         overlay with BufferView * parameter which calls this one.
10959         (getWord): added
10960         (selectWord): use new getWord function.
10961         (changeCase): renamed from changeWordCase as and extended to work
10962         also on selections.
10963
10964         * lyxtext.h: added enum word_location
10965
10966         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
10967         changeCase as this operates now also on selections.
10968
10969 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
10970
10971         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
10972
10973         * many files: send debug output to Debug::INFO instead of
10974         Debug::ANY.
10975
10976         * converter.C (View):
10977         (Convert):
10978         (Move): send debug output to Debug::FILES instead of console.
10979
10980 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
10981
10982         * lyxfunc.C (getStatus): use func_status
10983
10984         * func_status.h: new header, describing the results of
10985         LyXFunc::getStatus;
10986
10987         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
10988         LFUN_MATH_HALIGN.
10989
10990 2001-06-25  The LyX Project  <jug@sad.it>
10991
10992         * buffer.C (sgmlOpenTag):
10993         (sgmlCloseTag):
10994         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
10995
10996 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10997
10998         * text2.C: remove some dead code
10999
11000         * tabular.C (GetCellInset): store the last cell checked (gotten)
11001
11002         * tabular.h: add the helper for the speedup
11003
11004         * lyxtext.h: remove some dead code
11005
11006 2001-06-26  The LyX Project  <Asger>
11007
11008         * paragraph.C: Change export to LaTeX of alignment to
11009         \begin{center} and family for better roundtrip work with reLyX.
11010
11011         * Tune the math drawing a bit.
11012
11013 2001-06-25  The LyX Project  <Asger>
11014
11015         * LColor.C (LColor): New color for math background. New color
11016         for buttons.
11017
11018 2001-06-25  The LyX Project  <jug@sad.it>
11019
11020         * lyxfunc.C (MenuNew): remove extra check for .lyx file
11021
11022         * lyxfunc.C (Open):
11023         * bufferlist.C (newFile): do not restrict to files ending with
11024         .lyx
11025
11026         * BufferView_pimpl.C (MenuInsertLyXFile):
11027
11028 2001-06-24  The LyX Project  <jug@sad.it>
11029
11030         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
11031         of compare_no_case
11032
11033 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11034
11035         * lyxtext.h: rename most methods to begin with a small char.
11036         Lots of changes because of this.
11037
11038         * paragraph.C (Paragraph): do not call fitToSize
11039         (erase): call Pimpl::erase
11040         (insertChar): call Pimpl::insertChar
11041         (insertInset): call Pipl::insertInset
11042         (breakParagraph): do not call fitToSize
11043         (breakParagraphConservative): do not call fitToSize
11044         (fitToSize): remove method
11045
11046         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
11047
11048 2001-06-24  The LyX Project  <Asger>
11049
11050         * Fix Qt compilation^2
11051
11052 2001-06-24  The LyX Project  <jug@sad.it>
11053
11054         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
11055         depthHook(getDepth()-1).
11056
11057         * paragraph.h:
11058         * ParagraphParameters.h:
11059         * ParameterStruct.h: change type of depth to unsigned int ==
11060         depth_type. Many adaptations to other files before of that.
11061
11062 2001-06-24  The LyX Project  <Asger>
11063
11064         * Fix Qt compilation.
11065
11066 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11067
11068         * paragraph.h: renamed several methods to begin with small letter.
11069         several changes to many parts of the code because of this.
11070
11071 2001-06-23  The LyX Project  <jug@sad.it>
11072
11073         * text2.C (InsertStringAsLines): renamed from InsertStringA;
11074         rewritten to discard all double spaces when KeepEmpty is off
11075         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
11076         to only handle newlines but not fiddle with spaces and friends.
11077
11078         * lyxfunc.C (MenuNew): when doing 'new from template', use
11079         template_path as default directory
11080
11081 2001-06-23  The LyX Project  <Asger>
11082
11083         * Clean-up of header file includes all over
11084         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
11085
11086 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11087
11088         * paragraph.h: renamed from lyxparagraph.h
11089
11090 2001-06-23  Asger  <lyx@violet.home.sad.it>
11091
11092         * Buffer.h: Removed Buffer::resize
11093         * BufferList.h: Removed BufferList::resize
11094         * LyXView.h: Added LyXView::resize. This way, we will only reflow
11095         the document lazily when we change the width, or the font settings.
11096
11097 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
11098
11099         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
11100
11101 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
11102
11103         * buffer.h: remove out of date comment
11104
11105 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
11106
11107         * lyxscreen.h:
11108         * screen.C: fix "theoretical" GC leak
11109
11110 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11111
11112         * LaTeX.C (scanAuxFile):
11113         (deplog): remove trailing \r when reading stream (useful under
11114         win32)
11115
11116 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
11117
11118         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
11119         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
11120         and BufferView::theLockingInset(Inset*), so should use them and not
11121         access bv_->text->the_locking_inset directly.
11122
11123         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
11124
11125 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
11126
11127         * Makefile.am:
11128         * tex-defs.h: remove old unused file
11129
11130 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
11131
11132         * BufferView_pimpl.C: fix typo, remove minibuffer message
11133           when buffer has loaded
11134
11135 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11136
11137         * lyxfunc.C (Dispatch): use stringstream
11138         (MenuNew): use stringstream
11139         (Open): use stringstream
11140
11141         * importer.C (Import): use stringstream
11142
11143         * bufferview_funcs.C (CurrentState): use stringstream
11144
11145         * LaTeX.C (run): use stringstream
11146
11147         * BufferView_pimpl.C (savePosition): use stringstream
11148         (restorePosition): use stringstream
11149         (MenuInsertLyXFile): use stringstream
11150
11151 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
11152
11153         * BufferView.C:
11154         * Bullet.C:
11155         * ColorHandler.C:
11156         * FontInfo.C:
11157         * FontLoader.C:
11158         * LColor.C:
11159         * LaTeXFeatures.C:
11160         * Painter.C:
11161         * gettext.C:
11162         * lyx_gui_misc.C:
11163         * lyxserver.C:
11164         * vspace.C: removed // -*- C++ -*- as first line.
11165
11166         * lyxfind.h:
11167         * version.h: added // -*- C++ -*- as first line.
11168
11169 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11170
11171         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
11172
11173         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
11174         of string
11175
11176 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11177
11178         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
11179         of floats.
11180
11181 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11182
11183         * gettext.C: include LString.h even when --disable-nls is on.
11184
11185 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
11186
11187         * converter.h (Get): changed argument type from int to
11188         FormatList::size_type to avoid unnecessary conversion.
11189
11190         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
11191         before using it.
11192
11193 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11194
11195         * gettext.h: include LString.h even when --disable-nls is on.
11196
11197 2001-06-07  Juergen Vigna  <jug@sad.it>
11198
11199         * text.C (BreakAgain): subst spaces with tabs.
11200
11201         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
11202         (resizeInsetsLyXText): set force on resizeLyXText.
11203
11204 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11205
11206         * gettext.h (gettext_init):
11207         (locale_init): use a real definition instead of a macro
11208
11209 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
11210
11211         * Bufferview_pimpl.C:
11212         * LColor.h:
11213         * LColor.C: further lcolor tidies
11214
11215 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11216
11217         * BufferView_pimpl.C (updateScrollbar): simplify.
11218
11219         * BufferView2.C: don't include insets/insetinfo.h, change
11220         prototype for insertInset and call the Pimpl version. let
11221         updateInset call Pimpl version.
11222
11223         * BufferView.h: move inset_slept to BufferView::Pimpl, move
11224         gotoInset to BufferView::Pimpl
11225
11226 2001-06-01  Juergen Vigna  <jug@sad.it>
11227
11228         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
11229         inside a LockingInset (is the update needed at all?).
11230
11231 2001-05-31  Juergen Vigna  <jug@sad.it>
11232
11233         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
11234         here not the old one otherwise how should we compare it afterwards
11235         if it's the same!
11236
11237 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11238
11239         * lyxfont.C:
11240         * tabular.C:
11241         * tabular-old.C:
11242         * FontInfo.C: bring C functions into global namespace when
11243         necessary
11244
11245 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11246
11247         * LString.h: make sure config.h has been loaded before LString.h.
11248
11249         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
11250         (one for each char read by EatLine!).
11251
11252         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
11253         variables.
11254
11255 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11256
11257         * paragraph.C (BreakParagraph): set the inset_owner in the new par
11258         to the same as the par we break from
11259
11260 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11261
11262         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
11263
11264         * MenuBackend.C (expand): also create menu entries for wide
11265         versions of the floats.
11266
11267         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
11268
11269         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
11270
11271         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
11272         frontends/Makefile.am
11273
11274         * text2.C: adjust
11275         * text.C: adjust
11276
11277
11278         * tabular.C (getTokenValue): add std::
11279
11280         * tabular-old.C (getTokenValue): add std::
11281         (getTokenValue): ditto
11282         (getTokenValue): ditto
11283
11284         * screen.C (ToggleSelection): adjust
11285
11286         * lyxtext.h: put selection cursors inside a Selection struct.
11287
11288         * lyxfunc.C (moveCursorUpdate): adjust
11289
11290         * lyxfont.C (latexWriteStartChanges): add std::
11291
11292         * lyxfind.C: adjust
11293
11294         * font.h: delete with(char const *, LyXFont const &)
11295
11296         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
11297
11298         * FontInfo.C (getFontname): add std::
11299
11300         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
11301         (workAreaButtonPress): adjust
11302         (tripleClick): adjust
11303         (update): adjust
11304         (moveCursorUpdate): adjust
11305         (Dispatch): adjust
11306
11307         * BufferView2.C (gotoInset): adjust
11308
11309 2001-05-30  Juergen Vigna  <jug@sad.it>
11310
11311         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
11312         to check pspell I add this as default as I now have new pspell
11313         libraries and they seem to use this.
11314
11315 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11316
11317         * text2.C (CutSelection): make the cursor valid before the call to
11318         ClearSelection.
11319
11320 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11321
11322         * kbsequence.C (parse): de-uglify a bit the parsing code, which
11323         relied on 0 terminated strings and other horrors. Bug found due to
11324         the new assert in lyxstring!
11325
11326         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
11327         KP_ keys.
11328
11329 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11330
11331         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
11332         to latinkeys.bind.
11333
11334         * lyxfunc.C (processKeySym): change method of getting to the
11335         self-insert char.
11336
11337         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
11338         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
11339         * BufferView_pimpl.[Ch]: here as private methods.
11340
11341 2001-05-28  Juergen Vigna  <jug@sad.it>
11342
11343         * text.C (SetHeightOfRow): added the update() call again as it is
11344         needed to initialize inset dimensions!
11345
11346 2001-05-16  Juergen Vigna  <jug@sad.it>
11347
11348         * text2.C (SetCharFont): Add new function with BufferView * and
11349         bool toggleall parameters for setting insets internal fonts.
11350         (SetFont): Freeze the undo as we may change fonts in Insets and
11351         all this change should be inside only one Undo!
11352
11353         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
11354         setting font's in insets as for them we have the SetFont function!
11355
11356 2001-05-15  Juergen Vigna  <jug@sad.it>
11357
11358         * text2.C (ClearSelection): to be sure we REALLY don't have any
11359         selection anymore!
11360
11361         * tabular.C (TeXCellPreamble): fixed the left border problem for
11362         multicolumn cells.
11363
11364 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
11365
11366         * LaTeX.C (deplog): Make sure that the main .tex file is in the
11367         dependancy file
11368
11369 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11370
11371         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
11372         LFUN_BREAKPARAGRAPH.
11373
11374         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
11375         help test to "internal only", similar for LFUN_INSERT_URL
11376
11377         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
11378         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
11379         auto_region_delete and deadkeys.
11380
11381 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
11382
11383         * LColor.h:
11384         * LColor.C: remove some dead entries, tidy a little
11385
11386 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11387
11388         * lyxfunc.C (processKeySym): comment the Escape handling, remove
11389         commented code.
11390         (Dispatch): implement LFUN_ESCAPE
11391
11392         * commandtags.h: add LFUN_ESCAPE
11393
11394         * LyXAction.C (init): add entry for LFUN_ESCAPE
11395
11396         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
11397         Remove commented code.
11398         (insertNote): moved here
11399         (open_new_inset): moved here
11400
11401         * BufferView[2].[Ch]: move insertNote and open_new_inset to
11402         BufferView_pimpl
11403
11404 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11405
11406         * kbmap.C (findbinding): clean it up and make it work correctly.
11407
11408         * lyx_main.C (init): do not pass argc and argv as parameters
11409
11410 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
11411
11412         * buffer.C: fix path for OS/2 & Win32
11413
11414         * lyx_gui.C:
11415         * lyx_main:
11416         * lyx_main.C: Added os:: class.
11417
11418         * os2_defines.h: update
11419
11420 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11421
11422         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
11423         better by trying again with reduced state.
11424
11425 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11426
11427         * lyxrc.C (read): print error about invalid key sequence only when
11428         debugging (because not all latinX keysyms are known to some X
11429         servers)
11430
11431         * kbsequence.C (getiso): add a few std:: qualifiers
11432         (getiso): comment out extra return statement.
11433
11434 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11435
11436         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
11437         handling.
11438         (Dispatch): enhance the accent inset a bit. (not perfect)
11439
11440 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11441
11442         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
11443
11444 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11445
11446         * bufferlist.C (emergencyWrite): fix assert() call
11447
11448 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
11449
11450         * text.C (InsertChar): Added trivial patch to only send the "you
11451         can not do multiple spaces this way" message once during a
11452         session.
11453
11454 2001-05-08  Baruch Even  <baruch@lyx.org>
11455
11456         * Makefile.am: Changed order of libraries to get LyX to link properly
11457         with the gnome frontend.
11458
11459 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11460
11461         * LaTeXFeatures.h: add a std:: qualifier
11462
11463 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11464
11465         * paragraph.C (String): use stringstream
11466
11467 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11468
11469         * paragraph.C (writeFile): remove footflag arg
11470
11471         * buffer.C (makeLaTeXFile): use stringstream
11472         (latexParagraphs): remove footnot gurba
11473
11474         * LaTeXFeatures.C (getPackages): use stringstream
11475         (getMacros): likewise
11476         (getTClassPreamble): likewise
11477         (getFloatDefinitions): new method
11478
11479         * paragraph.C (writeFile): reindent
11480         (Erase): reindent
11481
11482         * WorkArea.h: revert the xpos + etc changes.
11483
11484         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
11485
11486         * lyxparagraph.[Ch]: add copy constructor, remove Clone
11487
11488         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
11489         (pasteSelection): likewise
11490         * text2.C (CreateUndo): likewise
11491
11492 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11493
11494         * minibuffer.C (peek_event): temporarily reduce the functionality
11495         of the minibuffer (to allow args on lfuns)
11496
11497         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
11498         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
11499
11500         * buffer.C (readInset): add compability reading of old float
11501         lists, add reading of new style float list.
11502         (readInset): avoid reevaluation of inscmd.getCmdName()
11503         (getLists): reindent
11504
11505         * MenuBackend.C (MenuItem): implement parsing of
11506         md_floatlistinsert and md_floatinsert.
11507         (expand::LastFiles): move initalizaton of iterators out of loop,
11508         avoid reevaluation.
11509         (expand::Documents): introduce typdedef vector<string> Strings,
11510         and use it.
11511         (expand::ExportFormats): introduce typedef vector<Format const *>
11512         Formats, and use it.
11513         (expand): implement FloatListInsert and FloatInsert.
11514
11515         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
11516         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
11517         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
11518
11519         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
11520         handling.
11521         (Dispatch::LFUN_FLOAT_LIST): implement
11522
11523 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
11524
11525         * LaTeX.C (run): Fix problem with --export code.
11526
11527 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
11528
11529         * BufferView.[Ch] (workarea): removed.
11530         (getClipboard) new method; wrapper for workarea()->getClipboard()
11531
11532         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
11533         bug.
11534
11535         * WorkArea.h (width, height, xpos, ypos): These methods all
11536         returned the dimensions of the work_area sub-area of WorkArea,
11537         resulting in a position error if the WorkArea were resized. Now
11538         return the dimensions of the entire WorkArea.
11539
11540         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
11541
11542 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11543
11544         * LaTeX.C (deplog): correct the syntax of regex reg1
11545
11546 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11547
11548         * undo.C: remove !NEW_INSETS cruft
11549
11550 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11551
11552         * text2.C: remove !NEW_INSETS cruft
11553
11554         * text.C: remove !NEW_INSETS cruft
11555
11556         * tabular.C: remove !NEW_INSETS cruft
11557
11558         * spellchecker.C: remove !NEW_INSETS cruft
11559
11560         * lyxtext.h: remove !NEW_INSETS cruft
11561
11562         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
11563
11564         * lyxfunc.C: remove !NEW_INSETS cruft
11565
11566         * lyxfind.C: remove !NEW_INSETS cruft
11567
11568         * lyx_cb.C: remove !NEW_INSETS cruft
11569
11570         * figureForm.C: remove  !NEW_INSETS cruft
11571
11572         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
11573
11574         * buffer.[Ch]: remove !NEW_INSETS cruft
11575
11576         * ToolbarDefaults.C: remove !NEW_INSETS cruft
11577
11578         * CutAndPaste.C: remove !NEW_INSETS cruft
11579
11580         * BufferView_pimpl.C: remove !NEW_INSETS cruft
11581
11582         * BufferView2.C: remove !NEW_INSETS cruft
11583
11584         * BufferView.h: remove !NEW_INSETS cruft
11585
11586 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11587
11588         * Lsstream.h: include LString.h before the sstream headers to
11589         fix problem with gcc 2.95.3 and lyxstring
11590
11591 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11592
11593         * lyx_main.C: add using directives when needed for C functions
11594         declared in std:: namespace.
11595
11596 2001-04-27  Juergen Vigna  <jug@sad.it>
11597
11598         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
11599         (SetHeightOfRow): comment out the update call should not be needed!
11600
11601 2001-04-13  Juergen Vigna  <jug@sad.it>
11602
11603         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
11604         (LyXTabular): tried to minimize operator= operations (and realized
11605         hopfully Lars wish).
11606
11607 2001-04-27  Juergen Vigna  <jug@sad.it>
11608
11609         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
11610
11611 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11612
11613         * lyxfunc.C (Dispatch): hack to make listof algorithm work
11614
11615         * buffer.C (readInset): hack to make listof algorithm work
11616
11617         * BufferView_pimpl.C: hack to make listof algorithm work
11618
11619 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11620
11621         * LyXAction.C: removed all !NEW_INSETS cruft
11622         (init): moved lfun_item in method
11623
11624         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
11625
11626 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
11627
11628         * BufferView2.C (theLockingInset): white space.
11629
11630 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11631
11632         * minibuffer.C: include <iostream>
11633
11634         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
11635
11636         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
11637
11638         * commandtags.h: add LFUN_TRANSPOSE_CHARS
11639
11640         * text.[Ch] (TransposeChars): new method
11641
11642 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11643
11644         * call message directly through LyXView instead of through LyXFunc
11645         * BufferView2.C: adjust
11646         * BufferView_pimpl.C: adjust
11647         * FontLoader.C: adjust
11648         * buffer.C: adjust
11649         * bufferview_funcs.C: adjust
11650         * converter.C: adjust
11651         * figureForm.C: adjust
11652         * importer.C: adjust
11653         * lyx_cb.C: adjust
11654         * lyx_gui_misc.C: adjust
11655         * lyxfunc.C: adjust
11656         * lyxvc.C: adjust
11657         * text2.C: adjust
11658         + more files in subdirs
11659
11660         * lyxparagraph.h (size): move up int file
11661         (GetLayout): ditto
11662
11663         * adjust all uses of Assert to lyx::Assert.
11664
11665         * BufferView2.C (ChangeCitationsIfUnique): adjust for
11666         lyxfunctional in namespace lyx
11667         * layout.C (hasLayout): ditto
11668         (GetLayout): ditto
11669         (GetLayout): ditto
11670         (delete_layout): ditto
11671         (NumberOfClass): ditto
11672         * converter.C (GetFormat): ditto
11673         (GetNumber): ditto
11674         (Add): ditto
11675         (Delete): ditto
11676         (SetViewer): ditto
11677         * bufferlist.C (getFileNames): ditto
11678         (emergencyWriteAll): ditto
11679         (exists): ditto
11680         (getBuffer): ditto
11681         * MenuBackend.C (hasSubmenu): ditto
11682         (hasMenu): ditto
11683         (getMenu): ditto
11684         * BufferView_pimpl.C (getInsetByCode): ditto
11685
11686 2001-04-18  Juergen Vigna  <jug@sad.it>
11687
11688         * vspace.C (asLatexString): fixed the 100% problem.
11689
11690 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11691
11692         * lyxfunc.C (Dispatch):
11693         * minibuffer.C:
11694         * minibuffer.h: add a few std:: qualifiers
11695
11696 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11697
11698         * minibuffer.[Ch]: reimplement so that commands is initiated and
11699         run from lyxfunc, simplified som handling, and made the completion
11700         and history code for complete. wip.
11701
11702         * lyxfunc.C (processKeySym): call message
11703         (miniDispatch): new temporary method
11704         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
11705         (LFUN_MESSAGE): implement
11706         (LFUN_MESSAGE_PUSH): implement
11707         (LFUN_MESSAGE_POP): implement
11708         (initMiniBuffer): the initial/defualt minibuffer message.
11709
11710         * lyxfont.[Ch]: inline some more getters
11711
11712         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
11713
11714         * lyx_gui_misc.[Ch] (WriteStatus): remove method
11715
11716         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
11717         (AutoSave): use LFUN_MESSAGE
11718         (Reconfigure): ditto
11719
11720         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
11721
11722         * figureForm.C: use LFUN_MESSAGE
11723
11724         * converter.C (runLaTeX): use LFUN_MESSAGE
11725
11726         * bufferview_funcs.C: use LFUN_MESSAGE
11727         (Melt): ditto
11728         (changeDepth): ditto
11729
11730         * bufferparams.h: use boost::
11731
11732         * bufferlist.h: inherit privately from noncopyable
11733
11734         * bufferlist.C (loadLyXFile): remove some commented code.
11735
11736         * buffer.C (runChktex): use LFUN_MESSAGE
11737
11738         * ShareContainer.h: inherit privately from noncopyable
11739
11740         * ParagraphParameters.[hC] (depth): inline it.
11741
11742         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
11743         methods.
11744         (message): new method
11745         (messagePush): ditto
11746         (messagePop): ditto
11747         (show): init minibuffer
11748         (showState): direct call
11749
11750         * LaTeX.[Ch]: inherit privately from noncopyable
11751         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
11752         instead of WriteStatus.
11753
11754         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
11755
11756         * BufferView_pimpl.C (buffer): don't init minibuffer
11757         (workAreaButtonPress): use LFUN_MESSAGE
11758         (workAreaButtonRelease): ditto
11759         (savePosition): ditto
11760         (restorePosition): ditto
11761         (MenuInsertLyXFile): ditto
11762         (workAreaExpose): don't init minibuffer
11763         (update): remove commented code, simplify
11764
11765         * BufferView2.C (openStuff): use LFUN_MESSAGE
11766         (toggleFloat): ditto
11767         (menuUndo): ditto
11768         (menuRedo): ditto
11769         (copyEnvironment): ditto
11770         (pasteEnvironment): ditto
11771         (copy): ditto
11772         (cut): ditto
11773         (paste): ditto
11774         (gotoInset): ditto
11775         (updateInset): remove some commented code
11776
11777         * lastfiles.h: inherit privately from noncopyable
11778         * layout.h: ditto
11779         * lyx_gui.h: ditto
11780         * lyx_main.h: ditto
11781         * lyxlex.h: ditto
11782         * lyxlex_pimpl.h: ditto
11783
11784         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
11785         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
11786         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
11787
11788         * LyXAction.h: inherit privately from noncopyable, add methods
11789         func_begin, func_end, returning iterators to the func map.
11790
11791         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
11792         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
11793         (func_begin): new method
11794         (func_end): new method
11795
11796         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
11797         and not)
11798         (copySelection): ditto
11799         (pasteSelection): ditto
11800
11801         * BufferView.C: whitespace change
11802         * BufferView.h: inherit privately from noncopyable
11803
11804 2001-04-16  Allan Rae  <rae@lyx.org>
11805
11806         * tabular-old.C (l_getline):
11807         * spellchecker.C (sc_check_word):
11808         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
11809         an unrecognised preprocessor directive.  So ensure they're wrapped.
11810
11811 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
11812
11813         * src/exporter.C (Export): Give an error message when path to file
11814         contains spaces.
11815
11816 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
11817
11818         * LaTeX.C (deplog): Always check that foundfile exists.
11819
11820 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11821
11822         * lyx_main.h:
11823         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
11824
11825 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11826
11827         * tabular.[Ch] (getLabelList): implement new method
11828
11829         * minibuffer.h: comment ouf setTiimer
11830
11831         * minibuffer.C (ExecutingCB): constify res
11832         (peek_event): constify s
11833         (Set): constify ntext
11834         (Init): constify nicename
11835
11836         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
11837
11838         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
11839         (savePosition): use two params to Minibuffer::Set
11840         (restorePosition): ditto
11841
11842 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11843
11844         * lyx_main.C: include language.h
11845
11846         * Makefile.am (lyx_main.o): add language.h
11847
11848 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11849
11850         * exporter.C:
11851         * paragraph.C:
11852         * screen.C:
11853         * tabular.C:
11854         * CutAndPaste.C: include gettext.h
11855
11856         * lyxfont.h: remove old hack with ON and OFF.
11857
11858         * lyxparagraph.h:
11859         * lyxfont.h: do not include language.h...
11860
11861         * BufferView2.C:
11862         * LaTeXFeatures.C:
11863         * Painter.C:
11864         * bufferview_funcs.C:
11865         * font.C:
11866         * lyxfont.C:
11867         * text.C:
11868         * text2.C:
11869         * trans_mgr.C:
11870         * paragraph.C: ... but do it here instead
11871
11872 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11873
11874         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
11875
11876         * tabular.C: small reformat
11877
11878         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
11879         NEW_INSETS version
11880         (GetChar): ditto
11881         (BreakParagraph): ditto
11882         (SetOnlyLayout): ditto
11883         (SetLayout): ditto
11884
11885         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
11886         with one arg less.
11887
11888         * lastfiles.C: removed most using decl, add std:: where needed
11889
11890         * buffer.C: ws changes
11891
11892         * MenuBackend.C (class compare_format): put into anon namespace
11893         (expand): constify label, names, action, action2
11894         (expand):
11895
11896         * text.C (SingleWidth): constify font
11897         (IsBoundary): constify rtl2
11898         (GetVisibleRow): constify ww
11899
11900         * LaTeX.C (deplog): constify logfile
11901
11902         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
11903         start_x, end_x
11904         (workAreaExpose): constify widthChange, heightChange
11905
11906         * lyxrow.C (par): moved
11907         (height): moved
11908         (next): moved
11909         * lyxrow.h: as inlines here
11910
11911         * lyxfont.h (shape): moved from lyxfont.C
11912         (emph): moved from lyxfont.C
11913
11914         * lyxfont.C (LyXFont): use initialization list for all
11915         constructors
11916         (shape): move to lyxfont.h as inline
11917         (emph): move to lyxfont.h as inline
11918
11919
11920 2001-04-04  Juergen Vigna  <jug@sad.it>
11921
11922         * vspace.C: had to include stdio.h for use of sscanf
11923
11924 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
11925
11926         * BufferView.h:
11927         * BufferView_pimpl.h: remove xforms cruft. Both classes are
11928         independent of xforms.
11929
11930 2001-04-02  Juergen Vigna  <jug@sad.it>
11931
11932         * spellchecker.C: fixed namespace placing!
11933
11934 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
11935
11936         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
11937         the LyXParagraph * is 0.
11938
11939 2001-03-29  Juergen Vigna  <jug@sad.it>
11940
11941         * vspace.C: added support for %, c%, p%, l%.
11942         (stringFromUnit): added helper function.
11943         (asLatexString): changed to give right results for the %-values.
11944
11945         * buffer.C: convert the widthp in a width%.
11946
11947 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
11948
11949         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
11950         figureForm.[Ch].
11951
11952         * figureForm.[Ch]: stripped the FD_from_figure manipulation
11953         code out of lux_cb.[Ch], ready for its (imminent?) removal.
11954
11955         * lyx_cb.[Ch]: see above.
11956
11957         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
11958         form1.[Ch].
11959
11960         * form1.[Ch]:
11961         * lyx.[Ch]: replaced by figure_form.[Ch].
11962
11963         * lyx_gui.C:
11964         * lyx_gui_misc.C:
11965         * lyxfunc.C: changed headers associated with above changes.
11966
11967 2001-03-27  Juergen Vigna  <jug@sad.it>
11968
11969         * BufferView_pimpl.C: set the temporary cursor right!
11970
11971 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
11972
11973         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
11974
11975 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
11976
11977         * LString.h: removed "using std::getline"!
11978
11979         * BufferView_pimpl.C (Dispatch): changes due to changes in
11980         InsetInclude::Params.
11981
11982         * buffer.C (tag_name): removed redundant break statements as they were
11983         producing lots of warnings with my compiler.
11984
11985 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11986
11987         * LString.h: add "using std::getline" when using the real <string>.
11988
11989 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
11990
11991         * buffer.C: removed bitset usage.
11992         PAR_TAG moved to an anonymous name space.
11993         (tag_name): new funtion, also in the anonymous namespace.
11994         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
11995         (makeDocBookFile): clean code. Completed transition from string arrays
11996         to string vectors.
11997         (SimpleDocBookOnePar): code clean.
11998
11999 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12000
12001         * tabular.C: add some comments.
12002
12003 2001-03-22  Juergen Vigna  <jug@sad.it>
12004
12005         * buffer.C (parseSingleLyXformat2Token): redone the minipage
12006         compatibility read a bit and fixed bug with minipage in different
12007         depth.
12008
12009 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
12010
12011         * buffer.C (pop_tag): removed.
12012         (push_tag): removed.
12013         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
12014         array replaced with vector. Added support for CDATA sections.
12015         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
12016         at any nest level.
12017         (makeDocBookFile): XML conformant declaration of CDATA section,
12018         fixed bug related to <emphasis> in the first paragraph char.
12019         (sgmlOpenTag): exclude empty tags.
12020         (sgmlCloseTag): ditto.
12021
12022         * buffer.h (pop_tag): removed.
12023         (push_tag): removed.
12024
12025 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
12026
12027         * language.h (Languages): added size_type and size().
12028
12029 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12030
12031         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
12032         response on compability reading of minipages. One probliem is that
12033         the old usage of minipages was «flertydig»
12034
12035         * several files here and in subdirs: don't use static at file
12036         scope use anon namespaces instead.
12037
12038 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
12039
12040         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
12041         LaTeX output. This is necessary for Literate document
12042         processing.
12043
12044 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12045
12046         * buffer.C: insert hfill when needed.
12047
12048         * tabular.C (l_getline): use string::erase, small whitespace change.
12049
12050         * BufferView_pimpl.C: try the anon namespace.
12051         * WorkArea.C: ditto
12052
12053 2001-03-16  Juergen Vigna  <jug@sad.it>
12054
12055         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
12056         otherwise it won't open options-dialogs.
12057
12058         * buffer.C: honor pextraWidth(p) on converting minipages.
12059
12060         * tabular.C (l_getline): changed the functions to strip trailing \r.
12061
12062 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
12063
12064         * BufferView_pimpl.C:
12065         * minibuffer..C: added "using SigC::slot" declaration.
12066
12067 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12068
12069         * lyxlex_pimpl.h: noncopyable is in namespace boost.
12070
12071         * text2.C: ditto
12072
12073         * text.C: ditto
12074
12075         * paragraph.C: ditto
12076
12077         * lyxtext.h: NO_PEXTRA
12078
12079         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
12080
12081         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
12082         * ParameterStruct.h: ditto
12083         * ParagraphParameters.h: ditto
12084         * lyxparagraph.h: ditto
12085
12086 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12087
12088         * buffer.C: add compability for minipage alignment.
12089         (latexParagraphs): remove unwanted pextra check.
12090
12091         * several files: remove CXX_WORKING_NAMESPACES
12092
12093         * buffer.C (pop_tag): tie is in namespace boost
12094
12095         * BufferView.h: noncopyable is in namespace boost
12096         * lyxlex.h: ditto
12097         * lyx_main.h: ditto
12098         * lyx_gui.h: ditto
12099         * layout.h: ditto
12100         * lastfiles.h: ditto
12101         * bufferlist.h: ditto
12102         * ShareContainer.h: ditto
12103         * LyXView.h: ditto
12104         * LyXAction.h: ditto
12105         * LaTeX.h: ditto
12106
12107 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
12108
12109         * Merging changes from BRANCH_MVC back into HEAD.
12110
12111         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
12112
12113 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
12114
12115         * BufferView_pimpl.C: change from intl.C
12116
12117         * combox.h:
12118         * combox.C:
12119         * Makefile.am: move combox.*
12120
12121         * form1.h:
12122         * form1.C:
12123         * lyx_gui.C:
12124         * intl.h:
12125         * intl.C: remove dialog (covered by prefs)
12126
12127 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
12128
12129         * lyxfunc.C (Dispatch): removed redundant break statement.
12130
12131 2001-03-14  Juergen Vigna  <jug@sad.it>
12132
12133         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
12134
12135 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12136
12137         * buffer.C: add hack to fix compability reading of minipages.
12138
12139 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
12140
12141         * buffer.C (getLists): Cleanup.
12142
12143 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12144
12145         * lyxfont.C (update): don't honor toggleall on font size.
12146
12147 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
12148
12149         * bmtable.c:
12150         * bmtable.h:
12151         * Makefile.am: moved to frontends/xforms/
12152
12153         * lyx_gui_misc.C:
12154         * lyxfunc.C:
12155         * BufferView_pimpl.C: changes for moved mathpanel
12156
12157 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
12158
12159         * gettext.h: fix gettext_init() in --disable-nls
12160
12161 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12162
12163         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
12164
12165 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
12166
12167         * lyx.C:
12168         * lyx.h: strip external form
12169
12170 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
12171
12172         * BufferView_pimpl.C: add comment, destroySplash()
12173
12174 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
12175
12176         * BufferView_pimpl.C:
12177         * LyXAction.C:
12178         * buffer.C:
12179         * commandtags.h:
12180         * lyxfunc.C: use re-worked insetinclude
12181
12182 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12183
12184         * buffer.C: add using std::stringstream.
12185
12186         * lyx_cb.C: readd using std::ios.
12187
12188         * buffer.C: add using std::map.
12189
12190         * BufferView_pimpl.C: add using std::vector.
12191
12192         * ShareContainer.h: add std:: to swap.
12193
12194         * buffer.h: add some typedefs
12195         * buffer.C (getLists): use them
12196         (getLists): renamed from getTocList.
12197         add a counter for the different float types and use it in the
12198         generated string.
12199         (getLists): use the same counter for the NEW_INSETS and the "non"
12200         NEW_INSETS
12201
12202         * lyx_cb.h: remove unused items, includes, using etc.
12203
12204         * ShareContainer.h: remove some commented code, add more comments
12205         and "documentation".
12206
12207 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12208
12209         * buffer.C (getTocList): make the list also when NEW_INSETS is
12210         defined.
12211
12212         * buffer.h: remove TocType
12213
12214         * buffer.C (getTocList): change to return a map<string,
12215         vector<TocItem> >, implement for dynamic number of list.
12216
12217         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
12218         * text2.C (PasteSelection): adjust
12219         * CutAndPaste.C (pasteSelection): adjust
12220
12221         * FloatList.C (FloatList): update from the new_insets branch.
12222         * Floating.[Ch]: ditto
12223         * LaTeXFeatures.C: ditto
12224         * buffer.C: ditto
12225         * lyxlex_pimpl.C: ditto
12226
12227         * paragraph.C (Last): remove when NEW_INSETS is defined.
12228
12229         * other file: changes because of the above.
12230
12231 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12232
12233         * lyxparagraph.h: rename next to next_, previous to previous_,
12234         make them private for NEW_INSETS. Rename Next() to next(),
12235         Previous() to previous().
12236
12237         * other files: changes because of the above.
12238
12239 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
12240
12241         * BufferView.h:
12242         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
12243         problem.
12244
12245 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12246
12247         * main.C (main): pass lyx_localedir to gettext_init().
12248
12249         * gettext.h: remove locale_init and gettext_init macros
12250
12251         * gettext.C (locale_init): new function
12252         (gettext_init): new function
12253
12254         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
12255         setlocale().
12256
12257 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
12258
12259         * Moved credits to frontends:
12260         * credits.[Ch]: removed
12261         * credits_form.[Ch]: removed
12262         * lyx_gui_misc.C: remove credits stuff
12263         * Makefile.am:
12264
12265 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12266
12267         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
12268
12269         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
12270         unneeded destructor.
12271
12272         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
12273         a standalone pointer again.
12274
12275         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
12276
12277 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
12278
12279         * Makefile.am:
12280         * filedlg.h:
12281         * filedlg.C:
12282         * LyXAction.C:
12283         * ToolbarDefaults.C:
12284         * bufferlist.C:
12285         * commandtags.h:
12286         * form1.C:
12287         * form1.h:
12288         * lyx_cb.C:
12289         * lyx_cb.h:
12290         * lyxfunc.h:
12291         * lyxfunc.C:
12292         * BufferView_pimpl.C: use new file dialog in GUII
12293
12294         * lyx_cb.h:
12295         * lyx_cb.C: remove LayoutsCB to Toolbar
12296
12297 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12298
12299         * ShareContainer.h (get): add std:: qualifier
12300
12301 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12302
12303         * ShareContainer.h: define a proper ShareContainer::value_type
12304         type (and use typename to please compaq cxx)
12305
12306 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12307
12308         * lyxparagraph.h: move serveral local vars to
12309         ParameterStruct/ParagraphParameters., use ShareContainer in
12310         FontTable., make vars in FontTable private and add getter and
12311         setter.
12312
12313         * paragraph.C: changes because of the above.
12314
12315         * lyxfont.h: remove copy constructor and copy assignment. (the
12316         default ones is ok), move number inside FontBits. move inlines to
12317         lyxfont.C
12318
12319         * lyxfont.C: add number to initializaton of statics, move several
12320         inlines here. constify several local vars. some whitespace
12321         cleanup. Dont hide outerscope variables.
12322
12323         * Spacing.h: add two new constructors to match the set methods.
12324
12325         * ShareContainer.h: new file, will perhaps be moved to support
12326
12327         * ParameterStruct.h: new file
12328
12329         * ParagraphParameters.h: new file
12330
12331         * ParagraphParameters.C: new file
12332
12333         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
12334         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
12335
12336         * BufferView_pimpl.C: ParagraphParameter changes.
12337         * buffer.C: Likewise.
12338         * bufferview_funcs.C: Likewise.
12339         * text.C: Likewise.
12340         * text2.C: Likewise.
12341
12342 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12343
12344         * lyxfind.C (LyXReplace): do not redefine default argument in
12345         implementation.
12346         (IsStringInText): ditto
12347         (SearchForward): ditto
12348         (SearchBackward): ditto
12349
12350 2001-03-06  Juergen Vigna  <jug@sad.it>
12351
12352         * lyxfind.C (IsStringInText): put parentes around expressions.
12353
12354 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
12355
12356         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
12357
12358 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
12359
12360         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
12361
12362         * stl_string_fwd.h: add comment
12363
12364         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
12365
12366         * tabular.h:
12367         * tabular.C: remove unused DocBook methods
12368
12369         * intl.C:
12370         * language.C:
12371         * paragraph.C:
12372         * buffer.C:
12373         killed DO_USE_DEFAULT_LANGUAGE
12374
12375 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12376
12377         * lyx_gui.C: do not include language.h.
12378
12379         * bufferview_funcs.C (ToggleAndShow): do not provide optional
12380         arguments in function implementation.
12381
12382 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12383
12384         * BufferView_pimpl.C: add <ctime>
12385
12386 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12387
12388         * BufferView_pimpl.C: add using std::find_if
12389
12390 2001-02-27  José Matos  <jamatos@fep.up.pt>
12391
12392         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
12393         by OnlyPath.
12394
12395 2001-02-11  José Matos  <jamatos@fep.up.pt>
12396
12397         * buffer.C (makeDocBookFile): command styles now have a parameter as
12398         "title" by default.
12399
12400 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
12401
12402         * layout_forms.[Ch]: removed
12403         * lyx_cb.[Ch]: out character
12404         * lyx_gui.C: out character
12405         * lyx_gui_misc.C: out character
12406         * bufferview_funcs.C: : out character,
12407         added toggleall as parameter in ToggleAndShow
12408
12409 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
12410
12411         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
12412
12413         * text2.C (SetCurrentFont): Disable number property at boundary.
12414
12415 2001-02-26  Juergen Vigna  <jug@sad.it>
12416
12417         * lyxfunc.C (getStatus): added a string argument override function so
12418         that this is correctly called from LyXFunc::Dispatch if it contains a
12419         do_not_use_argument which is used!
12420         (Dispatch): added check for "custom" export and call appropriate func.
12421
12422 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
12423
12424         * lyxrc.C: Add language_command_local, language_use_babel and
12425         language_global_options.
12426
12427         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
12428
12429         * buffer.C (makeLaTeXFile): Use language_use_babel and
12430         language_global_options.
12431
12432 2001-02-23  Juergen Vigna  <jug@sad.it>
12433
12434         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
12435         which works with LyXText and putted it inside BufferView. Here now we
12436         only call for that part the BufferView::Dispatch() function.
12437
12438         * BufferView.C (Dispatch): added.
12439
12440         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
12441         functions which needs to use a LyXText over from LyXFunc.
12442         (MenuInsertLyXFile): added
12443         (getInsetByCode): added
12444         (moveCursorUpdate): added
12445         (static TEXT): added
12446
12447 2001-02-22  Juergen Vigna  <jug@sad.it>
12448
12449         * BufferView_pimpl.C (update): call a status update to see if LyXText
12450         needs it.
12451
12452 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12453
12454         * vc-backend.C (revert): implement for CVS
12455         (getLog): implement for CVS
12456
12457 2001-02-20  Juergen Vigna  <jug@sad.it>
12458
12459         * text2.C (ClearSelection): added BufferView param for inset_owner call
12460
12461         * lyxfunc.C (TEXT): added this function and use it instead of
12462         directly owner->view()-text of getLyXText().
12463
12464 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
12465
12466         * src/layout_forms.C: out preamble
12467         * src/layout_forms.h: out preamble
12468         * src/lyx_cb.C: out preamble
12469         * src/lyx_cb.h: out preamble
12470         * src/lyx_gui.C: out preamble
12471         * src/lyx_gui_misc.C: out preamble
12472         * src/lyxfunc.C: connect with guii preamble
12473
12474 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
12475
12476         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
12477
12478 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
12479
12480         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
12481         whether to run bibtex.
12482
12483 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
12484
12485         * Makefile.am (lyx_SOURCES): Remove BackStack.h
12486
12487 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
12488
12489         * Makefile.am (lyx_SOURCES): removed bibforms.h
12490
12491         * vspace.h: doxygen
12492
12493         * text.C (GetVisibleRow): make several local vars const
12494
12495         * tabular.C: small cleanup.
12496
12497         * lyxserver.C (callback): use compare instead of strncmp
12498
12499         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
12500         inlines to after class or to paragraph.C
12501
12502         * lyxfont.h: remove friend operator!=
12503
12504         * converter.h: move friend bool operator< to non friend and after
12505         class def.
12506
12507         * combox.h: small cleanup
12508
12509         * buffer.h: doxygen, remove unused constructor, move inclas inlies
12510         to inlines after class def.
12511
12512         * buffer.C (pop_tag): use string operations instead of strcmp
12513
12514         * bmtable.c: doxygen, small cleanup
12515
12516         * LaTeX.h: remove friend operator==
12517
12518 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
12519
12520         * screen.C:
12521         * lyxrc.[Ch]:
12522         * lyxfunc.C:
12523         * lyxfont.[Ch]:
12524         * lyx_cb.C:
12525         * intl.[Ch]:
12526         * commandtags.h:
12527         * buffer.C:
12528         * WorkArea.[Ch]:
12529         * LyXAction.C:
12530         * BufferView_pimpl.C:
12531         * BufferView.[Ch]: remove cruft
12532
12533 2001-02-14  Juergen Vigna  <jug@sad.it>
12534
12535         * lyxfunc.C: removed #if 0 unused code
12536
12537         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
12538
12539         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
12540
12541         * text2.C (SetSelection): added a BufferView * parameter
12542
12543 2001-02-13  Juergen Vigna  <jug@sad.it>
12544
12545         * lyxfunc.C (Dispatch): fixed protected blank problem.
12546         * BufferView2.C (protectedBlank): added LyxText * parameter.
12547
12548         * tabular.C (AppendRow): forgot to set row_info of newly added row.
12549         (AppendColumn): same as above for column_info.
12550
12551         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
12552         (moveCursorUpdate): use a LyXText param for support of InsetText.
12553
12554         * BufferView_pimpl.C (doubleClick): added support for InsetText.
12555         (tripleClick): ditto
12556
12557         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
12558
12559         * BufferView_pimpl.C (update): added LyXText param to honor insets.
12560
12561         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
12562
12563         * text2.C (SetSelection): set correct update status if inset_owner
12564         (ToggleFree): ditto
12565
12566 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
12567
12568         * tabular.C: remove some commented code.
12569
12570 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
12571
12572         * BufferView_pimpl.C: call hideSplash()
12573
12574         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
12575
12576         * include_form.h:
12577         * bibforms.h: remove
12578
12579         * lyxfunc.C:
12580         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
12581           add LFUN_CHILD_CREATE
12582
12583         * counters.h: fix tiny typo
12584
12585         * lyx_cb.C:
12586         * lyx.h:
12587         * lyx_gui.C:
12588         * lyx.C: move splash to frontends/xforms/
12589
12590         * lyx_gui_misc.C: move Include and Bibform to frontends
12591
12592         * lyxvc.h: clarify comment
12593
12594         * vspace.C: tiny housekeeping
12595
12596 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
12597
12598         * text.C (PrepareToPrint): RTL Fix.
12599
12600         * paragraph.C (GetUChar): New method.
12601         (String):  Use GetUChar.
12602
12603         * buffer.C (asciiParagraph): Use GetUChar.
12604
12605 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
12606
12607         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
12608
12609 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
12610
12611         * buffer.h:
12612         * buffer.C: rename to getLogName(), handle
12613           build log / latex log nicely
12614
12615 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12616
12617         * MenuBackend.C:
12618         * MenuBackend.h: remove support for reference menuitem type.
12619
12620 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
12621
12622         * BufferView_pimpl.C: housekeeping
12623         * BufferView_pimpl.h:
12624         * LyXView.h:
12625         * Makefile.am:
12626         * Timeout.C:
12627         * Timeout.h:
12628         * minibuffer.h: move Timeout GUI-I
12629
12630 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
12631
12632         * lyxrc.C (read): Update converters data-structures.
12633
12634 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
12635
12636         * LaTeX.h (operator!=): add operator != for Aux_Info
12637
12638 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
12639
12640         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
12641
12642         * LaTeXLog.C: deleted, useful code moved to Buffer
12643
12644         * buffer.h:
12645         * buffer.C: new function getLatexLogName()
12646
12647         * lyx_gui_misc.C:
12648         * lyx_gui.C:
12649         * lyxvc.C:
12650         * lyxvc.h:
12651         * lyxfunc.C: use frontends for LaTeX and VC logs
12652
12653 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12654
12655         * LaTeX.h: yet another std:: that Allan forgot.
12656
12657         * Variables.C (set): renamed from isset(), because this clashes
12658         with some HP-UX macros (grr).
12659
12660 2001-02-06  Allan Rae  <rae@lyx.org>
12661
12662         * LaTeX.h: Another bug fix.  Missing std:: this time.
12663
12664 2001-02-04  Allan Rae  <rae@lyx.org>
12665
12666         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
12667         floats problem. I've left it commented out because it's not quite
12668         correct.  It should also test that the current object is a table or
12669         figure inset.  But I haven't gotten around to figuring out how to do
12670         that.  I *think* it'll be something like: "table" == inset.type()
12671
12672         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
12673         bool.
12674
12675 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
12676
12677         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
12678         all the citation/databases/styles in the auxilary file.
12679         (run): Rerun latex if there was a babel language error.
12680
12681 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
12682
12683         * text.C (Backspace): Preserve the font when changing newline char
12684         with a space.
12685         (BreakParagraph): If the cursor is before a space, delete the space.
12686
12687         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
12688
12689 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
12690
12691         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
12692         new argument (code).
12693         (ChangeCitationsIfUnique): New method.
12694
12695         * paragraph.C (GetPositionOfInset): Handle bibkey.
12696
12697 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12698
12699         * BufferView_pimpl.h: change type of Position::par_pos to
12700         LyXParagraph::size_type.
12701
12702 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
12703
12704         * BufferView_pimpl.C (savePosition, restorePosition): Write
12705         messages to minibuffer.
12706
12707 2001-01-28  José Matos  <jamatos@fep.up.pt>
12708
12709         * buffer.C (makeDocBookFile): adds support for document language.
12710         A silly restriction on the name of LatexCommand types where removed.
12711         Added support for CDATA sections, allows to chars unescaped, used
12712         among others in code, to avoid escape < and >.
12713
12714 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
12715
12716         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
12717         saved positions instrad of a stack. Furthermore, a position is
12718         stored using paragraph id/paragraph position.
12719
12720         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
12721         Remove LFUN_REF_BACK.
12722
12723 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
12724
12725         * converter.C (dvipdfm_options): New method.
12726
12727 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
12728
12729         * vspace.C (isValidLength): Fix for empty input string.
12730
12731 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12732
12733         * LyXAction.C (init): change description of LFUN_FIGURE to
12734         "Insert Graphics"
12735
12736 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12737
12738         * LaTeX.C: add using directive
12739
12740 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
12741
12742         * MenuBackend.C (expand): Fix the sorting of the formats.
12743
12744 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
12745
12746         * lyx_main.C: tiny error message fix
12747
12748 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12749
12750         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
12751         calling fl_initialize(). This fixes the problem with ',' as
12752         decimal separator in text files.
12753
12754 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
12755
12756         * trans.C (process): Fix the keymap bug.
12757
12758 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
12759
12760         * LaTeX.C (scanAuxFiles): New method. Provides support for
12761         multiple bibliographies (when using the bibtopic/bibunits pacakges).
12762         (scanLogFile) Scan for "run BibTeX" messages.
12763
12764         * buffer.C (makeLaTeXFile): Do not load the ae package when using
12765         OT1 font encoding. Also, load the aecompl package if the ae
12766         package is loaded.
12767
12768         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
12769
12770 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12771
12772         * texrow.C (increasePos): turn two error messages into debug
12773         messages.
12774
12775 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
12776
12777         * LaTeX.C (scanAux): Handle the \@input macro.
12778         (runBibTeX): Use scanAux().
12779
12780         * language.C (latex_options_): New field.
12781
12782         * LaTeXFeatures.C (getMacros): Add language macros.
12783
12784         * buffer.C (makeLaTeXFile): Small fix.
12785
12786 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12787
12788         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
12789
12790         * text2.C: add a using directive.
12791
12792 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
12793
12794         * BufferView2.C:
12795         * lyx_gui_misc.h:
12796         * lyxfr1.C:
12797         * lyxfunc.C: kill LyXBell.
12798
12799 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
12800
12801         * text.C (IsBoundary): Remove the error message
12802
12803         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
12804
12805         * lyxrc.C (setDefaults): Correct initialization value for
12806         font_norm_type.
12807
12808 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
12809
12810         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
12811         gotoError().
12812
12813         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
12814         and GotoNextNote().
12815
12816         * src/LyXAction.C: Added reference-next.
12817
12818         * text.C (InsertChar): Use contains instead of strchr.
12819
12820         * lyx_cb.C (MenuInsertLabel): Enable default value code.
12821
12822 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
12823
12824         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
12825         alignment commands (when needed).
12826
12827         * text.C (InsertChar): Add ':' to number separator chars.