]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
un-pimpl Paragraph::(Pimpl::)text for performance reasons
[lyx.git] / src / ChangeLog
1
2 2003-09-16  André Pönitz  <poenitz@gmx.net>
3
4         * paragraph.[Ch]:
5         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
6           performance boost.
7
8 2003-09-16  Angus Leeming  <leeming@lyx.org>
9
10         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
11
12         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
13         arg/return type.
14
15         * paragraph.h: remove #include "lyxfont.h". Forward declare LyXFont_size.
16
17 2003-09-16  Angus Leeming  <leeming@lyx.org>
18
19         * paragraph.C (IsInsetChar): new function in namespace anon, moved out of
20         support/textutils.h.
21         (isWord): move the contents of support/textutils.h's IsWordChar here.
22
23         * buffer.C:
24         * lyxfind.C:
25         * rowpainter.C:
26         * text.C:
27         * text2.C: add #include "paragraph.h".
28
29         * rowpainter.C:
30         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
31
32 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
33
34         * main.C: 
35         * lyx_main.C: 
36         * lyx_cb.C: 
37         * buffer.C: 
38         * LaTeX.C: use namespace alias for lyx::support::os
39
40 2003-09-16  Angus Leeming  <leeming@lyx.org>
41
42         * bufferparams.C:
43         * bufferview_funcs.C:
44         * factory.C:
45         * lyxfunc.C:
46         * paragraph_pimpl.C:
47         * rowpainter.C:
48         * text.C: add #include "LColor.h".
49
50 2003-09-16  Angus Leeming  <leeming@lyx.org>
51
52         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph, setUnderbar,
53         setNoun, setNumber, setColor, setLanguage): no longer return LyXFont &.
54         Store the FontBits::color variable as an int rather than as an LColor::color
55         so that we can move LColor.h out of the lyxfont.h header file.
56
57         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
58         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot string
59         calls together.
60
61         * lyxrc.C: add #include "LColor.h".
62
63 2003-09-15  Angus Leeming  <leeming@lyx.org>
64
65         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as a cow_ptr.
66
67 2003-09-15  Angus Leeming  <leeming@lyx.org>
68
69         * LColor.h: add an EnumLColor wrapper for LColor::color.
70
71         * lyxfont.[Ch] (color, setColor, realColor):
72         * lyxtext.h, text.C (backgroundColor):
73         pass EnumLColor args to/from the functions, rather than LColor::color ones.
74
75         * lyxfont.h:
76         * lyxtext.h: forward declare EnumLColor.
77
78         * lyx_main.C: add #include "LColor.h".
79
80 2003-09-15  Angus Leeming  <leeming@lyx.org>
81
82         * .cvsignore: add lyx-gtk.
83
84 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
85
86         * Chktex.C
87         * LaTeX.C
88         * LaTeXFeatures.C
89         * ParagraphParameters.C
90         * Spacing.C
91         * buffer.C
92         * bufferparams.C
93         * bufferview_funcs.C
94         * chset.C
95         * counters.C
96         * funcrequest.C
97         * lyxfont.C
98         * lyxgluelength.C
99         * lyxlength.C
100         * paragraph.C
101         * paragraph_funcs.C
102         * text3.C
103         * vc-backend.C: remove usage of STRCONV
104
105 2003-09-15  Angus Leeming  <leeming@lyx.org>
106
107         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
108         explicitly define the color passed to the painter.
109
110 2003-09-15  Angus Leeming  <leeming@lyx.org>
111
112         * bufferparams.C (BufferParams): reorder member initializers to avoid
113         compiler warning.
114
115 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
116
117         * CutAndPaste.C (pasteSelection): remove an outdated #warning
118         * text.C (updateRowPositions): remove an unusual nop
119
120 2003-09-12  André Pönitz  <poenitz@gmx.net>
121
122         * BufferView_pimpl.C:
123         * Bullet.C:
124         * layout.h:
125         * lyxfunc.C:
126         * lyxlayout.[Ch]:
127         * lyxtextclass.C:
128         * rowpainter.C:
129         * text.C:
130         * text2.C:
131         * Counters.[Ch]: finish the 'automatic counters' job
132
133 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
134
135         * aspell.C: include <boost/assert.cpp> (compile fix)
136
137 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
138
139         * boost.C (assertion_failed): use lyx::support::abort instead of
140         assert.
141
142 2003-09-10  Angus Leeming  <leeming@lyx.org>
143
144         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h with their
145         _fwd progeny.
146
147 2003-09-09  Angus Leeming  <leeming@lyx.org>
148
149         134 files throughtout the source tree: replace 'using namespace abc;'
150         directives with the appropriate 'using abc::xyz;' declarations.
151
152 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
153
154         * boost.C (emergencyCleanup): moved here from LAssert.c
155         (assertion_failed): new function, called by BOOST_ASSERT
156
157         * several files: change Assert to BOOST_ASSERT
158
159 2003-09-09  Angus Leeming  <leeming@lyx.org>
160
161         * buffer.[Ch]: Add an Impl class and move Buffer's member
162         variables into it. As a result move several header files out of
163         buffer.h.
164
165         Add header files to lots of .C files all over the tree as a result.
166
167 2003-09-09  Angus Leeming  <leeming@lyx.org>
168
169         * buffer.[Ch]: make Buffer's member variables private. Add
170         accessor functions.
171
172         Lots of changes all over the tree as a result.
173
174 2003-09-08  Angus Leeming  <leeming@lyx.org>
175
176         * graph.C: #include <config.h>.
177
178 2003-09-08  Angus Leeming  <leeming@lyx.org>
179
180         * BranchList.C:
181         * BufferView.C:
182         * BufferView_pimpl.C:
183         * CutAndPaste.C:
184         * DepTable.C:
185         * LaTeX.C:
186         * LaTeXFeatures.C:
187         * LyXAction.C:
188         * MenuBackend.C:
189         * TextCache.C:
190         * aspell.C:
191         * buffer.C:
192         * bufferlist.C:
193         * changes.C:
194         * chset.C:
195         * converter.C:
196         * counters.C:
197         * debug.C:
198         * graph.C:
199         * ispell.C:
200         * lyx_cb.C:
201         * lyxfind.C:
202         * lyxfunc.C:
203         * lyxlex_pimpl.C:
204         * lyxrc.C:
205         * lyxrow.C:
206         * paragraph.C:
207         * rowpainter.C:
208         * texrow.C:
209         * text.C:
210         * text2.C:
211         * toc.C: remove redundant using directives.
212
213 2003-09-07  Angus Leeming  <leeming@lyx.org>
214
215         * LaTeXFeatures.h: remove #include "support/types.h".
216         * ToolbarBackend.h: remove #include <algorithm>.
217         * changes.h: remove #include <ctime>.
218         * debug.h: remove #include <iosfwd>.
219         * graph.h: remove #include "support/std_string.h".
220         * lyx_main.h: remove #include <csignal>.
221         * lyxlex_pimpl.h: remove #include <fstream>.
222         * sgml.h: remove #include <algorithm>, <utility>.
223         * toc.h: remove #include "support/std_ostream.h". Add #include <iosfwd>.
224
225 2003-09-07  Angus Leeming  <leeming@lyx.org>
226
227         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
228
229         * converter.h: forward declare LatexRunParams.
230         * encoding.h: remove #include "lyxrc.h".
231         * lyxtext.h: remove #include "LColor.h".
232         * lyxtextclass.h: remove #include "support/types.h".
233         * trans.h: remove #include "tex-accent.h".
234         * trans_mgr.h: remove #include "tex-accent.h".
235         * insets/inset.h: remove #include "support/types.h", <vector>.
236         * insets/insetcollapsable.h: remove #include "LColor.h".
237         * insets/insetinclude.h: remove #include "dimension.h".
238         * insets/insetlatexaccent.h: remove #include "dimension.h".
239         * insets/insetoptarg.h:: remove #include "insettext.h".
240         * insets/insettext.h: remove #include "dimension.h", <boost/shared_ptr.hpp>
241
242         * insets/renderers.h: add #include "dimension.h".
243         * insets/updatableinset.h: add #include "support/types.h".
244
245         * many .C files: Associated changes.
246
247 2003-09-06  Angus Leeming  <leeming@lyx.org>
248
249         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just one,
250         inside testInvariant.
251
252         * PrinterParams.C: new file.
253         * PrinterParams.[Ch]: move the function bodies out of line.
254
255 2003-09-06  Angus Leeming  <leeming@lyx.org>
256
257         * ParagraphParameters.h: forward declare ParameterStruct rather than
258         including its header file.
259         (depth): moved out-of-line.
260
261 2003-09-06  Angus Leeming  <leeming@lyx.org>
262
263         * BufferView_pimpl.h:
264         * kbmap.h:
265         * kbsequence.h:
266         * lyxfunc.h: forward declare LyXKeySym rather than
267         #include "frontends/LyXKeySym.h".
268
269         * BufferView_pimpl.C:
270         * kbmap.C:
271         * kbsequence.C:
272         * lyxfunc.C: associated changes.
273
274 2003-09-06  Angus Leeming  <leeming@lyx.org>
275
276         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
277         As a result, can remove the #include "insets/inset.h" from BufferView.h
278
279 2003-09-06  Angus Leeming  <leeming@lyx.org>
280
281         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
282         As a result, can remove the #include "insets/inset.h" from BufferView.h
283
284 2003-09-06  Angus Leeming  <leeming@lyx.org>
285
286         * buffer_funcs.C:
287         * buffer.h:
288         * bufferlist.C:
289         * BufferView.C:
290         * bufferview_funcs.C:
291         * BufferView_pimpl.C:
292         * CutAndPaste.C:
293         * lyx_cb.C:
294         * lyxfunc.C:
295         * paragraph.h:
296         * ParagraphParameters.C:
297         * tabular.C:
298         * text3.C:
299         * toc.C:
300         * undo_funcs.C:
301         * frontends/controllers/ControlDocument.C:
302         * insets/insetcaption.C: rearrange the #includes into some sort of
303         coherent order.
304
305         * buffer.h: remove #includes ErrorList.h, undo.h
306
307 2003-09-06  Angus Leeming  <leeming@lyx.org>
308
309         * support/types.h: add a 'depth_type' typedef, used to store the
310         nesting depth of a paragraph.
311
312         * paragraph.h:
313         * ParameterStruct.h: use this lyx::depth_type typedef rather than
314         defining explicitly.
315
316         * buffer.h:
317         * paragraph_funcs.h:
318         * ParagraphParameters.h:
319         * sgml.h: use lyx::depth_type rather than Paragraph or
320         ParameterStruct's depth_type.
321
322         * buffer.h
323         * paragraph_funcs.h: no need to #include paragraph.h anymore.
324
325         * BufferView.C:
326         * BufferView_pimpl.C:
327         * CutAndPaste.C:
328         * ParagraphParameters.C:
329         * buffer_funcs.C:
330         * bufferlist.C:
331         * bufferview_funcs.C:
332         * lyx_cb.C:
333         * lyxfunc.C:
334         * tabular.C:
335         * text3.C:
336         * toc.C:
337         * undo_funcs.C:
338         * frontends/LyXView.C:
339         * frontends/controllers/ControlDocument.C:
340         * frontends/controllers/ControlErrorList.C:
341         * insets/insetbibitem.C:
342         * insets/insetbranch.C:
343         * insets/insetcaption.C:
344         * insets/insetcollapsable.C:
345         * insets/insetenv.C:
346         * insets/insetert.C:
347         * insets/insetfloat.C:
348         * insets/insetfoot.C:
349         * insets/insetfootlike.C:
350         * insets/insetnewline.C:
351         * insets/insetquotes.C:
352         * insets/insettabular.C:
353         * insets/insettext.C:
354         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
355
356         * frontends/controllers/ControlChanges.C: #include "changes.h".
357
358 2003-09-06  Angus Leeming  <leeming@lyx.org>
359
360         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather than
361         #including paragraph.h.
362
363         * ParagraphList.h:
364         * RowList.h: deleted. Superfluous.
365
366         * CutAndPaste.h:
367         * iterators.h:
368         * lyxcursor.h:
369         * lyxtext.h:
370         * text_funcs.h:
371         * undo.h:
372         * undo_funcs.h:
373         * insets/inset.h:
374         * insets/insettext.h: use ParagraphList_fwd.h rather than ParagraphList.h.
375
376         * paragraph.h: don't forward declare ParagraphList.
377
378         * buffer.h:
379         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
380         rather than ParagraphList.h. paragraph.h is still needed for the
381         Paragraph::depth_type parameters.
382
383         * textcursor.h: enable it to compile stand-alone in light of the
384         above changes.
385
386         * bufferview_funcs.C:
387         * iterators.C:
388         * lyxfunc.C:
389         * lyxrow_funcs.C:
390         * paragraph.C:
391         * rowpainter.C:
392         * text.C:
393         * text2.C:
394         * text3.C:
395         * text_funcs.C:
396         * textcursor.C:
397         * undo.C:
398         * frontends/controllers/ControlParagraph.C:
399         * frontends/controllers/ControlTabular.C:
400         * insets/insetmarginal.C:
401         * insets/insetminipage.C:
402         * insets/insetnote.C:
403         * insets/insetoptarg.C: add header files needed to compile again.
404
405 2003-09-06  Angus Leeming  <leeming@lyx.org>
406
407         * RowList_fwd.h: new file, forward-declaring Row rather than
408         #including lyxrow.h.
409
410         * lyxrow_funcs.h:
411         * lyxtext.h:
412         * paragraph.h:
413         * insets/insettext.h: use it instead of RowList.h
414
415         * bufferview_funcs.C:
416         * lyxfunc.C:
417         * lyxrow_funcs.C:
418         * paragraph.C:
419         * rowpainter.C:
420         * text.C:
421         * text2.C:
422         * text3.C: #include "RowList.h".
423
424 2003-09-05  Angus Leeming  <leeming@lyx.org>
425
426         * factory.C (createInset):
427         * vspace.C (c-tor): replace sscanf call with an istringstream.
428         * ispell.C: re-add missing HP/UX headers.
429         * lyxserver.C: re-add missing  os2 headers.
430
431 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
432
433         * BranchList.C:
434         * graph.C:
435         * ispell.C:
436         * lastfiles.C:
437         * lyx_cb.C:
438         * lyxserver.C:
439         * texrow.C:
440         * text3.C: re-add missing system headers, needed for 2.95.2.
441
442 2003-09-05  Angus Leeming  <leeming@lyx.org>
443
444         Changes most place everywhere due to the removal of using directives
445         from support/std_sstream.h.
446
447 2003-09-05  Angus Leeming  <leeming@lyx.org>
448
449         Replace LString.h with support/std_string.h,
450         Lsstream.h with support/std_sstream.h,
451         support/LIstream.h with support/std_istream.h,
452         support/LOstream.h with support/std_ostream.h.
453
454         Changes resulting throughout the tree.
455
456 2003-09-05  Angus Leeming  <leeming@lyx.org>
457
458         * sgml.h: ensure that the header file can be compiled stand-alone.
459         * *.C: strip out redundant #includes. (320 in total.)
460
461 2003-09-04  Angus Leeming  <leeming@lyx.org>
462
463         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
464         here (from getPackages).
465
466         * debug.[Ch]: add a new EXTERNAL tag.
467
468 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
469
470         * text2.C (cursorEnd): simplify
471         (setCursor): adjust
472         (getColumnNearX): adjust
473
474         * text.C (computeBidiTables): adjust
475         (fill): adjust
476
477         * rowpainter.C (paintChars): adjust
478         (paintSelection): adjust
479         (paintChangeBar): adjust
480         (paintText): adjust
481
482         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
483         lastPos instead.
484         (numberOfSeparators): adjust
485
486 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
487
488         * LyXAction.C:
489         * box.[Ch]:
490         * lfuns.h:
491         * lyxfunc.C:
492         * text3.C: Restricts the mouse click functionality
493         of insets like bibtex, include, toc and floatlist to the visible
494         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
495         up the dialogs. Cursor has to be in front of the inset (i.e.
496         start of row) for this to function.
497
498 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
499
500         * bufferview_funcs.C (currentState): output row information
501
502 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
503
504         * bufferview_funcs.C (currentState): output paragraph position
505
506 2003-09-04  Angus Leeming  <leeming@lyx.org>
507
508         * FloatList.h: move out #include "Floating.h".
509         * LaTeX.h: move out #include "DepTable.h".
510         * LyXAction.h: move out #include "funcrequest.h".
511         * buffer.h: move out #include "author.h", "iterators.h".
512         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
513         * lyx_main.h: move out #include "errorlist.h".
514         * lyxfunc.h: move out #include "FuncStatus.h".
515         * lyxtext: move out #include "lyxcursor.h".
516         * paragraph_pimpl.h: move out #include "counters.h".
517
518 2003-09-03  Angus Leeming  <leeming@lyx.org>
519
520         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
521         preamble_snippets list, enabling us to add snippets to the preamble only
522         if the snippet was not there already.
523
524 2003-09-04  Angus Leeming  <leeming@lyx.org>
525
526         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
527
528 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
529
530         * lyxfunc.C (dispatch): if fitCursor did something be sure to
531         update
532
533 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
534
535         * BranchList.C: point fix, earlier forgotten
536
537 2003-09-02  Angus Leeming  <leeming@lyx.org>
538
539         * box.C (contains): renamed from 'contained' after a fantastic
540         amount of hot air.
541
542 2003-09-02  John Levon  <levon@movementarian.org>
543
544         * BufferView.C:
545         * lyxcursor.h:
546         * lyxcursor.C:
547         * lyxfunc.C:
548         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
549
550 2003-09-02  John Levon  <levon@movementarian.org>
551
552         * text2.C: simplification of cursorEnd(), including partial
553         fix for bug 1376
554
555 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
556
557         * buffer.C (readFile): add a space
558
559 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
560
561         * BufferView_pimpl.C (update): remove bogus fitCursor() call
562
563 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
564
565         * buffer.C (readFile): new function, take a filename and a
566         ParagraphList::iterator
567         (readFile): adjust
568         (readFile): adjust, make it private. don't use setStream, make
569         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
570         always contain the filename.
571
572         * BufferView.C (insertLyXFile): simplify and make it work for
573         gzipped files.
574
575 2003-08-30  John Levon  <levon@movementarian.org>
576
577         * Makefile.am: fix dist (from Kayvan)
578
579 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
580
581         * most files: change to use const Buffer refs
582
583 2003-08-27  André Pönitz  <poenitz@gmx.net>
584
585         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
586         on top of ownerPar().
587
588 2003-08-27  John Levon  <levon@movementarian.org>
589
590         * funcrequest.C: properly initialise POD members
591
592 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
593
594         * lyxtext.h (top_y): move top_y from here
595         * text.C:
596         * text2.C:
597         * text3.C:
598         * BufferView.[Ch]:
599         * BufferView_pimpl.[Ch]: to here
600         * frontends/screen.C:
601         * insets/insettabular.C:
602         * insets/insettext.C: adjust
603         * rowpainter.[Ch] (paintRows): remove LyXText & argument
604
605 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
606
607         * BufferView.[Ch]:
608         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
609
610 2003-08-26  André Pönitz  <poenitz@gmx.net>
611
612         * paragraph_func.[Ch] (outerPar): new function
613
614         * paragraph.C:
615         * paragraph_funcs.C:
616         * paragraph_funcs.h:
617         * paragraph_pimpl.C:
618         * text2.C: remove Inset::par_owner
619
620 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
621
622         * lyxrow_funcs.C:
623         * lyxtext.h:
624         * text.C:
625         * text2.C: eliminates the needFullRow/display() stuff
626         altogether, putting the logic in metrics/draw in the insets.
627
628 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
629
630         * text2.C (redoParagraphInternal, redoParagraphs):
631         * text.C (redoParagraph): add a call to updateRowPositions at the
632         end of each 'metrics-like' call. Remove all others.
633         (getRow): remove the 'y-computing' version.
634         (getRowNearY): do not compute nor return the real y. Solve the
635         'y < 0' problem and simplify.
636
637 2003-08-22  Angus Leeming  <leeming@lyx.org>
638
639         * *.[Ch]: clean-up of licence and author blurbs.
640         Also move config.h out of a few .h files and into a few .C files.
641
642 2003-08-22  André Pönitz  <poenitz@gmx.net>
643
644         * lyxrow.[Ch]: add x_ and *fill_ members
645
646         * lyxtext.h:
647         * text.C:
648         * rowpainter.C:
649         * text2.C: adjust/remove prepareToPrint() calls
650
651 2003-08-22  André Pönitz  <poenitz@gmx.net>
652
653         * lyxrow.[Ch]: add  end_ member
654
655         * lyxrow_funcs.C: use LyXRow::end_
656
657         * lyxtext.h (singleWidth): add LyXFont parameter
658
659         * rowpainter.C:
660         * text2.C: adjust LyXText::singleWidth() calls
661
662         * text.C (redoParagraph): simplify row breaking logic
663
664
665 2003-08-19  André Pönitz  <poenitz@gmx.net>
666
667         * funcrequest.C: initialize button_ member
668
669         * text3.C:
670         * rowpainter.[Ch]: interface consolidation
671
672 2003-08-18  André Pönitz  <poenitz@gmx.net>
673
674         * BufferView.C:
675         * BufferView_pimpl.C:
676         * lyxfind.C:
677         * paragraph_funcs.C:
678         * rowpainter.C:
679         * text3.C: remove LyXScreen::draw() and fitCursor calls
680
681         * BranchList.h: remove spurious semicolons
682
683         * MenuBackend.C: fix branchlist related crash
684
685 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
686
687         * BranchList.[Ch]:
688         * InsetList.[Ch]:
689         * LColor.[Ch]:
690         * LyXAction.C:
691         * Makefile.am:
692         * MenuBackend.[Ch]:
693         * bufferparams.[Ch]:
694         * factory.C:
695         * lfuns.h:
696         * lyxfunc.C:
697         * text3.C: implements the 'branch inset'
698         idea. This allows the output of various versions of a document
699         from a single source version, selectively outputing or suppressing
700         output of parts of the text.
701         This implementation contains a 'branch list editor' in a separate
702         tab of the document settings dialog. Branches are user definable
703         and have a "display colour" to distinguish them on-screen.
704
705         ColorHandler was somewhat cleaned up.
706         (1) make possible a dynamically growing LColor list by allowing
707         the graphic context cache to grow along (vector);
708         (2) eliminate an IMHO unnecessary step in colour allocation.
709
710 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
711
712         * BufferView_pimpl.C: compile fix
713
714 2003-08-15  André Pönitz  <poenitz@gmx.net>
715
716         * rowpainter.C: remove extra metrics calls
717
718         * lyxtext.h: merge the two constructors into a single one,
719           pass reference to owner's par list
720
721         * BufferView_pimpl.C:
722         * text.C:
723         * text2.C: adjust
724
725 2003-08-15  André Pönitz  <poenitz@gmx.net>
726
727         * lyxrow_funcs.[Ch]:
728         * lyxtext.h:
729         * paragraph.h:
730         * paragraph_funcs.C:
731         * rowpainter.C:
732         * text.C:
733         * text2.C:
734         * text3.C:
735         * text_funcs.C: split LyXText::rowlist_ into individual
736         Paragraph::rows_ chunks
737
738         * BufferView.[Ch]:
739         * BufferView_pimpl.[Ch]:
740         * lyxfind.C:
741         * lyxtext.h:
742         * text3.C: remove toggleSelection()
743
744 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
745
746         * bufferlist.C: beautify two alerts (shorter text of buttons)
747         * buffer.C: Remove redundant ' ' from message
748         * tabular.h:
749         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
750         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
751         rename VALIGN_CENTER to VALIGN_MIDDLE
752
753 2003-08-11  André Pönitz  <poenitz@gmx.net>
754
755         * lyxtext.h (getPar):
756         * text.C: new function
757
758 2003-08-11  André Pönitz  <poenitz@gmx.net>
759
760         * Makefile.am:
761         * tracer.[Ch]: remove unneeded files
762
763         * InsetList.[Ch]: remove resizeInsetsLyXText()
764
765         * lyxtext.h:
766         * text.C:
767         * text2.C:
768         * text3.C: merge insertParagraphs() and appendParagraph()
769         remove breakAgain(), update()
770
771         * BufferView_pimpl.[Ch]:
772         * bufferview_funcs.[Ch]:
773         * lyxfunc.C:
774         * paragraph.[Ch]:
775         * rowpainter.C:
776         * tabular.C: adjust after text & InsetList changes.
777
778 2003-08-08  André Pönitz  <poenitz@gmx.net>
779
780         * text.C (insertChar, backspace): replace rowlist fiddling
781         with rebreak of full par
782
783         * lyxtext.h:
784         * text.C (breakAgainOneRow, redoHeightOfParagraph,
785         checkParagraph, updateInset): removed
786
787 2003-08-07  André Pönitz  <poenitz@gmx.net>
788
789         * paragraph.C:
790         * text3.C: merge some LFUN handlers, remove dead code
791
792 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
793
794         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
795
796 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
797
798         * text2.C (DEPM): fix part of bug 1255 and 1256
799
800 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
801
802         * BufferView_pimpl.C (workAreaDispatch): change to use
803         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
804         that are no mouse related.
805
806 2003-08-05  André Pönitz  <poenitz@gmx.net>
807
808         * BufferView.[Ch]:
809         * BufferView_pimpl.[Ch]:
810         * bufferview_funcs.C:
811         * text2.C:
812         * text3.C: rip out "deep update"
813
814         * textcursor.[Ch] (last_sel_cursor): remove unused member
815
816 2003-08-04  André Pönitz  <poenitz@gmx.net>
817
818         * BufferView.[Ch]:
819         * BufferView_pimpl.[Ch]:
820         * ParagraphParameters.C:
821         * bufferview_funcs.C:
822         * lyx_cb.C:
823         * lyxfind.C:
824         * lyxfunc.C:
825         * text.C:
826         * text2.C:
827         * text3.C: replace "complicated" BufferView::update(...) calls with
828         simpler ones.
829
830         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
831
832 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
833
834         * Makefile.am (lyx_SOURCES): add paper.h
835
836 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
837
838         * Makefile.am: move things around so that both lyx-qt and
839         lyx-xforms can be built (according to --with-frontend). Then lyx
840         is a symbolic link to lyx-[firstfrontend]
841
842 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
843
844         * Always use std::endl with lyxerr
845
846 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
847
848         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
849
850 2003-08-01  André Pönitz  <poenitz@gmx.net>
851
852         * BufferView.[Ch]:
853         * BufferView_pimpl.[Ch]:
854         * lyxfunc.C:
855         * text3.C: merge BufferView::repaint() and BufferView::update()
856
857 2003-08-01  José Matos  <jamatos@lyx.org>
858
859         * buffer.[Ch]: file_format is no longer a buffer data element.
860
861 2003-08-01  André Pönitz  <poenitz@gmx.net>
862
863         * BufferView.C:
864         * lyxtext.h:
865         * text.C:
866         * text2.C: make redoParagraph more independent of current cursor
867
868         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
869         * text.C:
870         * text2.C: remove unneeded members
871
872 2003-07-30  André Pönitz  <poenitz@gmx.net>
873
874         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
875
876         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
877           create a single function...
878
879         * paragraph_funcs.C (moveItem): ... here.
880
881         * text.C:
882           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
883
884 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
885
886         * LColor.[Ch]: Add comment and greyedout logical colors.
887
888 2003-07-30  André Pönitz  <poenitz@gmx.net>
889
890         * tabular.C: don't use Assert too heavily. This crashes where it
891           shouldn't
892
893 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
894
895         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
896         is disabled (bug 1232)
897
898 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
899
900         * factory.C: limited 'arg' scope
901
902 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
903
904         * factory.C: fixed Note submenu issues
905
906 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
907
908         * factory.C: submenu for Note/Comment/Greyedout
909
910 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
911
912         * lyx_main.C (LyX):
913         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
914
915 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
916
917         * LaTeXFeatures.C:
918         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
919         greyedout. Patch provided by Jürgen Spitzmüller.
920
921 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
922
923         * kbmap.C (read): fix error message when reading bind files
924
925 2003-07-29  Angus Leeming  <leeming@lyx.org>
926
927         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
928         certainly does not do what it purports to do. I am doing it, and
929         us, a favour by killing it.
930
931 2003-07-28  José Matos  <jamatos@lyx.org>
932
933         * buffer.C (readBody, do_writeFile):
934         * paragraph.C(readParagraph): \end_document replaces \the_end.
935
936 2003-07-29  André Pönitz  <poenitz@gmx.net>
937
938         * BufferView.[Ch]:
939         * BufferView_pimpl.[Ch]:
940         * lyxfunc.C:
941         * text2.C:
942         * text3.C:
943         * textcursor.[Ch]: remove toggleToggle & Co
944
945 2003-07-28  José Matos  <jamatos@fep.up.pt>
946
947         * buffer.C (readParagraph):
948         * params_func (readParToken, readParagraph):
949         * paragraph.C (write): \layout -> \begin_layout.
950
951 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
952
953         * lyxlex_pimpl.C (setFile): clean up slightly.
954
955         * bufferparams.h: add compressed var
956
957         * buffer_funcs.C (readFile): adjust for LyXLex change
958         (newFile): ditto + simplify
959
960         * buffer.C (writeFile): handle writing of compressed files
961
962         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
963         Check if the file is compressed and set a bufferparm if so.
964
965         * Makefile.am (lyx_LDADD): remove explicit -lz
966
967 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
968
969         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
970         makeDocBookFile): put the real LyX version in the first line of
971         the file
972
973         * version.h:
974         * version.C.in: remove lyx_docversion
975
976         * tabular.C (write_attribute): add a template-based version to
977         write enums properly
978
979 2003-07-28  André Pönitz  <poenitz@gmx.net>
980
981         * lyxtext.h:
982         * text.C:
983         * text2.C:
984         * text3.C: use doubles again for x-coordinates. They are needed.
985
986 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
987
988         * messages.C (getLocaleDir): use lyx_localedir()
989
990         * lyxlex_pimpl.C (setFile): compress stuff
991
992         * buffer.C (writeFile): add some compression stuff
993         (do_writeFile): new func, dont call expliti close... will this
994         breake anything?
995
996         * Makefile.am (lyx_LDADD): add -lz
997
998 2003-07-28  José Matos  <jamatos@fep.up.pt>
999
1000         * buffer.C: increment file format.
1001         * paragraph_funcs (readParagraph, readParToken):
1002         * paragraph.C (readParagraph): add \end_layout.
1003
1004 2003-07-27  Angus Leeming  <leeming@lyx.org>
1005
1006         * Makefile.am: remove special casing for configure-time setting of
1007         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
1008
1009         * lyx_main.C (init): remove all Jean-Marc's magic setting of
1010         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
1011
1012 2003-07-26  André Pönitz  <poenitz@gmx.net>
1013
1014         * paragraph_func.[Ch]:
1015         * paragraph.C (realizeFont): inline it whereever it is used
1016
1017         * rowpainter.C:
1018         * text.C:
1019         * text2.C:
1020         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
1021
1022
1023 2003-07-26  André Pönitz  <poenitz@gmx.net>
1024
1025         *       lyxtext.h:
1026         * text.C:
1027         * text2.C: get rid of LyXText::need_break_row
1028
1029 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
1030
1031         * toc.[Ch]: put namespace toc inside namespace lyx
1032
1033         * MenuBackend.C (expandToc2): adjust for lyx::toc
1034         (expandToc): ditto
1035
1036         * lyxfunc.C (dispatch): adjust for lyx::find
1037
1038         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
1039         lyx::find instead. Reorganize a bit.
1040         (LyXReplace): rename to replace
1041         (LyXFind): rename to find
1042
1043         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
1044         (dispatch): ditto
1045
1046 2003-07-26  André Pönitz  <poenitz@gmx.net>
1047
1048         * text.C (setHeightOfRow): restrict scope of temporary variable
1049
1050         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
1051           code (never has been used?)
1052
1053 2003-07-27  Asger Alstrup  <alstrup@local>
1054
1055         * text.C (fill): Optimise algorithm to exploit that we can reuse
1056         the LyXFont for many characters.
1057         (setHeightOfRow): Same thing.
1058         (rowBreakPoint): Same thing.
1059
1060 2003-07-26  Asger Alstrup  <alstrup@local>
1061
1062         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
1063
1064         * text.C (singleWidth): Spurious font copying in hot-spot
1065         singleWidth avoided. Reorder tests for arabic for efficiency.
1066
1067         * text.C (fill): handle empty paragraphs better.
1068
1069 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1070
1071         * ispell.C:
1072         * encoding.h: add includes
1073
1074         * lyxrc.C: remove reading of bind files
1075
1076         * lyx_main.C (init): setup bindings and menus only if we have a
1077         gui.
1078
1079         * kbmap.C (read): new method. Do the actual reading of bind
1080         files.
1081
1082         * converter.C (dvipdfm_options):
1083         * bufferparams.C:
1084         * lyxrc.C (read):
1085         (output): adapt PAPER_* enums.
1086
1087         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
1088
1089         * bufferparams.h: remove paper-related enums from there
1090
1091         * paper.h: New file. A trivial header file to hold paper-related
1092         enums. It should later expand to contain many paper-related
1093         horrors access.
1094
1095         * lyxrc.C: declare extern displayTranslator
1096
1097 2003-07-27  José Matos  <jamatos@fep.up.pt>
1098
1099         * tabular.[Ch] (linuxdoc): add support for tables and figures
1100         (linuxdoc).
1101
1102 2003-07-27  José Matos  <jamatos@fep.up.pt>
1103
1104         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
1105         consistency in both functions.
1106         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
1107
1108 2003-07-26  Asger Alstrup  <alstrup@local>
1109
1110         * rowpainter.C (paintRows): Change algorithm to work directly on
1111         the insets rather than asking every character in the document
1112         whether its an inset.
1113
1114 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
1115
1116         * buffer.C (openFileWrite): factorize some code
1117
1118 2003-07-26  Angus Leeming  <leeming@lyx.org>
1119
1120         * lyx_cb.C:
1121         * lyx_main.[Ch]: replace occurances of system_tempdir with
1122         os::getTmpDir().
1123
1124 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
1125
1126         * rename Inset to InsetOld
1127
1128 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
1129
1130         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
1131         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
1132         which I think is a bit clearer. EDIT is gone, since it was
1133         premature optimisation, and broken for mathed anyway.
1134         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
1135         with cursor positioning in insets as well (math insets still do not
1136         work, but that's a different story anyway.) It mysteriously
1137         crashes sometimes with undo in the first paragraph, but I'm fairly
1138         confident that this is a compiler bug.
1139
1140 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
1141
1142         * paragraph.C (Paragraph): adjust for new clone return type
1143         (operator==): ditto
1144         (copyIntoMinibuffer): ditto
1145
1146 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
1147
1148         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
1149         by not having a special case, and always doing a full rebreak of
1150         the document after undo.
1151
1152 2003-07-23  Angus Leeming  <leeming@lyx.org>
1153
1154         * factory.C (createInset): InsetExternal::setParams now takes a
1155         Buffer const * arg.
1156
1157 2003-07-23  Angus Leeming  <leeming@lyx.org>
1158
1159         * factory.C (createInset): changed interface to the external and
1160         graphics mailers' string2params functions.
1161
1162 2003-07-23  Angus Leeming  <leeming@lyx.org>
1163
1164         * factory.C (createInset): pass a
1165         Buffer const * parameter to InsetExternalMailer's string2params.
1166
1167 2003-07-22  John Levon  <levon@movementarian.org>
1168
1169         * Thesaurus.h: include the right aiksaurus header
1170
1171 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1172
1173         * MenuBackend.C (expand): check menu shortcuts unconditionally
1174
1175 2003-07-21  Angus Leeming  <leeming@lyx.org>
1176
1177         * factory.C (createInset): pass a
1178         buffer_path parameter to InsetGraphicsMailer's string2params.
1179
1180 2003-07-21  Angus Leeming  <leeming@lyx.org>
1181
1182         * BufferView_pimpl.C (buffer):
1183         * buffer.C (d-tor):
1184         * lyx_main.C (LyX):
1185         * lyxfunc.C (dispatch):
1186         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
1187         rather than the grfx shortcut.
1188
1189 2003-07-21  André Pönitz  <poenitz@gmx.net>
1190
1191         * rowpainter.C: remove unused variables
1192
1193         * tabular_funcs.C:
1194         * tabular_funcs.h: move to tabular.C
1195         * Makefile.am: adjust
1196
1197         * tabular.[Ch]: basic optical cleaning
1198
1199         * author.h: pass references, not values
1200
1201 2003-07-18  André Pönitz  <poenitz@gmx.net>
1202
1203         * lyxtext.h:
1204         * metricsinfo.C:
1205         * metricsinfo.h:
1206         * rowpainter.C:
1207         * text.C:
1208         * text2.C:
1209         * text3.C: two-phase drawing for InsetText and InsetTabular
1210         some float -> int changes.
1211
1212 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
1213
1214         * lyx_main.C: fix the fix
1215
1216 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
1217
1218         * lyx_main.C: fix a crash in batch mode if no files specified
1219         * converter.C: ws
1220
1221 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
1222
1223         * format.[Ch] (papersize): moved to BufferParams
1224         * converter.[Ch] (dvips_options): moved to BufferParams
1225         (dvipdfm_options): moved to anon namespace
1226         * bufferparams.[Ch]: added above functions.
1227
1228 2003-07-17  André Pönitz  <poenitz@gmx.net>
1229
1230         * lyxtext.h:
1231         * rowpainter.C:
1232         * text2.C: don't call inset->update() anymore
1233
1234         * metricsinfo.[Ch]: add convenience constructor
1235
1236 2003-07-16  André Pönitz  <poenitz@gmx.net>
1237
1238         * lyxcursor.[Ch]:
1239         * lyxfunc.[Ch]:
1240         * text.C:
1241         * text2.C: replace the LyXCursor::irow_ member with
1242          on-demand computation of the value
1243
1244 2003-07-16  John Levon  <levon@movementarian.org>
1245
1246         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
1247
1248 2003-07-15  André Pönitz  <poenitz@gmx.net>
1249
1250         * text.C:
1251         * text2.C: remove no more needed refresh_row
1252
1253 2003-07-15  André Pönitz  <poenitz@gmx.net>
1254
1255         * lyxtext.h:
1256         * rowpainter.C:
1257         * text2.C:
1258         * text3.C: refresh_status tristate -> need_update bool
1259
1260 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
1261
1262         * lyxtext.h (init): remove reinit argument (act as if always true)
1263         * text2.C: adjust to that
1264
1265 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1266
1267         * bufferview_funcs.[Ch]: introduce function replaceSelection()
1268         * text3.C: use it to delete selections in some cases
1269         (bugs 441, 673, 702, 954).
1270
1271 2003-07-14  André Pönitz  <poenitz@gmx.net>
1272
1273         * rowpainter.[Ch]: reduce interface
1274
1275 2003-07-14  André Pönitz  <poenitz@gmx.net>
1276
1277         * BufferView_pimpl.C:
1278         * text2.C: adjust after removing unused BufferView * argument
1279
1280 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
1281
1282         * text2.C (init): fix a crash fired on resize
1283
1284 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
1285
1286         * buffer.[Ch]: added new closing signal
1287         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
1288         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
1289         BufferView::Pimpl via the closing the signal
1290
1291 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
1292
1293         * buffer.[Ch]: take out all bv-related from buffer
1294         * BufferView.C:
1295         * BufferView_pimpl.[Ch]: connect to new signals
1296         * CutAndPaste.C: removed useless asserts
1297         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
1298         * lyxvc.[Ch]:
1299         * vc-backend.[Ch]:
1300         * lyxfunc.C: moved view-related funciontality from vc here
1301         * paragraph.C: removed outdated comments
1302         * text.C: ws
1303
1304 2003-07-10  André Pönitz  <poenitz@gmx.net>
1305
1306         * BufferView_pimpl.C:
1307         * tabular.h:
1308         * tabular_funcs.C:
1309         * text.C:
1310         * text2.C: remove InsetText::InnerCache, clean up consequences
1311
1312 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
1313
1314         * ispell.C: fix two typos in error messages
1315
1316 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
1317
1318         * Extend Note inset to other forms of annotation like Comment
1319         and Greyedout. Right button click gives dialog.
1320
1321         Files modified or added (+):
1322
1323         * insetnote.[Ch]
1324         * FormNote.[Ch]      +
1325         * ControlNote.[Ch]   +
1326         * form_note.fd       +
1327         * Makefile.am in frontends/xforms, frontends/xforms/forms,
1328         frontends/controllers
1329         * xforms/Dialogs.C
1330         * factory.C
1331
1332 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
1333
1334         * aspell.C: add missing namespace lyx::support
1335
1336 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
1337
1338         * BufferView.[Ch] (newFile): Add
1339         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
1340         * LaTeX.[Ch] (message): added this signal and use it
1341         * buffer.[Ch] (busy, message): added these signals and use them
1342         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
1343         * converter.C:
1344         * exporter.C:
1345         * format.C:
1346         * importer.C: use buffer signals instead of direct bv calling
1347         * lyx_cb.[Ch] (ShowMessage): removed
1348         * lyx_main.C:
1349         * lyxfunc.C:
1350         * paragraph_funcs.C:
1351         * text2.C: use buffer signals
1352
1353 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
1354
1355         * introduce namespace lyx::graphics
1356
1357 2003-07-02  André Pönitz  <poenitz@gmx.net>
1358
1359         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
1360
1361 2003-07-01  André Pönitz  <poenitz@gmx.net>
1362
1363         * text.C:
1364         * text2.C:
1365         * text3.C:
1366         * text_funcs.[Ch]:
1367         * textcursor.h:
1368         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
1369           text*.C to text_func.C
1370
1371 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
1372
1373         * introduce namespace lyx::support
1374
1375 2003-06-30  André Pönitz  <poenitz@gmx.net>
1376
1377         * Chktex.C:
1378         * funcrequest.C:
1379         * lyxtext.h:
1380         * text.C: re-enable --with-included-string
1381
1382 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
1383
1384         * textcursor.C: add <config.h>
1385
1386         * text.C (getWord): remove const from word_location arg
1387
1388         * lyxvc.C (getLogFile): fix const type order
1389
1390         * lyxtext.h: remove const from word_location arg, add arg name
1391
1392         * lyxlayout.h: currect type on labeltype.
1393
1394         * importer.C: correct \file
1395
1396         * converter.C (intToFormat): use std:: on ret val, ws changes
1397
1398         * bufferlist.h: correct \file
1399
1400         * buffer.C (makeLinuxDocFile): fix const type order
1401         (makeDocBookFile): ditto
1402         (fillWithBibKeys): use std:: on stdlib args.
1403
1404         * CutAndPaste.C: fix authors.
1405         (availableSelections): use std:: on return vector
1406
1407 2003-06-27  André Pönitz  <poenitz@gmx.net>
1408
1409         * BufferView_pimpl.C:
1410         * bufferview_funcs.C:
1411         * lyxcursor.C:
1412         * lyxcursor.h:
1413         * lyxfunc.C:
1414         * lyxtext.h:
1415         * rowpainter.C:
1416         * text.C:
1417         * text2.C:
1418         * text3.C: remove LyXCursor::row_ member
1419
1420         * lyxtext.h:
1421         * text.C: rename fullRebreak() to partialRebreak() and implement
1422           a fullRebreak() that really bereks fully
1423
1424         * textcursor.h: new struct for cursor-related data
1425
1426 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
1427
1428         * lyx_main.C (LyX): get full path of document loaded on the
1429         command line
1430
1431 2003-06-26  André Pönitz  <poenitz@gmx.net>
1432
1433         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
1434           remove unused/broken operator>,<,>=.
1435
1436         *       text.C: remove only use of broken operator<= in an Assert().
1437
1438 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
1439
1440         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
1441         moved errorlist_.clear to showErrorList
1442
1443 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
1444
1445         * converter.C (scanLog, runLaTeX):
1446         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
1447         move the bv->showErrorList call to the callers
1448         * lyxfunc.C: i.e. here...
1449         * text2.C: and here
1450         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
1451         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
1452         namespace, the second to...
1453         * buffer_funcs (BufferFormat, parseErrors): added
1454         * errorlist.C (ErrorList(TeXErrors const &)): removed
1455
1456 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1457
1458         * ToolbarBackend.C (getIcon): complain when icon cannot be found
1459
1460 2003-06-24  "Garst R. Reese" <reese@isn.net>
1461
1462         * debug.C: fix typo
1463
1464 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1465
1466         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
1467
1468         * version.C.in: change docversion to 1.4
1469
1470 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
1471
1472         * buffer.C: fix a bug just introduced
1473
1474 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
1475
1476         * buffer.[Ch]: added the parseError signal and use it, removed
1477         sgmlError
1478         * BufferView.[Ch] (addError): moved to ...
1479         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
1480         to the Buffer::parseError signal to catch (guess what) parse errors
1481         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
1482
1483 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
1484
1485         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
1486         ability to create a buffer and to return an existing one from
1487         the list. Moved these functions to...
1488         * buffer_funcs.[Ch]: added
1489         * BufferView.[Ch] (loadLyXFile): added
1490         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
1491         job removed from bufferlist::loadLyXFile.
1492         * buffer.C (setReadOnly): make it work without view
1493         (i.e added an if (users))
1494
1495 2003-06-19  Angus Leeming  <leeming@lyx.org>
1496
1497         * lfuns.h:
1498         * LyXAction.C (init):
1499         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
1500         with LFUN_DIALOG_SHOW <name> <data>.
1501
1502 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1503
1504         * CutAndPaste.C (availableSelections): small compilation fix for
1505         ancient (gcc 2.9x) compilers
1506
1507 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
1508
1509         * text3.C (cursorNext): add tmp var
1510
1511         * text2.C (updateCounters): for function calling out of for clause
1512         (replaceSelectionWithString): ditto
1513         (insertStringAsParagraphs): ditto
1514         (getColumnNearX): add tmp var
1515         (setCursorFromCoordinates): add tmp var
1516         (cursorDownParagraph): add tmp var
1517         (deleteEmptyParagraphMechanism): add tmp var
1518
1519         * text.C (insertChar): add tmp var
1520
1521         * rowpainter.C (paintDepthBar): add tmp var
1522
1523         * CutAndPaste.C (availableSelections): potentially check all
1524         paragraphs in a cut to fill the shown strings.
1525
1526 2003-06-18  André Pönitz  <poenitz@gmx.net>
1527
1528         * kbmap.[Ch]: use vector<> instead of list<>
1529
1530 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
1531
1532         * text3.C (dispatch): handle arg to LFUN_PASTE, call
1533         pasteSelection with index
1534
1535         * text2.C (pasteSelection): modify, call pasteSelection with index
1536
1537         * paragraph.C (asString): reimplement version with no interval to
1538         call the one with interval.
1539
1540         * lyxtext.h: add index arg to pasteSelection
1541
1542         * MenuBackend.C (MenuItem): handle PasteRecent
1543         (Menu::read::Menutags): add md_pasterecent
1544         (read): handle it
1545         (expandPasteRecent): new function
1546         (expand): use it
1547
1548         * MenuBackend.h: add PasteRecent to MenuItem::Kind
1549
1550         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
1551         the limited stack
1552         (availableSelections): new function
1553
1554 2003-06-17  Angus Leeming  <leeming@lyx.org>
1555
1556         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
1557
1558 2003-06-17  Angus Leeming  <leeming@lyx.org>
1559
1560         * lfuns.h:
1561         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
1562
1563         * lyxfunc.C (dispatch): invoke it.
1564
1565 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1566
1567         * iterators.C (operator++, ParPosition): reintroduce some
1568         const_cast for the benefit of older compilers.
1569
1570 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1571
1572         * text3.C (dispatch): do not modify clipboard when doing
1573         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
1574         LFUN_DELETE_SKIP on a selection selection
1575
1576 2003-06-16  André Pönitz  <poenitz@gmx.net>
1577
1578         * BufferView.C:
1579         * buffer.C:
1580         * buffer.h:
1581         * paragraph.C:
1582         * tabular.[Ch]: IU of clone() and getLabelList();
1583
1584 2003-06-13  André Pönitz  <poenitz@gmx.net>
1585
1586         * tabular.h: compactification
1587
1588 2003-06-12  André Pönitz  <poenitz@gmx.net>
1589
1590         * tabular.C:
1591         * tabular.h:
1592         * tabular_funcs.h: some renaming plus whitespace
1593
1594 2003-06-12  André Pönitz  <poenitz@gmx.net>
1595
1596         * BufferView.C:
1597         * BufferView_pimpl.C:
1598         * CutAndPaste.C:
1599         * buffer.C:
1600         * iterators.[Ch]:
1601         * lyxfunc.C:
1602         * text.C:
1603         * toc.C: Return a Paragraph & for ParIterator::operator*()
1604
1605 2003-06-11  John Levon  <levon@movementarian.org>
1606
1607         * lyx_main.C:
1608         * ToolbarBackend.h:
1609         * ToolbarBackend.C: add "Toolbars" section and
1610         put the flags there
1611
1612 2003-06-10  Angus Leeming  <leeming@lyx.org>
1613
1614         * lfuns.h:
1615         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
1616
1617         * lyxfunc.C (dispatch): invoke it.
1618
1619 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
1620
1621         * main.C: protect <ios> with HAVE_IOS
1622         (main): protect sync_with_stdio with HAVE_IOS
1623
1624 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
1625
1626         * text2.C (cutSelection): adjust
1627         (pasteSelection): adjust
1628
1629         * messages.C: handle get of empty string
1630
1631         * main.C (main): use sync_with_stdio(false)
1632
1633         * lyxfunc.C (dispatch): adjust
1634
1635         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
1636         (WriteAs): remove unneeded BufferView arg.
1637
1638         * bufferparams.h: use correct types on papersize, papersize2 and
1639         paperpackage.
1640
1641         * bufferparams.C (readToken): adjust for type
1642         (writeLaTeX): add missing cases to switch.
1643
1644         * bufferlist.C (quitWriteBuffer): adjust
1645         (close): adjust
1646
1647         * buffer.C (asciiParagraph): remove some commented code.
1648
1649         * CutAndPaste.C: remove current_view extern variable.
1650         (cutSelection): add BufferParams arg.
1651         (eraseSelection): add BufferParams arg.
1652         (pasteSelection): add Buffer const & arg
1653
1654 2003-06-07  John Levon  <levon@movementarian.org>
1655
1656         * buffer.C:
1657         * paragraph_funcs.C:
1658         * paragraph_pimpl.C:
1659         * text.C:
1660         * text2.C:
1661         * paragraph.h:
1662         * paragraph.C: allow InsetERT to freely space lines,
1663         and some consolidation of code
1664
1665 2003-06-06  José Matos  <jamatos@fep.up.pt>
1666
1667         * buffer.C (makeDocBookFile): fix bug #821
1668
1669 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
1670
1671         * BufferView_pimpl.C (dispatch): use Dialogs::visible
1672
1673 2003-06-04  Angus Leeming  <leeming@lyx.org>
1674
1675         * buffer.C: bump format to 224.
1676
1677 2003-06-05  André Pönitz  <poenitz@gmx.net>
1678
1679         * text2.C (redoParagraphs): remove two const_cast<>
1680
1681 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
1682
1683         * ParagraphList.h: remove last remnants of NO_STD_LIST
1684
1685 2003-06-03  Angus Leeming  <leeming@lyx.org>
1686
1687         * factory.C (createInset): small change to the way InsetExternal's params
1688         are set.
1689
1690 2003-06-04  André Pönitz  <poenitz@gmx.net>
1691
1692         * buffer.h: use Undo directly instead of shared_ptr<Undo>
1693
1694         * paragraph_pimpl.h:
1695         * paragraph.[Ch]: some Inset -> UpdatableInset changes
1696
1697         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
1698
1699         * undo_funcs.C: make some simple cases of undo work again
1700
1701 2003-06-03  John Levon  <levon@movementarian.org>
1702
1703         * ispell.C: HPUX doesn't have sys/select.h
1704         (from Albert Chin)
1705
1706 2003-06-03  John Levon  <levon@movementarian.org>
1707
1708         * CutAndPaste.C: update tabular and include inset
1709         buffer references
1710
1711         * buffer.h:
1712         * paragraph.h:
1713         * paragraph.C: remove owningBuffer(), don't pass Buffer
1714         to clone()
1715
1716         * factory.C: insetGraphicsParams changed
1717
1718 2003-06-02  John Levon  <levon@movementarian.org>
1719
1720         * LyXAction.C:
1721         * factory.C:
1722         * lfuns.h:
1723         * lyxfunc.C:
1724         * text3.C: remove insetparent
1725
1726 2003-06-02  John Levon  <levon@movementarian.org>
1727
1728         * buffer.h:
1729         * buffer.C: fix inset_iterator.end(), move out of line
1730         (bug 1149)
1731
1732 2003-06-01  John Levon  <levon@movementarian.org>
1733
1734         * text3.C: use a proper cut/paste when doing inset
1735         insert (from Jürgen Spitzmüller)
1736
1737 2003-06-01  John Levon  <levon@movementarian.org>
1738
1739         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
1740
1741 2003-05-30  André Pönitz  <poenitz@gmx.net>
1742
1743         * rowpainter.C: unify second drawing phase
1744
1745 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
1746
1747         * trans_mgr.C: remove one case of current_view
1748
1749         * text2.C (cursorBottom): delete NO_STD_LIST stuff
1750
1751         * paragraph_funcs.h: remove paragraph.h include
1752
1753         * paragraph.h: delete NO_STD_LIST stuff
1754
1755         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
1756
1757         * buffer.h: remove paragraph.h include
1758
1759         * ParagraphList.C: delete file
1760
1761         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
1762
1763         * toc.C (getTocList): adjust
1764
1765         * paragraph_pimpl.C (validate): adjust
1766
1767         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
1768
1769         * paragraph.C (Paragraph): adjust
1770         (getPositionOfInset): use const_iterator, adjust
1771         (bibitem): use const_iterator, adjust
1772         (setInsetOwner): adjust
1773
1774         * iterators.C (operator++): adjust
1775
1776         * InsetList.[Ch]: Replace selfmade iterator with standard
1777         vector::iterator also introduce const_iterator. Remove getPos,
1778         getInset and setInset from InsetTable. Adjust accordingly.
1779
1780         * BufferView.C (lockInset): adjust
1781         (ChangeInsets): adjust
1782
1783         * tabular.[Ch]: delete commented same_id functions
1784
1785 2003-05-28  John Levon  <levon@movementarian.org>
1786
1787         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
1788
1789 2003-05-28  André Pönitz  <poenitz@gmx.net>
1790
1791         * metricsinfo.[Ch]: remove 'fullredraw' member
1792
1793 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
1794
1795         * lyxtextclass.C (operator): remove caching.
1796
1797 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
1798
1799         * text3.C: adjust
1800
1801         * text2.C (cursorBottom): adjust
1802         (setCounter): use ParagraphList::find, adjust
1803
1804         * text.C (workWidth): use ParagraphList::find, adjust
1805
1806         * lyxcursor.C (LyXCursor): adjust
1807
1808         * buffer.C (inset_iterator): adjust
1809
1810         * ParagraphList.h: make iterator(value_type) private, make
1811         ParagraphList a friend of iterator.
1812
1813         * ParagraphList.C (find): new function
1814
1815         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
1816
1817 2003-05-27  André Pönitz  <poenitz@gmx.net>
1818
1819         * dimension.[Ch]: a -> asc, d -> des, w -> wid
1820
1821 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1822
1823         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
1824
1825 2003-05-26  John Levon  <levon@movementarian.org>
1826
1827         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
1828
1829 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
1830
1831         * remove same_id from function signatures, adjust.
1832
1833 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
1834
1835         * undo_funcs.C (createUndo): use the id functions directly, adjust.
1836
1837         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
1838
1839         * paragraph.C (Paragraph): get rid of same_ids parameter
1840
1841         * ParagraphList.C (insert): adjust
1842         (push_back): adjust
1843
1844 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
1845
1846         * paragraph_funcs.C (breakParagraph): adjust
1847         (breakParagraphConservative): adjust
1848
1849         * buffer.C (readParagraph): adjust
1850
1851         * ParagraphList.C (insert): take a reference instead of a pointer
1852         (insert): adjust
1853
1854         * paragraph.[Ch] (id): new function
1855
1856         * bufferlist.C (newFile): adjust
1857
1858         * ParagraphList.C (ParagraphList): adjust
1859         (assign): adjust
1860         (push_back): take a reference instead of a pointer.
1861
1862         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
1863
1864         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
1865         instead.
1866
1867         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
1868         set else use old code.
1869
1870         * ParagraphList.C: remove all NO_NEXT code and only compile this
1871         code of NO_STD_LIST is set.
1872
1873 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
1874
1875         * BufferView_pimpl.C:
1876         * TextCache.C:
1877         * TextCache.h:
1878         * bufferlist.C:
1879         * errorlist.h:
1880         * format.C:
1881         * format.h:
1882         * graph.C:
1883         * lyxfunc.C:
1884         * lyxrc.C:
1885         * graphics/GraphicsConverter.C:
1886         * graphics/PreviewLoader.C: header adjustment
1887
1888 2003-05-23  Angus Leeming  <leeming@lyx.org>
1889
1890         * LaTeXFeatures.[Ch] (useBabel): new method.
1891         * bufferparams.C (writeLaTeX): use it.
1892
1893 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
1894
1895         * ParagraphList.h (set): remove unused function.
1896
1897 2003-05-23  André Pönitz  <poenitz@gmx.net>
1898
1899         * BufferView.C:
1900         * BufferView_pimpl.C:
1901         * buffer.C:
1902         * buffer.h:
1903         * lyxfunc.C:
1904         * undo_funcs.C: setUndo reworked
1905
1906         * iterators.[Ch]: add access to topmost ParagraphList
1907
1908         * lyxtext.[Ch] (workWidth): add a const
1909
1910 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
1911
1912         * texrow.[Ch] (increasePos): remove function
1913         * exporter.C (export): removed unused var and outdated comment
1914
1915 2003-05-23  Angus Leeming  <leeming@lyx.org>
1916
1917         * latexrunparams.h: rename fragile as moving_arg.
1918         * paragraph.C (simpleTeXOnePar): ditto.
1919         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
1920
1921 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
1922
1923         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
1924         (createUndo): ditto
1925         (textUndoOrRedo): comment out a currently unused var.
1926
1927         * paragraph.h (NO_NEXT): enable NO_NEXT
1928
1929         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
1930
1931         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
1932
1933         * exporter.C (Export): adjust for removeAutoInsets removal.
1934
1935         * buffer.C (runChktex): adjust for removeAutoInsets removal.
1936
1937         * LyXAction.C (init): remove LFUN_REMOVEERRORS
1938
1939         * BufferView.[Ch] (removeAutoInsets): delete function
1940
1941 2003-05-22  Angus Leeming  <leeming@lyx.org>
1942
1943         * latexrunparams.h: add a free_spacing variable.
1944
1945         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
1946         to pass moving_arg, as the data is stored in runparams.fragile.
1947
1948         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
1949         to Inset::latexOptional or to simpleTeXOnePar.
1950
1951         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
1952         free_spacing arg to Inset::latexOptional.
1953
1954         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
1955         free_spacing arg.
1956
1957 2003-05-22  Angus Leeming  <leeming@lyx.org>
1958
1959         * latexrunparams.h: add fragile and use_babel variables.
1960
1961         * bufferparams.[Ch] (writeLaTeX): return use_babel.
1962         * buffer.C (makeLaTeXFile): store this returned value in
1963         runparams.use_babel, thus passing it to the inset::latex methods.
1964
1965         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
1966         simpleTeXSpecialChars as it is now stored in runparams.fragile.
1967
1968         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
1969         longer has a fragile arg, as it is stored in runparams.fragile.
1970
1971         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
1972         moving_arg parameter as the data is stored in runparams.fragile.
1973
1974         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
1975         a fragile parameter as the data is stored in runparams.fragile.
1976
1977 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
1978
1979         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
1980
1981 2003-05-22  Angus Leeming  <leeming@lyx.org>
1982
1983         * latexrunparams.h: add a 'bool nice' which defaults to false.
1984
1985         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
1986         now encapsulated within runparams.
1987
1988         * bufferlist.C (updateIncludedTeXfiles):
1989         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
1990
1991 2003-05-22  Angus Leeming  <leeming@lyx.org>
1992
1993         * latexrunparams.h: new file containing struct LatexRunParams.
1994         * Makefile.am: add new file.
1995
1996         * LaTeX.[Ch] (c-tor, run):
1997         * buffer.[Ch] (makeLaTeXFile):
1998         * bufferlist.[Ch] (updateIncludedTeXfiles):
1999         * converter.C (convert, scanLog):
2000         * converter.[Ch] (runLaTeX):
2001         * exporter.C (Export):
2002         * paragraph.[Ch] (simpleTeXOnePar):
2003         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
2004         * paragraph_funcs.[Ch] (latexParagraphs):
2005         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
2006         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
2007         pass around a LatexRunParams parameter.
2008
2009 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
2010
2011         * paragraph.[Ch]: remove unused constructor
2012
2013         * ParagraphList.C (erase): new function, taking two iterators
2014
2015 2003-05-22  André Pönitz  <poenitz@gmx.net>
2016
2017         * undo_funcs.C: remove duplicated code
2018
2019         * iterator.[Ch]: operator=
2020
2021 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
2022
2023         * tabular.C (SetMultiColumn): ws changes
2024
2025         * rowpainter.C (paintFirst): get rid of a ->previous
2026
2027         * lyx_cb.C (getPossibleLabel): parlist simplification
2028
2029         * BufferView.C (ChangeInsets): simplify slightly.
2030
2031 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2032
2033         * LyXAction.C: new lfun space-insert, kill protected-space-insert
2034         * lfuns.h: new LFUN_SPACE
2035         * lyxfunc.C: protected space has a new lfun
2036         * paragraph_funcs.C: read new space insets
2037         * text3.C:
2038         * factory.C: handle new space insets
2039
2040 2003-05-22  André Pönitz  <poenitz@gmx.net>
2041
2042         * BufferView.C:
2043         * BufferView_pimpl.C:
2044         * buffer.[Ch]:
2045         * lyxfunc.C:
2046         * undo_funcs.C: return a ParIterator from getParFromID.
2047
2048         * iterators.[Ch]: add two const's
2049
2050 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
2051
2052         * toc.C (getTocList): adjust
2053
2054         * iterators.[Ch]: rework for parlist
2055
2056         * buffer.C (par_iterator_begin): adjust
2057         (par_iterator_end): adjust
2058
2059         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
2060
2061         * BufferView.C (removeAutoInsets): adjust
2062         (ChangeInsets): adjust
2063
2064 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
2065
2066         * text.C (top_y): fix bug 1110
2067
2068 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
2069
2070         * errorlist.[Ch]: added
2071         * buffer.C:
2072         * BufferView.[Ch]:
2073         * BufferView_pimpl.C:
2074         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
2075         instead
2076
2077 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
2078
2079         * Makefile.am: ensure that lyx is relinked upon changes to the
2080         various "convenience" libs.
2081
2082 2003-05-20  Angus Leeming  <leeming@lyx.org>
2083
2084         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
2085         files are compiled in alphabetical order again.
2086
2087         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
2088
2089 2003-05-19  Angus Leeming  <leeming@lyx.org>
2090
2091         * gettext.[Ch]: remove "char const * _(char const *)".
2092
2093 2003-05-19  André Pönitz  <poenitz@gmx.net>
2094
2095         * dimension.[Ch]: promote from mathed/dimension.[Ch]
2096
2097         * Makefile.am:
2098         * BufferView.C:
2099         * DepTable.h:
2100         * LaTeXFeatures.C:
2101         * buffer.C:
2102         * lyxfont.C:
2103         * lyxlex.h:
2104         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
2105
2106 2003-05-19  André Pönitz  <poenitz@gmx.net>
2107
2108         * buffer.C:
2109         * lyxlayout.[Ch]:
2110         * lyxtextclass.[Ch]:
2111         * paragraph.C:
2112         * paragraph_funcs.[Ch]:
2113         * text2.C:
2114         * text3.C: more insetenv work
2115
2116 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
2117
2118         * ParagraphParameters.C (params2string): small bug fixed
2119
2120 2003-05-16  André Pönitz  <poenitz@gmx.net>
2121
2122         * debug.C:
2123         * bufferview_funcs.C: patch from Kornel Benko to prevent
2124           crash when _(...) is called twice in a statement
2125
2126 2003-05-16  André Pönitz  <poenitz@gmx.net>
2127
2128         * BufferView.C:
2129         * lyxfunc.C:
2130         * text.C:
2131         * text2.C:
2132         * text3.C:
2133         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
2134
2135 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
2136
2137         * lyx_main.C (init): remove spurious static_cast
2138
2139 2003-05-14  André Pönitz  <poenitz@gmx.net>
2140
2141         * BufferView.C: fix format string
2142
2143 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
2144
2145         * BufferView.[Ch] (insertErrors): removed
2146         * BufferView.[Ch] (showErrorList): added
2147         * buffer.C (runChkTeX):
2148         * converter.C (scanLog): call showErrorList instead of inserterrors
2149
2150 2003-05-13  André Pönitz  <poenitz@gmx.net>
2151
2152         * BufferView_pimpl.C:
2153         * buffer.C:
2154         * bufferview_func.C:
2155         * MenuBackend.C:
2156         * lyxfunc.C:
2157         * lyxrc.C:
2158         * tex-accent.C:
2159         * text3.C:
2160         * toc.C:
2161         * tabular_funcs.h: tostr() from its own header
2162
2163         * ParagraphParameters.C:
2164         * ToolbarBackend.C:
2165         * bufferparams.C:
2166         * format.C:
2167         * lyxlex_pimpl.C:
2168         * text3.C: STRCONV()
2169
2170 2003-05-12  André Pönitz  <poenitz@gmx.net>
2171
2172         * BufferView.C:
2173         * BufferView_pimpl.C:
2174         * CutAndPaste.C:
2175         * LaTeX.C:
2176         * LaTeXFeatures.C:
2177         * ParagraphParameters.C:
2178         * buffer.C:
2179         * bufferlist.C:
2180         * bufferparams.C:
2181         * bufferview_funcs.C:
2182         * converter.C:
2183         * counters.C:
2184         * debug.C:
2185         * exporter.C:
2186         * format.C:
2187         * importer.C:
2188         * lyx_cb.C:
2189         * lyx_main.C:
2190         * lyxfont.C:
2191         * lyxfunc.C:
2192         * lyxvc.C:
2193         * paragraph.C:
2194         * paragraph_funcs.C:
2195         * tabular.C:
2196         * tabular_funcs.C:
2197         * text2.C:
2198         * text3.C:  boost::format -> bformat  all over the place
2199
2200
2201 2003-05-09  André Pönitz  <poenitz@gmx.net>
2202
2203         * LColor.[Ch]: Pimpl the #include <map> away
2204
2205 2003-05-09  John Levon  <levon@movementarian.org>
2206
2207         * bufferlist.C: never remove emergency saves
2208
2209 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
2210
2211         * Makefile.am: better lib building
2212
2213 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
2214
2215         * texrow.[Ch]: remove dependency on Paragraph and just store a id
2216         instead.
2217         * paragraph_pimpl.C (simpleTeXBlanks): adjust
2218         (simpleTeXSpecialChars): adjust
2219         (simpleTeXSpecialChars): adjust
2220         * paragraph.C (simpleTeXOnePar): adjust
2221         * buffer.C (makeLaTeXFile): adjust
2222
2223         * Makefile.am (BOOST_LIBS): allow boost as system lib.
2224
2225         * text2.C (changeDepth): parlist cleanup
2226         (getColumnNearX): ditto
2227
2228         * rowpainter.C (getLabelFont): parlist cleanup
2229
2230         * bufferlist.C (newFile): parlist cleanup
2231
2232         * CutAndPaste.C (eraseSelection): parlist cleanup
2233
2234         * BufferView_pimpl.C (trackChanges): parlist cleanup
2235         (dispatch): ditto
2236
2237         * BufferView.C (lockInset): parlist cleanup.
2238         (ChangeInsets): ditto
2239
2240 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
2241
2242         * CutAndPaste.h: Update file header.
2243
2244         * CutAndPaste.C: Update file header.
2245         Store the parts cut out of the Document in a limited_stack.
2246         (copySelection): adjust
2247         (pasteSelection): new function, takes the index in the limited stack.
2248         (nrOfParagraphs): adjust
2249         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
2250         simplify error inset insertion.
2251         (checkPastePossible): adjust
2252
2253 2003-05-06  John Levon  <levon@movementarian.org>
2254
2255         * text2.C: don't cast wrap inset to float
2256
2257 2003-05-05  André Pönitz  <poenitz@gmx.net>
2258
2259         * iterator.C:
2260         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
2261
2262         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
2263           few naked Paragraph *.
2264
2265 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
2266
2267         * bufferparams.C: Output warning if a document with missing
2268         TeX document class is loaded
2269         * exporter.C: Disable TeX exports if the document class is missing
2270         * lyxtextclass.C:
2271         * lyxtextclass.h:
2272         * lyxtextclasslist.C: Handle new textclass.lst format; new method
2273         isTeXClassAvailable()
2274
2275 2003-05-03  John Levon  <levon@movementarian.org>
2276
2277         * BufferView.h:
2278         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
2279         explicit cursor show/hide
2280
2281         * BufferView_pimpl.h:
2282         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
2283         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
2284
2285         * lyxfunc.C: hide cursor before dispatching.
2286
2287         * lyx_cb.C:
2288         * lyxfind.C:
2289         * text.C:
2290         * text3.C: remove explicit cursor hides
2291
2292 2003-05-02  André Pönitz  <poenitz@gmx.net>
2293
2294         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
2295
2296         * undo_funcs.C:
2297         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
2298           linked lists
2299
2300         * text2.C: tiny whitespace
2301
2302 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
2303
2304         * undo_funcs.C: almost only ws changes.
2305
2306         * ParagraphList.C (splice): just return if pl is empty.
2307
2308 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
2309
2310         * ParagraphList.C (splice): new function.
2311
2312         * CutAndPaste.C (pasteSelection): use it
2313
2314 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2315
2316         * CutAndPaste.C (pasteSelection): remove the last next and
2317         previous from this file.
2318
2319 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2320
2321         * CutAndPaste.C (pasteSelection): more clean up, user proper
2322         ParagraphList functions for pasteing.
2323
2324         * ParagraphList.C (insert): new function, three arg insert
2325
2326 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2327
2328         * ParagraphList.C (insert): new function, three arg insert
2329
2330         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
2331         not on paragraphs.
2332
2333 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2334
2335         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
2336
2337 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2338
2339         * CutAndPaste.C (pasteSelection): remove some unneeded code.
2340
2341 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2342
2343         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
2344         (copySelection): clean up a bit.
2345         (pasteSelection): use make_pair
2346
2347         * ParagraphList.C (ParagraphList): implement copy constructor
2348         (operator=): implement, base on copy constructor.
2349         (assign): new func
2350
2351         * paragraph.C (erase): return a bool
2352
2353         * paragraph_pimpl.C (erasePos): remove function, move contents...
2354         (erase): ... here. Return a bool.
2355         (erase): call erase instead of erasePos.
2356
2357 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
2358
2359         * ParagraphList.h: define PitPosPair
2360         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
2361         ParagraphList, fix a bug on pasting multiple pars
2362         * text2.C: change interface to C&P
2363
2364 2003-04-30  André Pönitz  <poenitz@gmx.net>
2365
2366         * undo_func.C: revert part of yesterday's patch 2
2367
2368 2003-04-30  John Levon  <levon@movementarian.org>
2369
2370         * LColor.C: s/tabular/table/
2371
2372 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
2373
2374         * text3.C (dispatch): do not convert iterator -> pointer
2375         * undo_funcs.C (setCursorParUndo): ditto
2376         * text_funcs.C (transposeChars): ditto
2377
2378         * text2.C (setLayout): ws changes only
2379
2380         * text.C (breakParagraph): do not convert iterator -> pointer
2381         (insertChar): ditto
2382         (acceptChange): ditto
2383         (rejectChange): ditto
2384         (changeCase): ditto
2385         (Delete): ditto
2386         (backspace): ditto
2387
2388         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
2389         pointer
2390
2391 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
2392
2393         * text3.C (gotoInset): YABG (yet another bad getChar)
2394
2395 2003-04-29  André Pönitz  <poenitz@gmx.net>
2396
2397         * paragraph.h: make operator= private unimplemented as long as
2398           it is unusable
2399
2400         * ParagraphList.C: whitespace
2401
2402         * paragraph.[Ch]:
2403         * paragraph_pimpl.[Ch]:
2404         * paragraph_funcs.C:
2405         * CutAndPaste.C:
2406         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
2407
2408         * text2.C:
2409           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
2410
2411 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
2412
2413         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
2414         * paragraph.[Ch] (erase):
2415         * paragraph_pimpl.[Ch] (erase): change return type and value
2416         * text2.C (cutSelection): some rework
2417
2418 2003-04-28  John Levon  <levon@movementarian.org>
2419
2420         * bufferlist.C: changes for unsaved changes dialog
2421
2422 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2423
2424         * bufferlist.C (newFile): set language (messages_) for new
2425         documents also.
2426
2427         * buffer.C (readFile): ws changes only.
2428
2429 2003-04-28  André Pönitz  <poenitz@gmx.net>
2430
2431         * undo_funcs.C:
2432         * lyxfunc.C:
2433         * buffer.[Ch]:
2434         * BufferView_pimpl.C:
2435         * BufferView.C: getParFromID related ParagraphList::iterator changes
2436
2437 2003-04-28  André Pönitz  <poenitz@gmx.net>
2438
2439         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
2440           Changes
2441
2442 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2443
2444         * messages.C: remove one more localedir class variable.
2445
2446 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2447
2448         * messages.C (getLocaleDir): singleton generation function
2449         (Pimpl): use it.
2450         (Messages): add a default constructor.
2451
2452         * main.C (main): do not setup localedir here, do not call
2453         gettext_init.
2454
2455         * gettext.C (_): use it.
2456         (gettext_init): delete funciton
2457
2458 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
2459
2460         * gettext.C (getLyXMessages): new singleton generating function.
2461
2462         * buffer.C (updateDocLang): adjust
2463
2464         * Makefile.am (messages.o): add target
2465         (main.o): remove target
2466
2467 2003-04-27  John Levon  <levon@movementarian.org>
2468
2469         * bufferlist.C:
2470         * lyx_cb.C:
2471         * lyxfunc.C:
2472         * lyxvc.C: specify cancel button in Alert::prompt
2473
2474 2003-04-26  John Levon  <levon@movementarian.org>
2475
2476         * text3.C:
2477         * lyxfunc.C:
2478         * lfuns.h:
2479         * LyXAction.C: add LFUN_INSET_SETTINGS
2480
2481         * lyxfunc.C: don't enable tabular-feature when there's
2482         just any locking inset
2483
2484 2003-04-26  John Levon  <levon@movementarian.org>
2485
2486         * bufferlist.C: re-add Cancel to buffer close question
2487
2488         * lyxfunc.C: fix import UI a bit
2489
2490 2003-04-25  John Levon  <levon@movementarian.org>
2491
2492         * gettext.C: remove the broken asserts for now
2493
2494 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2495
2496         * messages.C: make case where setlocale cannot comply work better.
2497
2498         * buffer.C (updateDocLang): new function
2499         (changeLanguage): use it
2500         (readFile): use it
2501
2502         * text2.C (setCounter): use B_ a bit.
2503
2504         * lyxlayout.C (Read): be sure to trim the label strings.
2505
2506         * messages.C (Messages): fix typo in comment
2507
2508         * buffer.C (readFile): set message_ after file is loaded.
2509         (makeDocBookFile): remove double return
2510         (changeLanguage): reset message_ upon language change.
2511         (B_): new func, use this to get translated buffer strings.
2512
2513         * main.C: add myself and Jean Marc as authors.
2514
2515 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
2516
2517         * messages.[hC]: pimplify Messages, and three different pimpls to be
2518         used in different circumstances.
2519
2520         * gettext.[Ch]: change for use with new message code.
2521
2522 2003-04-24 André Pönitz <poenitz@gmx.net>
2523
2524         * factory.C: support for eqref
2525
2526 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
2527
2528         * messages.[Ch]: add missing char
2529
2530         * Makefile.am (lyx_SOURCES): add messages.[Ch]
2531
2532         * messages.[Ch]: New files
2533
2534 2003-04-18  John Levon  <levon@movementarian.org>
2535
2536         * BufferView.h:
2537         * BufferView.C:
2538         * BufferView_pimpl.C:
2539         * lfuns.h:
2540         * LyXAction.C:
2541         * lyxtext.h:
2542         * text2.C: remove layout-copy/paste (bug 778)
2543
2544 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
2545
2546         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
2547
2548 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
2549
2550         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
2551         if they succeed. Act accordingly.
2552
2553 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2554
2555         * text2.C (setCharFont): adjust
2556         (setCounter): adjust
2557         (insertStringAsLines): adjust
2558
2559         * text.C (leftMargin): adjust
2560         (setHeightOfRow): adjust
2561
2562         * rowpainter.C (paintFirst): adjust
2563         (paintLast): adjust
2564
2565         * paragraph_funcs.C (depthHook): ParagraphList::iterators
2566         (outerHook): ditto
2567         (isFirstInSequence): ditto
2568         (getEndLabel): ditto
2569         (outerFont): adjust
2570
2571         * paragraph.C (getParLanguage): comment out some hard stuff.
2572
2573         * buffer.C (insertStringAsLines): take a ParagraphList as arg
2574         (sgmlError): ditto
2575         (simpleDocBookOnePar): ditto
2576         (makeDocBookFile): use ParagraphList::iterator
2577
2578         * CutAndPaste.C (pasteSelection): adjust
2579
2580 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2581
2582         * text2.C (getFont): adjust
2583         (getLayoutFont): adjust
2584         (getLabelFont): adjust
2585
2586         * paragraph_funcs.C (TeXOnePar): adjust
2587
2588         * buffer.C (simpleLinuxDocOnePar): adjust
2589         (simpleDocBookOnePar): adjust
2590
2591         * CutAndPaste.C (pasteSelection): adjust
2592
2593         * BufferView.C (getEncoding): adjust
2594
2595         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
2596
2597 2003-04-16  John Levon  <levon@movementarian.org>
2598
2599         * lyxfind.C: use parlist stuff for search/changes
2600
2601 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2602
2603         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
2604
2605         * text2.C (deleteEmptyParagraphMechanism): adjust
2606
2607         * text2.[Ch] (ownerParagraph): delete func (both of them
2608
2609 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
2610
2611         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
2612
2613 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
2614
2615         * ParagraphList.C: prepare for NO_NEXT
2616
2617 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
2618
2619         * text2.C (getFont): adjust
2620         (getLayoutFont): adjust
2621         (getLabelFont): adjust
2622
2623         * paragraph.C (getFont): adjust
2624         (getLabelFont): adjust
2625         (getLayoutFont): adjust
2626
2627         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
2628
2629 2003-04-15  John Levon  <levon@movementarian.org>
2630
2631         From Angus Leeming
2632
2633         * lyx_main.C: handle Include in .ui files
2634
2635 2003-04-15  John Levon  <levon@movementarian.org>
2636
2637         * MenuBackend.C: make the doc files length shorter
2638
2639         * ToolbarBackend.h:
2640         * ToolbarBackend.C: handle toolbar placement flags,
2641         Minibuffer
2642
2643 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
2644
2645         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
2646         adjust
2647
2648         * paragraph_funcs.C (TeXOnePar): adjust
2649
2650         * paragraph.C (getLabelFont): add outerfont arg, adjust
2651         (getLayoutFont): ditto
2652         (simpleTeXOnePar): adjust
2653
2654         * paragraph_pimpl.C (realizeFont): delete func
2655
2656 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
2657
2658         * text2.C (beforeFullRowInset): added a bad getchar check, removed
2659         row argument, constify cur argument.
2660
2661 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
2662
2663         * text2.C (getFont): adjust
2664         (getLayoutFont): adjust
2665         (getLabelFont): adjust
2666
2667         * paragraph_funcs.C (TeXOnePar): adjust
2668         (outerFont): new func...
2669         (realizeFont): ...moved out from here, changed this to facilitate
2670         transition
2671
2672         * paragraph.C (getFont): take outerfont as arg, adjust
2673         (simpleTeXOnePar): add outerfont arg, adjust
2674
2675         * buffer.C (simpleLinuxDocOnePar): adjust
2676         (simpleDocBookOnePar): adjust
2677
2678         * CutAndPaste.C (pasteSelection): adjust
2679
2680         * BufferView.C (getEncoding): adjust
2681
2682 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
2683
2684         * text2.C (setCharFont): adjust
2685         (setCounter): adjust
2686
2687         * text.C (leftMargin): adjust
2688         (setHeightOfRow): adjust
2689
2690         * rowpainter.C (paintFirst): adjust
2691         (paintLast): adjust
2692
2693         * paragraph_pimpl.C (realizeFont): adjust
2694
2695         * paragraph.C (isFirstInSequence): move from here...
2696         * paragraph_funcs.C (isFirstInSequence): ...to here
2697
2698         * paragraph.C (outerHook): move from here...
2699         * paragraph_funcs.C (outerHook): ...to here
2700
2701         * paragraph.C (depthHook): move from here...
2702         * paragraph_funcs.C (depthHook): ...to here
2703
2704         * paragraph.C (getEndLabel): move from here...
2705         * paragraph_funcs.C (getEndLabel): ...to here
2706
2707         * text2.C (realizeFont): move from here...
2708         * paragraph_funcs.C (realizeFont): ...to here
2709
2710 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
2711
2712         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
2713
2714 2003-04-14  Angus Leeming  <leeming@lyx.org>
2715
2716         * LColor.[Ch]: scrap LColor mathcursor.
2717
2718 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
2719
2720         * lyxlex.[Ch] (text): delete function
2721         * trans.C (Load): adjust
2722         * paragraph_funcs.C (readParToken): adjust
2723
2724 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
2725
2726         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
2727         vector<char> instead of a char[].
2728
2729         * lyxlex_pimpl.C (getString): adjust
2730         (next): adjust
2731         (lex): use getString
2732         (eatLine): adjust
2733         (nextToken): adjust
2734
2735         * lyxlex.C (text): use pimpl_->getString()
2736         (getBool): ditto
2737         (findToken): ditto
2738
2739 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
2740
2741         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
2742         (makeFontEntriesLayoutSpecific): temp var for par.size()
2743         (setLayout): temp var for ownerParagraphs().end()
2744         (fullRebreak): temp var for rows().end()
2745         (selectionAsString): temp var for boost::next(startpit), realize
2746         that the while really is a regular for loop.
2747         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
2748         setCursor in one place.
2749         (setParagraph): temp vr for ownerParagraphs().end()
2750         (updateCounters): make the while loop a for loop
2751         (cutSelection): temp var for ownerParagraphs().end()
2752         (updateInset): make the do {} while() a regular for loop
2753         (getCursorX): use temp vars
2754         (setCurrentFont): use temp vars
2755         (getColumnNearX): use temp vars
2756
2757 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
2758
2759         * text.C (transformChar): use temp var for getChar
2760         (computeBidiTables): use temp var for row->par()
2761         (fill): move temp vars for row->par() and pit->layout() earlier in
2762         the function.
2763         (labelFill): use temp var for row->par()
2764         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
2765         asc and desc, realize that pit never changes and that firstpit is
2766         just a duplicate and not needed. Exchange rit->par() with pit in a
2767         lot of places.
2768         (breakAgain): use a temp var for boost::next(rit)
2769         (breakAgainOneRow): ditto
2770         (breakParagraph): use a temp var for rows().begin()
2771         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
2772         (cursorRightOneWord): use temp var for cursor.par() and
2773         cursor.pos(), remove usage of tmpcursor.
2774         (cursorLeftOneWord): use temp var for cursor.par() and
2775         cursor.pos() only set cur at end of function.
2776
2777 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
2778
2779         * text.C, text2.C: exchange all usage of Paragraph::next with
2780         boost::next(ParagraphList::iterator)
2781
2782         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
2783
2784         * text2.C (cursorTop): simplify implementation
2785         (cursorBottom): ditto
2786         (setParagraph): use ParagraphList::iterator
2787         (setCurrentFont): adjust
2788         (getColumnNearX): adjust
2789         (cursorRight): adjust
2790         (cursorLeft): remove usage of Paragraph::previous
2791         (cursorUpParagraph): ditto
2792         (deleteEmptyParagraphMechanism): slight cleanup
2793
2794         * text.C (isBoundary): take a Paragraph const & instead of a
2795         pointer as arg.
2796         (addressBreakPoint): ditto
2797         (leftMargin): remove usage of Paragraph::previous.
2798         (setHeightOfRow): ditto
2799         (cursorLeftOneWord): ditto
2800         (selectNextWordToSpellcheck): ditto
2801         (Delete): ditto
2802         (backspace): ditto
2803         (breakParagraph): remove one usage of Paragraph::next
2804         (redoParagraph): ditto
2805         (acceptChange): ditto
2806         (insertChar): adjust
2807         (rowBreakPoint): adjust
2808
2809         * bufferview_funcs.C (toggleAndShow): adjust
2810
2811 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
2812
2813         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
2814         methods to access it.
2815         * lyxtext.h:
2816         * text.C: Added updateRowPositions to compute all row positions.
2817         Make top_y and getRowNearY() to use the cached y position
2818
2819 2003-04-11  John Levon  <levon@movementarian.org>
2820
2821         * text.C (rowBreakPoint): reintroduce the labelEnd
2822         checks, code copied from the row fill stuff. Deep voodoo.
2823
2824         * text.C (fill): add a comment and debugging for the
2825         next poor soul.
2826
2827 2003-04-11  John Levon  <levon@movementarian.org>
2828
2829         * text.C: make sure fullrow insets get wrapped to the next line,
2830         even when they're in a manual label
2831
2832 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
2833
2834         * text2.C (insertParagraph): make it take ParagraphList::iterator
2835         as arg.
2836         (setLayout): make it return ParagraphList::iterator
2837         (redoParagraphs): ditto
2838         (setCounter): ditto
2839         (checkParagraph): ditto
2840
2841         * text.C (getRow): make getrow take ParagraphList::iterator as arg
2842
2843         * text2.C: adjust several funcs.
2844         (realizeFont): take a ParagraphList::iterator as arg.
2845         (getLayoutFont): ditto
2846         (getLabelFont): ditto
2847         (setCharFont): ditto
2848
2849         * text.C: adjust several funcs.
2850
2851 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
2852
2853         * text.C (selectNextWordToSpellcheck): don't accidentally
2854         skip insets
2855
2856 2003-04-10  John Levon  <levon@movementarian.org>
2857
2858         * ToolbarBackend.C (getIcon): special handling for
2859         LFUN_MATH_DELIM
2860
2861 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
2862
2863         * text2.C (cursorRight): a getChar assert fixed
2864
2865 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
2866
2867         * text2.C (getFont): change to take a ParagraphList::iterator
2868         instead of Paragraph*
2869         Adjust several functions.
2870
2871         * text.C (transformChar): change to take a ParagraphList::iterator
2872         instead of Paragraph*
2873         (singleWidth): ditto
2874         Adjust several functions.
2875
2876         * rowpainter.C: adjust several functions
2877         * rowpainter.h:store a ParagraphList::iterator and not a
2878         Paragraph&.
2879
2880
2881 2003-04-09  John Levon  <levon@movementarian.org>
2882
2883         * lyxfunc.C:
2884         * lfuns.h:
2885         * LyXAction.h:
2886         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
2887         and the "help" bits as well
2888
2889 2003-04-09  John Levon  <levon@movementarian.org>
2890
2891         * ToolbarBackend.h:
2892         * ToolbarBackend.C: allow multiple toolbars
2893
2894 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
2895
2896         * undo_funcs.C (setCursorParUndo): adjust
2897
2898         * text_funcs.C (transposeChars): adjust
2899
2900         * text3.C (gotoNextInset): adjust
2901         (dispatch): adjust
2902
2903         * text2.C (setLayout): adjust
2904         (changeDepth): adjust
2905         (setFont): adjust
2906         (redoParagraphs): adjust
2907         (selectionAsString): adjust
2908         (setParagraph): adjust
2909         (insertInset): adjust
2910         (cutSelection): adjust
2911         (copySelection): adjust
2912         (pasteSelection): adjust
2913         (insertStringAsLines): adjust
2914         (updateInset): adjust
2915         (setCursor): change to take a ParagraphList::iterator parameter
2916         (setCursorIntern): change to take a ParagraphList::iterator parameter
2917         (setCurrentFont): adjust
2918         (cursorLeft): adjust
2919         (cursorRight): adjust
2920         (deleteEmptyParagraphMechanism): adjust
2921
2922         * text.C (breakParagraph): adjust
2923         (insertChar): adjust
2924         (acceptChange): adjust
2925         (rejectChange): adjust
2926         (selectNextWordToSpellcheck): adjust
2927         (changeCase): adjust
2928         (Delete): adjust
2929         (backspace): adjust
2930
2931         * lyxfind.C (SearchForward): adjust
2932         (SearchBackward): adjust
2933         (nextChange): adjust
2934
2935         * lyxcursor.C (par): adjust
2936
2937         * lyxcursor.h: store a ParagraphList::iterator instead of a
2938         Paragraph*
2939
2940         * lyx_cb.C (getPossibleLabel): adjust
2941
2942         * bufferview_funcs.C (toggleAndShow): adjust
2943
2944         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
2945         (dispatch): adjust
2946
2947         * BufferView.C (removeAutoInsets): adjust
2948         (lockedInsetStoreUndo): adjust
2949
2950 2003-04-09  John Levon  <levon@movementarian.org>
2951
2952         * ToolbarBackend.C: try icon without argument
2953         if with argument fails
2954
2955 2003-04-08  John Levon  <levon@movementarian.org>
2956
2957         * ToolbarBackend.h:
2958         * ToolbarBackend.C: add getIcon(), handle tooltip,
2959         and change from "Icon" to "Item".
2960
2961 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
2962
2963         * BufferView.C (lockInset): another bad getchar crunched
2964
2965 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
2966
2967         * text2.C (changeDepth): do not setUndo on test_only (make undo work
2968         again)
2969
2970 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
2971
2972         * lyxfind.C (searchForward, searchBackwards): bug 782
2973
2974 2003-04-07  John Levon  <levon@movementarian.org>
2975
2976         * paragraph.C: remove dead comment
2977
2978         * text.C: remove troublesome depth-fiddling code
2979         in leftMargin() and rightMargin() (bug 1017)
2980
2981         * text.C: fix breaking of rows in nested lists
2982         (bug 1004)
2983
2984         * text2.C (updateCounters): fix up depth values
2985         (bug 1013)
2986
2987 2003-04-07  John Levon  <levon@movementarian.org>
2988
2989         * BufferView_pimpl.C: clear message when doc finishes resizing,
2990         and after a mouse event
2991
2992         * lyxfunc.C: clear message after exiting inset
2993
2994 2003-04-07  John Levon  <levon@movementarian.org>
2995
2996         * bufferview_funcs.C: show math status not outside
2997         status in the statusbar
2998
2999 2003-04-07  John Levon  <levon@movementarian.org>
3000
3001         * lyxfunc.C: note status changed after a depth change
3002
3003 2003-04-04  Angus Leeming  <leeming@lyx.org>
3004
3005         * LaTeX.h: move AuxInfo operator==, != out of line.
3006         Remove LaTeX virtual destructor; nothing derives from it.
3007         Move operator()() out of public area and rename it startscript().
3008         Change protected for private.
3009
3010 2003-04-04  Angus Leeming  <leeming@lyx.org>
3011
3012         * lyxfunc.C:
3013         * text2.C: remove unneeded #includes.
3014
3015 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
3016
3017         * text2.C (dEPM): fix the heigth of the next row
3018
3019 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
3020
3021         * text.C: squashed an invalid getChar requester + some ws changes
3022
3023 2003-04-03  John Levon  <levon@movementarian.org>
3024
3025         * bufferview_funcs.h:
3026         * bufferview_funcs.C:
3027         * lyxfunc.C:
3028         * lyxtext.h:
3029         * text2.C: make getStatus work for the env depth lfuns
3030
3031 2003-04-03  John Levon  <levon@movementarian.org>
3032
3033         * bufferview_funcs.h:
3034         * bufferview_funcs.C:
3035         * lyxfunc.C:
3036         * lyxtext.h:
3037         * text2.C: parlistize decDepth(), by merging it with incDepth()
3038
3039 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
3040
3041         * lyxrow.h: store a ParagraphList::iterator instead of a
3042         Paragraph* and adjust other class functions to suit.
3043
3044         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
3045         above.
3046
3047 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
3048
3049         * text2.C (setCursor): do not anchor to cursor row for the time being
3050
3051 2003-04-02  John Levon  <levon@movementarian.org>
3052
3053         * LyXAction.C:
3054         * lfuns.h:
3055         * lyx_main.C:
3056         * lyxtext.h:
3057         * text.C:
3058         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
3059
3060 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3061
3062         * paragraph.h: make ParagraphList and ParagraphList::iterator
3063         friends of Paragraph.
3064
3065         * buffer.C (makeLinuxDocFile): move towards ParagraphList
3066
3067         * ParagraphList.C: Use the private next_ and previous_ from
3068         Paragraph.
3069
3070 2003-04-01  John Levon  <levon@movementarian.org>
3071
3072         * ToolbarBackend.h:
3073         * ToolbarBackend.C:
3074         * Makefile.am: rename, remove defaults gunk
3075
3076         * MenuBackend.h:
3077         * MenuBackend.C: remove defaults gunk
3078
3079         * Languages.h:
3080         * Languages.C: remove defaults gunk
3081
3082         * lyx_main.h:
3083         * lyx_main.C: error out if files couldn't be found.
3084
3085 2003-04-02  John Levon  <levon@movementarian.org>
3086
3087         * text2.C: make incDepth() use parlist
3088
3089 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3090
3091         * undo_funcs.C (firstUndoParagraph): adjust
3092
3093         * text3.C (gotoInset): adjust
3094         (dispatch): adjust, and rewrite loop.
3095
3096         * text2.C (init): adjust, and rewrite loop.
3097         (redoParagraphs): adjust
3098         (updateInset): adjust, and rewrite loop.
3099         (deleteEmptyParagraphMechanism): adjust
3100
3101         * tabular.C (LyXTabular): adjust
3102         (SetMultiColumn): adjust
3103         (TeXRow): adjust
3104
3105         * lyxtext.[Ch] (ownerParagraph): delete function
3106         (ownerParagraphs): new function returns a ParagraphList.
3107
3108         * BufferView.C (removeAutoInsets): adjust
3109         (insertErrors): adjust
3110         (setCursorFromRow): adjust
3111
3112 2003-04-01  Angus Leeming  <leeming@lyx.org>
3113
3114         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
3115         in the frontends.
3116
3117 2003-04-02  John Levon  <levon@movementarian.org>
3118
3119         * lyxtext.h:
3120         * text.C:
3121         * Makefile.am:
3122         * text_funcs.h:
3123         * text_funcs.C: make transposeChars a free function
3124
3125         * lyxrow_funcs.C: remove wrong comment
3126
3127 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3128
3129         * lyxtext.h: adjust
3130         * rowpainter.C: adjust
3131         * text.C: adjust
3132         * text2.C: adjust
3133         * text3.C: adjust
3134
3135         * lyxrow_funcs. [Ch]: new files
3136
3137         * lyxrow.[Ch]: remove next and previous pointers
3138         (next,previous): remove accessor functions
3139         (isParEnd): move to lyxrow_funcs
3140         (lastPos): move to lyxrow_funcs
3141         (nextRowIsAllInset): move to lyxrow_funcs
3142         (lastPrintablePos): move to lyxrow_funcs
3143         (numberOfSeparators): move to lyxrow_funcs
3144         (numberOfHfills): move to lyxrow_funcs
3145         (numberOfLabelHfills): move to lyxrow_funcs
3146         (hfillExpansion): move to lyxrow_funcs
3147
3148         * lyxfunc.C: adjust
3149
3150         * bufferview_funcs.C (toggleAndShow): adjust
3151
3152         * RowList.h: Remove class RowList from file leave just a
3153         std::list<Row>.
3154
3155         * RowList.C: delete file
3156
3157         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
3158         and lyxrow_funcs.h
3159
3160 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3161
3162         * text3.C (cursorPrevious): adjust
3163         (cursorNext): adjust
3164         (dispatch): adjust
3165
3166         * text2.C (redoHeightOfParagraph): adjust
3167         (redoDrawingOfParagraph): adjust
3168         (setCursor): adjust
3169
3170         * text.C (breakParagraph): adjust
3171         (insertChar): adjust
3172         (backspace): adjust
3173
3174         * rowpainter.C (RowPainter): adjust
3175         (leftMargin): simplify and adjust
3176         (most rowpainter functions): adjust.
3177
3178         * rowpainter.h: store the row as RowList::iterator not as Row*
3179
3180         * lyxcursor.C (row): taka RowList::iterator as arg
3181         (irow): ditto
3182
3183         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
3184         of Row*.
3185
3186 2003-04-01  Angus Leeming  <leeming@lyx.org>
3187
3188         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
3189         stuff like bool Bool.
3190
3191 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
3192
3193         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
3194         rewrite a loop
3195
3196 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3197
3198         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
3199         RowList::iterator.
3200
3201         * lyxtext.h (rows): drop one version and leve a const variant that
3202         returns a RowList::iterator.
3203
3204 2003-03-31  Angus Leeming  <leeming@lyx.org>
3205
3206         * text.C (fill): ensure that the signature is the same as that in the
3207         header file.
3208
3209 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
3210
3211         * text2.C (redoParagraphs): adjust
3212         (updateCounters): adjust
3213         (checkParagraph): adjust
3214         (getColumnNearX): adjust and reformat a bit.
3215
3216         * text.C (top_y): adjust
3217         (workWidth): adjust
3218         (leftMargin): adjust
3219         (prepareToPrint): adjust
3220         (getRow): adjust
3221         (getRowNearY): adjust
3222
3223         * lyxtext.h: make rowlist_ mutable.
3224
3225         * RowList.h: add const_iterator
3226         * RowList.C: adjust for RowList::const_iterator.
3227
3228         * text2.C (getCursorX): make it take a RowList::iterator as arg,
3229         adjust.
3230
3231 2003-03-31  John Levon  <levon@movementarian.org>
3232
3233         * lyxrc.h:
3234         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
3235
3236         * lyx_main.C: set default fonts from using lyx_gui funcs
3237
3238         * exporter.C: pdf_mode moved from lyxrc
3239
3240         * lyx_cb.C:
3241         * lyxfunc.C: changes from above
3242
3243 2003-03-31  John Levon  <levon@movementarian.org>
3244
3245         * lyx_main.C: fix to the last fix
3246
3247 2003-03-31  John Levon  <levon@movementarian.org>
3248
3249         * bufferlist.C: "Load original" -> "Load Original"
3250
3251         * converter.C:
3252         * exporter.C:
3253         * importer.C:
3254         * lyx_main.C:
3255         * format.C: more Alert cleanups
3256
3257 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
3258
3259         * text2.C (removeParagraph): make it take a RowList::iterator as
3260         arg, adjust.
3261         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
3262         (postRowPaint): make it take a RowList::iterator as arg, adjust.
3263
3264         * text.C (anchor_row): make it take a RowList::iterator as arg,
3265         adjust.
3266         (computeBidiTables): make it take a const reference to Row instead
3267         of Row pointer, adjust.
3268         (leftMargin): make it take a RowList::iterator as arg, adjust.
3269         (rowBreakPoint): adjust
3270         (breakAgainOneRow): make it take a RowList::iterator as arg,
3271         adjust.
3272         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
3273
3274         * bufferview_funcs.C (toggleAndShow): adjust
3275
3276 2003-03-30  John Levon  <levon@movementarian.org>
3277
3278         * Makefile.am:
3279         * BoostFormat.h:
3280         * boost-inst.C: moved to support
3281
3282         * several files: changes as a result
3283
3284 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
3285
3286         * text2.C (LyXText): adjust.
3287         (init): adjust
3288         (removeRow): make it take a RowList::iterator as arg, adjust.
3289         (fullRebreak): adjust
3290         (deleteEmptyParagraphMechanism): adjust
3291         (clearPaint): adjust
3292         (postPaint): adjust
3293
3294         * text.C (top_y): adjust
3295         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
3296         (breakAgain): make it take a RowList::iterator as arg, adjust.
3297         (breakParagraph): adjust
3298         (insertChar): adjust
3299         (backspace): adjust
3300
3301         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
3302         need_break_row, and refresh_row.
3303
3304         * text3.C (dispatch): adjust
3305
3306         * text2.C (checkParagraph): adjust
3307         (setCursor): adjust
3308         (setCursorFromCoordinates): adjust
3309
3310         * text.C (top_y): adjust
3311         (workWidth): adjust
3312         (getRow): make it return a RowList::iterator, adjust
3313         (getRowNearY): make it return a RowList::iterator, adjust
3314
3315         * text2.C (init): adjust
3316         (insertRow): remove function
3317         (insertParagraph): adjust
3318         (redoParagraphs): adjust
3319         (fullRebreak): adjust
3320         (updateCounters): adjust
3321
3322         * text.C (top_y): rewrite to use RowList iterators.
3323         (top_y): adjust
3324         (setHeightOfRow): rewrite to sue RowList iterators.
3325         (appendParagraph): adjust
3326         (breakAgain): adjust
3327         (breakAgainOneRow): adjust
3328         (breakParagraph): adjust
3329         (getRow): adjust
3330         (getRowNearY): adjust, and remove commented code.
3331
3332         * lyxtext.h (firstRow): delete function
3333         (lastRow): delete function
3334         (rows): new function (const and non-const versions.)
3335         (insertRow): delete function
3336
3337         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
3338
3339 2003-03-29  John Levon  <levon@movementarian.org>
3340
3341         * BufferView_pimpl.C: always update scrollbar top
3342         because pasting text when we're anchored could mean we
3343         miss an update altogether
3344
3345 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
3346
3347         * text2.C (init): use rowlist_.end() and not 0.
3348         (insertRow): change to take a RowList::iterator as arg, adjust
3349         for this.
3350         (insertParagraph): change to take a RowList::iterator as arg,
3351         adjust for this.
3352         (redoParagraphs): remove some debug msgs.
3353
3354         * text.C (appendParagraph): change to take a RowList::iterator
3355         arg, adjust for this.
3356         (breakAgain): add an assert
3357         (breakAgainOneRow): ditto
3358
3359 2003-03-29  John Levon  <levon@movementarian.org>
3360
3361         * text2.C: do not clear selection after inc/decDepth
3362         (bug 550)
3363
3364 2003-03-29  John Levon  <levon@movementarian.org>
3365
3366         * BufferView.C:
3367         * buffer.C: fix broken strerrors according to Lars
3368
3369 2003-03-29  John Levon  <levon@movementarian.org>
3370
3371         * converters.C: more Alert cleanups
3372
3373 2003-03-29  John Levon  <levon@movementarian.org>
3374
3375         * bufferview_funcs.C: remove pointless Alert
3376
3377         * buffer.C: fix confusing error message when
3378         a template is chmoded 000
3379
3380 2003-03-29  John Levon  <levon@movementarian.org>
3381
3382         * BufferView.C:
3383         * BufferView.h:
3384         * BufferView_pimpl.C: Alert fixes
3385
3386         * Makefile.am:
3387         * tabular.C:
3388         * tabular-old.C: remove unused table compat reading
3389
3390 2003-03-29  John Levon  <levon@movementarian.org>
3391
3392         * BufferView.C:
3393         * buffer.C:
3394         * lyx_cb.h:
3395         * lyx_cb.C: more Alert cleanups
3396
3397         * lyxfunc.C: don't allow chktex if not latex document
3398
3399 2003-03-29  John Levon  <levon@movementarian.org>
3400
3401         * lyx_cb.C:
3402         * BufferView.C:
3403         * buffer.C: warnings pushed down from support/,
3404         kill err_alert
3405
3406 2003-03-29  John Levon  <levon@movementarian.org>
3407
3408         * lyxfunc.C: safety check for C-r (revert)
3409
3410 2003-03-29  John Levon  <levon@movementarian.org>
3411
3412         * bufferlist.h:
3413         * bufferlist.C: several UI fixes using Alert::prompt.
3414         Fix the pointless looping quit code. Fix stupid revert
3415         behaviour (bug 938)
3416
3417         * lyxvc.h:
3418         * lyxvc.C:
3419         * lyx_cb.C: use Alert::prompt
3420
3421         * lyx_main.C: remove a silly question
3422
3423         * lyxfunc.C: remove a couple of silly questions,
3424         use Alert::prompt
3425
3426 2003-03-28  John Levon  <levon@movementarian.org>
3427
3428         * text2.C: fix bug 974 (End on empty par)
3429
3430 2003-03-28  John Levon  <levon@movementarian.org>
3431
3432         * BufferView_pimpl.C:
3433         * LyXAction.C:
3434         * lfuns.h: remove do-nothing math greek lfuns
3435
3436 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
3437
3438         * lyxgluelength.h (isValidGlueLength): add default arg on
3439         parameter 2. Remove default arg from friend in class.
3440
3441         * lyxlength.h (isValidLength): add default arg on parameter 2.
3442         Remove default arg from friend in class.
3443
3444         * text2.C (LyXText): adjust, initialize refresh_row.
3445         (init): adjust
3446         (removeRow): adjust
3447         (insertRow): adjust
3448         (insertParagraph): adjst
3449         (redoParagraphs): adjust
3450         (fullRebreak): adjust
3451         (updateCounters): adjust
3452         (deleteEmptyParagraphMechanism): first attempt at fixing a
3453         crashing bug.
3454
3455         * text.C (top_y): adjust
3456         (setHeightOfRow): adjust
3457         (getRow): adjust
3458         (getRowNearY): adjust
3459
3460         * lyxtext.h: include RowList.h
3461         (~LyXText): not needed anymore, deleted.
3462         (firstRow): modify for RowList
3463         (lastRow): new function
3464         Delete firstrow and lastrow class variables, add a Rowlist
3465         rowlist_ class variable.
3466
3467         * lyxrow.C (lastPos): use empty() and not !size() to check if a
3468         paragraph is empty.
3469
3470         * RowList.C (insert): fix case where it == begin().
3471
3472 2003-03-26  Angus Leeming  <leeming@lyx.org>
3473
3474         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
3475         the thesaurus dialog.
3476
3477 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
3478
3479         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
3480
3481         * RowList.[Ch]: new files
3482
3483         * ParagraphList.C (erase): handle the case where it == begin
3484         correctly.
3485
3486 2003-03-25  John Levon  <levon@movementarian.org>
3487
3488         * Makefile.am:
3489         * aspell_local.h:
3490         * aspell.C: add new aspell support
3491
3492         * lyxrc.h:
3493         * lyxrc.C: Make use_pspell be use_spell_lib. Always
3494         have it accessible.
3495
3496 2003-03-25  Angus Leeming  <leeming@lyx.org>
3497
3498         * lfuns.h:
3499         * LyXAction.C (init): new LFUN_INSET_INSERT.
3500
3501         * BufferView_pimpl.C (dispatch): split out part of the
3502         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
3503
3504         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
3505         LFUN_INSET_APPLY.
3506
3507 2003-03-25  Angus Leeming  <leeming@lyx.org>
3508
3509         * lyxfunc.C (dispatch): changes to the Dialogs interface.
3510
3511 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
3512
3513         * text2.C:
3514         * text3.C: remove useless row->height(0)
3515
3516 2003-03-25  John Levon  <levon@movementarian.org>
3517
3518         * lyxtext.h:
3519         * text2.C:
3520         * text3.C: rename the refreshing stuff to better names
3521
3522 2003-03-24  John Levon  <levon@movementarian.org>
3523
3524         * BufferView_pimpl.h:
3525         * BufferView_pimpl.C: update layout choice on a mouse
3526         press/release
3527
3528 2003-03-23  John Levon  <levon@movementarian.org>
3529
3530         * Makefile.am: fix commandtags.h reference
3531
3532 2003-03-22  John Levon  <levon@movementarian.org>
3533
3534         * BufferView_pimpl.C:
3535         * lyxtext.h:
3536         * rowpainter.C:
3537         * rowpainter.h:
3538         * text.C:
3539         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
3540
3541 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
3542
3543         * lyxtext.h:
3544         * text.C: take the rtl methods out of line
3545
3546 2003-03-21 André Pönitz <poenitz@gmx.net>
3547
3548         * metricsinfo.[Ch]: new files containing structures to be passed around
3549         during the two-phase-drawing...
3550
3551 2003-03-21 André Pönitz <poenitz@gmx.net>
3552
3553         * lyxtextclass.C: read 'environment' tag.
3554
3555 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
3556
3557         * text2.C (removeRow): fix bug 964
3558
3559 2003-03-20  John Levon  <levon@movementarian.org>
3560
3561         * rowpainter.C:
3562         * text.C:
3563         * text2.C: paint cleanups. Inset::update() dropped font
3564         parameter
3565
3566 2003-03-19  John Levon  <levon@movementarian.org>
3567
3568         * lyxfunc.C: only fitcursor/markDirty if available()
3569
3570 2003-03-19  John Levon  <levon@movementarian.org>
3571
3572         * commandtags.h: rename to ...
3573
3574         * lfuns.h: ... this, and renumber / cleanup
3575
3576 2003-03-19  John Levon  <levon@movementarian.org>
3577
3578         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
3579         fit the cursor after an lfun
3580
3581         * BufferView.h:
3582         * BufferView.C:
3583         * BufferView_pimpl.h:
3584         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
3585
3586         * LyXAction.C: layout-character should have ReadOnly
3587
3588         * ParagraphParameters.C:
3589         * buffer.C:
3590         * bufferview_funcs.C:
3591         * lyx_cb.C:
3592         * lyxfind.C:
3593         * lyxtext.h:
3594         * text.C:
3595         * text2.C:
3596         * text3.C:
3597         * undo_funcs.C: changes from above
3598
3599 2003-03-18  John Levon  <levon@movementarian.org>
3600
3601         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
3602         remove it from update()
3603
3604         * lyxfunc.C: update layout choice after an lfun
3605
3606         * text3.C: remove extra updateLayoutChoice()s
3607
3608 2003-03-18  John Levon  <levon@movementarian.org>
3609
3610         * text.C: top_y change means full repaint, fix
3611         a drawing bug with cursor movement
3612
3613 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
3614
3615         * lyxtext.h:
3616         * text.C:
3617         * text2.C: anchor row on setCursor
3618
3619 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
3620
3621         * lyxtext.h: remove almost all mutable keywords
3622         * text.C:
3623         * text2.C:
3624         * text3.C: remove const keywords accordingly
3625
3626 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
3627
3628         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
3629         anon namespace
3630         (TeXEnvironment): ditto
3631         (TeXOnePar): ditto
3632
3633 2003-03-17  John Levon  <levon@movementarian.org>
3634
3635         * text.C (rowBreakPoint): remove attempt to fix displayed
3636         math insets inside a manual label
3637
3638 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
3639
3640         * lyxtext.h: remove BufferView* as first arg from almost all class
3641         functions.
3642         * other files: adjust.
3643
3644 2003-03-17  John Levon  <levon@movementarian.org>
3645
3646         * lyxtext.h:
3647         * undo_funcs.C:
3648         * text2.C: more paint cleanups
3649
3650         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
3651
3652         * rowpainter.h:
3653         * rowpainter.C: remove "smart" background painting code
3654
3655 2003-03-16  John Levon  <levon@movementarian.org>
3656
3657         * lyxtext.h:
3658         * text.C:
3659         * text2.C:
3660         * text3.C: add helper functions for setting refresh_row/y
3661
3662 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
3663
3664         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
3665         newline inset which *can* get inserted in the pass_thru layouts.
3666         This is primarily for literate documents.
3667
3668 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
3669
3670         * buffer.C: increment LYX_FORMAT to 223
3671
3672 2003-03-14 André Pönitz <poenitz@gmx.net>
3673
3674         * textclass.h: prepare for environment handling, ws changes
3675         * lyxlayout.C: read latexheader and latexfooter tags
3676
3677 2003-03-14  John Levon  <levon@movementarian.org>
3678
3679         * text2.C: rewrite ::status() a bit
3680
3681 2003-03-13  John Levon  <levon@movementarian.org>
3682
3683         * lyxtext.h: add some docs
3684
3685 2003-03-13  John Levon  <levon@movementarian.org>
3686
3687         * lyxtext.h:
3688         * text.C:
3689         * text2.C:
3690         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
3691
3692 2003-03-13  John Levon  <levon@movementarian.org>
3693
3694         * text3.C: fix appendix redrawing
3695
3696 2003-03-13  John Levon  <levon@movementarian.org>
3697
3698         * text.C (setHeightOfRow):
3699         * rowpainter.h:
3700         * rowpainter.C: make appendix mark have the text
3701           "Appendix" so the user knows what it is
3702
3703         * LColor.h:
3704         * LColor.C: s/appendixline/appendix/ from above
3705
3706 2003-03-13  John Levon  <levon@movementarian.org>
3707
3708         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
3709
3710         * text.C: fix a getChar(pos) bug properly
3711
3712 2003-03-13  Angus Leeming  <leeming@lyx.org>
3713
3714         * commandtags.h:
3715         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
3716         Probably only temporary. Let's see how things pan out.
3717
3718         * BufferView.C (unlockInset):
3719         * BufferView_pimpl.C (fitCursor):
3720         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
3721
3722         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
3723         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
3724
3725         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
3726         new functions that convert ParagraphParameters to and from a string.
3727
3728         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
3729         BufferView::Pimpl's dispatch.
3730         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
3731
3732 2003-03-13 André Pönitz <poenitz@gmx.net>
3733
3734         * lyxfunc.C:
3735         * text3.C:
3736         * factory.C: make it aware of InsetEnv
3737
3738 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
3739
3740         * text2.C (setCursor): never ask for one past last
3741         (setCursor): add some debugging messages.
3742
3743         * text.C (singleWidth): never ask for one past last
3744         (singleWidth): ditto
3745         (leftMargin): ditto
3746         (rightMargin): ditto
3747         (rowBreakPoint): ditto
3748         (setHeightOfRow): ditto
3749         (prepareToPrint): ditto
3750
3751         * rowpainter.C (paintBackground): never ask for one past last
3752         (paintText): never ask for one past last
3753
3754         * paragraph_pimpl.C (getChar): make the assert stricter, never
3755         allow the one past last pos to be taken
3756
3757         * paragraph.C (getChar): ws changes only
3758
3759         * lyxrow.C (nextRowIsAllInset): never ask for one past last
3760         (numberOfSeparators): ditto
3761         (numberOfHfills): ditto
3762
3763 2003-03-12  John Levon  <levon@movementarian.org>
3764
3765         * author.h:
3766         * author.C:
3767         * bufferparams.h:
3768         * bufferparams.C:
3769         * paragraph_funcs.C: fix per-buffer authorlists
3770
3771 2003-03-12  John Levon  <levon@movementarian.org>
3772
3773         * text.C: fix newline in right address
3774
3775 2003-03-12  Angus Leeming  <leeming@lyx.org>
3776
3777         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
3778         duplicate those in LyXFunc::dispatch.
3779
3780         * commandtags.h:
3781         * LyXAction.C:
3782         * ToolbarDefaults.C:
3783         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
3784         Add LFUN_FONTFREE_UPDATE.
3785
3786         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
3787         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
3788
3789         * bufferview_func.[Ch]: several new functions to facilliate
3790         transfer of data to and from the character dialog.
3791
3792 2003-03-12  John Levon  <levon@movementarian.org>
3793
3794         * buffer.C:
3795         * paragraph.h:
3796         * paragraph.C:
3797         * paragraph_funcs.C:
3798         * paragraph_pimpl.C:
3799         * sgml.C:
3800         * tabular.C:
3801         * text.C:
3802         * text3.C: remove META_NEWLINE in favour of an inset
3803
3804         * rowpainter.h:
3805         * rowpainter.C: remove paintNewline (done by inset)
3806
3807 2003-03-12  John Levon  <levon@movementarian.org>
3808
3809         * paragraph_pimpl.C: complain about bad getChar()s
3810         for a while at least
3811
3812 2003-03-12  John Levon  <levon@movementarian.org>
3813
3814         * buffer.h:
3815         * buffer.C: move paragraph read into a separate function,
3816         a little renaming to reflect that.
3817
3818         * bufferparams.h:
3819         * bufferparams.C: remove the author_ids map, not necessary now
3820
3821         * factory.h:
3822         * factory.C: moved Buffer::readInset to here
3823
3824         * paragraph_funcs.h:
3825         * paragraph_funcs.C: readParagraph free function moved from
3826         buffer.C
3827
3828         * tabular.C: name change
3829
3830 2003-03-12  John Levon  <levon@movementarian.org>
3831
3832         * buffer.C:
3833         * ParagraphParameters.C: move par params input to
3834         a read() method
3835
3836         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
3837         behave like a normal read from the stream wrt reading
3838         a line vs. a \\token
3839
3840 2003-03-12  John Levon  <levon@movementarian.org>
3841
3842         * paragraph.C:
3843         * ParagraphParameters.h:
3844         * ParagraphParameters.C: move output code to a
3845         ::write() method
3846
3847 2003-03-12  John Levon  <levon@movementarian.org>
3848
3849         * BufferView.C (insertLyXFile):
3850         * buffer.h:
3851         * buffer.C:
3852         * tabular.C: use a parlist iterator for creating the
3853           document.
3854
3855 2003-03-12  John Levon  <levon@movementarian.org>
3856
3857         * buffer.C: make current_change static local not
3858           static file-scope
3859
3860 2003-03-12  John Levon  <levon@movementarian.org>
3861
3862         * buffer.C: fix insertStringAsLines for change tracking
3863
3864 2003-03-12  John Levon  <levon@movementarian.org>
3865
3866         * BufferView.C:
3867         * tabular.C:
3868         * buffer.h:
3869         * buffer.C:
3870         * bufferparams.h:
3871         * bufferparams.C: move author list into params. Rename some
3872           functions. Move the header reading into a separate token
3873           loop. Move the header token reading into BufferParams.
3874
3875 2003-03-12  John Levon  <levon@movementarian.org>
3876
3877         * changes.C: put debug inside lyxerr.debugging() checks
3878
3879 2003-03-11 André Pönitz <poenitz@gmx.net>
3880
3881         * factory.C: make it aware of InsetHFill
3882
3883 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
3884
3885         * buffer.C (latexParagraphs): move function from here...
3886         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
3887         args.
3888
3889 2003-03-10  Angus Leeming  <leeming@lyx.org>
3890
3891         * LyXAction.C (init): fix bug in poplating array with multiple entries
3892         with the same LFUN (spotted by JMarc).
3893
3894 2003-03-10  John Levon  <levon@movementarian.org>
3895
3896         * text.C:
3897         * text2.C: move getColumnNearX() near its
3898         only call site
3899
3900 2003-03-10  John Levon  <levon@movementarian.org>
3901
3902         * text.C: fix break before a minipage
3903
3904 2003-03-10  John Levon  <levon@movementarian.org>
3905
3906         * text.C: fix the last commit
3907
3908 2003-03-09  John Levon  <levon@movementarian.org>
3909
3910         * lyxtext.h:
3911         * text.C:
3912         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
3913         bug 365 (don't break before insets unless needed). Don't
3914         return a value > last under any circumstances.
3915
3916 2003-03-09  Angus Leeming  <leeming@lyx.org>
3917
3918         * BufferView_pimpl.C (trackChanges, dispatch): call
3919         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
3920
3921 2003-03-09  Angus Leeming  <leeming@lyx.org>
3922
3923         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
3924         than Dialogs::showAboutlyx().
3925
3926 2003-03-09  Angus Leeming  <leeming@lyx.org>
3927
3928         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
3929         than Dialogs::showTabularCreate().
3930
3931 2003-03-09  John Levon  <levon@movementarian.org>
3932
3933         * lyxtext.h:
3934         * text.C:
3935         * text2.C: 3rd arg to nextBreakPoint was always the same.
3936           Use references.
3937
3938 2003-03-08  John Levon  <levon@movementarian.org>
3939
3940         * lyxrow.C:
3941         * paragraph.C:
3942         * paragraph.h:
3943         * rowpainter.C:
3944         * text.C:
3945         * text2.C: Remove the "main" bit from the "main body"
3946           notion.
3947
3948 2003-03-08  John Levon  <levon@movementarian.org>
3949
3950         * text.C (leftMargin): The left margin of an empty
3951         manual label paragraph should not include the label width
3952         string length.
3953
3954         * text.C (prepareToPrint): don't attempt to measure hfills
3955         for empty manual label paragraphs - the answer should be 0
3956
3957 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
3958
3959         * CutAndPaste.C: remove commented code and reindent.
3960
3961 2003-03-08  John Levon  <levon@movementarian.org>
3962
3963         * lyxfunc.h:
3964         * lyxfunc.C: move reloadBuffer()
3965
3966         * BufferView.h:
3967         * BufferView.C: to here
3968
3969         * lyxvc.C: add comment
3970
3971         * vc-backend.h:
3972         * vc-backend.C: call bv->reload() to avoid
3973           getStatus() check on MENURELOAD
3974
3975 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
3976
3977         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
3978         to an old format .dep file.
3979
3980 2003-03-07  Angus Leeming  <leeming@lyx.org>
3981
3982         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
3983         when the LFUN_MOUSE_RELEASE should have been handled by
3984         inset->localDispatch.
3985
3986 2003-03-07  Angus Leeming  <leeming@lyx.org>
3987
3988         * BufferView_pimpl.C (dispatch):
3989         * LyXAction.C (init):
3990         * ToolbarDefaults.C (init):
3991         * commandtags.h:
3992         * lyxfunc.C (getStatus):
3993         remove LFUN_INSET_GRAPHICS.
3994
3995         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
3996
3997 2003-03-07  Angus Leeming  <leeming@lyx.org>
3998
3999         * commandtags.h:
4000         * LyXAction.C (init):
4001         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
4002
4003         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
4004
4005         * commandtags.h:
4006         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
4007
4008         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
4009         localDispatch method LFUN_INSET_DIALOG_UPDATE.
4010
4011 2003-03-07  Angus Leeming  <leeming@lyx.org>
4012
4013         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
4014         remove "ert".
4015
4016 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4017
4018         * ParagraphList.C (front): new function
4019         (back): implement
4020
4021 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
4022
4023         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
4024         and top_row_offset_. removed var first_y.
4025         * text.C (top_y):
4026         * text2.C (LyXText, removeRow):
4027         * text3.C:
4028         * BufferView_pimpl.C:
4029         use these methods instead of using first_y
4030
4031 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4032
4033         * text2.C (pasteSelection): adjust for checkPastePossible
4034
4035         * CutAndPaste.C: remove Paragraph * buf and replace with
4036         ParagraphList paragraphs.
4037         (DeleteBuffer): delete
4038         (cutSelection): change the tc type to textclass_type
4039         (copySelection): change the tc type to textclass_type
4040         (copySelection): adjust for ParagraphList
4041         (pasteSelection): change the tc type to textclass_type
4042         (pasteSelection): adjust for Paragraphlist
4043         (nrOfParagraphs): simplify for ParagraphList
4044         (checkPastePossible): simplify for ParagraphList
4045         (checkPastePossible): remove unused arg
4046
4047         * ParagraphList.C (insert): handle the case where there are no
4048         paragraphs yet.
4049
4050         * CutAndPaste.h: make CutAndPaste a namespace.
4051
4052         * text3.C (dispatch): adjust
4053
4054         * text.C (breakParagraph): add a ParagraphList as arg
4055
4056         * paragraph_funcs.C (breakParagraph): change to take a
4057         BufferParams and a ParagraphList as args.
4058         (breakParagraphConservative): ditto
4059         (mergeParagraph): ditto
4060         (TeXDeeper): add a ParagraphList arg
4061         (TeXEnvironment): ditto
4062         (TeXOnePar): ditto
4063
4064         * buffer.C (readLyXformat2): adjust
4065         (insertStringAsLines): adjust
4066         (latexParagraphs): adjust
4067
4068         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
4069         (cutSelection): adjust
4070         (pasteSelection): adjust
4071
4072         * BufferView_pimpl.C (insertInset): adjust
4073
4074 2003-03-05  Angus Leeming  <leeming@lyx.org>
4075
4076         * commandtags.h:
4077         * LyXAction.C (init):
4078         * BufferView_pimpl.C (dispatch):
4079         * lyxfunc.C (getStatus):
4080         remove LFUN_CHILD_INSERT.
4081
4082         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
4083
4084 2003-03-05  Angus Leeming  <leeming@lyx.org>
4085
4086         * commandtags.h:
4087         * LyXAction.C (init):
4088         * src/factory.C (createInset):
4089         * lyxfunc.C (getStatus):
4090         * text3.C (dispatch):
4091         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
4092
4093         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
4094
4095 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
4096
4097         * ParagraphList.C (insert): handle insert right before end()
4098         (erase): fix cases where it can be first or last paragraph.
4099
4100 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
4101
4102         * paragraph_funcs.C (TeXEnvironment): remove all usage of
4103         Paragraph::next and Paragraph::previous
4104         (TeXOnePar): ditto
4105
4106         * text.C (breakParagraph): adjust
4107
4108         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
4109         BufferParams& as arg.
4110         (breakParagraph): use ParagraphList::insert
4111         (breakParagraphConservative): take a Buffer* instead of a
4112         BufferParams& as arg.
4113         (breakParagraphConservative): use ParagraphList::insert.
4114
4115         * buffer.C (insertStringAsLines): un-const it
4116         (insertStringAsLines): adjust
4117
4118         * ParagraphList.C (insert): new function
4119
4120         * CutAndPaste.C (pasteSelection): adjust
4121
4122         * text.C (backspace): adjust
4123
4124         * tabular.C (SetMultiColumn): adjust
4125
4126         * CutAndPaste.C (cutSelection): adjust
4127         (pasteSelection): adjust
4128
4129         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
4130         Buffer const * as arg
4131
4132         * ParagraphList.C (erase): new function
4133         * paragraph_funcs.C (mergeParagraph): use it
4134         (mergeParagraph): make it take a Buffer* instead of a
4135         BufferParams* as arg
4136
4137         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
4138         as arg
4139         (breakParagraphConservative): ditto
4140
4141         * paragraph.h: remove the breakParagraph friend
4142
4143         * paragraph.C (eraseIntern): new function
4144         (setChange): new function
4145
4146         * paragraph_funcs.C (mergeParagraph): make it take a
4147         ParagraphList::iterator instead of a Paragraph *, adjust
4148         accordingly.
4149
4150         * paragraph.h: move an #endif so that the change tracking stuff
4151         also works in the NO_NEXT case.
4152
4153 2003-03-04  Angus Leeming  <leeming@lyx.org>
4154
4155         * commandtags.h:
4156         * LyXAction.C: new LFUN_INSET_MODIFY.
4157
4158         * BufferView_pimpl.C (dispatch): if an inset is found to be open
4159         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
4160
4161 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
4162
4163         * several files: ws changes only
4164
4165         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
4166         (TeXEnvironment): ditto
4167         (TeXDeeper): ditto
4168
4169         * buffer.C (makeLaTeXFile): adjust
4170         (latexParagraphs): make it take ParagraphList::iterator as args
4171
4172 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4173
4174         * buffer.C (latexParagraphs): adjust
4175
4176         * paragraph.C (TeXOnePar): move function...
4177         (optArgInset): move function...
4178         (TeXEnvironment): move function...
4179         * paragraph_pimpl.C (TeXDeeper): move function...
4180         * paragraph_funcs.C: ...here
4181
4182         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
4183
4184 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4185
4186         * buffer.C (readInset): remove compability code for old Figure and
4187         InsetInfo insets
4188
4189 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4190
4191         * buffer.C: ws changes
4192         (readInset):
4193
4194         * BufferView_pimpl.C: ditto
4195         * author.C: ditto
4196         * buffer.h: ditto
4197         * bufferlist.h: ditto
4198         * changes.h: ditto
4199         * lyxfunc.C: ditto
4200
4201 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
4202
4203         * converter.[Ch]: split into itself +
4204         * graph.[Ch]
4205         * format.[Ch]
4206         * Makefile.am: += graph.[Ch] + format.[Ch]
4207         * MenuBackend.C
4208         * buffer.C
4209         * exporter.C
4210         * importer.C
4211         * lyx_main.C
4212         * lyxfunc.C
4213         * lyxrc.C: added #include "format.h"
4214
4215 2003-02-27  Angus Leeming  <leeming@lyx.org>
4216
4217         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
4218           a label.
4219
4220         * factory.C (createInset): add "label" to the factory.
4221
4222         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
4223           string and do no more.
4224
4225 2003-02-27  Angus Leeming  <leeming@lyx.org>
4226
4227         * commandtags.h:
4228         * LyXAction.C (init):
4229         * factory.C (createInset):
4230         * BufferView_pimpl.C (dispatch):
4231           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
4232
4233         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
4234
4235         * lyxfunc.C (dispatch):
4236         * text3.C (dispatch): pass name to params2string.
4237
4238 2003-02-26  Angus Leeming  <leeming@lyx.org>
4239
4240         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
4241           blocks together.
4242           Rearrange the ~includes. Strip out the unnecessary ones.
4243
4244         * factory.C (createInset): reformat.
4245           create new insets for the various LFUN_XYZ_APPLY lfuns.
4246
4247 2003-02-26  John Levon  <levon@movementarian.org>
4248
4249         * lyxrow.h:
4250         * lyxrow.C: add isParStart,isParEnd helpers
4251
4252         * paragraph.h: make isInserted/DeletedText take refs
4253
4254         * paragraph_funcs.h:
4255         * paragraph_funcs.C: remove #if 0'd code
4256
4257         * lyxtext.h:
4258         * text3.C:
4259         * text2.C:
4260         * text.C: use lyxrow helpers above.
4261           Move draw and paint routines to RowPainter.
4262           Make several methods use refs not pointers.
4263           Make backgroundColor() const.
4264           Add markChangeInDraw(), isInInset().
4265           Merge changeRegionCase into changeCase.
4266           Make workWidth() shouldn't-happen code into an Assert.
4267
4268         * rowpainter.h:
4269         * rowpainter.C: new class for painting a row.
4270
4271         * vspace.h:
4272         * vspace.C: make inPixels take a ref
4273
4274 2003-02-26  Angus Leeming  <leeming@lyx.org>
4275
4276         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
4277         LFUN_REF_APPLY.
4278
4279 2003-02-25  John Levon  <levon@movementarian.org>
4280
4281         * ispell.C: give the forked command a more accurate name
4282
4283 2003-02-22  John Levon  <levon@movementarian.org>
4284
4285         * toc.h:
4286         * toc.C: make TocItem store an id not a Paragraph *
4287           (bug #913)
4288
4289 2003-02-21  Angus Leeming  <leeming@lyx.org>
4290
4291         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
4292           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
4293           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
4294           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
4295           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
4296           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
4297
4298         * BufferView_pimpl.C (dispatch):
4299         * LyXAction.C (init):
4300         * factory.C (createInset):
4301         * lyxfunc.C (getStatus, dispatch):
4302         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
4303
4304 2003-02-21  Angus Leeming  <leeming@lyx.org>
4305
4306         * BufferView_pimpl.C (MenuInsertLyXFile):
4307         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
4308         * lyxfunc.C (menuNew, open, doImport):
4309           no longer pass a LyXView & to fileDlg.
4310
4311 2003-02-21  Angus Leeming  <leeming@lyx.org>
4312
4313         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
4314         * LyXAction.C: change, BIBKEY to BIBITEM.
4315         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
4316         Change InsetBibKey to InsetBibitem.
4317         Change BIBKEY_CODE to BIBITEM_CODE.
4318         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
4319         * factory.C: replace insetbib.h with insetbibitem.h.
4320         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
4321         * paragraph.C: replace insetbib.h with insetbibitem.h.
4322         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
4323         Change bibkey() to bibitem().
4324         * text.C: remove insetbib.h.
4325         * text2.C: replace insetbib.h with insetbibitem.h.
4326         change bibkey() to bibitem().
4327         * text3.C: remove insetbib.h.
4328         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
4329
4330 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4331
4332         * lyxrc.C (output): enclose user email in quotes (in case there are
4333         several words)
4334
4335 2003-02-18  John Levon  <levon@movementarian.org>
4336
4337         * buffer.h: add std::
4338
4339 2003-02-17  John Levon  <levon@movementarian.org>
4340
4341         * SpellBase.h:
4342         * ispell.h:
4343         * ispell.C:
4344         * pspell.h:
4345         * pspell.C: reworking. Especially in ispell, a large
4346           number of clean ups and bug fixes.
4347
4348         * lyxfunc.C: fix revert to behave sensibly
4349
4350 2003-02-17 André Pönitz <poenitz@gmx.net>
4351
4352         * LyXAction.C:
4353         * commandtags.h: new LFUN_INSERT_BIBKEY
4354
4355         * layout.h:
4356         * lyxlayout.C:
4357         * buffer.C:
4358         * factory.C:
4359         * text.C:
4360         * text2.C:
4361         * text3.C:
4362         * paragraph.[Ch]:
4363         * paragraph_func.C: remove special bibkey handling
4364
4365 2003-02-17  John Levon  <levon@movementarian.org>
4366
4367         * text.C (Delete): fix case where delete at the end of
4368           the very first paragraph would not merge the pars
4369
4370 2003-02-17  John Levon  <levon@movementarian.org>
4371
4372         * lyxrow.C: fix lastPrintablePos()
4373
4374 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4375
4376         * bufferparams.C (writeLaTeX): add a std:here
4377
4378         * buffer.C: and remove a using directive there
4379
4380 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4381
4382         * buffer.C (makeLaTeXFile): move the code that generates the
4383           preamble...
4384
4385         * bufferparams.C (writeLaTeX): ... in this new method
4386
4387         * LaTeXFeatures.C (getEncodingSet): make const
4388           (getLanguages): make const
4389
4390         * MenuBackend.C (binding): returns the binding associated to this
4391           action
4392           (add): sets the status of each item by calling getStatus. Adds
4393           some intelligence.
4394           (read): add support for OptSubMenu
4395           (expand): remove extra separator at the end of expanded menu
4396
4397 2003-02-15  John Levon  <levon@movementarian.org>
4398
4399         * BufferView.C:
4400         * BufferView_pimpl.C:
4401         * bufferlist.h:
4402         * bufferlist.C: remove pointless BufferStorage bloat. Remove
4403           inset code that had no actual effect. Remove unneeded status
4404           code.
4405
4406 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4407
4408         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
4409           in preamble
4410
4411 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
4412
4413         * text.C (drawLengthMarker): also draw an arrow marker for
4414           symbolic lengths (medskip...)
4415
4416 2003-02-14  John Levon  <levon@movementarian.org>
4417
4418         * tabular.h:
4419         * tabular.C: better method names
4420
4421 2003-02-14  John Levon  <levon@movementarian.org>
4422
4423         * BufferView_pimpl.C:
4424         * bufferlist.C:
4425         * buffer.C:
4426         * converter.C:
4427         * lyx_cb.C:
4428         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
4429           it's a more accurate name. Remove some pointless uses.
4430
4431 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4432
4433         * text2.C (LyXText): change order of initilizers to shut off
4434           warnings
4435
4436 2003-02-14  John Levon  <levon@movementarian.org>
4437
4438         * buffer.C: use ParIterator for getParFromID()
4439
4440         * paragraph.h:
4441         * paragraph.C:
4442         * paragraph_pimpl.h:
4443         * paragraph_pimpl.C: remove unused getParFromID()
4444
4445 2003-02-14  John Levon  <levon@movementarian.org>
4446
4447         * buffer.C: remove some very old #if 0'd parse code
4448
4449 2003-02-13  John Levon  <levon@movementarian.org>
4450
4451         * text.h:
4452         * text.C:
4453         * text2.C: move hfillExpansion(), numberOfSeparators(),
4454           rowLast(), rowLastPrintable(), numberofHfills(),
4455           numberOfLabelHfills() ...
4456
4457         * lyxrow.h:
4458         * lyxrow.C: ... to member functions here.
4459
4460         * paragraph.h:
4461         * paragraph.C:
4462         * lyxtext.h:
4463         * text.C: remove LyXText::beginningOfMainBody(), and call
4464           p->beginningOfMainBody() directly. Move the check for
4465           LABEL_MANUAL into the latter.
4466
4467         * text.h:
4468         * text.C:
4469         * text2.C:
4470         * vspace.C:
4471         * BufferView.h:
4472         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
4473
4474         * text.h:
4475         * text.C:
4476         * text2.C:
4477         * text3.C:
4478         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
4479           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
4480
4481 2003-02-13  John Levon  <levon@movementarian.org>
4482
4483         * CutAndPaste.C: remove debug
4484
4485 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4486
4487         * paragraph.C (asString): remove two unused variables
4488
4489         * lyxtextclass.C (readTitleType):
4490           (Read):
4491           (LyXTextClass): handle new members titletype_ and titlename_
4492
4493         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
4494
4495 2003-02-09  John Levon  <levon@movementarian.org>
4496
4497         * buffer.h:
4498         * buffer.C: replace hand-coded list with a map for the dep clean
4499
4500 2003-02-08  John Levon  <levon@movementarian.org>
4501
4502         * LaTeX.C: consolidate code into showRunMessage() helper
4503
4504 2003-02-08  John Levon  <levon@movementarian.org>
4505
4506         * lyxfind.C:
4507         * lyxtext.h:
4508         * text2.C:
4509         * BufferView.C: change setSelectionOverString() to setSelectionRange()
4510           and pass the size in explicitly
4511
4512         * BufferView_pimpl.h:
4513         * BufferView_pimpl.C:
4514         * BufferView.h:
4515         * BufferView.C: add getCurrentChange()
4516
4517         * BufferView_pimpl.h:
4518         * BufferView_pimpl.C: handle change lfuns
4519
4520         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
4521           for changes. Mark pasted paragraphs as new.
4522
4523         * support/lyxtime.h:
4524         * support/lyxtime.C:
4525         * DepTable.C: abstract time_t as lyx::time_type
4526
4527         * LColor.h:
4528         * LColor.C: add colours for new text, deleted text, changebars
4529
4530         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
4531           package use "usenames" option.
4532
4533         * commandtags.h:
4534         * lyxfunc.C:
4535         * LyXAction.C: add change lfuns
4536
4537         * Makefile.am:
4538         * author.h:
4539         * author.C: author handling
4540
4541         * buffer.h:
4542         * buffer.C: add a per-buffer author list, with first entry as
4543           current author. Handle new .lyx tokens for change tracking. Output
4544           author list to .lyx file. Output dvipost stuff to .tex preamble.
4545           Bump lyx format to 222.
4546
4547         * bufferlist.h:
4548         * bufferlist.C: add setCurrentAuthor() to reset current author details
4549           in all buffers.
4550
4551         * bufferparams.h:
4552         * bufferparams.C: add param for tracking
4553
4554         * bufferview_funcs.C: output change info in minibuffer
4555
4556         * Makefile.am:
4557         * changes.h:
4558         * changes.C: add change-tracking structure
4559
4560         * debug.h:
4561         * debug.C: add CHANGES debug flag
4562
4563         * lyxfind.h:
4564         * lyxfind.C: add code for finding the next change piece
4565
4566         * lyxrc.h:
4567         * lyxrc.C: add user_name and user_email
4568
4569         * lyxrow.h:
4570         * lyxrow.C: add a metric for the top of the text line
4571
4572         * lyxtext.h:
4573         * text.C: implement accept/rejectChange()
4574
4575         * lyxtext.h:
4576         * text.C: paint changebars. Paint new/deleted text in the chosen
4577         colours. Strike through deleted text.
4578
4579         * paragraph.h:
4580         * paragraph.C:
4581         * paragraph_pimpl.h:
4582         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
4583           in the current change to the insert functions. Rework erase to
4584           mark text as deleted, adding an eraseIntern() and a range-based
4585           erase(). Implement per-paragraph change lookup and
4586           accept/reject.
4587
4588         * paragraph_funcs.C: Fixup paste for change tracking.
4589
4590         * tabular.C: mark added row/columns as new.
4591
4592         * text.C: fix rowLast() to never return -1. Don't allow
4593           spellchecking of deleted text. Track transpose changes. Don't
4594           allow paragraph break or merge where appropriate.
4595
4596         * text2.C: leave cursor at end of selection after a cut.
4597
4598 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4599
4600         * text.C (getLengthMarkerHeight):
4601         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
4602         visible on screen too.
4603
4604 2003-02-07  John Levon  <levon@movementarian.org>
4605
4606         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
4607
4608 2003-02-05  Angus Leeming  <leeming@lyx.org>
4609
4610         * lyxserver.C (read_ready): revert my patch of 11 September last year
4611         as it sends PC cpu through the roof. Presumably this means that
4612         the lyxserver will no longer run on an Alpha...
4613
4614 2003-01-30  Angus Leeming  <leeming@lyx.org>
4615
4616         * factory.C (createInset): create an InsetCommandParam of type "index"
4617         and use it to 'do the right thing'.
4618
4619         * text2.C (getStringToIndex): ensure that cursor position is always
4620         reset to the reset_cursor position.
4621
4622 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4623
4624         * lyxfunc.C (getStatus): "buffer-export custom" should never be
4625         disabled.
4626
4627 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
4628
4629         * bufferview.C:
4630         * lyxcb.C:
4631         * lyxfunc.C: Output messages with identical spelling, punctuation,
4632         and spaces
4633
4634 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
4635
4636         * MenuBackend.C (expandFormats): List only viewable export formats
4637         in "View" menu
4638
4639         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
4640         message
4641
4642         * lyxfunc.C (getStatus): Make sure that formats other than
4643         "fax" can also be disabled
4644
4645 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4646
4647         * text3.C (dispatch): put the lfuns that insert insets in 3
4648         groups, and call doInsertInset with appropriate arguments.
4649         (doInsertInset): new function, that creates an inset and inserts
4650         it according to some boolean parameters.
4651
4652 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
4653
4654         * buffer.C (readFile): remember to pass on 'par' when calling
4655         readFile recursively.
4656
4657 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4658
4659         * MenuBackend.C (expandFormats): add "..." to import formats.
4660
4661 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
4662
4663         * paragraph.C (asString): Remove XForms RTL hacks.
4664
4665 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
4666         * buffer.C: fix typo
4667
4668 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
4669
4670         * Makefile.am (LIBS): delete var
4671         (lyx_LDADD): add @LIBS@ here instead.
4672
4673 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
4674
4675         * Clarify the meaning of "wheel mouse jump"
4676
4677 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4678
4679         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
4680         tabular in a float
4681
4682 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4683
4684         * importer.C (Loaders): do not preallocate 3 elements in the
4685         vector, since one ends up with 6 elements otherwise
4686
4687 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4688
4689         * DepTable.C (write): write the file name as last element of the
4690         .dep file (because it may contain spaces)
4691         (read): read info in the right order
4692
4693 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4694
4695         * paragraph_pimpl.C (simpleTeXBlanks):
4696         (simpleTeXSpecialChars):
4697         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
4698
4699         * tabular.C (latex): add some missing case statements. Reindent.
4700
4701         * MenuBackend.C (expandToc): remove unused variable.
4702
4703 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
4704
4705         * LColor.C:
4706         * LaTeX.C:
4707         * LyXAction.C:
4708         * MenuBackend.C:
4709         * buffer.C:
4710         * exporter.C:
4711         * lyxfunc.C:
4712         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
4713         and the like.
4714
4715 2003-01-05  John Levon  <levon@movementarian.org>
4716
4717         * BufferView.h:
4718         * BufferView.C: add getEncoding()
4719
4720         * kbsequence.h:
4721         * kbsequence.C: do not store last keypress
4722
4723         * lyxfunc.h:
4724         * lyxfunc.C: store last keypress here instead. Pass encoding
4725           to getISOEncoded()
4726
4727 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4728
4729         * lyx_main.C (init): remove annoying error message when following
4730         symbolic links (bug #780)
4731
4732 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4733
4734         * text.C (insertChar):
4735         * lyxrc.C (getDescription): remove extra spaces
4736
4737 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4738
4739         * lyxrc.C (getDescription): remove extra spaces
4740
4741 2002-12-20  John Levon  <levon@movementarian.org>
4742
4743         * text3.C: hack fix for page up/down across tall rows
4744
4745 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4746
4747         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
4748         not been invoked
4749
4750 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4751
4752         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
4753         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
4754         thesaurus is not compiled in
4755
4756 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
4757
4758         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
4759
4760 2002-12-16  Angus Leeming  <leeming@lyx.org>
4761
4762         * lyxrc.[Ch]:
4763         * lyx_main.C (init): remove override_x_deadkeys stuff.
4764
4765 2002-12-12  John Levon  <levon@movementarian.org>
4766
4767         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
4768           insert. Only remove shift modifier under strict
4769           circumstances.
4770
4771 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
4772
4773         * MenuBackend.C (expandToc): fix crash.
4774
4775 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
4776
4777         * MenuBackend.C (expandToc): gettext on float names.
4778
4779 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
4780
4781         * lyxlength.[Ch]: set default unit to UNIT_NONE,
4782         implement bool empty() [bug 490]
4783
4784 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
4785
4786         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
4787
4788 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4789
4790         * several files: ws changes
4791
4792 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4793
4794         * text2.C (setCounter): clean up a bit, use boost.format.
4795         (updateCounters): initialize par upon declaration.
4796
4797         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
4798         if the layout exists. We do not just store the layout any more.
4799         (SwitchLayoutsBetweenClasses): use boost.format
4800
4801 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4802
4803         * converter.C (convert): if from and to files are the same, use a
4804         temporary files as intermediary
4805
4806 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4807
4808         * commandtags.h:
4809         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
4810
4811 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
4812
4813         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
4814
4815 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4816
4817         * tabular.C (asciiPrintCell): use string(size, char) instead of
4818         explicit loop.
4819
4820         * sgml.C (openTag): fix order of arguments to string constructor
4821         (closeTag): ditto
4822
4823         * lyxfunc.C (dispatch): use boost.format
4824
4825         * lots of files: change "c" -> 'c'
4826
4827 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
4828
4829         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
4830
4831 2002-11-25  Angus Leeming  <leeming@lyx.org>
4832
4833         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
4834
4835         * lyx_main.C (init): compile fix.
4836
4837 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
4838
4839         * lyx_cb.C (start): boost.formatify
4840         do not include <iostream>
4841
4842         * lengthcommon.C: ws only
4843
4844         * boost-inst.C,BoostFormat.h: add more explict instantations
4845
4846 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
4847
4848         * lots of files: handle USE_BOOST_FORMAT
4849
4850 2002-11-21  John Levon  <levon@movementarian.org>
4851
4852         * pspell.C: fix compile
4853
4854 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4855
4856         * lyxfunc.C (dispatch): use boost::format
4857         (open): ditto
4858         (doImport): ditto
4859
4860         * lyxfont.C (stateText): use boost::format
4861
4862         * lyx_main.C (LyX): use boost::format
4863         (init): ditto
4864         (queryUserLyXDir): ditto
4865         (readRcFile): ditto
4866         (parse_dbg): ditto
4867         (typedef boost::function): use the recommened syntax.
4868
4869         * importer.C (Import): use boost::format
4870
4871         * debug.C (showLevel): use boost::format
4872
4873         * converter.C (view): use boost::format
4874         (convert): ditto
4875         (move): ditto
4876         (scanLog): ditto
4877
4878         * bufferview_funcs.C (currentState): use boost::format
4879
4880         * bufferlist.C (emergencyWrite): use boost::format
4881
4882         * buffer.C (readLyXformat2): use boost::format
4883         (parseSingleLyXformat2Token): ditto
4884
4885         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
4886
4887         * LaTeX.C (run): use boost::format
4888
4889         * Chktex.C (scanLogFile): use boost::format
4890
4891         * BufferView_pimpl.C (savePosition): use boost::format
4892         (restorePosition): ditto
4893         (MenuInsertLyXFile): ditto
4894
4895         * BoostFormat.h: help file for explicit instation.
4896
4897 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
4898
4899         * tabular.C (latex): Support for block alignment in fixed width
4900         columns.
4901
4902 2002-11-17  John Levon  <levon@movementarian.org>
4903
4904         * BufferView_pimpl.C:
4905         * lyx_cb.C:
4906         * lyxfunc.C: split filedialog into open/save
4907
4908 2002-11-08  Juergen Vigna  <jug@sad.it>
4909
4910         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
4911         by my last patch (hopefully).
4912
4913 2002-11-08  John Levon  <levon@movementarian.org>
4914
4915         * iterators.h:
4916         * iterators.C:
4917         * buffer.h:
4918         * buffer.C:
4919         * paragraph.h:
4920         * paragraph.C:
4921         * toc.h:
4922         * toc.C: ParConstIterator, and use it (from Lars)
4923
4924 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
4925
4926         * lyxtextclass.[Ch]: revise and add doxygen comments
4927
4928 2002-11-07  John Levon  <levon@movementarian.org>
4929
4930         * text.C: fix progress value for spellchecker
4931
4932         * toc.C: fix navigate menu for insetwrap inside minipage
4933
4934         * paragraph_funcs.C: added FIXME for suspect code
4935
4936 2002-11-07  John Levon  <levon@movementarian.org>
4937
4938         * BufferView_pimpl.C: fix redrawing of insets
4939           on buffer switch
4940
4941 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4942
4943         * text2.C (updateCounters): fix bug 668
4944
4945 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
4946
4947         * text3.C (dispatch): Do not make the buffer dirty when moving the
4948         cursor.
4949
4950 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
4951
4952         * vc-backend.C: STRCONV
4953         (scanMaster): ditto
4954
4955         * text2.C (setCounter): STRCONV
4956
4957         * paragraph.C (asString): STRCONV
4958
4959         * lyxlength.C (asString): STRCONV
4960         (asLatexString): ditto
4961
4962         * lyxgluelength.C (asString): STRCONV
4963         (asLatexString): ditto
4964
4965         * lyxfunc.C (dispatch): STRCONV
4966         (open): ditto
4967
4968         * lyxfont.C (stateText): STRCONV
4969
4970         * importer.C (Import): STRCONV
4971
4972         * counters.C (labelItem): STRCONV
4973         (numberLabel): ditto
4974         (numberLabel): remove unused ostringstream o
4975
4976         * chset.C: STRCONV
4977         (loadFile): ditto
4978
4979         * bufferview_funcs.C (currentState): STRCONV
4980
4981         * buffer.C (readFile): STRCONV
4982         (asciiParagraph): ditto
4983         (makeLaTeXFile): ditto
4984
4985         * Spacing.C (writeEnvirBegin): STRCONV
4986
4987         * LaTeXFeatures.C (getLanguages): STRCONV
4988         (getPackages): ditto
4989         (getMacros): ditto
4990         (getBabelOptions): ditto
4991         (getTClassPreamble): ditto
4992         (getLyXSGMLEntities): ditto
4993         (getIncludedFiles): ditto
4994
4995         * LaTeX.C: STRCONV
4996         (run): ditto
4997         (scanAuxFile): ditto
4998         (deplog): ditto
4999
5000         * LString.h: add the STRCONV macros
5001
5002         * BufferView_pimpl.C (savePosition): STRCONV
5003         (restorePosition): ditto
5004         (MenuInsertLyXFile): ditto
5005
5006         * vc-backend.C (scanMaster): change from submatch[...] to
5007         submatch.str(...)
5008
5009         * funcrequest.C: include config.h
5010
5011         * factory.C: include config.h
5012
5013         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
5014
5015         * box.C: include config.h
5016
5017         * LaTeX.C (scanAuxFile): change from submatch[...] to
5018         submatch.str(...)
5019         (deplog): ditto
5020
5021 2002-10-25  Angus Leeming  <leeming@lyx.org>
5022
5023         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
5024
5025         * ispell.[Ch] (setError): new method.
5026         * ispell.C (c-tor): move out child process into new class LaunchIspell.
5027         Use setError() insetead of goto END.
5028
5029         * lyx_cb.C (AutoSave): move out child process into new class
5030         AutoSaveBuffer.
5031
5032 2002-10-30  John Levon  <levon@movementarian.org>
5033
5034         * text3.C: make start appendix undoable
5035
5036 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
5037
5038         * lyxlength.C (inPixels): Fix returned value.
5039
5040         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
5041         environment.
5042
5043 2002-10-24  Angus Leeming  <leeming@lyx.org>
5044
5045         * lyxgluelength.h: no need to forward declare BufferParams
5046         or BufferView, so don't.
5047
5048 2002-10-21  John Levon  <levon@movementarian.org>
5049
5050         * BufferView.C: menuUndo ->undo, redo
5051
5052         * BufferView.h: document, remove dead, make some methods private
5053
5054         * paragraph_funcs.h:
5055         * paragraph_funcs.C:
5056         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
5057
5058         * buffer.h:
5059         * buffer.C:
5060         * sgml.h:
5061         * sgml.C: move sgml open/close tag into sgml.C
5062
5063         * bufferview_funcs.h: unused prototype
5064
5065         * lyxfunc.h:
5066         * lyxfunc.C: remove unused
5067
5068         * lyxtext.h:
5069         * text.C: remove unused
5070
5071 2002-10-21  John Levon  <levon@movementarian.org>
5072
5073         * BufferView.h:
5074         * BufferView.C:
5075         * BufferView_pimpl.h:
5076         * BufferView_pimpl.C: fix mouse wheel handling based on
5077           patch from Darren Freeman
5078
5079 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
5080
5081         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
5082
5083 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
5084
5085         * lyxlength.C (inPixels): Fix hanfling of negative length.
5086         Fix LyXLength::MU case.
5087
5088 2002-10-16  John Levon  <levon@movementarian.org>
5089
5090         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
5091
5092 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5093
5094         * converter.C (view): add support for $$i (file name) and $$p
5095         (file path) for the viewer command. If $$i is not specified, then
5096         it is appended to the command (for compatibility with old syntax)
5097
5098 2002-10-14  Juergen Vigna  <jug@sad.it>
5099
5100         * undo_funcs.C (textHandleUndo): alter the order in which the
5101         new undopar is added to the LyXText, as we have to set first
5102         the right prev/next and then add it as otherwise the rebuild of
5103         LyXText is not correct. Also reset the cursor to the right paragraph,
5104         with this IMO we could remove the hack in "redoParagraphs()".
5105
5106 2002-10-09  Angus Leeming  <leeming@lyx.org>
5107
5108         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
5109         to turn off an optimisation if a new inset is to be inserted.
5110
5111 2002-10-11 André Pönitz <poenitz@gmx.net>
5112
5113         * lyxtext.h: make some functions public to allow access
5114         from inset/lyxtext for handling LFUN_PRIOR/NEXT
5115
5116 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5117
5118         * text3.C (dispatch): when changing layout, avoid an infinite loop
5119         [bug #652]
5120
5121 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5122
5123         * lyxrc.C (read): treat a viewer or converter command of "none" as
5124         if it were empty.
5125
5126         * MenuBackend.C (expandFormats): for an update, also allow the
5127         formats that are not viewable
5128
5129         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
5130         script if it is newer than the lyxrc.defaults in user directory
5131
5132 2002-10-07 André Pönitz <poenitz@gmx.net>
5133
5134         * text.C: Vitaly Lipatov's small i18n fix
5135
5136 2002-09-25  Angus Leeming  <leeming@lyx.org>
5137
5138         * ispell.h: doxygen fix.
5139
5140 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
5141
5142         * buffer.h (readFile): Add a new argument to the method, to allow
5143         reading of old-format templates.
5144
5145 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
5146
5147         * toc.C (getTocList): Get TOC from InsetWrap.
5148
5149 2002-09-16  John Levon  <levon@movementarian.org>
5150
5151         * lyxfunc.C: check tabular for cut/copy too
5152
5153 2002-09-12  John Levon  <levon@movementarian.org>
5154
5155         * LyXAction.C: tidy
5156
5157         * factory.h:
5158         * factory.C: add header
5159
5160         * paragraph_funcs.h:
5161         * paragraph_funcs.C: cleanup
5162
5163 2002-09-11  John Levon  <levon@movementarian.org>
5164
5165         * PrinterParams.h: odd/even default to true
5166
5167 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
5168
5169         * PrinterParams.h: update printer parameters for new xforms dialog
5170
5171 2002-09-11  Angus Leeming  <leeming@lyx.org>
5172
5173         * lyxserver.C (read_ready): re-write to make it more transparent
5174         and to make it work in coherent fashion under Tru64 Unix.
5175
5176 2002-09-11  André Pönitz <poenitz@gmx.net>
5177
5178         * commandtags.h:
5179         * LyXAction.C:
5180         * text3.C: implement LFUN_WORDSEL
5181
5182 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
5183
5184         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
5185         make floatlist_ a boost::shared_ptr<FloatList>
5186
5187         * lyxtextclass.C: include FloatList.h
5188         (LyXTextClass): initialize floatlist_
5189         (TextClassTags): add TC_NOFLOAT
5190         (Read): match "nofloat" to TC_NOFLOAT and use it.
5191         (readFloat): modify call to floatlist_
5192         (floats): ditto
5193         (floats): ditto
5194
5195         * FloatList.[Ch] (FloatList): remove commented out float
5196         initialization.
5197         (erase): new function
5198
5199 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
5200
5201         * MenuBackend.C (expandToc): fix crash when there is no document
5202         open
5203
5204 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
5205
5206         * many files: Add insetwrap.
5207
5208 2002-09-09  John Levon  <levon@movementarian.org>
5209
5210         * text2.C: remove confusing and awkward depth wraparound
5211
5212 2002-09-09  John Levon  <levon@movementarian.org>
5213
5214         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
5215
5216         * buffer.h:
5217         * buffer.C: remove getIncludeonlyList()
5218
5219         * paragraph.C:
5220         * lyxfunc.C: remove headers
5221
5222 2002-09-09  Juergen Vigna  <jug@sad.it>
5223
5224         * text.C (getColumnNearX): fix form Michael this is most
5225         probably a cut&paste bug.
5226
5227 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5228
5229         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
5230
5231         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
5232         references, ws changes.
5233
5234         * text2.C (init): update counters after init
5235         (insertParagraph): no need to set counter on idividual paragraphs.
5236         (setCounter): access the counters object in the textclass object
5237         on in the buffer object.
5238         (updateCounters): ditto
5239
5240         * lyxtextclass.C: include counters.h, add variable ctrs_ as
5241         shared_ptr<Counters> to avoid loading counters.h in all
5242         compilation units.
5243         (LyXTextClass): initialize ctrs_
5244         (TextClassTags): add TC_COUNTER, and ...
5245         (Read): use it here.
5246         (CounterTags): new tags
5247         (readCounter): new function
5248         (counters): new funtion
5249         (defaultLayoutName): return a const reference
5250
5251         * counters.C (Counters): remove contructor
5252         (newCounter): remove a couple of unneeded statements.
5253         (newCounter): simplify a bit.
5254         (numberLabel): some small formatting changes.
5255
5256         * buffer.[Ch]: remove all traces of counters, move the Counters
5257         object to the LyXTextClass.
5258
5259 2002-09-06  Alain Castera  <castera@in2p3.fr>
5260
5261         * tabular.C: uses \tabularnewline; uses >{...} construct from array
5262         package to set the horizontal alignment on fixed width columns.
5263
5264         * lyx_sty.C:
5265         * lyx_sty.h: added tabularnewline macro def.
5266
5267         * LaTeXFeatures.C: added NeedTabularnewline macro feature
5268
5269 2002-09-06  John Levon  <levon@movementarian.org>
5270
5271         * LyXAction.C: tooltips for sub/superscript
5272
5273         * MenuBackend.C: a bit more verbose
5274
5275         * lyxfunc.C: tiny clean
5276
5277         * undo_funcs.C: document undo_frozen
5278
5279 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
5280
5281         * counters.C (Counters): add missing algorithm counter.
5282
5283         * text2.C (setCounter): lookup the counter with layouts latexname
5284         instead of by section number.
5285         (setCounter): use a hackish way to lookup the correct enum
5286         counter.
5287         a float name->type change
5288         reset enum couners with counter name directly instead of depth value.
5289
5290         * counters.C (Counters): remove the push_backs, change to use the
5291         float type not the float name.
5292         (labelItem): remove unused string, float name->type change
5293
5294         * counters.h: don't include vector, loose the enums and sects vectors
5295
5296 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
5297
5298         * lyxtextclass.C (TextClassTags): add TC_FLOAT
5299         (Read): add float->TC_FLOAT to textclassTags
5300         (Read): and handle it in the switch
5301         (readFloat): new function
5302
5303         * FloatList.C (FloatList): comment out the hardcoded float
5304         definitions.
5305
5306         * lyxlayout.h: ws change.
5307
5308 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
5309
5310         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
5311
5312 2002-09-03  Angus Leeming  <leeming@lyx.org>
5313
5314         * BufferView_pimpl.h: qualified name is not allowed in member
5315         declaration: WorkArea & Pimpl::workarea() const;
5316
5317         * factory.C: added using std::endl directive.
5318
5319         * text3.C: added using std::find and std::vector directives.
5320
5321 2002-08-29  André Pönitz <poenitz@gmx.net>
5322
5323         * lyxtext.h:
5324         * text2.C: remove unused member number_of_rows
5325
5326         * Makefile.am:
5327         * BufferView2.C: remove file, move contents to...
5328         * BufferView.C: ... here
5329
5330         * BufferView_pimpl.C:
5331         * factory.C: move more inset creation to factory
5332
5333         * vspace.C: avoid direct usage of LyXText, ws changes
5334
5335         * BufferView.[Ch]:
5336                 don't provide direct access to WorkArea, use two simple
5337                 acessors haveSelction() and workHeight() instead
5338
5339
5340 2002-08-29  John Levon  <levon@movementarian.org>
5341
5342         * BufferView_pimpl.C (dispatch): do not continue when
5343           no buffer
5344
5345 2002-08-28  André Pönitz <poenitz@gmx.net>
5346
5347         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
5348
5349         * BufferView.h:
5350         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
5351
5352 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
5353
5354         * buffer.C: increment LYX_FORMAT to 221
5355
5356         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
5357         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
5358
5359         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
5360
5361         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
5362
5363 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5364
5365         * factory.C (createInset): use LyXTextClass::floats
5366
5367         * MenuBackend.C (expandFloatListInsert):
5368         (expandFloatInsert):
5369         (expandToc):
5370
5371         * text2.C (setCounter):
5372
5373         * LaTeXFeatures.C (useFloat):
5374         (getFloatDefinitions):
5375
5376         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
5377
5378         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
5379         floatlist_, with accessor floats().
5380
5381         * FloatList.h: remove global FloatList
5382
5383 2002-08-26  André Pönitz <poenitz@gmx.net>
5384
5385         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
5386
5387         * BufferView.h:
5388         * BufferView2.C:
5389         * BufferView_pimpl.C:
5390         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
5391
5392 2002-08-25  John Levon  <levon@movementarian.org>
5393
5394         * LyXAction.C: fix margin note description
5395
5396 2002-08-24  John Levon  <levon@movementarian.org>
5397
5398         * buffer.C:
5399         * bufferlist.C:
5400         * bufferview_funcs.C:
5401         * lyxfont.C:
5402         * undo_funcs.C: cleanups
5403
5404         * lyxfunc.C: disable CUT/COPY when no selection
5405
5406 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
5407
5408         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
5409         in "enum UNIT"; e.g. PTW for Percent of TextWidth
5410
5411         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
5412         Add backward compatibility to "mono", "gray" and "no".
5413
5414 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
5415
5416         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
5417         (and file_format >= 200).
5418
5419 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5420
5421         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
5422
5423 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5424
5425         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
5426
5427 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
5428
5429         * BufferView_pimpl.C:
5430         * LyXAction.C:
5431         * buffer.C:
5432         * commandtags.h:
5433         * lyxfunc.C:
5434         * paragraph.[Ch]:
5435         * text2.C:
5436         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
5437         inset and code to make it  work with the paragraph code. The inset
5438         can be anywhere in the paragraph, but will only do the expected
5439         thing in LaTeX if the layout file contains the parameter line
5440                         OptionalArgs    1
5441         (or more generally, a nonzero value) for that layout.
5442
5443 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5444
5445         * paragraph.h: remove the declaration of undefined counters class
5446         function.
5447
5448 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
5449
5450         * text2.C (setCounter):  fixed enumeration mis-count as reported by
5451         Dr. Richard Hawkins.
5452
5453 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5454
5455         * paragraph_funcs.h: remove some unneeded includes
5456
5457         * text.C (backspace): pasteParagraph now in global scipe
5458
5459         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
5460         (pasteSelection): ditto
5461
5462         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
5463         * paragraph_funcs.C (pasteParagraph): ... here
5464
5465 2002-08-20  André Pönitz <poenitz@gmx.net>
5466
5467         * commandtags.h: new LFUNs for swapping/copying table row/colums
5468
5469         * LyXAction.C:
5470         * lyxfunc.C: support for new lfuns
5471
5472 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
5473
5474         * tabular.C:
5475         * buffer.[Ch]: remove NO_COMPABILITY stuff
5476
5477 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
5478
5479         * boost.C (throw_exception): new file, with helper function for
5480         boost compiled without exceptions.
5481
5482         * paragraph.h:
5483         * lyxlength.C:
5484         * buffer.C:
5485         * ParameterStruct.h:
5486         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
5487
5488         * bufferlist.C (emergencyWriteAll): use boost bind
5489
5490         * BufferView_pimpl.C (moveCursorUpdate): remove inline
5491
5492         * text.C: include paragraph_funcs.h
5493         (breakParagraph): breakParagraph is now in global scope
5494
5495         * paragraph_funcs.[Ch]: new files
5496
5497         * paragraph.C (breakParagraph,breakParagraphConservative): move to
5498         global scope
5499
5500         * buffer.C: include paragraph_funcs.h
5501         (insertStringAsLines): breakParagraph is now in global scope
5502
5503         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
5504         paragraph_funcs.C
5505
5506         * CutAndPaste.C: include paragraph_funcs.h
5507         (cutSelection): breakParagraphConservative is now in global scope
5508         (pasteSelection): ditto
5509
5510         * buffer.h: declare oprator== and operator!= for
5511         Buffer::inset_iterator
5512
5513         * bufferlist.C (emergencyWrite): don't use fmt(...)
5514
5515         * text3.C: add using std::endl
5516
5517         * BufferView.C (moveCursorUpdate): remove default arg
5518
5519 2002-08-20  André Pönitz <poenitz@gmx.net>
5520
5521         * buffer.[Ch]: move inline functions to .C
5522
5523         * BufferView2.C:
5524         * BufferView_pimpl.C:
5525         * text.C:
5526         * buffer.[Ch]: use improved inset_iterator
5527
5528         * buffer.C:
5529         * paragraph.[Ch]: write one paragraph at a time
5530
5531 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
5532
5533         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
5534         style if style is not specified.
5535
5536 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5537
5538         * text2.C (setCounter): when searching for right label for a
5539         caption, make sure to recurse to parent insets (so that a caption
5540         in a minipage in a figure float works) (bug #568)
5541
5542 2002-08-20  André Pönitz <poenitz@gmx.net>
5543
5544         * text3.C: new file for LyXText::dispatch() and helpers
5545
5546         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
5547
5548         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
5549
5550 2002-08-19  André Pönitz <poenitz@gmx.net>
5551
5552         * lyxtext.h:
5553         * text.C: new LyXText::dispatch()
5554
5555         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
5556
5557 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
5558
5559         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
5560
5561         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
5562         Hebrew text.
5563
5564 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5565
5566         * Makefile.am: use $(variables) instead of @substitutions@
5567
5568 2002-08-15  André Pönitz <poenitz@gmx.net>
5569
5570         * lyxfunc.C:
5571         * BufferView_pimpl.C: streamlining mathed <-> outer world
5572         interaction
5573
5574         * commandtags.h:
5575         * LyXAction.C: remove unused LFUN_MATH
5576
5577 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5578
5579         * paragraph.[Ch]: add some NO_NEXT ifdefs.
5580
5581 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5582
5583         * paragraph.C (Paragraph): reformat a bit
5584         (cutIntoMinibuffer): use builtin InsetList function instad of
5585         doing it manually.
5586         (getInset): ditto
5587
5588         * buffer.C: include boost/bind.hpp, add using std::for_each
5589         (writeFileAscii): use ParagraphList iterators
5590         (validate): use for_each for validate traversal of paragraphs
5591         (getBibkeyList): use ParagraphList iterators
5592         (resizeInsets): use for_each to resizeInsetsLyXText for all
5593         paragraphs.
5594         (getParFromID): use ParagraphList iterators
5595
5596         * BufferView2.C (lockInset): use paragraph list and iterators
5597
5598 2002-08-14  John Levon  <levon@movementarian.org>
5599
5600         * lyxserver.C: remove spurious xforms include
5601
5602 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5603
5604         * lyxfunc.C (getStatus): disable math-extern outside of math mode
5605
5606 2002-08-13  André Pönitz <poenitz@gmx.net>
5607
5608         * LyXAction.[Ch]:
5609         * lyxfunc.C: further cleaning
5610
5611 2002-08-13  André Pönitz <poenitz@gmx.net>
5612
5613         * funcrequest.h: new constructor
5614
5615         * funcrequest.C: move stuff here from .h
5616
5617         * Makefile.am:
5618         * BufferView_pimpl.C:
5619         * LyXAction.C:
5620         * toc.C:
5621         * lyxfunc.C: subsequent changes
5622
5623         * lyxfunc.h: new view() member function
5624
5625         * lyxfunc.C: subsequent changes
5626
5627 2002-08-13  Angus Leeming  <leeming@lyx.org>
5628
5629         * BufferView2.C:
5630         * BufferView_pimpl.C:
5631         * buffer.C:
5632         * converter.C:
5633         * importer.C:
5634         * lyxfunc.C:
5635         * lyxvc.C:
5636         * toc.C:
5637         * vc-backend.C:
5638         changes due to the changed LyXView interface that now returns references
5639         to member variables not pointers.
5640
5641 2002-08-13  Angus Leeming  <leeming@lyx.org>
5642
5643         * WordLangTuple (word, lang_code): return references to strings,
5644         not strings.
5645
5646         * BufferView.h:
5647         * SpellBase.h:
5648         * lyxtext.h: forward-declare WordLangTuple.
5649
5650         * BufferView2.C:
5651         * ispell.C:
5652         * pspell.C:
5653         * text.C: #include "WordLangTuple.h".
5654
5655         * lyxtext.h:
5656         * text.C: (selectNextWordToSpellcheck): constify return type.
5657
5658 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
5659
5660         * buffer.C:
5661         * buffer.h:
5662         * lyxtext.h:
5663         * paragraph.C:
5664         * paragraph_pimpl.h:
5665         * text.C:
5666         * text2.C:
5667         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
5668         suggested by Angus.
5669         Made updateCounter always count from start of buffer, and removed
5670         second argument (par).
5671         Reverted floats number display to '#'. Perhaps I'll try again when the
5672         code base is sanitized a bit.
5673
5674 2002-08-12  Angus Leeming  <leeming@lyx.org>
5675
5676         * buffer.[Ch] (getLabelList): constify.
5677
5678 2002-08-07  André Pönitz <poenitz@gmx.net>
5679
5680         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
5681
5682         * funcrequest.h: extension to keep mouse (x,y) position
5683
5684 2002-08-12  Juergen Vigna  <jug@sad.it>
5685
5686         * BufferView2.C (insertErrors): forbid undo when inserting error
5687         insets.
5688
5689         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
5690
5691 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
5692
5693         * ParagraphList.[Ch]: new files
5694
5695         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
5696
5697         * BufferView2.C (lockInset): ParagraphList changes
5698         * toc.C: ditto
5699         * text2.C: ditto
5700         * bufferlist.C: ditto
5701         * buffer.h: ditto
5702         * buffer.C: ditto
5703
5704 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
5705
5706         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
5707         unused class variable counter_,
5708
5709         * paragraph.[Ch] (getFirstCounter): delete unused function
5710
5711         * counters.C: include LAssert.h
5712         (reset): add a new function with no arg, change other version to
5713         not have def. arg and to not allow empty arg.
5714
5715         * text2.C (setCounter): remove empty arg from call to Counters::reset
5716
5717 2002-08-11  John Levon  <levon@movementarian.org>
5718
5719         * Makefile.am: add WordLangTuple.h
5720
5721 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
5722
5723         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
5724         lyxfunc.C lyxlex_pimpl.C: ws changes only.
5725
5726         * insets/insettext.C: InsetList changes
5727
5728         * graphics/GraphicsSupport.C (operator()): InsetList changes
5729
5730         * toc.C (getTocList): InsetList changes
5731
5732         * paragraph_pimpl.[Ch]: InsetList changes
5733
5734         * paragraph.[Ch]: InsetList changes
5735
5736         * buffer.C (inset_iterator): InsetList changes
5737         (setParagraph): ditto
5738         * buffer.h (inset_iterator): ditto
5739         * iterators.C (operator++): ditto
5740         * iterators.h: ditto
5741
5742         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
5743
5744         * InsetList.[Ch]: new files, most InsetList handling moved out of
5745         paragraph.C.
5746
5747         * BufferView2.C (removeAutoInsets): InsetList changes
5748         (lockInset): ditto
5749         (ChangeInsets): ditto
5750
5751 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
5752
5753         * paragraph_pimpl.h (empty): new function
5754
5755         * paragraph.[Ch] (empty): new function
5756
5757         * other files: use the new Paragraph::empty function
5758
5759 2002-08-09  John Levon  <levon@movementarian.org>
5760
5761         * lyxtext.h: remove unused refresh_height
5762
5763 2002-08-09  John Levon  <levon@movementarian.org>
5764
5765         * Makefile.am:
5766         * sgml.h:
5767         * sgml.C:
5768         * buffer.C:
5769         * paragraph.h:
5770         * paragraph.C: move sgml char escaping out of paragraph
5771
5772         * paragraph.h:
5773         * paragraph.C: remove id setter
5774
5775         * buffer.C:
5776         * paragraph.C:
5777         * paragraph_pimpl.C: remove dead tex_code_break_column
5778
5779         * bufferview_funcs.C: small cleanup
5780
5781         * lyxfunc.C: remove dead proto
5782
5783         * lyxtext.h: make some stuff private. Remove some dead stuff.
5784
5785         * lyxgluelength.C: make as[LyX]String() readable
5786
5787 2002-08-08  John Levon  <levon@movementarian.org>
5788
5789         * LyXAction.h:
5790         * LyXAction.C:
5791         * MenuBackend.C:
5792         * ToolbarDefaults.C:
5793         * lyxfunc.C:
5794         * lyxrc.C:
5795         * toc.C: lyxaction cleanup
5796
5797 2002-08-08  John Levon  <levon@movementarian.org>
5798
5799         * BufferView2.C: small cleanup
5800
5801         * lyxfind.h:
5802         * lyxfind.C: move unnecessary header into the .C
5803
5804 2002-08-08  John Levon  <levon@movementarian.org>
5805
5806         * funcrequest.h: just tedious nonsense
5807
5808         * lyx_main.h:
5809         * lyx_main.C: cleanups
5810
5811         * buffer.C:
5812         * vspace.C: remove dead header lyx_main.h
5813
5814 2002-08-07  Angus Leeming  <leeming@lyx.org>
5815
5816         * Paragraph.[Ch]:
5817         * paragraph_pimpl.h:
5818         Forward declare class Counters in paragraph.h by moving the ctrs member
5819         variable into Paragraph::Pimpl.
5820         (counters): new method, returning a reference to pimpl_->ctrs.
5821
5822         * text2.C: ensuing changes.
5823
5824 2002-08-07  John Levon  <levon@movementarian.org>
5825
5826         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
5827
5828         * BufferView_pimpl.C: announce X selection on double/triple
5829           click
5830
5831         * lyx_main.C: use correct bool in batch dispatch
5832
5833         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
5834
5835 2002-08-07  André Pönitz <poenitz@gmx.net>
5836
5837         * funcrequest.h: new class to wrap a kb_action and its argument
5838
5839         * BufferView.[Ch]:
5840         * BufferView_pimpl[Ch]:
5841         * LaTeX.C:
5842         * LyXAction.[Ch]:
5843         * lyxfunc.[Ch]:
5844         * lyxrc.C: subsequent changes
5845
5846
5847 2002-08-07  John Levon  <levon@movementarian.org>
5848
5849         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
5850           document options change.
5851
5852 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
5853
5854         * counters.[Ch]
5855         * text2.C
5856         * paragraph.[Ch]
5857         * makefile.am: move counters functionality over from
5858         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
5859
5860 2002-08-06  John Levon  <levon@movementarian.org>
5861
5862         * WordLangTuple.h: new file for word + language code tuple
5863
5864         * SpellBase.h:
5865         * pspell.h:
5866         * pspell.C:
5867         * ispell.h:
5868         * ispell.C:
5869         * lyxtext.h:
5870         * text.C:
5871         * text2.C:
5872         * BufferView.h:
5873         * BufferView2.C: use WordLangTuple
5874
5875         * layout.h:
5876         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
5877
5878 2002-08-06  John Levon  <levon@movementarian.org>
5879
5880         * lyx_main.C: fix cmdline batch handling
5881
5882 2002-08-06  André Pönitz <poenitz@gmx.net>
5883
5884         * lyxrc.C: set default for show_banner to true
5885
5886 2002-08-06  John Levon  <levon@movementarian.org>
5887
5888         * pspell.C: fix a crash, and allow new aspell to work
5889
5890 2002-08-06  John Levon  <levon@movementarian.org>
5891
5892         * lyxfunc.C:
5893         * kbmap.C: small cleanup
5894
5895         * vspace.h:
5896         * vspace.C: add const
5897
5898 2002-08-05  John Levon  <levon@movementarian.org>
5899
5900         * LyXAction.C: back to tabular-insert
5901
5902 2002-08-04  John Levon  <levon@movementarian.org>
5903
5904         * BufferView.h:
5905         * BufferView.C: cosmetic change
5906
5907         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
5908
5909         * bufferlist.C:
5910         * buffer.h:
5911         * buffer.C:
5912         * lyxcb.h:
5913         * lyxcb.C:
5914         * lyxserver.C:
5915         * lyxvc.C:
5916         * vc-backend.C:
5917         * BufferView2.C: purge all "Lyx" not "LyX" strings
5918
5919         * lyxcursor.h:
5920         * lyxcursor.C: attempt to add some documentation
5921
5922         * lyxfunc.C:
5923         * commandtags.h:
5924         * LyXAction.C:
5925         * ToolbarDefaults.C:
5926         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
5927           merge with LFUN_TABULAR_INSERT
5928
5929         * Makefile.am:
5930         * SpellBase.h:
5931         * ispell.h:
5932         * ispell.C:
5933         * pspell.h:
5934         * pspell.C: split up i/pspell implementations into separate
5935           files, many cleanups
5936
5937         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
5938
5939         * text2.C: some cleanup
5940
5941         * lyxfunc.C: don't check for isp_command == "none" any more, it
5942           didn't make any sense
5943
5944 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
5945
5946         * counters.[Ch]
5947         * text2.C
5948         * paragraph.[Ch]
5949         * makefile.am: move counters functionality over
5950         from text2.C/paragraph.[Ch] to counters.[Ch], and
5951         make proper C++.
5952 2002-08-02  John Levon  <levon@movementarian.org>
5953
5954         * buffer.C: s/lyxconvert/lyx2lyx/
5955
5956 2002-08-02  Angus Leeming  <leeming@lyx.org>
5957
5958         * lyxlex.C: revert John's change as it breaks reading of the user
5959         preamble.
5960
5961 2002-08-02  Angus Leeming  <leeming@lyx.org>
5962
5963         * importer.C (Import):
5964         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
5965         changes due to LyXView::view() now returning a boost::shared_ptr.
5966
5967 2002-08-02  John Levon  <levon@movementarian.org>
5968
5969         * lyxlex.C: small cleanup
5970
5971 2002-08-02  John Levon  <levon@movementarian.org>
5972
5973         * text2.C (status): small cleanup, no logic change
5974
5975 2002-08-01  John Levon  <levon@movementarian.org>
5976
5977         * buffer.h:
5978         * buffer.C (writeFile): don't output alerts, caller
5979           handles this
5980
5981         * bufferlist.C:
5982         * lyx_cb.C: from above
5983
5984         * lyxfunc.C: allow to open non-existent files
5985
5986 2002-07-31  John Levon  <levon@movementarian.org>
5987
5988         * lyxserver.C: don't let incidental errors get
5989           in the way (errno)
5990
5991 2002-07-30  John Levon  <levon@movementarian.org>
5992
5993         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
5994
5995 2002-07-30  John Levon  <levon@movementarian.org>
5996
5997         * lyxserver.h:
5998         * lyxserver.C: remove I/O callback too
5999
6000 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6001
6002         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
6003         log.
6004
6005 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
6006
6007         * many files: strip,frontStrip -> trim,ltrim,rtrim
6008
6009 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6010
6011         * PrinterParams.h: remove extern containsOnly, and include
6012         support/lstrings.h instead.
6013
6014         * LaTeX.C (scanAuxFile): modify because of strip changes
6015         (deplog): ditto
6016         * buffer.C (makeLaTeXFile): ditto
6017         * bufferparams.C (writeFile): ditt
6018         * lyxfont.C (stateText): ditto
6019         * lyxserver.C (read_ready): ditto
6020         * vc-backend.C (scanMaster): ditto
6021
6022         * BufferView_pimpl.h: ws changes
6023
6024         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
6025
6026 2002-07-26  André Pönitz <poenitz@gmx.net>
6027
6028         * kb_sequence.C: remove unnedred usings
6029
6030 2002-07-26  Juergen Vigna  <jug@sad.it>
6031
6032         * lyxfind.C (LyXReplace): we have to check better if the returned
6033         text is not of theLockingInset()->getLockingInset().
6034
6035 2002-07-25  Juergen Vigna  <jug@sad.it>
6036
6037         * lyxfind.C (LyXReplace): don't replace if we don't get the
6038         right LyXText.
6039
6040         * undo_funcs.C (createUndo): remove debugging code.
6041
6042 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
6043
6044         * buffer.C (parseSingleLyXformat2Token): Use default placement
6045         when reading old floats.
6046
6047         * FloatList.C (FloatList): Change the default placement of figure
6048         and tables to "tbp".
6049
6050 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
6051
6052         * MenuBackend.C: using std::max
6053
6054 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6055
6056         * MenuBackend.C (expandToc):
6057         (expandToc2): code moved from xforms menu frontend. It is now
6058         generic and TOCs are transparent to menu frontends.
6059
6060 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6061
6062         * toc.C (getTocList): protect against buf=0
6063
6064         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
6065         Menu as first parameter. Now, this calls itself recursively to
6066         expand a whole tree (this will be useful for TOC handling)
6067         (expandFloatInsert): remove 'wide' version of floats
6068
6069         * MenuBackend.h (submenuname): returns the name of the submenu.
6070         (submenu): returns the submenu itself, provided it has been
6071         created by MenuBackend::expand
6072
6073 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6074
6075         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
6076         insets which have noFontChange == true. (bug #172)
6077
6078 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6079
6080         * BufferView_pimpl.C: add connection objects and use them...
6081         (Pimpl): here.
6082
6083 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6084
6085         * MenuBackend.C (expandLastfiles):
6086         (expandDocuments):
6087         (expandFormats):
6088         (expandFloatListInsert):
6089         (expandFloatInsert):
6090         (expand): split expand in parts
6091
6092 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
6093
6094         * lyx_gui.C: use lyx_gui::exit()
6095
6096 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
6097
6098         * LyXAction.C: show the failing pseudo action
6099
6100 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
6101
6102         * buffer.C (readFile): Run the lyxconvert script in order to read
6103         old files.
6104
6105 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
6106
6107         * LyXAction.C:
6108         * commandtags.h:
6109         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
6110
6111 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
6112
6113         * LyXAction.C:
6114         * commandtags.h:
6115         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
6116
6117 2002-07-22  Herbert Voss  <voss@lyx.org>
6118
6119         * lengthcommon.C:
6120         * lyxlength.[Ch]: add support for the vertical lengths
6121
6122 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
6123
6124         * toc.[Ch]: std:: fixes
6125
6126 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6127
6128         * lyxrc.C: do not include lyx_main.h
6129
6130         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
6131         for layouts
6132
6133         * lyxrc.C:
6134         * encoding.C:
6135         * bufferlist.C:
6136         * BufferView2.C: include "lyxlex.h"
6137
6138         * tabular.h:
6139         * bufferparams.h: do not #include "lyxlex.h"
6140
6141         * lyxtextclasslist.C (Add): remove method
6142         (classlist): renamed to classlist_
6143
6144         * paragraph_pimpl.C:
6145         * paragraph.C:
6146         * text2.C:
6147         * CutAndPaste.C:
6148         * bufferview_funcs.C:
6149         * bufferlist.C:
6150         * text.C:
6151         * LaTeXFeatures.C:
6152         * buffer.C:
6153         * toc.C (getTocList): use BufferParams::getLyXTextClass
6154
6155         * toc.C (getTocList): use InsetFloat::addToToc
6156
6157         * toc.[Ch]: new files, containing helper functions to handle table
6158         of contents
6159
6160         * lyxfunc.C (dispatch): no need to remove spaces around command
6161         given as a string
6162         (getStatus): handle LFUN_SEQUENCE by returning the status of the
6163         first command of the sequence; it is not very clever, but I do not
6164         have a better idea, actually
6165
6166         * LyXAction.C (LookupFunc): make sure to remove space at the
6167         beginning and end of the command
6168
6169 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6170
6171         * MenuBackend.C (getMenubar): new method: return the menubar of
6172         this menu set
6173         (read): treat differently reading of menu and menubar (in
6174         particular, the menubar has no name now)
6175         (Menu::menubar): remove
6176
6177         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
6178         saving is finished
6179
6180 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
6181
6182         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
6183         a bibitem inset in a RTL paragraph.
6184
6185 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
6186
6187         * paragraph_pimpl.C: constify
6188
6189         * BufferView_pimpl.C:
6190         * LaTeX.C:
6191         * lyxfunc.C: fix dispatch in a nicer way
6192
6193 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6194
6195         * lyxfunc.C (dispatch):
6196         * BufferView_pimpl.C:
6197         * BufferView_pimpl.h:
6198         * BufferView.C:
6199         * BufferView.h: rename Dispatch() to dispatch()
6200
6201         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
6202
6203         * lyxlayout.C (Read): honor DependsOn tag
6204
6205         * lyxlayout.[Ch] (depends_on): new method
6206
6207         * version.C.in: update lyx_docversion
6208
6209         * LaTeXFeatures.C (getMacros): only define \LyX when needed
6210
6211         * paragraph.C (validate): remove from here...
6212         * paragraph_pimpl.C (validate): ... and move here
6213         (isTextAt): make it const
6214
6215         * buffer.C (getLists): ws cleanup
6216
6217 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
6218
6219         * language.C (read): Use iso8859-1 encoding in latex_lang
6220         (this prevents LyX from crashing when using iso10646-1 encoding).
6221
6222 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6223
6224         * text2.C (toggleInset): if cursor is inside an inset, close the
6225         inset and leave cursor _after_ it
6226
6227 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
6228
6229         * lyxfunc.C: move minibuffer completion handling out of here
6230
6231 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
6232
6233         * BufferView_pimpl.C:
6234         * LaTeX.C: fix dispatch calls
6235
6236 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
6237
6238         * text.C (drawChars): Fix Arabic text rendering.
6239
6240 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
6241
6242         * LyXAction.C:
6243         * commandtags.h:
6244         * lyxfunc.C: remove message-push/pop
6245
6246         * lyxserver.C:
6247         * lyxfunc.h:
6248         * lyxfunc.C: rationalise some code by removing verboseDispatch
6249           in favour of a bool argument to dispatch()
6250
6251 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6252
6253         * lyx_main.C (init): make sure to read symlinks as absolute paths
6254
6255 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
6256
6257         * lyxfunc.h:
6258         * lyxfunc.C: no need for commandshortcut to be a member
6259
6260 2002-07-15  André Pönitz <poenitz@gmx.net>
6261
6262         * converter.C: add support for $$s (scripts from lib/scripts dir)
6263         * lyx_main.C: white space
6264
6265 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
6266
6267         * bufferlist.C:
6268         * lyxrc.h:
6269         * lyxrc.C: remove second exit confirmation
6270
6271 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
6272
6273         * BufferView.h:
6274         * BufferView.C:
6275         * BufferView2.C:
6276         * BufferView_pimpl.h:
6277         * BufferView_pimpl.C:
6278         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
6279
6280 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6281
6282         * MenuBackend.C (expand): add numeric shortcuts to document menu
6283
6284         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
6285
6286 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6287
6288         * lyxfont.C (setLyXFamily):
6289         (setLyXSeries):
6290         (setLyXShape):
6291         (setLyXSize):
6292         (setLyXMisc):
6293         (lyxRead):
6294         * debug.C (value):
6295         * buffer.C (asciiParagraph): use ascii_lowercase
6296
6297 2002-07-15  Mike Fabian  <mfabian@suse.de>
6298
6299         * lyxlex_pimpl.C (search_kw):
6300         * lyxlex.C (getLongString):
6301         * converter.h (operator<):
6302         * converter.C (operator<):
6303         * buffer.C (parseSingleLyXformat2Token):
6304         (asciiParagraph):
6305         * ToolbarDefaults.C (read):
6306         * MenuBackend.C (checkShortcuts):
6307         (read):
6308         * LColor.C (getFromGUIName):
6309         (getFromLyXName): use the compare_ascii_no_case instead of
6310         compare_no_case, because in turkish, 'i' is not the lowercase
6311         version of 'I', and thus turkish locale breaks parsing of tags.
6312
6313 2002-07-16  Angus Leeming  <leeming@lyx.org>
6314
6315         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
6316         now takes a Buffer const & argument.
6317
6318 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
6319
6320         * BufferView.C (resize): check there's a buffer to resize
6321
6322 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
6323
6324         * lyxfunc.C: remove dead code
6325
6326         * lyxserver.h:
6327         * lyxserver.C: use lyx_guii::set_read_callback
6328
6329 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
6330
6331         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
6332         an inset in a RTL paragraph.
6333
6334 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
6335
6336         * lyxfunc.C: repaint after a font size update
6337
6338 2002-07-15  André Pönitz <poenitz@gmx.net>
6339
6340         * lyxlength.C: inBP should be able to return negative values
6341
6342 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
6343
6344         * lyxfunc.C: use lyx_gui::update_fonts()
6345
6346 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
6347
6348         * lyxfunc.C: use lyx_gui::update_color()
6349
6350 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
6351
6352         * bufferlist.C:
6353         * lyxfunc.h:
6354         * lyxfunc.C:
6355         * lyxrc.h:
6356         * lyxrc.C: remove file->new asks for name option, and let
6357           buffer-new take an argument
6358
6359 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
6360
6361         * BufferView_pimpl.C: remove unneeded extra repaint()
6362
6363 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
6364
6365         * LyXAction.C: allow command-sequence with NoBuffer
6366
6367         * lyxfunc.C: don't insist on trailing ';' for command-sequence
6368
6369 2002-07-10  Angus Leeming  <leeming@lyx.org>
6370
6371         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
6372
6373 2002-07-09  Angus Leeming  <leeming@lyx.org>
6374
6375         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
6376
6377 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
6378
6379         * lengthcommon.h: whitespace
6380
6381         * lyxfunc.C: update scrollbar after goto paragraph
6382
6383         * lyxtext.h: factor out page break drawing, and fix it so
6384           page break/added space paints as selected nicely
6385
6386 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
6387
6388         * BufferView_pimpl.C: add FIXMEs, clean up a little
6389
6390 2002-07-09  André Pönitz <poenitz@gmx.net>
6391
6392         * lyxfont.[Ch]: support for wasy symbols
6393
6394 2002-07-08  André Pönitz <poenitz@gmx.net>
6395
6396         * BufferView_pimpl.C: apply John's patch for #93.
6397
6398 2002-07-05  Angus Leeming  <leeming@lyx.org>
6399
6400         * BufferView_pimpl.C (buffer): generate previews if desired.
6401
6402         * LColor.h: add "preview" to the color enum.
6403
6404         * LColor.C (LColor): add a corresponding entry to the items array.
6405
6406         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
6407         with this buffer.
6408
6409 2002-07-05  Angus Leeming  <leeming@lyx.org>
6410
6411         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
6412         The body of the code is now in the method that is passed an ostream &
6413         rather than a file name.
6414         Pass an additional only_preamble parameter, useful for the forthcoming
6415         preview stuff.
6416
6417 2002-07-03  André Pönitz <poenitz@gmx.net>
6418
6419         * lyxfunc.C: simplify getStatus() a bit for math stuff
6420
6421 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6422
6423         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
6424
6425 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6426
6427         * text.C (changeRegionCase): do not change case of all the
6428         document when region ends at paragraph end (bug #461)
6429
6430 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6431
6432         * paragraph.C (startTeXParParams):
6433         (endTeXParParams): add \protect when necessary
6434
6435 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6436
6437         * BufferView_pimpl.C (workAreaExpose): remove warning
6438
6439 2002-06-27  Angus Leeming  <leeming@lyx.org>
6440
6441         * Makefile.am: add lyxlayout_ptr_fwd.h.
6442
6443 2002-06-26  André Pönitz <poenitz@gmx.net>
6444
6445         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
6446
6447 2002-06-25  Angus Leeming  <leeming@lyx.org>
6448
6449         * lyxfunc.C (dispatch): Comment out the call to
6450         grfx::GCache::changeDisplay. The method no longer exists now that the
6451         pixmap generation part of the graphics loader has been moved into
6452         InsetGraphics.
6453
6454 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6455
6456         * text2.C: layout as layout
6457
6458         * text.C: layout as layout
6459
6460         * tabular.C (OldFormatRead): layout as layout
6461
6462         * paragraph_pimpl.C (TeXDeeper): layout as layout
6463         (realizeFont): layout as layout
6464
6465         * paragraph.C (writeFile): layout as layout
6466         (validate): layout as layout
6467         (getFont): layout as layout
6468         (getLabelFont): layout as layout
6469         (getLayoutFont): layout as layout
6470         (breakParagraph): layout as layout
6471         (stripLeadingSpaces): layout as layout
6472         (getEndLabel): layout as layout
6473         (getMaxDepthAfter): layout as layout
6474         (applyLayout): layout as layout
6475         (TeXOnePar): layout as layout
6476         (simpleTeXOnePar): layout as layout
6477         (TeXEnvironment): layout as layout
6478         (layout): layout as layout
6479         (layout): layout as layout
6480
6481         * lyxtextclass.C (compare_name): new functor to work with
6482         shared_ptr, layout as layout
6483         (Read): layout as layout
6484         (hasLayout): layout as layout
6485         (operator): layout as layout
6486         (delete_layout): layout as layout
6487         (defaultLayout): layout as layout
6488
6489         * lyxlayout_ptr_fwd.h: new file
6490
6491         * lyxlayout.C (Read): layout as layout
6492
6493         * lyx_cb.C (MenuInsertLabel): layout as layout
6494
6495         * bufferlist.C (newFile): layout as layout
6496
6497         * buffer.C (readLyXformat2): layout as layout
6498         (parseSingleLyXformat2Token): layout as layout
6499         (insertStringAsLines): layout as layout
6500         (asciiParagraph): layout as layout
6501         (latexParagraphs): layout as layout
6502         (makeLinuxDocFile): layout as layout
6503         (simpleLinuxDocOnePar): layout as layout
6504         (makeDocBookFile): layout as layout
6505         (simpleDocBookOnePar): layout as layout
6506         (getLists): layout as layout
6507
6508         * LaTeXFeatures.C (getTClassPreamble): layout as layout
6509
6510         * CutAndPaste.C (cutSelection): layout as layout
6511         (pasteSelection): layout as layout
6512         (SwitchLayoutsBetweenClasses): layout as layout
6513
6514         * BufferView_pimpl.C (Dispatch): layout as layout
6515         (smartQuote): layout as layout
6516
6517         * BufferView2.C (unlockInset): layout as layout
6518
6519 2002-06-24  André Pönitz <poenitz@gmx.net>
6520
6521         * lyxfunc.C: fix #487
6522
6523 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
6524
6525         * lyxrc.h:
6526         * lyxrc.C:
6527         * lyxfunc.C: remove display_shortcuts, show_banner
6528
6529 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
6530
6531         * Buffer_pimpl.C: oops, update on resize
6532
6533 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
6534
6535         * buffer.C:
6536         * converter.C:
6537         * exporter.C:
6538         * lyxfunc.C:
6539         * BufferView.h:
6540         * BufferView.C: use repaint()
6541
6542         * BufferView_pimpl.h:
6543         * BufferView_pimpl.C: s/updateScreen()/repaint()/
6544           as it's a clearer description. Remove superfluous
6545           redraws.
6546
6547 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
6548
6549         * text.C: fix bug 488. Not ideal, but getting
6550           getWord() to work properly for the insets that
6551           matter is more difficult ...
6552
6553 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
6554
6555         * BufferView_pimpl.C:
6556         * LyXAction.C:
6557         * commandtags.h:
6558         * lyxfunc.C: remove the six million index lyxfuncs to just
6559           one, and DTRT (bug 458)
6560
6561 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
6562
6563         * BufferView.h:
6564         * BufferView.C:
6565         * BufferView_pimpl.h:
6566         * BufferView_pimpl.C: clean up resize() stuff,
6567           and unnecessary updateScreen()s
6568
6569 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
6570
6571         * BufferView.h:
6572         * BufferView.C:
6573         * BufferView_pimpl.h:
6574         * BufferView_pimpl.C:
6575         * lyxfind.h:
6576         * lyxfind.C:
6577         * minibuffer.C: remove focus management of workarea,
6578           not needed. Use screen's greyOut()
6579
6580 2002-06-17  Herbert Voss  <voss@lyx.org>
6581
6582         * converter.C: (convert) do not post a message, when converting
6583         fails, let the calling function decide what to do in this case
6584
6585 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
6586
6587         * lyxfunc.C: tidy up a little
6588
6589 2002-06-16    <alstrup@diku.dk>
6590
6591         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
6592         Got rid of FORMS_H_LOCATION include. Now we are
6593         GUII.
6594
6595 2002-06-15  LyX Development team  <lyx@rilke>
6596
6597         * buffer.[Ch] (sgmlOpenTag):
6598         (sgmlCloseTag): Added support for avoiding pernicious mixed
6599         content. Return number of lines written.
6600
6601         (makeLinuxDocFile):
6602         (makeDocBookFile): Fixed calls to sgml*Tag.
6603         Simple white space clean.
6604
6605         (simpleDocBookOnePar): Simple white space clean.
6606
6607         * tabular.[Ch] (docBook): Renamed to docbook and got another
6608         argument to related with the pernicious mixed content.
6609
6610         (docbookRow): Fixed calls for docbook inset method.
6611
6612 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
6613
6614         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
6615         so it's X11 independent.
6616
6617         * kb*.[Ch]: ditto.
6618
6619         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
6620
6621 2002-06-15  Lyx Development team  <lyx@electronia>
6622
6623         * intl.h: Renamed getTrans to getTransManager.
6624
6625 2002-06-14  Angus Leeming  <leeming@lyx.org>
6626
6627         * Makefile.am: nuke forgotten stl_string_fwd.h.
6628
6629 2002-06-12  Angus Leeming  <leeming@lyx.org>
6630
6631         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
6632
6633 2002-06-13  Angus Leeming  <leeming@lyx.org>
6634
6635         * LaTeX.C:
6636         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
6637
6638 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
6639
6640         * kbmap.C (getiso): add support for cyrillic and greek
6641
6642 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
6643
6644         * BufferView.h:
6645         * BufferView.C:
6646         * BufferView_pimpl.h:
6647         * BufferView_pimpl.C: move bogus scrolling logic
6648           to xforms
6649
6650 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
6651
6652         * lyxfunc.C:
6653         * BufferView_pimpl.C: view->resize() change
6654
6655 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
6656
6657         * BufferView_pimpl.C: topCursorVisible
6658           prototype change
6659
6660 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
6661
6662         * Makefile.am:
6663         * lyx_gui.h:
6664         * lyx_gui.C: move to frontends/
6665
6666         * main.C:
6667         * lyx_main.h:
6668         * lyx_main.C: changes from above
6669
6670 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
6671
6672         * intl.C:
6673         * intl.h:
6674         * kbmap.C:
6675         * kbsequence.C:
6676         * lyx_cb.C:
6677         * lyx_main.C: minor tidy
6678
6679 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
6680
6681         * BufferView_pimpl.h:
6682         * BufferView_pimpl.C:
6683         * BufferView.h:
6684         * BufferView.C: make painter() const,
6685           remove dead code
6686
6687         * BufferView2.C: use screen() accessor
6688
6689         * lyx_main.h:
6690         * lyx_main.C: some minor cleanup
6691
6692 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
6693
6694         * BufferView_pimpl.h:
6695         * BufferView_pimpl.C: remove enter/leaveView,
6696           use workHeight()
6697
6698 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
6699
6700         * BufferView.h:
6701         * BufferView.C:
6702         * BufferView2.C:
6703         * BufferView_pimpl.h:
6704         * BufferView_pimpl.C: only construct screen once,
6705           rename
6706
6707         * lyxrc.C: remove pointless comment
6708
6709 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
6710
6711         * BufferView.h:
6712         * BufferView.C: remove active() and belowMouse()
6713
6714         * BufferView_pimpl.h:
6715         * BufferView_pimpl.C: use workarea() not workarea_,
6716           and make it use a scoped_ptr instead
6717
6718 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
6719
6720         * lyx_gui.C: add debug message on BadWindow
6721
6722 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6723
6724         * sp_spell.C: fdopen is not part of the C++ standard.
6725
6726         * paragraph.C (InsetIterator): use >= instead of ==
6727
6728 2002-06-07  Angus Leeming  <leeming@lyx.org>
6729
6730         Fixes needed to compile with Compaq cxx 6.5.
6731         * BufferView_pimpl.C:
6732         * DepTable.C:
6733         * buffer.C:
6734         * converter.C:
6735         * encoding.C:
6736         * lyx_gui.C:
6737         * lyx_main.C:
6738         * lyxtextclasslist.C:
6739         * minibuffer.C:
6740         * sp_spell.C:
6741         * tabular_funcs.C:
6742         * vc-backend.C:
6743         all c-library variables have been moved into namespace std. Wrap
6744         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
6745
6746         * lyxlength.C:
6747         * tabular-old.C:
6748         * tabular.C:
6749         Add a using std::abs declaration.
6750
6751         * kbmap.h (modifier_pair):
6752         * paragraph.h (InsetTable, InsetList):
6753         * lyxfont.h (FontBits):
6754         type definition made public.
6755
6756         * bufferlist.C (emergencyWriteAll): the compiler complains that
6757         there is more than one possible lyx::class_fun template to choose from.
6758         I re-named the void specialisation as lyx::void_class_fun.
6759
6760         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
6761
6762         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
6763         the compiler is is unable to find tostr in write_attribute.
6764
6765 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6766
6767         * buffer.C (sgmlError): hide #warning
6768
6769 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6770
6771         * xtl/*: get rid of xtl, which is not in use anyway
6772
6773         * LyXAction.C (init):
6774         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
6775         were unimplemented xtl experimentation
6776
6777 2002-06-04  André Pönitz <poenitz@gmx.net>
6778
6779         * lyxfunc.C: disable array operation on simple formulae
6780
6781 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
6782
6783         * converter.C: constify a bit
6784
6785 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
6786
6787         * lyx_gui.C: check xforms version correctly
6788
6789 2002-04-30  Herbert Voss  <voss@lyx.org>
6790
6791         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
6792         "keep" option
6793
6794 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
6795
6796         * lyxvc.C: fix bug 416 (make sure buffer is saved before
6797           attempt to register it with a VCS)
6798
6799 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6800
6801         * lyx_main.C (init): honor variables LYX_DIR_13x and
6802         LYX_USERDIR_13x
6803
6804 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
6805
6806         * buffer.h:
6807         * buffer.C:
6808         * lyx_main.C: fix a crash on bad command line,
6809           and give a useful exit status on error
6810
6811         * lyxfunc.C (doImport): allow -i lyx to work
6812
6813 2002-03-30  André Pönitz <poenitz@gmx.net>
6814
6815         * lyxfunc.C: mathed font changes
6816
6817 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
6818
6819         * LaTeX.C:
6820         * importer.h:
6821         * importer.C:
6822         * lyx_sty.h:
6823         * lyx_sty.C:
6824         * lyxlex.C:
6825         * lyxrow.h:
6826         * lyxtext.h:
6827         * paragraph.h:
6828         * paragraph.C:
6829         * texrow.h:
6830         * texrow.C:
6831         * text.C:
6832         * trans_mgr.h: srcdocs, and some minor cleanups
6833
6834 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6835
6836         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
6837         call getFont all the time)
6838
6839 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6840
6841         * switch from SigC signals to boost::signals
6842
6843 2002-05-29  André Pönitz <poenitz@gmx.net>
6844
6845         * paragraph_pimpl.C (getChar): don't call size() too often...
6846
6847 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6848
6849         * paragraph_pimpl.C (insertChar): do not try to update tables when
6850         appending (pos == size())
6851
6852         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
6853         in order to reduce drastically the number of comparisons needed to
6854         parse a large document
6855
6856 2002-05-29  André Pönitz <poenitz@gmx.net>
6857
6858         * text.C:
6859         * text2.C:
6860         * lyxtextclass.C:
6861         * sp_pspell.h:
6862         * textclasslist.[Ch]:
6863         * sp_ispell.h: whitespace change
6864
6865 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6866
6867         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
6868         lyxaction directly now.
6869
6870 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
6871
6872         * trans.C:
6873         * lyxfont.C:
6874         * lyxvc.C: remove unused headers
6875
6876 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
6877
6878         * Makefile.am:
6879         * buffer.h:
6880         * undostack.h:
6881         * undostack.C:
6882         * undo_funcs.h:
6883         * undo_funcs.C: some cleanups. Use shared_ptr
6884           and a template for the undo stacks.
6885
6886 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
6887
6888         * BufferView_pimpl.h:
6889         * BufferView_pimpl.C:
6890         * kbmap.h:
6891         * kbmap.C:
6892         * kbsequence.h:
6893         * kbsequence.C:
6894         * lyxfunc.h:
6895         * lyxfunc.C:
6896         * text2.C: use key_state/mouse_state
6897
6898 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6899
6900         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
6901         and LSubstring
6902
6903         * chset.C: change include order
6904         (loadFile): use boost regex and get rid of LRegex and LSubstring
6905
6906         * Makefile.am (BOOST_LIBS): new variable
6907         (lyx_LDADD): use it
6908
6909         * LaTeX.C: change include order.
6910         (scanAuxFile): use boost regex and get rid of LRegex and
6911         LSubstring
6912         (deplog): ditto
6913
6914 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
6915
6916         * ColorHandler.h:
6917         * ColorHandler.C:
6918         * FontInfo.h:
6919         * FontInfo.C: moved to frontends/xforms/
6920
6921         * FontLoader.h:
6922         * FontLoader.C: moved into frontends for GUIIzation
6923
6924         * Makefile.am:
6925         * lyx_gui.C:
6926         * lyxfont.C:
6927         * lyxfunc.C: changes from above
6928
6929 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
6930
6931         * LColor.C: remove spurious X include
6932
6933         * BufferView_pimpl.C:
6934         * Makefile.am:
6935         * font.h:
6936         * font.C:
6937         * text.C:
6938         * text2.C: move font metrics to frontends/
6939
6940 2002-05-24  Juergen Vigna  <jug@sad.it>
6941
6942         * undo_funcs.C (textHandleUndo): fix the cursor selection after
6943         setting the undo_cursor.
6944
6945         * ParagraphParameters.h: include local includes first.
6946
6947 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
6948
6949         * BufferView_pimpl.C:
6950         * BufferView_pimpl.h:
6951         * Makefile.am:
6952         * WorkArea.h:
6953         * WorkArea.C:
6954         * screen.C: move WorkArea into frontends/
6955
6956         * lyxscreen.h:
6957         * screen.C:
6958         * text.C:
6959         * BufferView.C:
6960         * BufferView2.C: move LyXScreen into frontends/
6961
6962         * lyxlookup.h:
6963         * lyxlookup.C:
6964         * lyx_gui.C: move lyxlookup into frontends/xforms/
6965
6966 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
6967
6968         * BufferView2.C:
6969         * BufferView_pimpl.C:
6970         * FontLoader.C:
6971         * LyXView.h:
6972         * LyXView.C:
6973         * Makefile.am:
6974         * WorkArea.C:
6975         * XFormsView.h:
6976         * XFormsView.C:
6977         * buffer.C:
6978         * bufferlist.C:
6979         * bufferview_funcs.C:
6980         * converter.C:
6981         * importer.C:
6982         * lyx_cb.C:
6983         * lyx_gui.C:
6984         * lyx_main.C:
6985         * lyx_find.C:
6986         * lyxfunc.C:
6987         * lyxvc.C:
6988         * minibuffer.C:
6989         * text.C:
6990         * text2.C:
6991         * trans.C:
6992         * vc-backend.C: move LyX/XFormsView into frontends/
6993
6994 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
6995
6996         * Makefile.am:
6997         * PainterBase.C:
6998         * PainterBase.h:
6999         * Painter.C:
7000         * Painter.h:
7001         * WorkArea.C:
7002         * WorkArea.h:
7003         * screen.C:
7004         * tabular.C:
7005         * text.C:
7006         * text2.C: move Painter to frontends/
7007
7008 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7009
7010         * buffer.C: comment out some some code that depend upon lyx_format
7011         < 220
7012
7013         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
7014         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
7015
7016         * buffer.h (NO_COMPABILITY): turn off compability
7017
7018         * ColorHandler.C: include scoped_array.hpp
7019
7020         * font.C: Use more specific smart_ptr header.
7021         * Painter.C: ditto
7022         * gettext.C: ditto
7023         * ShareContainer.h: ditto
7024         * lyx_main.h: ditto
7025         * kbmap.h: ditto
7026         * FontInfo.h: ditto
7027         * BufferView_pimpl.h: ditto
7028         * ColorHandler.h: ditto
7029
7030         * kbmap.C (defkey): change call to shared_ptr::reset
7031
7032 2002-05-21  Juergen Vigna  <jug@sad.it>
7033
7034         * buffer.C (insertErtContents): fix to insert ert asis if it is
7035         non empty. Skip it completely if it contains only whitespaces.
7036
7037 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
7038
7039         * BufferView_pimpl.C:
7040         * BufferView2.C: clear selection on paste (bug 393)
7041
7042 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7043
7044         * DepTable.C: include ctime
7045
7046 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
7047
7048         * buffer.C (latexParagraphs): Add new argument (moving_arg).
7049
7050 2002-05-14  Juergen Vigna  <jug@sad.it>
7051
7052         * text.C (breakParagraph): fixed function to honor the keepempty
7053         layout in the right maner and also to permit the right breaking
7054         algorithm on empty or non empyt keepempty paragraphs.
7055
7056         * paragraph.C (breakParagraph): we have to check also if the par
7057         is really empty (!size()) for isempty otherwise we do the wrong
7058         paragraph break.
7059
7060 2002-05-10  Juergen Vigna  <jug@sad.it>
7061
7062         * buffer.[Ch] : The following are only changes to the ert
7063         compatibility read reading old LaTeX layout and font stuff and
7064         convert it to ERTInsets.
7065
7066         * buffer.h: added isErtInset().
7067
7068         * buffer.C (struct ErtComp): add a fromlayout bool to check
7069         if we're inside a LaTeX layout.
7070         (isErtInset): new helper function.
7071         (insertErtContents): look for other ert insets before this one
7072         and insert the contents there, so that we don't have subsequent
7073         ERT insets with nothing between them. This way we create only one
7074         inset with multiple paragraphs. Also check if we don't insert only
7075         spaces ' ' as they are ignored anyway afterwards in the .tex file
7076         so if we have only spaces we will ignore this latex part in the
7077         new file.
7078         (parseSingleLyXformat2Token \\layout): better compatibility when
7079         reading layout-latex stuff.
7080         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
7081         language tag.
7082         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
7083         stuff after reading the inset only get the information back from
7084         the stack.
7085
7086 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
7087
7088         * buffer.C (makeLaTeXFile): Put language options after loading babel.
7089
7090         * LaTeXFeatures.C (getBabelOptions): New method.
7091
7092 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7093
7094         * BufferView_pimpl.C (Dispatch): work around missing argument for
7095         'layout'
7096
7097 2002-05-08  Juergen Vigna  <jug@sad.it>
7098
7099         * text.C (leftMargin): handle paragraph leftindent.
7100
7101         * paragraph.C (writeFile): write the new \\leftindent tag.
7102         (validate): handle leftindent code.
7103         (TeXEnvironment): handle paragraphleftindent code again.
7104
7105         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
7106
7107         * buffer.C (parseSingleLyXformat2Token): added compatibility code
7108         for paragrap_extra indent code and new token \\leftindent.
7109         (latexParagraphs): handle the leftindent as environment.
7110
7111         * ParameterStruct.h: added leftindent support.
7112
7113         * ParagraphParameters.C (leftIndent): added support functions for
7114         the paragraph left indent.
7115
7116         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
7117         more appropriate.
7118
7119 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
7120
7121         * paragraph.C (isRightToLeftPar): Return false for a paragraph
7122         inside insetERT.
7123
7124         * text.C (computeBidiTables): No bidi in insetERT.
7125
7126         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
7127         in RTL documents.
7128
7129 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7130
7131         * version.C.in: pre 5
7132
7133 2002-05-02  José Matos  <jamatos@fep.up.pt>
7134         * buffer.C (makeDocBookFile): white space changes, add newline to
7135         command styles.
7136         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
7137
7138         * tabular.C (docBook): fix typo.
7139
7140 2002-05-03  Juergen Vigna  <jug@sad.it>
7141
7142         * screen.C (drawFromTo): recalculate the rowpointer if we had a
7143         change in LyXText as we can not be sure it was not freed.
7144         (drawOneRow): remove unused code.
7145
7146         * text.C (drawInset): redo the calculation of the need_break_row as
7147         it could have a row which was already freed.
7148         (draw): look at the return value of drawInset and return false if
7149         it also returned false.
7150         (paintRowText): look at the return value of draw and return false if
7151         it also returned false.
7152
7153         * lyxtext.h: added bool return type to drawInset() and draw() so that
7154         if we have a change in the row so that the rowbreak has to be redone
7155         we abort drawing as it will be called again.
7156
7157 2002-05-02  Juergen Vigna  <jug@sad.it>
7158
7159         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
7160         a change in the maintext also if we're inside an inset.
7161         (Dispatch): set the cursor again after a break line and after the
7162         screen has been updated as it could be we're in a different row.
7163
7164         * text2.C (fixCursorAfterDelete): check to make sure we don't request
7165         to set the cursor behind the pargraph with > size().
7166         (setCursor): check also for the same paragraph when checking where
7167         to put the cursor if we have a NFR inset.
7168
7169         * buffer.C (parseSingleLyXformat2Token): move the compatibility
7170         parts of layout read further up as it still was in the wrong
7171         position.
7172
7173 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7174
7175         * screen.C (drawFromTo): change sine fullRebreak always return
7176         true.
7177
7178         * buffer.C (parseSingleLyXformat2Token): reindent some
7179
7180         * BufferView_pimpl.C (update): change since fullRebreak always
7181         return true.
7182         (Dispatch): git rid of the last hardcoded "Standard"s.
7183
7184 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7185
7186         * text2.[Ch] (fullRebreak): make it return void now that we always
7187         returned true.
7188
7189 2002-04-30  Juergen Vigna  <jug@sad.it>
7190
7191         * buffer.C (parseSingleLyXformat2Token): reset the font before the
7192         ert compatibility check for "latex" layout.
7193
7194 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
7195
7196         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
7197         minipages: use col% instead of p%, and also use the current font.
7198         (makeLaTeXFile): Fix use babel condition.
7199         (parseSingleLyXformat2Token): Correct font when reading old floats.
7200
7201 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
7202
7203         * BufferView_pimpl.C (Dispatch): Check that float type exists when
7204         inserting list of floats.
7205
7206 2002-04-25  Herbert Voss  <voss@lyx.org>
7207
7208         * MenuBackend.C (expand): don't add the graphics extensions to the
7209         export menu
7210
7211 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7212
7213         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
7214         non-existing layout, do not complain if it was the default layout
7215         of the original class (bug #342)
7216
7217 2002-04-24  Juergen Vigna  <jug@sad.it>
7218
7219         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
7220         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
7221
7222 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
7223
7224         * buffer.C (getBibkeyList): If using \bibliography, return the
7225         option field with the reference itself. Enables us to provide natbib
7226         support when using \bibliography.
7227
7228 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
7229
7230         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
7231
7232         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
7233         natbib is provided by the LaTeX class.
7234
7235 2002-04-23  Juergen Vigna  <jug@sad.it>
7236
7237         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
7238         Wakeup functions.
7239
7240         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
7241
7242 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7243
7244         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
7245
7246         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
7247         ensuremath around textordmasculine, textordfeminine and
7248         textdegree.
7249
7250 2002-04-19  Juergen Vigna  <jug@sad.it>
7251
7252         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
7253         reinitializing the buffer otherwise row-dimensions may be wrong.
7254         (update): reset also the selection cursors if they do exits otherwise
7255         their x/y positions may be wrong.
7256
7257         * text2.C (cursorDown): don't enter the inset if we came from a row
7258         above and are one row over the inset.
7259
7260         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
7261         really leaving an inset.
7262
7263 2002-04-18  Juergen Vigna  <jug@sad.it>
7264
7265         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
7266         of the selected paragraph does not have the selected layout also if
7267         the last one had!
7268
7269         * text2.C (setLayout): fixed bug which did not change last selected
7270         paragraph.
7271
7272         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
7273         changed the read and substituted \\end_float with \\end_inset!
7274
7275         * BufferView_pimpl.C (cursorPrevious):
7276         (cursorNext): fixed to make it work with rows heigher than the work
7277         area without moving the cursor only the draw of the row.
7278         (workAreaMotionNotify): fix jumping over high rows.
7279
7280 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7281
7282         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
7283         Ressler.
7284
7285 2002-04-16  Juergen Vigna  <jug@sad.it>
7286
7287         * text2.C (setCursor): set also the irow().
7288         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
7289         (cursorUp):
7290         (cursorDown): support for locking an inset if the x_fix value goes
7291         inside it. That way I can transverse insets too with cursor up/down.
7292
7293         * lyxrow.h: added irow helper function same as other (i) functions.
7294
7295         * BufferView_pimpl.C (cursorPrevious):
7296         (cursorNext): fixed for insets!
7297
7298 2002-04-15  Juergen Vigna  <jug@sad.it>
7299
7300         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
7301         position otherwise it is wrong in some cases.
7302
7303         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
7304         inside the inset before the call.
7305
7306 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
7307
7308         * buffer.[Ch] (getBibkeyList): make it const.
7309
7310 2002-04-12  Juergen Vigna  <jug@sad.it>
7311
7312         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
7313
7314         * text2.C (getCursorX): new helper function
7315         (setCursor): compute also ix_
7316         (setCursorFromCoordinates): set also ix.
7317
7318         * lyxcursor.h: added ix_ and helper functions.
7319
7320         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
7321
7322         * buffer.C (insertStringAsLines): dont break paragraph if the this
7323         paragraph is inside an inset which does not permit it!
7324
7325         * text.C (breakParagraph): honor keepempty flag and break the paragraph
7326         also with no chars on this paragraph.
7327         (paintRowText): only paint stuff if it's inside the workarea!
7328
7329         * paragraph.C (breakParagraph): honor keepempty flag and break the
7330         paragraph always below not above.
7331
7332         * BufferView2.C (unlockInset): update the paragraph layout on inset
7333         unlock as we changed paragraph in such a case.
7334
7335         * lyxfind.C (LyXFind): clear the former selection if not found!
7336
7337         * text2.C (insertInset): freeze Undo after setUndo so that it is not
7338         again called in insertChar().
7339
7340         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
7341         an inset which uses the whole row!
7342         (rightMargin): ditto.
7343         (insertChar): force a rebreak if we inserted an inset!
7344
7345 2002-03-28  Herbert Voss  <voss@lyx.org>
7346
7347         * lyxlength.[Ch]: add inBP() to get the right PS-point
7348         units (BigPoint). With inPixels we have rounding errors
7349
7350 2002-04-11  Juergen Vigna  <jug@sad.it>
7351
7352         * text2.C (setCursorFromCoordinates): set iy to the right value.
7353         (setCursor): add check if row->previous exists!
7354
7355         * buffer.C (parseSingleLyXformat2Token): reset font after read of
7356         an old float_type as this was the case in the old code!
7357
7358         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
7359
7360         * BufferView2.C (showLockedInsetCursor): use iy
7361         (fitLockedInsetCursor): ditto
7362
7363         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
7364         locked insets as there we have the right value now.
7365
7366         * lyxcursor.C: added iy_ variable and iy functions to set to the
7367         baseline of cursor-y of the locked inset.
7368
7369         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
7370         (setCursor): fixed for insets which need a full row.
7371
7372         * text.C (rowLastPrintable): don't ignore the last space when before
7373         an inset which needs a full row.
7374         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
7375         as last character of a row when before a inset which needs a full row.
7376
7377 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7378
7379         * version.C.in: update date
7380
7381         * text2.C (fullRebreak): try to always return true and see what
7382         happens...
7383
7384 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7385
7386         * MenuBackend.C (expand): use Floating::listName
7387
7388         * FloatList.C (FloatList): add listName argument to the built-in
7389         floats
7390
7391         * Floating.[Ch]: add listName member, which is the 'List of XXX'
7392         text associated with the float.
7393
7394 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7395
7396         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
7397
7398 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7399
7400         * ShareContainer.h: add a couple of missing typenames.
7401
7402 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
7403
7404         * lyxrc.C (getDescription): use _() correctly rather than N_().
7405
7406 2002-03-28  Herbert Voss  <voss@lyx.org>
7407
7408         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
7409         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
7410
7411 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7412
7413         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
7414         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
7415
7416 2002-03-29  Juergen Vigna  <jug@sad.it>
7417
7418         * lyxfunc.C (dispatch): add a missing fitCursor call.
7419
7420         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
7421         it was scrolled by a cursor move, so return the bool status.
7422
7423         * BufferView.C (fitCursor): return the bool flag also to the outside
7424         world as this is needed.
7425
7426         * screen.C (toggleToggle): don't subtract the offset if it's positive.
7427
7428         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
7429         call the edit() as it is not needed (and wrong) IMO.
7430         (workAreaButtonPress): set the screen_first variable before evt.
7431         unlock the inset as this may change screen_first and then we have
7432         a wrong y position for the click!
7433
7434 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7435
7436         * MenuBackend.C (expand): another translation that I missed
7437
7438 2002-03-28  Juergen Vigna  <jug@sad.it>
7439
7440         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
7441
7442         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
7443
7444 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7445
7446         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
7447
7448         * MenuBackend.C (expand): fix export/view/update when there is no
7449         document open.
7450
7451 2002-03-27  Herbert Voss  <voss@lyx.org>
7452
7453         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
7454         and text%
7455
7456 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7457
7458         * bufferview_funcs.C (currentState): only show paragraph number
7459         for is DEVEL_VERSION is set.
7460
7461         * lyxfunc.C (dispatch): put warning in INFO channel
7462
7463         * MenuBackend.C (expand): translate the name of floats
7464
7465         * FloatList.C (FloatList): mark the float names for translation
7466
7467         * converter.C (convert): use LibScriptSearch
7468
7469 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7470
7471         * MenuBackend.C (defaults): fix default menu (we might as well get
7472         rid of it...)
7473
7474 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7475
7476         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
7477         directory.
7478
7479 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7480
7481         * lyxvc.C: reorder includes.
7482
7483 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
7484
7485         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
7486           properly
7487
7488 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
7489
7490         * CutAndPaste.C: change layouts earlier on paste
7491           to avoid crashing when calling getFont()
7492
7493 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
7494
7495         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
7496         irritating #error.
7497
7498 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7499
7500         * WorkArea.C: remove 'Pending' debug message.
7501
7502         * most files: ws cleanup
7503
7504         * buffer.[Ch]: ws changes
7505
7506         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
7507
7508 2002-03-21  Juergen Vigna  <jug@sad.it>
7509
7510         * tabular.C (SetMultiColumn): collapse also the contents of the
7511         cells and set the last border right. Added a Buffer const * param.
7512
7513 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7514
7515         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
7516         linking or not.
7517
7518 2002-03-19  Juergen Vigna  <jug@sad.it>
7519
7520         * text2.C (clearSelection): reset also xsel_cache.
7521
7522         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
7523         where it needs to be called (John tells us to do so too :)
7524         (selectionLost): reset sel_cache.
7525
7526         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
7527
7528 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7529
7530         * text2.C (setCursorIntern): put debuging code in INSETS channel
7531
7532 2002-03-19  André Pönitz <poenitz@gmx.net>
7533
7534         * lyxfunc.C: tiny whitespace change
7535
7536 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7537
7538         * ToolbarDefaults.C (init):
7539         * LyXAction.C (init):
7540         * commandtags.h:
7541         * BufferView_pimpl.C (Dispatch):
7542         * lyxfunc.C (dispatch): remove LFUN_DEPTH
7543
7544 2002-03-19  Allan Rae  <rae@lyx.org>
7545
7546         * exporter.C (Export): removeAutoInsets before doing anything else.
7547         While I've just introduced a dependency on BufferView this really is
7548         the best place to clean the buffer otherwise you need to cleanup in
7549         a dozen places before calling export or cleanup in a dozen functions
7550         that export calls.
7551
7552         * converter.C (runLaTeX):
7553         (scanLog): Better handling of removeAutoInsets and screen updates.
7554
7555         * lyxfunc.C (dispatch): small whitespace changes
7556
7557 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7558
7559         * WorkArea.C (C_WorkAreaEvent): return a value.
7560         (event_cb): return 1 if we handled the event, 0 otherwise.
7561
7562         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
7563
7564 2002-03-18  Juergen Vigna  <jug@sad.it>
7565
7566         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
7567         (GetAdditionalWidth): ditto.
7568         (RightLine): ditto.
7569         (LeftLine): ditto.
7570
7571         * BufferView2.C (copy): use getLyXText() so that we do it inside an
7572         inset if we're there actually (probably not used right now but this
7573         is the direction to go for unifying code).
7574         (paste): disable code to clear the selection.
7575
7576         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
7577         inside an InsetText and move the check further up as it is in the
7578         wrong place.
7579
7580         * text2.C (pasteSelection): set a selection over the pasted text.
7581
7582 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
7583
7584         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
7585         and libgraphics to build on Cygwin.
7586
7587 2002-03-15  Juergen Vigna  <jug@sad.it>
7588
7589         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
7590         inserting an Inset into the paragraph. I know this is not the best
7591         fix but we already use current_view in CutAndPaste so we will remove
7592         all of it's using at the same time.
7593
7594         * buffer.C (sgmlError): deactivated function till it is rewritten in
7595         the right mode, now it can create problems.
7596
7597         * paragraph.C (isLineSeparator): check if getInset returns != 0,
7598         before accessing it.
7599
7600 2002-03-14  Juergen Vigna  <jug@sad.it>
7601
7602         * undo_funcs.C (textHandleUndo): do the right thing when updating
7603         the inset after the undo/redo.
7604
7605         * text2.C (setCursor): just some testcode for #44 not ready yet.
7606
7607         * undo_funcs.C (textHandleUndo): set the next() and previous()
7608         pointers of the paragraph to 0 before deleting otherwise we have
7609         problems with the Paragraph::[destructor].
7610
7611         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
7612         on a paragraph insertion.
7613
7614 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7615
7616         * buffer.C (asciiParagraph): use += operator for char append to
7617         string.
7618
7619         * paragraph.C (getFontSettings): compare >= not just >
7620         (highestFontInRange): ditto
7621         (setFont): ditto
7622
7623 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7624
7625         * paragraph.C: change several algorithm to be more appripriate for
7626         the problem domain. This is lookip in FontList and in the InsetList.
7627
7628 2002-03-13  André Pönitz <poenitz@gmx.net>
7629
7630         * commandtags.h:
7631         * LyXAction.C: remove unused LFUN_MATH_MACROARG
7632
7633 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
7634
7635         * commandtags.h:
7636         * LyXAction.C:
7637         * lyxfunc.C:
7638         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
7639
7640 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7641
7642         * Painter.C (display): anon helper function, adjust code for this
7643         change.
7644         (pixmap): remove function.
7645
7646         * Painter.h: remove private display variable.
7647
7648         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
7649
7650 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
7651
7652         * WorkArea.[Ch]: remove figinset_canvas cruft.
7653
7654 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7655
7656         * lyxtextclass.C (operator): add one item cache optimization.
7657
7658         * bufferlist.h: doxy changes
7659
7660         * bufferlist.C: ws changes
7661
7662         * DepTable.[Ch] (ext_exist): place const in the right spot.
7663
7664         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
7665         call resizeInsets.
7666         (workAreaExpose): call resizeInsets when the with BufferView changes.
7667         (Dispatch): adjust for protectedBlank removal
7668         (specialChar): call updateInset if the insert went ok.
7669
7670         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
7671         specialChar instead.
7672
7673         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
7674
7675         * BufferView.h: doxy change
7676
7677         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
7678
7679         * lyxtextclass.C (operator[]): remove non-const version
7680         (defaultLayout): remove non-const version
7681
7682 2002-03-12  Juergen Vigna  <jug@sad.it>
7683
7684         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
7685         did resize the LyXText too.
7686
7687         * buffer.C (readLyXformat2): set layout information on newly allocated
7688         paragraphs.
7689
7690         * tabular.C (OldFormatRead): set layout information on the paragraph.
7691
7692 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
7693
7694         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
7695
7696 2002-03-11  Juergen Vigna  <jug@sad.it>
7697
7698         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
7699         plainly wrong.
7700         (resizeCurrentBuffer): force also the insets to resize themselfes.
7701         (moveCursorUpdate): fixed up for InsetText.
7702
7703 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
7704
7705         * commandtags.h:
7706         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
7707         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
7708         value of Dialogs::tooltipsEnabled().
7709         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
7710
7711 2002-03-08  Juergen Vigna  <jug@sad.it>
7712
7713         * BufferView_pimpl.C (updateInset): update inset inside inset also
7714         if it isn't inside theLockingInset().
7715
7716 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7717
7718         * buffer.C (asciiParagraph): redo some of the word and line length
7719         handling.
7720         (getLists): look for Caption instead of caption.
7721
7722 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7723
7724         * buffer.C (Buffer): initialize niceFile to true
7725         (makeLaTeXFile):
7726         (makeLinuxDocFile):
7727         (makeDocBookFile): make sure niceFile is true on exit
7728
7729 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7730
7731         * buffer.C (makeLaTeXFile): escape ~ in \input@path
7732
7733 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
7734
7735         * LyXSendto.C: remove.
7736         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
7737         * lyx_gui.C: remove now-redundant comment.
7738         * ColorHandler.h: remove forward declaration of class WorkArea.
7739         * lyxfunc.C: remove #include "WorkArea.h".
7740
7741 2002-03-07  Juergen Vigna  <jug@sad.it>
7742
7743         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
7744         got moved away with the DEPM and also set the inset_owner always
7745         right which before could have been omitted.
7746
7747 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7748
7749         * buffer.C (parseSingleLyXformat2Token): use default layout is the
7750         wanted layout is not found.
7751
7752 2002-03-07  Juergen Vigna  <jug@sad.it>
7753
7754         * CutAndPaste.C (cutSelection): another layout settings forgotten.
7755
7756 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7757
7758         * paragraph.C (breakParagraph): use default layout not layout of
7759         prev paragraph.
7760         (Paragraph): clear ParagraphParameters.
7761
7762 2002-03-06  Juergen Vigna  <jug@sad.it>
7763
7764         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
7765         otherwise it would not be a valid lenght. Fixed a special case in
7766         the minipage compatibility read where we end the document with a
7767         minipage.
7768
7769         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
7770         was set as it could be 0 for InsetTexts first entry.
7771
7772 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7773
7774         * paragraph.C (writeFile): if layout is empty write out
7775         defaultLayoutName().
7776
7777         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
7778         file without named layout we set layout to defaultLayoutName().
7779
7780 2002-03-06  Juergen Vigna  <jug@sad.it>
7781
7782         * CutAndPaste.C (copySelection): set layout for new paragraph.
7783
7784         * text.C (prepareToPrint): leave ERT inset left aligned
7785         (leftMargin): don't indent paragraphs inside ERT insets
7786
7787 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7788
7789         * paragraph.C (breakParagraph): dont call clear do the work manually
7790
7791         * paragraph.[Ch] (clear): remove function
7792
7793 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7794
7795         * paragraph.C (Paragraph): dont call clear, the work has already
7796         been done.
7797
7798         * lyxtextclass.C (operator): assert if n is empty
7799
7800         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
7801         work manually instead.
7802
7803 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
7804
7805         * BufferView_pimpl.C: protect selectionLost against text == 0
7806
7807 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7808
7809         * text.C (breakParagraph): fix a setting layout to '0' problem.
7810
7811 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
7812
7813         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
7814         final location of file, for the included files, and graphics.
7815
7816 2002-03-05  Juergen Vigna  <jug@sad.it>
7817
7818         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
7819
7820 2002-03-04  Juergen Vigna  <jug@sad.it>
7821
7822         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
7823
7824         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
7825         last column of multicolumn cells.
7826         (SetWidthOfMulticolCell): recalculate NMC and real columns.
7827
7828 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
7829
7830         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
7831         file if it doesn't go to a temporary file.
7832
7833         * buffer.C (sgmlOpenTag):
7834         (sgmlCloseTag):  remove extra newline insertion.
7835
7836 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7837
7838         * text.C (getRowNearY): comment out debug msg
7839
7840 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7841
7842         * text2.C: first -> first_y
7843
7844         * text.C (getRowNearY): add some attemts at a possible
7845         optimization, not working.
7846
7847         * tabular.[Ch]: add BufferParams to several function so that newly
7848         created paragraph can be initialized to he default layotu for the
7849         buffers textclass.
7850
7851         * tabular-old.C (ReadOld): add buf->params to call of Init
7852
7853         * screen.C: rename text->first to text->first_y
7854
7855         * paragraph.C (breakParagraph): always set layout in the broken
7856         paragraph
7857
7858         * lyxtextclass.C (Read): remove lowercase
7859         (hasLayout): ditto
7860         (operator): ditto
7861         (delete_layout): ditto
7862
7863         * lyxtext.h: rename first -> first_y
7864
7865         * lyxlayout.C (Read): remove lowercase
7866         (name): ditto
7867         (setName): ditto
7868         (obsoleted_by): ditto
7869
7870         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
7871
7872         * buffer.C (insertErtContents): add params are to InsetERT
7873         (parseSingleLyXformat2Token): add code to check if a paragraphs
7874         layout really exist.
7875         (parseSingleLyXformat2Token): add params to several inset
7876         constructors
7877         (asciiParagraph): remove lowercase, do the layout comparisons with
7878         no_case
7879
7880         * BufferView_pimpl.C (cursorNext): first -> first_y
7881         (resizeCurrentBuffer): first -> first_y
7882         (updateScrollbar): first -> first_y
7883         (scrollCB): first -> first_y
7884         (workAreaMotionNotify): first -> first_y
7885         (workAreaButtonPress): first -> first_y
7886         (checkInsetHit): first -> first_y
7887         (cursorPrevious): first -> first_y
7888         (cursorNext): first -> first_y
7889         (Dispatch): add buffer_->params to severl inset contructors
7890
7891 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7892
7893         * lyxlayout.C (Read): remove some debug info that I forgot.
7894
7895         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
7896         clean up the code slightly.
7897         (makeLinuxDocFile): ditto
7898         (makeDocBookFile): ditto
7899
7900         * text2.C: layout as string
7901
7902         * text.C: layout as string
7903
7904         * paragraph_pimpl.C: layout as string
7905
7906         * paragraph.[Ch]: layout as string
7907
7908         * lyxtextclasslist.[Ch]: layout as string
7909
7910         * lyxtextclass.[Ch]: layout as string
7911
7912         * lyxtext.h: layout as string
7913
7914         * lyxlayout.[Ch]: layout as string
7915
7916         * lyx_cb.C: layout as string
7917
7918         * bufferview_funcs.C: layout as string
7919
7920         * bufferparams.C: layout as string
7921
7922         * buffer.C: layout as string
7923
7924         * LyXView.[Ch]: layout as string
7925
7926         * LaTeXFeatures.[Ch]: layout as string
7927
7928         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
7929
7930         * BufferView_pimpl.C: change current_layout to string, remove
7931         lyx::layout_type.
7932         (Dispatch):
7933         (smartQuote):
7934         (insertInset):
7935         (workAreaButtonRelease): layout as string
7936
7937         * BufferView2.C (unlockInset): adjust
7938
7939         * vspace.C (asLatexCommand): use an explict temp variable.
7940
7941 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
7942
7943         * Makefile.am: use FRONTEND_*
7944
7945 2002-03-01  Juergen Vigna  <jug@sad.it>
7946
7947         * tabular.C (SetWidthOfMulticolCell): changed to something better
7948         I hope but still work in progress.
7949         (recalculateMulticolumnsOfColumn): renamed function from
7950         recalculateMulticolCells as it is more appropriate now.
7951         (SetWidthOfCell): calculate multicols better.
7952
7953 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7954
7955         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
7956
7957         * lyxfunc.C (processKeySym): print sequence also if it is
7958         `deleted' (complete)
7959
7960         * kbsequence.C (print): print sequence even if it is deleted
7961         (complete would be a better word, actually).
7962
7963         * lyxfunc.C (dispatch): print complete options after a prefix key
7964
7965         * vspace.C (asLatexCommand): rewrite in a slightly different form.
7966
7967 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
7968
7969         * text2.C (setCharFont): eliminate setCharFont code duplication.
7970
7971 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7972
7973         * BufferView_pimpl.C (Dispatch): remove bogus handling of
7974         LFUN_TABULAR_FEATURE (bug #177)
7975
7976 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
7977
7978         * Makefile.am: remove figure.h
7979
7980 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
7981
7982         * Bufferview_pimpl.C:
7983         * CutAndPasteC:
7984         * LaTeX.C:
7985         * LyXSendto.C:
7986         * buffer.C:
7987         * bufferlist.C:
7988         * converter.C:
7989         * language.C:
7990         * lyxfunc.C:
7991         * lyxvc.C:
7992         * paragraph.C:
7993         * text.C:
7994         * text2.C: remove #include "lyx_gui_misc.h".
7995
7996         * LaTeX.C: added #include <cstdio>
7997
7998 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7999
8000         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
8001         that the paragraph following this one can have.
8002
8003         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
8004
8005         * vspace.C (asLatexCommand): fix bogus gcc warning
8006
8007         * Makefile.am (lyx_SOURCES): remove vms_defines.h
8008
8009 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
8010
8011         * text2.C (setLayout): get rid of redundant code
8012
8013 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
8014
8015         * text2.C (incDepth): make sure depth cannot be increased beyond
8016         reasonable values.
8017
8018 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
8019
8020         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
8021         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
8022
8023         * PainterBase.h (image):
8024         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
8025         a LyXImage const *.
8026
8027 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
8028
8029         * BufferView.C:
8030         * BufferView.h:
8031         * BufferView_pimpl.C:
8032         * BufferView_pimpl.h:
8033         * LaTeXFeatures.C:
8034         * LyXAction.C:
8035         * LyXView.C:
8036         * Makefile.am:
8037         * UpdateList.h:
8038         * UpdateList.C:
8039         * buffer.C:
8040         * figure.h:
8041         * figureForm.C:
8042         * figureForm.h:
8043         * figure_form.C:
8044         * figure_form.h:
8045         * lyx_cb.C:
8046         * lyx_gui.C:
8047         * lyx_gui_misc.C:
8048         * lyxfunc.C:
8049         * sp_base.h:
8050         * sp_ispell.h:
8051         * sp_pspell.h:
8052         * sp_spell.C: remove fig inset, and the crap house of
8053           cards that follows it
8054
8055 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
8056
8057         * Makefile.am:
8058         * lyxserver.C:
8059         * os2_defines.h:
8060         * os2_errortable.h:
8061         * nt_defines.h: move .h into support/
8062
8063         * vms_defines.h: remove
8064
8065         * WorkArea.C: add space in debug output
8066
8067         * text2.C:
8068         * paragraph.C:
8069         * buffer.C: add WITH_WARNINGS
8070
8071         * vc-backend.h:
8072         * vc-backend.C:
8073         * bufferlist.C: s/retrive/retrieve/, add docs
8074
8075         * vspace.h:
8076         * vspace.C:
8077         * kbmap.h:
8078         * lyxlength.h:
8079         * lyxgluelength.h:
8080         * length_common.h:
8081         * chset.h:
8082         * chset.C: add docs
8083
8084         * lyxgui.C: add ID to X error handler
8085
8086         * lyxtestclass.c: fix typo
8087
8088 2002-02-26  Juergen Vigna  <jug@sad.it>
8089
8090         * tabular_funcs.C (write_attribute): changed so that some default
8091         attributes are not written at all.
8092         (getTokenValue): set default values before trying to read the
8093         value so we have the return value always set as default if we don't
8094         find the token we search for.
8095
8096         * tabular.C (Write): write bools as bools not as strings!
8097
8098 2002-02-22  Juergen Vigna  <jug@sad.it>
8099
8100         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
8101         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
8102
8103         * text.C (leftMargin): don't add an indent for paragraphs inside
8104         tabular cells (fix #208).
8105
8106 2002-02-21  José Matos  <jamatos@fep.up.pt>
8107
8108         * tabular.C (docBook): fixed support for long tables.
8109
8110 2002-02-20  Juergen Vigna  <jug@sad.it>
8111
8112         * text2.C (getFont): get the drawing font of the Inset if this
8113         paragraph is inside an inset (only important for InsetERT for now).
8114
8115         * buffer.C (insertErtContents): use new lanugage params in ERT
8116         constructor.
8117
8118         * CutAndPaste.C: commenting out seemingly uneeded code.
8119
8120 2002-02-19  Allan Rae  <rae@lyx.org>
8121
8122         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
8123         Iterators might be simple to use but they also get invalidated.
8124         (removeAutoInsets): renamed saved cursor tracking variables and added
8125         some comments to clarify what everything does.
8126
8127 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
8128
8129         * Chktex.C:
8130         * LaTeX.C:
8131         * LyXSendto.C:
8132         * converter.C:
8133         * lyx_cb.C:
8134         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
8135         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
8136
8137         * lyxfunc.C:
8138         * vc-backend.h: remove #include "support/syscall.h"
8139
8140         * LaTeX.C:
8141         * LyXSendto.C:
8142         * converter.C: rearrange #includes in Lars' approved fashion.
8143
8144         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
8145         forward declare class Timeout in the header file.
8146
8147         * XFormsView.C: changes due to the above.
8148
8149         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
8150         similar to LyXView.
8151
8152         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
8153         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
8154
8155 2002-02-18  José Matos  <jamatos@fep.up.pt>
8156
8157         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
8158         insets contents.
8159
8160 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
8161
8162         * a lot of small ws changes
8163         * add a lot of using std::XXX
8164         * use std construcs some places where approp.
8165         * use some exisint stuff from lyxfunctional where approp.
8166         * Make file changes to use partial linking (lets test this now...)
8167
8168 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
8169
8170         * Chktex.C:
8171         * buffer.C:
8172         remove #include "support/syscontr.h" as it's redundant. Always has been.
8173
8174         * Chktex.C:
8175         * LaTeX.C:
8176         * LyXSendto.C:
8177         * converter.C:
8178         * lyx_cb.C:
8179         * vc-backend.C:
8180         change Systemcalls::System to Systemcalls::Wait and
8181         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
8182         No change of functionality, just reflects the stripped down Systemcalls
8183         class.
8184
8185 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
8186
8187         * debug.[Ch]: add a GRAPHICS type to the enum.
8188
8189 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8190
8191         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
8192
8193         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
8194         there is an inset.
8195
8196 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8197
8198         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
8199         match the changes below.
8200
8201         * text2.C (toggleInset): if there is not editable inset at cursor
8202         position, try to see if cursor is _inside_ a collapsable inset
8203         and close it.
8204
8205 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8206
8207         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
8208         document menu has a nice checkbox
8209
8210 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8211
8212         * lyxlength.C (asLatexString): change PW to output as percent of
8213         \textwidth.
8214
8215         * lengthcommon.C: change '%' to 't%'
8216
8217         * lyxfunc.C (dispatch): a few comments from Martin
8218
8219 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
8220
8221         * WorkArea.h:
8222         * WorkArea.C:
8223         * BufferView_pimpl.h:
8224         * BufferView_pimpl.C: clear our selection when X tells us we've lost
8225           the X selection.
8226
8227 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8228
8229         * vspace.C (inPixels): fix compiler warning
8230
8231 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8232
8233         * lyxfunc.C (getStatus): fix status message for disabled commands.
8234
8235 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
8236
8237         * BufferView_pimpl.C: fix crash on close buffer
8238         during selection (#227)
8239
8240 2002-01-27  Herbert Voss  <voss@lyx.org>
8241
8242         * buffer.C: link old Figure to new graphic inset
8243
8244 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
8245
8246         * FontLoader.C (getFontinfo): Change the latex font names in order
8247         to match the names of type1inst.
8248
8249 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8250
8251         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
8252
8253         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
8254         (extchanged): ditto
8255         (ext_exist): ditto
8256         (remove_files_with_extension): ditto
8257         (remove_file): ditto
8258         (write): ditto
8259
8260         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
8261         document is smaller than the work area height. Do not initialize
8262         static variables to 0.
8263
8264 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8265
8266         * lyx_gui.C (init): give the toolbar tooltips a normal font.
8267
8268         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
8269         LFUN_LAYOUT_PARAGRAPHS.
8270
8271         * tabular.C (GetCellFromInset): new method. Finds an inset in a
8272         tabular. It is possible to provide a possible cell, which will
8273         typically be the actcell from the corresponding insettabular
8274
8275         * lyxfunc.C (getStatus): small cleanup; disable
8276         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
8277         true
8278
8279 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8280
8281         * tabular.C (Validate): remove broken optimization (fixes bug #201)
8282
8283         * paragraph.C (startTeXParParams):
8284         (endTeXParParams): new methods. The LaTeX code to
8285         start/end paragraph formatting
8286         (simpleTeXOnePar): call startTeXParParams also when paragraph is
8287         empty (fixes bug #200)
8288
8289         * vspace.C (inPixels): adapt to the change below
8290         (inPixels): [later] more cleanups (remove unused variables)
8291
8292         * lyxlength.C (inPixels): change to use a width and a height as
8293         parameter.
8294
8295 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8296
8297         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
8298         Replaced with \paperwidth
8299
8300         * DepTable.C (insert): add std:: qualifier
8301
8302 2002-01-18  Allan Rae  <rae@lyx.org>
8303
8304         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
8305         updated also?
8306
8307         * text.C (drawInset): Turned out I didn't know enough about how
8308         rebreaking worked.  This fixes most of the redraw problems.  I see
8309         an occasional cursor trail when a line is broken now and the cursor
8310         placement can seem out by a few pixels also after a rebreak.
8311
8312 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8313
8314         * buffer.C (parseSingleLyXformat2Token): update because minipage
8315         width is now a LyXLength
8316
8317         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
8318
8319         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
8320         math insets
8321
8322 2002-01-17  Juergen Vigna  <jug@sad.it>
8323
8324         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
8325
8326         * BufferView2.C (lockInset): call edit() so that theLockingInset()
8327         is set correctly and the inset is updated correctly.
8328
8329 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8330
8331         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
8332         the beginning of the loop.
8333
8334 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
8335
8336         * lyxrc.C: improve help for use_scalable_fonts
8337
8338 2002-01-17  Allan Rae  <rae@lyx.org>
8339
8340         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
8341
8342 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8343
8344         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
8345         make sure to set their inset_owner to the right value (bug #171)
8346
8347 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
8348
8349         * DepTable.h
8350         * DepTable.C: Implement mtime checking to reduce time spent doing
8351         CRCs.
8352
8353 2002-01-16  Juergen Vigna  <jug@sad.it>
8354
8355         * tabular.C (GetAdditionalHeight): one of error fixed.
8356
8357         * lyxrc.C (output): small fix in writing use_pspell.
8358
8359 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
8360
8361         * sp_base.h: #include LString.h
8362
8363 2002-01-16  Allan Rae  <rae@lyx.org>
8364
8365         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
8366         Can someone check this please?
8367
8368         * text.C (drawInset): It was possible that p.row would be removed by
8369         breakAgainOneRow upsetting a few other settings.  There may be another
8370         small tweak possible by setting need_break_row = 0 when p.row has been
8371         removed but I don't know enough about the logic here.
8372
8373 2002-01-15  Allan Rae  <rae@lyx.org>
8374
8375         * text.C (insertChar): removed conditional truism.
8376
8377         * BufferView2.C (removeAutoInsets): More tweaks.
8378         cur_par_prev could be a stray pointer.  Check for trailing empty line
8379         in case last line was cur_par and only had an error inset on it.
8380
8381 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8382
8383         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
8384         absolute
8385
8386         * vc-backend.C (most methods):
8387         * exporter.C (Export):
8388         * converter.C (convert):
8389         (runLaTeX):
8390         * LyXSendto.C (SendtoApplyCB):
8391         * lyxfunc.C (dispatch):
8392         (menuNew):
8393         (open):
8394         (doImport):
8395         * lyx_cb.C (AutoSave):
8396         (InsertAsciiFile):
8397         * BufferView_pimpl.C (MenuInsertLyXFile):
8398         * buffer.C (runChktex): use Buffer::filePath().
8399
8400         * buffer.h: rename filename to filename_; rename filepath to
8401         filepath_ and make it private
8402         (filePath): new method
8403
8404         * buffer.C (writeFile): use fileName()
8405         (getLatexName):
8406
8407         * lyx_main.C (init): fix starting  of LyX when the binary is a
8408         link from so,ewhere else.
8409
8410         * minibuffer.C: include <cctype> for isprint
8411
8412 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
8413
8414         * buffer.C (parseSingleLyXformat2Token): changes associated with the
8415         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
8416         name clash with InsetCollapsable's width function.
8417
8418 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8419
8420         * lastfiles.C: include <iterator>
8421
8422 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
8423
8424         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
8425         std::count.
8426
8427         * buffer.C (makeLaTeXFile): ditto.
8428         Also make loop operation more transparent.
8429
8430 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
8431
8432         * ToolbarDefaults.C: remove trailing comma closing namespace.
8433
8434         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
8435
8436         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
8437         as in WorkArea.
8438
8439         * trans.C (Load): comment out unused variable, allowed.
8440
8441 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
8442
8443         * minibuffer.[Ch] (append_char): new method to recieve input from the
8444         drop-down completion browser. If a key was pressed, then recieve this
8445         char and append it to the existing string.
8446         (peek_event): modify the positioning data passed to the completion
8447         browser so that it can be placed above the minibuffer rather than below.
8448 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8449
8450         * LyXAction.C (init): alloe error-next for readonly documents.
8451
8452         * BufferView2.C (ChangeRefsIfUnique): use standard version of
8453         count.
8454
8455 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8456
8457         * bufferlist.C (readFile): create the buffer _after_ checking that
8458         the file exists.
8459
8460         * lyxfunc.C (verboseDispatch): fix handling of arguments
8461
8462         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
8463
8464         * lyxrc.C: use string::erase() instead of initializing to "".
8465
8466
8467 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
8468
8469         * BufferView_pimpl.h:
8470         * BufferView_pimpl.C:
8471         * WorkArea.h:
8472         * WorkArea.C:
8473         * text2.C: tell X when we have made a selection for copying
8474
8475 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8476
8477         * BufferView_pimpl.C (MenuInsertLyXFile):
8478         * lyxfunc.C (menuNew):
8479         (open):
8480         (doImport): add shortcuts to directory buttons
8481
8482         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
8483         open a float)
8484
8485         * lyxfunc.C (setStatusMessage):
8486         (getStatusMessage): new methods
8487         (getStatus):use setStatusMessage instead of setErrorMessage
8488         (dispatch): when function is disabled, set error message here
8489         [instead of in getStatus previously]
8490
8491         * BufferView_pimpl.C (workAreaButtonRelease): update
8492         toolbar/menubar here too.
8493
8494 2002-01-13  Allan Rae  <rae@lyx.org>
8495
8496         * BufferView2.C (removeAutoInsets): finished off earlier fix.
8497         Now seems indestructible.  Remaining task is to audit all other
8498         code affected by deleteEmptyParagraphMechanism.  One small quirk
8499         left is that an empty document with an error in the preamble can
8500         be made to report an error but no error box appears.  I don't know
8501         where it goes.
8502         (removeAutoInsets): Improved comments.
8503
8504 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
8505
8506         * Thesaurus.h:
8507         * Thesaurus.C: update for Aiksaurus 0.14
8508
8509 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8510
8511         * text2.C (firstParagraph): removed member function, all uses
8512         replaces with ownerParagraph
8513         (redoParagraphs): here
8514         (updateInset): here
8515         (toggleAppendix): here
8516         * BufferView2.C (insertErrors): here
8517         (setCursorFromRow): here
8518
8519 2002-01-13  Allan Rae  <rae@lyx.org>
8520
8521         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
8522         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
8523         There is still a way to segfault this although you may have to do this
8524         multiple times: Have an InsetERT with an unknown command in it.
8525         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
8526         <down-arrow>, <Enter> again, View->DVI, BANG!
8527
8528         * text2.C (setCursor):
8529         (deleteEmptyParagraphMechanism):
8530         * lyxtext.h (setCursor):
8531         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
8532         Making use of the return value may help fix other bugs.
8533
8534 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8535
8536         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
8537
8538         * LyXView.C (updateMenubar): call MenuBar::update here
8539         (updateToolbar): but not here
8540         (showState): do not update toolbar/menubar
8541
8542         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
8543         should need to care about that.
8544
8545         * lyxfunc.C (verboseDispatch): simplify a bit
8546         (getStatus): have a version which takes a pseudoaction, and
8547         another which requires a (kb_action,string).
8548
8549         * LyXAction.C (retrieveActionArg): make it work also when action
8550         is not a pseudo-action.
8551         (getActionName): simplify a bit
8552         (helpText):
8553
8554 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8555
8556         * lyxfunc.C (verboseDispatch): new families of methods with
8557         several ways to specify a command and a bool to indicate whether
8558         the command name and shortcut should be displayed in minibuffer
8559         (eventually, we could extend that to a finer bitmask like
8560         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
8561         (dispatch): the pristine dispatch command which just, well,
8562         dispatchs! Note it still sets its result to minibuffer; I'm not
8563         sure we want that.
8564
8565         * lyxfunc.h: remove setHintMessage
8566
8567         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
8568
8569 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8570
8571         * BufferView_pimpl.C (specialChar): delete new inset if we have
8572         not been able to insert it.
8573
8574         * kbmap.C: revert to using int instead of kb_action, since all we
8575         are dealing with is pseudo-actions.
8576
8577         * LyXAction.C (searchActionArg): change to return int instead of
8578         kb_action, since the result is a pseudoaction.
8579
8580 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
8581
8582         * buffer.C (insertErtContents): Fix (partially) the font bug.
8583
8584 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
8585
8586         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
8587         as the other one is broken on my machine!
8588
8589 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
8590
8591         * commandtags.h:
8592         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
8593
8594 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
8595
8596         * lyxrc.[Ch]: change names and descriptions of popup font variables to
8597         reflect their actual use. Provide compatibility code for older lyxrc
8598         files.
8599
8600         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
8601         FL_NORMAL_STYLE.
8602         change names of popup font variables in line with the changes to lyxrc.C
8603
8604 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8605
8606         * buffer.C (asciiParagraph): avoid outputing a word twice after
8607         an inset.
8608
8609         * lyxrc.C (getDescription): document that document_path and
8610         template_path can be empty.
8611
8612 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8613
8614         * LaTeXFeatures.C (getMacros):
8615         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
8616
8617         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
8618
8619         * LaTeXFeatures.C (useFloat): require "float" here instead of in
8620         getPackages.
8621         (getPackages): rename feature "floats" to "float". Use an array to
8622         iterate over 'simple' features (i.e. just a \usepackage). Add
8623         handling of "amsmath" (renamed from "amsstyle").
8624
8625 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
8626
8627         * LaTeXFeatures.C (require): Prevent duplicate entries in the
8628         features list.
8629
8630 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
8631
8632         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
8633         FuncStaus::FuncStatus & FuncStaus::some_method().
8634
8635 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
8636
8637         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
8638         of the func_satus stuff. Edited and massaged in various ways by
8639         JMarc.
8640
8641         * lyxfunc.C (getStatus): use FuncStatus
8642
8643 2002-01-08  Juergen Vigna  <jug@sad.it>
8644
8645         * text.C (nextBreakPoint): use function Inset::isChar().
8646
8647         * paragraph.C (TeXOnePar): use function
8648         Inset::forceDefaultParagraphs.
8649
8650         * buffer.C (latexParagraphs): use function
8651         Inset::forceDefaultParagraphs.
8652
8653 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
8654
8655         * lyx_gui.C (init): set the style of the menu popups to
8656         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
8657
8658 2002-01-07  Juergen Vigna  <jug@sad.it>
8659
8660         * text.C (setHeightOfRow): small fix
8661         (prepareToPrint): don't look at alignment if we don't have the place
8662         for doing it.
8663
8664 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
8665
8666         * box.C: New file. Move the Box methods and functions out of box.h,
8667         following Lars' suggestion.
8668
8669 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
8670
8671         * box.h: #include "support/LOstream.h", needed for inlined function.
8672
8673         * lyxtextclass.C:
8674         * lyxtextclasslist.C: added some using std declarations.
8675
8676 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
8677
8678         * box.h: make signed dimensions to allow insets wider than
8679           the screen (bug #162)
8680
8681         * BufferView_pimpl.C: add some insetHit debug
8682
8683 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
8684
8685         * vc-backend.C: add FIXME
8686
8687 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8688
8689         * lyxfunc.C (getStatus): enable code for showing math font status
8690         in toolbar/menu.
8691
8692 2002-01-07  Juergen Vigna  <jug@sad.it>
8693
8694         * text.C (nextBreakPoint): removed debug output not needed anymore.
8695
8696 2002-01-06  Juergen Vigna  <jug@sad.it>
8697
8698         * text.C (nextBreakPoint): fixed up this function we had this bug
8699         since ever but now hopefully we break row better.
8700         (insertChar): we have to check if an inset is the next char as it
8701         could now happen that a large inset is causing a break.
8702
8703 2002-01-05  Juergen Vigna  <jug@sad.it>
8704
8705         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
8706         if it doesn't like to be drawed.
8707
8708 2002-01-04  Juergen Vigna  <jug@sad.it>
8709
8710         * BufferView2.C (lockInset): forgot to set a cursor.
8711
8712         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
8713
8714 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
8715
8716         * FormMathsPanel.C:
8717         * FormMathsPanel.h
8718         * MathsSymbols.C:
8719         * form_maths_panel.C:
8720         * form_maths_panel.h:
8721         * form_maths_panel.fd: implemented sub- and super- buttons in math
8722         panel.
8723
8724         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
8725         (or ^ space) to be used as in TeX (req'd by André).
8726
8727         * lyxfunc.C: Allow ^ and _ again to be used both as
8728         super/subscript (mathed) and as themselves (in text).
8729
8730 2002-01-03  Allan Rae  <rae@lyx.org>
8731
8732         * LyXView.C (updateWindowTitle): Setup a short icon title of either
8733         "LyX" or the filename of the current buffer if it has one.  This is a
8734         modified form of John Levon's patch.
8735
8736         * XFormsView.C (setWindowTitle): also set icon title.
8737
8738         * LyXView.h (setWindowTitle): signature changed.
8739         * XFormsView.h (setWindowTitle): ditto.
8740
8741 2002-01-02  Juergen Vigna  <jug@sad.it>
8742
8743         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
8744
8745 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8746
8747         * screen.C (topCursorVisible): introduce a temp var for
8748         text->cursor.row(), handle the case where this row is null. (kindo
8749         hachish)
8750
8751         * text2.C (setCursor): add a couple of asserts.
8752
8753         * paragraph.h (inset_iterator): add -> operator
8754
8755         * paragraph.[Ch] (autoDeleteInsets): remove member function
8756
8757         * BufferView2.C (removeAutoInsets): rewrite to handle the old
8758         cursor pos correctly and handle inset deletion by itself.
8759         (insertErrors): move iterator declaration out of for expression
8760
8761         * lyxtextclass.C: add <algorithm>
8762
8763         * Makefile.am: added the new files to sources, removed layout.C
8764
8765         * layout.C: removed file
8766
8767         * layout.h: remove LYX_DUMMY_LAYOUT
8768
8769         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
8770         layout.
8771
8772         * lyxlayout.[Ch]:
8773         * lyxtextclass.[Ch]:
8774         * lyxtextclasslist.[Ch]: new files
8775
8776         * include order changes to a lot of files, also changes because of
8777         the six new files.
8778
8779 2001-12-27  Juergen Vigna  <jug@sad.it>
8780
8781         * buffer.C (asciiParagraph): more fixes.
8782
8783         * tabular.C (ascii): make ascii export support export of only the
8784         data separated by a column-delimiter.
8785         (ascii): better support for ascii export.
8786
8787         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
8788
8789 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8790
8791         * tabular_funcs.C: use a "using std::getline" instead of the
8792         previous fix from Angus (necessary for cxx + lyxstring)
8793
8794 2001-12-24  Juergen Vigna  <jug@sad.it>
8795
8796         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
8797
8798         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
8799         problems. First check a minipage also if we have some ert-contents
8800         (not only on par->size(), second set the right depth of the paragraph
8801         on the relink to the root-paragraph-list!
8802
8803         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
8804         which then did not anymore update the main paragraphs on undo/redo!
8805
8806 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8807
8808         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
8809         code. Support all font-changing funcs (even those which are not in
8810         menu currently). Support for reporting font settings in
8811         mathed (disabled until Andre provides a function on mathed's side).
8812
8813         * func_status.h (toggle): small helper function to set toggle
8814         state on a flag.
8815
8816 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
8817
8818         * tabular_funcs.C: getline -> std::getline
8819
8820 2001-12-21  Juergen Vigna  <jug@sad.it>
8821
8822         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
8823         accessed and could be 0 (I couldn't generate this but it seems
8824         Michael could!).
8825
8826 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8827
8828         * tabular_funcs.C: add LIstream.h, move write_attribute to..
8829         * tabular_funcs.h: here and include iosfwd
8830
8831 2001-12-20  Juergen Vigna  <jug@sad.it>
8832
8833         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
8834         inside inset but undo_par was.
8835
8836 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8837
8838         * Thesaurus.C: always include <config.h> in sources.
8839
8840         * Painter.h:
8841         * lyxlookup.h:
8842         * box.h: do not include <config.h> in header files
8843
8844         * text.C (paintLastRow): remove unused variable
8845
8846         * text.C (transformChar):
8847         (insertChar):
8848         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
8849
8850         * Painter.C (text):
8851         * font.C (width): rewrite to use uppercase() instead of
8852         islower/toupper.
8853
8854         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
8855
8856 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
8857
8858         * lyxfind.C: clean up of find failure position change
8859
8860 2001-12-20  Juergen Vigna  <jug@sad.it>
8861
8862         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
8863
8864         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
8865         (TeXRow): added to LaTeX a single tabular row.
8866         (TeXLongtableHeaderFooter): added to output LT-h/f data.
8867         (Latex): simplified and finally good LT-h/f support.
8868         (various_functions): just small adaptions for LT-h/f support.
8869
8870         * tabular_funcs.[hC]: added and moved here all not classfunctions
8871         of LyXTabular.
8872
8873 2001-12-19  Juergen Vigna  <jug@sad.it>
8874
8875         * tabular.[Ch]: better support for longtabular options (not finished
8876         yet!)
8877
8878 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8879
8880         * text.C (paintLastRow): use the label font instead of the font of
8881         the last character to compute the size of *_BOX. This makes more
8882         sense and avoids a crash with empty paragraphs.
8883         Use Painter::rectangle to draw EMPTY_BOX.
8884
8885 2001-12-19  Juergen Vigna  <jug@sad.it>
8886
8887         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
8888         the paragraphs if the replaced paragraph is not the first one!
8889         Tried to delete not used paragraphs but does not work yet so for
8890         now it's inside #ifdef's and by default off!
8891
8892 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8893
8894         * MenuBackend.C: include "lyx_main.h" instead of declaring
8895         lastfiles (actually was declared as LastFiles* instead of a
8896         scoped_ptr).
8897
8898 2001-12-17  Juergen Vigna  <jug@sad.it>
8899
8900         * tabular.C (AppendColumn): applied John's fix
8901
8902 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
8903
8904         * BufferView.h:
8905         * BufferView.C:
8906         * BufferView_pimpl.h:
8907         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
8908
8909         * Makefile.am:
8910         * box.h: new start of class for above
8911
8912         * lyxfunc.C: ignore space-only minibuffer dispatches.
8913           Show the command name when it doesn't exist
8914
8915         * minibuffer.C: don't add empty lines to the history
8916
8917         * minibuffer.C: add a space on dropdown completion
8918
8919 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
8920
8921         * text.C: fix line above/below drawing in insets
8922
8923 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8924
8925         * lyxlength.C (LyXLength): Initialize private variables.
8926
8927 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
8928
8929         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
8930         when inserting error insets.
8931
8932 2001-12-13  Juergen Vigna  <jug@sad.it>
8933
8934         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
8935         actually sometimes the before-paragraph.
8936         (setUndo): don't clear the redostack if we're not actually undoing!
8937
8938 2001-12-06  Juergen Vigna  <jug@sad.it>
8939
8940         * undo_funcs.C (textHandleUndo): well after John's hint I got here
8941         and fixed redoing of main paragraph, so we can use it now ;)
8942
8943         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
8944
8945 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8946
8947         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
8948         Juergen's request
8949
8950 2001-12-13  André Pönitz <poenitz@gmx.net>
8951
8952         * undostack.[Ch]:
8953         * undo_func.C: minor cleanup
8954
8955 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
8956
8957         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
8958         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
8959         font in urw-fonts package which is marked as -urw-fontspecific and
8960         does not work (incidentally, changing the encoding in the
8961         fonts.dir of this package to -adobe-fontspecific fixes the
8962         problem).
8963
8964         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
8965         is a crash when undoing first paragraph (Juergen, please take a
8966         look). THis does not mean the undo fix is wrong, just that it
8967         uncovers problems.
8968
8969         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
8970         the (Paragraph*) version when needed instead of duplicating the
8971         code.
8972
8973         * text.C (workWidth): use Inset::parOwner to find out where the
8974         inset has been inserted. This is a huge performance gain for large
8975         documents with lots of insets. If Inset::parOwner is not set, fall
8976         back on the brute force method
8977
8978         * paragraph_pimpl.C (insertInset):
8979         * paragraph.C (Paragraph):
8980         (cutIntoMinibuffer): set parOwner of insets when
8981         inserting/removing them
8982
8983         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
8984
8985 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
8986
8987         * commandtags.h:
8988         * LyXAction.C:
8989         * lyx_main.C:
8990         * lyxfunc.C:
8991         * mathed/formulabase.C:
8992         * mathed/math_cursor.[Ch]:
8993         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
8994
8995
8996 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8997
8998         * lyxlength.[Ch] (operator!=): new function
8999
9000 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9001
9002         * text.C (workWidth): use Inset::parOwner to find out where the
9003         inset has been inserted. This is a huge performance gain for large
9004         documents with lots of insets. If Inset::parOwner is not set, fall
9005         back on the brute force method
9006
9007         * paragraph_pimpl.C (insertInset):
9008         * paragraph.C (Paragraph):
9009         (cutIntoMinibuffer): set parOwner of insets when
9010         inserting/removing them
9011
9012         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
9013
9014 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9015
9016         * tabular-old.C (getTokenValue):
9017         * tabular.C (getTokenValue):
9018         (write_attribute): new versions for LyXLength
9019         (everywhere): adjust the use of widths
9020
9021         * tabular.h: change the type of widths from string to LyXLength
9022
9023 2001-12-11  Ben Stanley <bds02@uow.edu.au>
9024
9025         * paragraph.C: fixed missing line number count when exporting
9026         Environments to LaTeX file
9027
9028         * buffer.C: added informational message for checking line numbers.
9029
9030 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9031
9032         * text2.C (deleteEmptyParagraphMechanism): if there is only one
9033         paragraph, do the 'double space' part, but not the 'empty
9034         paragraph' one.
9035
9036         * text.C (workWidth): small optimization
9037         (getLengthMarkerHeight): use minimal size for negative lengths.
9038
9039 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
9040
9041         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
9042
9043         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
9044
9045 2001-12-11  André Pönitz <poenitz@gmx.net>
9046
9047         * FontLoader.C:
9048         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
9049
9050 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
9051
9052         * text2.C: keep selection on a setFont()
9053
9054 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
9055
9056         * lyx_cb.C: another bv->text misuse, from insert label
9057
9058 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
9059
9060         * kbsequence.h:
9061         * kbsequence.C: re-instate nmodifier mask
9062
9063 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
9064
9065         * lyx_main.h: make lyxGUI private.
9066
9067 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
9068
9069         * lyxfind.C: place the cursor correctly on failed search
9070
9071 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
9072
9073         * text.C (getLengthMarkerHeight): for small heights, the arrows
9074         are not always on top/bottom of the text
9075         (drawLengthMarker): smaller arrows; take the left margin in
9076         account; draw also vfills.
9077         (paintFirstRow):
9078         (paintLastRow): remove special code for vfill and standard spaces,
9079         since everything is handled in drawLengthMarker now.
9080
9081 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9082
9083         * buffer.C (insertErtContents): try to handle font and language
9084         interaction a bit better.g
9085
9086         * ColorHandler.C (updateColor): change the hash to cover the whole
9087         LColor enum, ws cleanup
9088         (getGCLinepars): ditto
9089         (getGCLinepars): only lookup in the linecache once.
9090
9091 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
9092
9093         * iterators.C (operator++): Make the iterator more robust
9094
9095         * BufferView2.C (removeAutoInsets): Use paragraph iterators
9096         (John's patch)
9097         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
9098
9099 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9100
9101         * lyxtext.h:
9102         * text.C: better added space drawing
9103
9104 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9105
9106         * LyXView.C:
9107         * BufferView2.C: fix layout combo update on inset unlock
9108
9109 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9110
9111         * Makefile.am: don't compile unused files
9112
9113 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9114
9115         * lyxfunc.C:
9116         * commandtags.h:
9117         * LyXAction.C: remove old LFUN_LAYOUTNO
9118
9119 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9120
9121         * paragraph_pimpl.h:
9122         * paragraph_pimpl.C: isTextAt() doesn't need font param
9123
9124 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9125
9126         * lyxlex.h:
9127         * lyxlex.C: little cleanup
9128
9129 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
9130
9131         * BufferView_pimpl.C: fix insertAscii for insets
9132
9133 2001-12-05  Juergen Vigna  <jug@sad.it>
9134
9135         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
9136         set the right font on the "multi" paragraph paste!
9137
9138 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9139
9140         * trans_decl.h:
9141         * trans_mgr.[Ch]:
9142         * trans.[Ch]:
9143         * lyxgluelength.C:
9144         * lyxlength.C: remove out-commented code.
9145
9146         * BufferView_pimpl:
9147         * CutAndPaste.C:
9148         * DepTable.C:
9149         * buffer.C:
9150         * chset.C:
9151         * lastfiles.C:
9152         * lyxlex.C:
9153         * lyxlex_pimpl.C:
9154         * lyxserver.C:
9155         * screen.C:
9156         * tabular-old.C:
9157         * tabular.C:
9158         * text.C:
9159         * trans_mgr.C:
9160         * vc-backend.C: change "while(" to "while ("
9161
9162         * lyxlength.[Ch]: add zero function to check if length is zero or
9163         not
9164         * lyxgluelength.C: use it
9165
9166 2001-12-05  Allan Rae  <rae@lyx.org>
9167
9168         * lyxlength.C: Attempted a fix for the abs(int) header selection.
9169         Works for 2.95.3, from what I understand of Garst's reports this should
9170         work for other g++ versions.  We're screwed if the abs(int) definition
9171         changed between bugfix releases of gcc.
9172
9173 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
9174
9175         * text.C: fix chapter label offset !
9176
9177 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
9178
9179         * lyxtext.h:
9180         * text.C: fix hfill at end of line, clean up
9181
9182 2001-12-04  Juergen Vigna  <jug@sad.it>
9183
9184         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
9185         that we force an update of the inset and it's owners if neccessary.
9186
9187 2001-12-03  Juergen Vigna  <jug@sad.it>
9188
9189         * text.C (rowLast): simplified code
9190
9191 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
9192
9193         * lyxfunc.C: fix show options on timeout
9194
9195 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9196
9197         * screen.C (topCursorVisible): scroll half a page when the cursor
9198         reached top of bottom of screen
9199
9200 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
9201
9202         * minibuffer.C: deactivate on loss of focus
9203
9204 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9205
9206         * vspace.[Ch] (operator!=): add operator.
9207
9208 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
9209
9210         * BufferView_pimpl.C: refuse to open an inset when
9211         there's a selection.
9212
9213 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
9214
9215         * BufferView_pimpl.C: allow to click on RHS of full row insets
9216
9217 2001-11-30  Juergen Vigna  <jug@sad.it>
9218
9219         * tabular.C (LyXTabular): add a same_id to set the same id's in the
9220         insets for undo reasons.
9221
9222 2001-11-28  André Pönitz <poenitz@gmx.net>
9223
9224         * vspace.[Ch]: cosmetical changes
9225
9226 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
9227
9228         * LyXAction.h:
9229         * LyXAction.C:
9230         * lyxfunc.h:
9231         * lyxfunc.C:
9232         * kbmap.h:
9233         * kbmap.C:
9234         * lyxrc.C:
9235         * kbsequence.h:
9236         * kbsequence.C: part re-write of old kb code
9237
9238         * Painter.C:
9239         * WorkArea.C: remove Lgb_bug_find_hack
9240
9241 2001-11-30  José Matos <jamatos@fep.up.pt>
9242
9243         * buffer.C (makeDocBookFile): add a comment to point a hack.
9244         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
9245         Fixed a double write of labels.
9246
9247 2001-11-29 Ben Stanley <bds02@uow.edu.au>
9248
9249         * LaTeX.C:
9250         * LaTeX.h Fixed bug in LaTeX class where it would not
9251         re-run latex if no depfiles were changed, but the .dvi was removed.
9252
9253 2001-11-28  André Pönitz <poenitz@gmx.net>
9254
9255         * all the files from the change on 2001/11/26:
9256         use lyx::layout_type instead of LyXTextClass::size_type
9257         use lyx::textclass_type instead of LyXTextClassList::size_type
9258
9259 2001-11-29  Juergen Vigna  <jug@sad.it>
9260
9261         * text.C: added support for paragraph::isFreeSpacing()
9262
9263         * buffer.C: same as above
9264
9265         * paragraph.h: inserted isFreeSpacing() function to enable
9266         FreeSpacing inside InsetERT.
9267
9268         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
9269         of the paragraph's in the cut/copy buffer to 0!
9270
9271         * text2.C (removeRow): remove the assert as it can!
9272
9273         * lyxtext.h: added helper function firstRow returning firstrow and
9274         made firstrow private again.
9275
9276         * BufferView2.C (lockInset): don't relock if we're already locked!
9277
9278         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
9279         the only paragraph.
9280         (removeRow): added Assert::(firstrow)
9281
9282         * debug.C: forgot to add INSETTEXT here.
9283
9284 2001-11-28  Juergen Vigna  <jug@sad.it>
9285
9286         * sp_spell.C (initialize): changed error text to more general
9287         spellchecker command use (not only ispell!)
9288
9289         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
9290
9291         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
9292
9293 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
9294
9295         * vspace.C: initialise lyxgluelength on failure
9296
9297 2001-11-28  Allan Rae  <rae@lyx.org>
9298
9299         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
9300         declaration & definition that looks like a function declaration.
9301
9302 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9303
9304         * BufferView2.C (copy):
9305         (copyEnvironment): do not clear the selection when doing a copy.
9306
9307         * text.C (paintFirstRow): compilation fix
9308
9309 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
9310
9311         * tabular.C (Latex): correct line count when writing latex.
9312
9313 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
9314
9315         * paragraph_pimpl.h:
9316         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
9317           bug a bit
9318
9319 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
9320
9321         * text.C:
9322         * LColor.h:
9323         * LColor.C: change vfillline->added_space
9324
9325         * text.C: add markers and text for added space
9326
9327         * vspace.C: fix comment
9328
9329 2001-11-28  André Pönitz <poenitz@gmx.net>
9330
9331         * paragraph.C: whitespace changes
9332         * all the other files from the change on 2001/11/26:
9333         change *::pos_type into lyx::pos_type
9334
9335 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
9336
9337         * buffer.C (parseSingleLyXformat2Token): Set the language to the
9338         language of the document when inserting error insets.
9339
9340 2001-11-26  André Pönitz <poenitz@gmx.net>
9341
9342         * BufferView_pimpl.[Ch]:
9343         *       CutAndPaste.C:
9344         * buffer.[Ch]:
9345         * lyxcursor.[Ch]:
9346         * lyxfind.C:
9347         * lyxfunc.C:
9348         * lyxrow.[Ch]:
9349         * paragraph.[Ch]:
9350         * paragraph_pimpl.[Ch]:
9351         * sp_spell.C:
9352         * text.C:
9353         * text2.C: reduce header dependencies, introduce type for positions
9354
9355 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
9356
9357         * <various>: change to use Alert.h
9358
9359 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
9360
9361         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
9362         when encountering an unknown token.
9363         (readLyXformat2): Show an error message if there were unknown tokens.
9364
9365 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
9366
9367         * BufferView2.C:
9368         * BufferView_pimpl.C:
9369         * buffer.C:
9370         * paragraph.h:
9371         * text.C:
9372         * text2.C: use par->isInset()
9373
9374 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
9375
9376         * paragraph_pimpl.h:
9377         * paragraph_pimpl.C: cleanup
9378
9379 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9380
9381         * text2.C (removeRow):
9382         * text.C (setHeightOfRow): remove useless (and costly) call to
9383         getRow.
9384
9385 2001-11-20  Allan Rae  <rae@lyx.org>
9386
9387         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
9388         Now need Inset*::checkInsertChar() to return true for appropriate
9389         cases so that the characters in the minibuffer will actually be
9390         inserted.
9391
9392 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9393
9394         * text.C: change the order of the includes.
9395         (workWidth): initialize it at once.
9396         (workWidth): make maxw unsigned
9397         (setHeightOfRow): remove unused variable (inset)
9398         (selectSelectedWord): remove unused variable (inset)
9399         (paintRowText): fix drawing of hfill characters, and clean up a bit.
9400
9401 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9402
9403         * lyxserver.C (emergencyCleanup): do not try to close pipes if
9404         server is not running.
9405         (openConnection):
9406         (closeConnection): add debug info when server is disabled.
9407
9408         * ColorHandler.C (getGCForeground): send debug message to GUI
9409         channel.
9410
9411         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
9412
9413         * kbmap.C (bind): modify because return conventions of
9414         kb_sequence::parse have changed.
9415
9416         * kbsequence.C (parse): only ignore spaces and not any stupid
9417         control character. This avoids tests like s[i] <= ' ', which are
9418         guaranteed to fail with 8bit characters and signed chars.
9419         Change return code to string::npos when there have been no error
9420         (0 was a bad idea when error is at first character)
9421
9422 2001-11-14  José Matos  <jamatos@fep.up.pt>
9423
9424         * buffer.h:
9425         * buffer.C (simpleDocBookOnePar): removed unused argument.
9426
9427 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9428
9429         * text.C (selectNextWordToSpellcheck): do not test explicitely for
9430         insets which are part of a word. Paragraph::isLetter takes care of
9431         that now. Use Paragraph::isInset to identify insets.
9432         (selectSelectedWord): do not test for hyphenation break.
9433
9434         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
9435         that protected spaces are considered as spaces.
9436
9437         * paragraph.C (isLetter): cleanup the code for ispell extras; use
9438         Inset::isLetter.
9439
9440 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
9441
9442         * lyxserver.h:
9443         * lyxserver.C: fix it. and small cleanup.
9444
9445 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
9446
9447         * BufferView_pimpl.C: use inline helpers
9448
9449         * LaTeXFeatures.h:
9450         * LaTeXFeatures.C: fix typos
9451
9452         * Spacing.h:
9453         * Spacing.C: move spacing_string into class
9454
9455         * ToolbarDefaults.C: move stuff into namespace anon
9456
9457         * layout.h: update enum
9458
9459         * lyxfunc.C: use better debug
9460
9461         * minibuffer.h: fix typo
9462
9463         * debug.h:
9464         * debug.C:
9465         * WorkArea.C: add and use Debug::WORKAREA
9466
9467         * lyxtext.h:
9468         * text.C:
9469         * text2.C: code re-organisation, inline helpers
9470
9471 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
9472
9473         * Layout.C: replaced a few cases of std::vector.size() == 0 with
9474         std::vector.empty().
9475
9476 2001-11-09  Allan Rae  <rae@lyx.org>
9477
9478         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
9479         '\n's after tables.  Tabular and ERT inset work now makes this no
9480         longer necessary.
9481
9482 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
9483
9484         * minibuffer.h:
9485         * minibuffer.C: fix crash, improve drop-down completion
9486
9487 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
9488
9489         * lyxserver.h:
9490         * lyxserver.C: invalidate fd's when doing endPipe()
9491
9492 2001-11-08  José Matos  <jamatos@fep.up.pt>
9493
9494         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
9495         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
9496
9497         * paragraph.h:
9498         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
9499
9500 2001-11-07  José Matos  <jamatos@fep.up.pt>
9501
9502         * buffer.h:
9503         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
9504         const qualifier.
9505
9506         * buffer.C (sgmlOpenTag):
9507         * buffer.C (sgmlCloseTag): removed debug info.
9508
9509         * buffer.h (sgmlOpenTag):
9510         * buffer.h (sgmlCloseTag): made public.
9511
9512 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9513
9514         * buffer.C (saveParamsAsDefaults):
9515         * lyx_cb.C (MenuLayoutSave): remove
9516
9517         * LyXAction.C (init):
9518         * commandtags.h:
9519         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
9520
9521 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9522
9523         * buffer.C (setPaperStuff): removed from here...
9524
9525         * bufferparams.C (setPaperStuff): ... and moved there.
9526
9527 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
9528
9529         * minibuffer.h:
9530         * minibuffer.C:
9531         * XFormsView.C: add support for drop-down completion
9532
9533 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
9534
9535         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
9536         commands.
9537
9538 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9539
9540         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
9541         disabled.
9542
9543 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
9544
9545         * lyx_main.C: change ref to known bugs
9546
9547 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
9548
9549         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
9550         to work around older babel problems.
9551
9552 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
9553
9554         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
9555
9556 2001-10-24  Juergen Vigna  <jug@sad.it>
9557
9558         * tabular-old.C (ReadOld): below variable changes reflected.
9559
9560         * tabular.[Ch]: added ltType struct for longtable header/footer
9561         defines and changed all instances where they are used. Added
9562         future support for double top/bottom rows.
9563
9564 2001-10-24  José Matos  <jamatos@fep.up.pt>
9565
9566         * buffer.h (docbookHandleCaption):
9567         * buffer.C (docbookHandleCaption): removed unused function.
9568         (makeDocBookFile): moved docbook supported version to v4.1.
9569
9570 2001-10-24  José Matos  <jamatos@fep.up.pt>
9571
9572         * tabular.h:
9573         * tabular.C (docbookRow): new function to export docbook code of a row.
9574         (DocBook): now honors the longtable flags.
9575
9576 2001-10-23  José Matos  <jamatos@fep.up.pt>
9577
9578         * LaTeXFeatures.h:
9579         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
9580         of the lyx defined sgml entities used in a docbook/linuxdoc document.
9581
9582         * buffer.C (makeLinuxDocFile):
9583         (makeDocBookFile): reworked the preamble, more clean, and with
9584         support for lyx defined entities. Changed the document declaration
9585         to be more XML friendly.
9586
9587         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
9588         if we need to output XML that should be done with a filter.
9589
9590 2001-10-22  Juergen Vigna  <jug@sad.it>
9591
9592         * sp_pspell.h (class PSpell): add alive function needed in the
9593         controller to see if the spellchecker could be started.
9594
9595 2001-10-22  Juergen Vigna  <jug@sad.it>
9596
9597         * buffer.C (insertStringAsLines): modify the font for inserting
9598         chars in certain conditions by calling checkInsertChar(font).
9599
9600 2001-10-19  Juergen Vigna  <jug@sad.it>
9601
9602         * text.C (workWidth): use getRow instead of wrong algorithm.
9603         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
9604
9605 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
9606
9607         * lyxserver.h:
9608         * lyxserver.C:
9609         * lyx_main.h:
9610         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
9611
9612 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9613
9614         * text.C (workWidth): do not search for the exact row when
9615         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
9616         optimization for big documents.
9617
9618 2001-10-18  Juergen Vigna  <jug@sad.it>
9619
9620         * text.C (workWidth): new function with added Inset * parameter.
9621
9622 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9623
9624         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
9625
9626         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
9627         change return type of getColumnNearX.
9628
9629
9630         * text.C (changeRegionCase): use uppercase/lowercase instead of
9631         toupper/tolower.
9632         (leftMargin):
9633         (rightMargin): simplify code by factoring out the uses of
9634         textclasslist.
9635         (labelFill):
9636         (numberOfHfills):
9637         (setHeightOfRow):
9638         (appendParagraph): use Paragraph::size_type
9639
9640 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9641
9642         * vspace.C (asLatexString): add a missing break
9643
9644 2001-10-15  Herbert Voss  <voss@perce.de>
9645
9646         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
9647
9648 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9649
9650         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
9651         is not available.
9652
9653 2001-10-10  André Pönitz <poenitz@gmx.net>
9654
9655         * lyxfunc.C: removed greek_kb_flag.
9656
9657 2001-10-10  Herbert Voss  <voss@perce.de>
9658
9659         * lyx_main.C: delete global string help_lyxdir.
9660
9661 2001-10-09  Herbert Voss  <voss@perce.de>
9662
9663         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
9664
9665         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
9666
9667         * lyx_main.C: added global string help_lyxdir.
9668
9669         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
9670
9671 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
9672
9673         * lyxrc.C (set_font_norm_type): support iso8859-4
9674
9675 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
9676
9677         * LaTeX.C (deplog): add another regex for MikTeX
9678
9679 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
9680
9681         * lyxrc.C (set_font_norm_type): support iso8859-3
9682
9683 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9684
9685         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
9686
9687         * LaTeXFeatures.C: remove special case of french and index
9688
9689         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
9690         before \begin{document}). This solves several incompatibilities.
9691
9692 2001-10-03  Garst Reese  <reese@isn.net>
9693
9694         * lyx_cb.C: change CheckTex error msg.
9695
9696 2001-10-03  José Matos  <jamatos@fep.up.pt>
9697
9698         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
9699
9700 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9701
9702         * .cvsignore: update
9703
9704         * lyx_main.C (commandLineVersionInfo): use new style version info.
9705
9706         * buffer.C (writeFile):
9707         (makeLaTeXFile):
9708         (makeLinuxDocFile):
9709         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
9710
9711         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
9712
9713         * version.h: update to use stuff in version.C
9714
9715         * version.C.in: new file. Contains version information determined
9716         at compile time. This is a merging of version.h and
9717         version_info.h.in.
9718
9719 2001-10-03  Juergen Vigna  <jug@sad.it>
9720
9721         * BufferView_pimpl.C (update): don't change "dirty" status in
9722         updateInset call.
9723
9724 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
9725
9726         * WorkArea.C (c-tor): re-position version string slightly.
9727
9728 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
9729
9730         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
9731         revert to previous code.
9732
9733         WorkArea.[Ch]: (show, destroySplash): methods removed.
9734
9735         WorkArea.C: rework code so that it's an amalgam of the codes before and
9736         after the splash screen was moved to WorkArea.
9737
9738 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9739
9740         * lyxrc.C (read):
9741         * vspace.C (inPixels):
9742         (lyx_advance):
9743         * kbmap.C (bind):
9744         * buffer.C (insertStringAsLines):
9745         (asciiParagraph): fix types to be large enough
9746
9747         * lyxlex_pimpl.h: change member status from short to int
9748
9749         * layout.h: fix type of endlabeltype
9750
9751         * kbmap.C (bind):
9752         * kbsequence.C (parse): change return type to string::size_type
9753
9754         * LaTeX.C (updateBibtexDependencies): comment out unneeded
9755         variable
9756
9757         * Bullet.C (bulletSize):
9758         (bulletEntry): do not use short ints as parameters
9759
9760         * BufferView2.C (insertLyXFile): change a char to an int.
9761
9762         * WorkArea.C (WorkArea): remove unneeded floats in computation
9763
9764 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
9765
9766         * buffer.C (asciiParagraph): Treat '\\' as other chars.
9767
9768         * paragraph.C (asString): Do not ignore newline/hfill chars when
9769         copying to the clipboard.
9770
9771 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
9772
9773         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
9774         after a multi-line inset.
9775
9776 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
9777
9778         * paragraph.C (validate): Set NeedLyXFootnoteCode
9779
9780 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
9781
9782         * lyxfont.C (LyXSizeNames): changed increase-error to increase
9783         and decrease-error to decrease.
9784
9785 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9786
9787         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
9788         it more readable (should be equivalent)
9789
9790 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
9791
9792         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
9793
9794 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9795
9796         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
9797         of a cursor (row, etc.) after a character has been deleted
9798         (deleteEmptyParagraphMechanism): call the method above on _all_
9799         cursors held by the LyXText when a double space has been
9800         detected/deleted.
9801
9802 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
9803
9804         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
9805         pixmap.
9806         (resizeCurrentBuff): remove code to destroy the old splash dialog.
9807
9808         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
9809         background. Use greyOut() and the new show() methods to toggle between
9810         the foreground and background. Add code to remove the splash after
9811         its initial showing.
9812
9813         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
9814         (create_forms): no longer call Dialogs::showSplash.
9815
9816 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9817
9818         * .cvsignore: add version_info.h
9819
9820 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9821
9822         * version_info.h.in: new file
9823
9824         * Makefile.am: add version_info.h.in
9825
9826         * lyx_main.C (commandLineVersionInfo): use version_info defined in
9827         version_info.h instead of VERSION_INFO
9828
9829 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
9830
9831         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
9832         The ERT inset now returns string().
9833
9834 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
9835
9836         * lyxtext.h, text.C (selectNextWord): renamed as
9837         selectNextWordToSpellcheck.
9838
9839         * text.C (selectNextWordToSpellcheck): Modified to not select
9840         words inside an ERT inset.
9841
9842 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9843
9844         * lyx_cb.C (MenuLayoutSave): change a bit the question
9845
9846         * sp_base.h: include <sys/types.h>
9847
9848 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
9849
9850         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
9851
9852 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
9853
9854         * several files: fix typos in user-visible strings
9855
9856 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9857
9858         * text2.C (pasteSelection): do not set the selection, since it
9859         will be cleared later. Actually, the intent was to fix the way the
9860         selection was set, but I figured rmoving the code was just as good.
9861
9862 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
9863
9864         * FontLoader.C (available): Check if font is available without
9865         loading the font.
9866
9867 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
9868
9869         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
9870
9871 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
9872
9873         * lyxrc.[Ch]: added display_graphics variable and associated code.
9874
9875 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9876
9877         * bufferparams.C (hasClassDefaults): new method. Returns true if
9878         the buffer parameters correspond to known class defaults
9879
9880 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
9881
9882         * XFormsView.C (show): set minimum size to the main window.
9883
9884 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9885
9886         * text2.C (copySelection):
9887         (cutSelection):
9888         * lyxfind.C (LyXReplace):
9889         * BufferView_pimpl.C (Dispatch): pass the correct flag to
9890         LyXText::selectionAsString.
9891
9892         * paragraph.C (asString): add "label" argument to the second form
9893
9894         * text2.C (selectionAsString): add "label" argument and pass it to
9895         Paragraph::asString.
9896
9897 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9898
9899         * lyx_main.C (commandLineHelp): remove version information
9900
9901 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
9902
9903         * lyx_main.C: add -version commandline option
9904
9905 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9906
9907         * paragraph.h: make the optional constructor arg required instead.
9908         some modifications to other files because of this.
9909
9910         * minibuffer.C (C_MiniBuffer_peek_event): make it static
9911
9912         * lyxserver.C (C_LyXComm_callback): make it static
9913
9914         * lyx_main.C (error_handler): make it static
9915
9916         * lyx_gui.C (LyX_XErrHandler): make it static
9917
9918         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
9919
9920         * WorkArea.C: make the extern "C" methods static.
9921
9922         * Makefile.am (lyx_LDADD): simplify
9923
9924 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
9925
9926         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
9927         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
9928
9929         * LyXAction.C (init):
9930         * lyxfunc.C (dispatch): associated code removal.
9931
9932 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9933
9934         * lyxfont.h (isSymbolFont): shut off warning
9935
9936         * text.C (setHeightOfRow):
9937         (getVisibleRow): fix crash with empty paragraphs which have a
9938         bottom line
9939
9940 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
9941
9942         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
9943         code.
9944
9945 2001-09-04  José Matos  <jamatos@fep.up.pt>
9946         * buffer.C
9947         * buffer.h
9948         * tabular.C (docbook): rename docBook method to docbook.
9949
9950 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
9951
9952         * Makefile.am: add dependencies to main.o.
9953
9954 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
9955
9956         * FontLoader.C (available): Return false if !lyxrc.use_gui
9957
9958 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
9959
9960         * FontInfo.C (query):
9961         * converter.C (view):
9962         * importer.C (Import):
9963         * exporter.C (Export): Can not -> cannot.
9964
9965 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
9966
9967         * BufferView_pimpl.C: allow to create index inset even if
9968           string is empty
9969
9970 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
9971
9972         * buffer.C (getLists): replace boost::tie code with an explicit pair
9973         as boost::tie can break some compilers.
9974
9975         * iterators.h: Added a std:: declaration to the return type of
9976         ParIterator::size.
9977
9978 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
9979
9980         * lyxrc.C: add help for view_dvi_paper_option, default to safe
9981           case.
9982
9983 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
9984
9985         * iterators.[Ch]: New files. Provide paragraph iterators.
9986
9987         * buffer.C (changeLanguage): Use paragraph iterators.
9988         (isMultiLingual): ditto
9989
9990         * BufferView2.C (ChangeInsets): Use paragraph iterators.
9991
9992 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
9993
9994         * FontLoader.C: Support for cmr font.
9995
9996 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
9997
9998         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
9999         (available): New method.
10000
10001         * FontInfo.C (getFontname): Use scalable fonts even when
10002         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
10003         found.
10004
10005 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
10006
10007         * converter.C (Formats::view): reverted! Incorrect fix.
10008
10009 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
10010
10011         * converter.C (Formats::view): only output the -paper option
10012         if the dvi viewer is xdvi, thereby fixing bug #233429.
10013
10014 2001-08-23  Herbert Voss  <voss@perce>
10015
10016         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
10017
10018 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
10019
10020         * Spacing.h (Spacing): Set space to Default on in the default
10021         constructor.
10022
10023 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10024
10025         * vc-backend.h (RCS::versionString): add RCS to version
10026         (CVS::versionString): add CVS to version
10027
10028         * vc-backend.C (scanMaster): do not add CVS to version.
10029         (scanMaster): do not add RCS to version
10030
10031         * lyxvc.C (versionString): new method
10032
10033         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
10034
10035 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10036
10037         * Spacing.C (set): initialize fval
10038
10039 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
10040
10041         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
10042         " or \.
10043
10044 2001-08-16  Juergen Vigna  <jug@sad.it>
10045
10046         * lyxfunc.C (dispatch): implemented the new FINISHED states.
10047
10048 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
10049
10050         * BufferView_pimpl.C:
10051         * figureForm.C:
10052         * lyxtext.h:
10053         * text2.C: setParagraph takes linespacing now
10054
10055 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
10056
10057         * LyxAction.C: add internal LFUN_CITATION_INSERT
10058
10059         * LyXView.C: actually apply fix
10060
10061         * bufferlist.C: fix open non-existent file
10062
10063         * lyxfind.C: fix indentation
10064
10065         * lyxfunc.C: remove unneeded assert, fix typo
10066
10067 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
10068
10069         * MenuBackend.C: use "Floatname List"
10070
10071 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
10072
10073         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
10074         when converting LaTeX layout to insetERT.
10075         Generate a non-collapsed float when reading old float
10076
10077 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
10078
10079         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
10080         ERT insets.
10081
10082 2001-08-13  Juergen Vigna  <jug@sad.it>
10083
10084         * text.C (fill): return 0 instead of 20 as this seems to be the more
10085         correct value.
10086
10087 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
10088
10089         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
10090         lyxrc.font_norm.
10091
10092 2001-08-13  Juergen Vigna  <jug@sad.it>
10093
10094         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
10095         casesensitive off.
10096         (SearchBackward): comment out the unlocking of the inset_owner this
10097         should not be needed!
10098
10099 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
10100
10101         * Many files: Remove inherit_language, and add latex_language
10102
10103         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
10104         collapsible insets.
10105
10106 2001-08-10  Juergen Vigna  <jug@sad.it>
10107
10108         * text.C (prepareToPrint): fixed hfill-width in draw!
10109
10110         * BufferView2.C (selectLastWord): save the selection cursor as this
10111         now is cleared in the function LyXText::clearSelection!
10112
10113 2001-08-08  Juergen Vigna  <jug@sad.it>
10114
10115         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
10116         BACKSPACE type functions.
10117
10118         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
10119         is only cutted from the document but not put in the cut-buffer, where
10120         still the old stuff should be.
10121
10122         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
10123
10124         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
10125
10126         * tabular.C (SetWidthOfCell): fixed special case where the width
10127         was not updated!
10128         (LeftLine): handle '|' in align_special.
10129         (RightLine): ditto
10130         (LeftAlreadyDrawed): ditto
10131         (SetWidthOfCell): ditto
10132
10133 2001-08-07  Juergen Vigna  <jug@sad.it>
10134
10135         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
10136
10137 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10138
10139         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
10140         * lyxlex.[hC]: ditto
10141
10142 2001-08-06  Juergen Vigna  <jug@sad.it>
10143
10144         * text.C (getVisibleRow): fix up row clearing a bit.
10145
10146 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10147
10148         * minibuffer.C: make sure the X server sees the changes in the input.
10149
10150 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10151
10152         * paragraph.C (getFont): split into...
10153         (getLabelFont): this
10154         (getLayoutFont): and this
10155         * paragraph_pimpl.C (realizeFont): calling this
10156
10157         * text2.C (getFont): split into...
10158         (getLayoutFont): this
10159         (getLabelFont): and this
10160         (realizeFont): all three calling this
10161
10162         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
10163         files where used.
10164
10165 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10166
10167         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
10168
10169 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
10170
10171         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
10172         layouts from the Quote inset insertion.
10173
10174 2001-08-03  Juergen Vigna  <jug@sad.it>
10175
10176         * BufferView_pimpl.C (update): do the fitCursor only at the end!
10177
10178         * screen.C (drawFromTo): don't call fitcursor here and do the loop
10179         only if status not is already CHANGED_IN_DRAW (second level).
10180
10181         * text.C (draw): don't set the need_break_row when inside an
10182         InsetText LyXText.
10183
10184 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10185
10186         * buffer.C (parseSingleLyXformat2Token): handle more latex
10187         conversion cases.
10188
10189         * bufferview_funcs.[hC]: change function names to
10190         begin with small char, adjust other files.
10191
10192 2001-08-02  André Pönitz <poenitz@gmx.net>
10193
10194         * lyxfunc.C:
10195         BufferView_pimpl.C: remove broken special code for math-greek
10196
10197 2001-08-02  Juergen Vigna  <jug@sad.it>
10198
10199         * BufferView_pimpl.C (update): redone this function so that we
10200         update the text again if there was a CHANGE_IN_DRAW.
10201
10202         * screen.C (cursorToggle): removed LyXText parameter and recoded.
10203         (drawFromTo): added a new internal bool which is used by draw() and
10204         redraw() function.
10205         (general): some cursor drawing problems fixed.
10206
10207 2001-08-01  Juergen Vigna  <jug@sad.it>
10208
10209         * lyxfind.C (LyXFind): fixed
10210         (SearchForward): ditto
10211         (SearchBackward): ditto
10212
10213         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
10214         spurius drawing of the cursor in the main area.
10215
10216         * text2.C (status): small fix which could lead to a segfault!
10217         (clearSelection): remove unneeded BufferView param.
10218
10219 2001-08-01  André Pönitz <poenitz@gmx.net>
10220
10221         * lyxfunc.C: small change due to changed mathed interface
10222
10223 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10224
10225         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
10226
10227 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
10228
10229         * lyxfunc.c: fail gracefully if file doesn't exist
10230
10231         * LyXSendto.C:
10232         * buffer.C:
10233         * lyxfunc.C:
10234         * BufferView_pimpl.C: IsDirWriteable() proto changed
10235
10236         * LyXView.C: fix updateWindowTitle() to store the last title
10237
10238 2001-07-31  Juergen Vigna  <jug@sad.it>
10239
10240         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
10241         the font (wrong since using of Paragraph::highestFontInRange).
10242
10243         * paragraph.C (highestFontInRange): added a default_size parameter.
10244
10245         * text.C (getVisibleRow): minor clear row changes (still not perfect).
10246         (setHeightOfRow): reformat
10247
10248 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10249
10250         * converter.[hC] + affected files: move to (inital-char)lowercase
10251         function names.
10252
10253         * ParagraphParameters.C (ParagraphParameters): remove commented code
10254
10255         * PainterBase.[Ch]: remove commented code
10256
10257         * LaTeXFeatures.h: add "bool floats" for float.sty
10258
10259         * LaTeXFeatures.C (LaTeXFeatures): init floats
10260         (require): handle float
10261         (getPackages): do it with floats
10262
10263 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10264
10265         * BufferView_pimpl.C (Dispatch): improve handling of
10266         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
10267
10268         * commandtags.h: #include lyxfont.h here temporarily to avoid
10269         keybinding bug.
10270
10271         * bufferlist.h: include LString.h here.
10272
10273 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10274
10275         * text2.C (getStringToIndex): new method.
10276
10277 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
10278
10279         * *: Reduced header file dependencies all over.
10280
10281 2001-07-30  Baruch Even  <baruch@lyx.org>
10282
10283         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
10284
10285 2001-07-29  Baruch Even  <baruch@lyx.org>
10286
10287         * buffer.C (readInset): Changed GRAPHICS to Graphics.
10288
10289 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10290
10291         * ParameterStruct.h (endif): add a default constructor to make
10292         sure that all variables is initialized.
10293
10294         * ParagraphParameters.C (ParagraphParameters): adjust
10295
10296 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10297
10298         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
10299         index; also, check that there is something to index, and that it
10300         does not span over several paragraphs.
10301         (doubleClick): use WHOLE_WORD_STRICT for double click.
10302
10303         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
10304
10305         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
10306         scheme.
10307
10308 2001-07-26  Baruch Even  <baruch@lyx.org>
10309
10310         * buffer.C (readInset): Changed to call up InsetGraphics when reading
10311         an InsetFig figure, backwards compatible reading of old figure code.
10312
10313 2001-07-27  Juergen Vigna  <jug@sad.it>
10314
10315         * text2.C: font.realize function adaption.
10316
10317         * text.C (draw): add a warnings lyxerr text if needed.
10318
10319         * layout.C: font.realize function adaption.
10320
10321         * language.C: add inherit_language and implement it's handlings
10322
10323         * bufferview_funcs.C (StyleReset): remove language parameter from
10324         font creation (should be language_inherit now).
10325
10326         * bufferparams.C (writeFile): handle ignore_language.
10327
10328         * paragraph.C (getFontSettings): the language has to be resolved
10329         otherwise we have problems in LyXFont!
10330
10331         * lyxfont.C (lyxWriteChanges): added document_language parameter
10332         (update): removed unneeded language parameter
10333
10334         * paragraph.C (validate): fixed wrong output of color-package when
10335         using interface colors for certain fonts in certain environments,
10336         which should not seen as that on the final output.
10337
10338 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
10339
10340         * BufferView_pimpl.C:
10341         * Thesaurus.h:
10342         * Thesaurus.C:
10343         * Makefile.am:
10344         * commandtags.h:
10345         * LyXAction.C: add thesaurus support
10346
10347         * lyxfind.h:
10348         * lyxfind.C: add "once" parameter, for thesaurus, to not
10349           move to the next match
10350
10351 2001-07-26  Juergen Vigna  <jug@sad.it>
10352
10353         * lyxfont.C (realize): honor ignore_language too!
10354         (resolved): ditto.
10355
10356         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
10357
10358         * text.C (draw): one place more for ignore_language to not draw
10359         itself!
10360
10361 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
10362
10363         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
10364
10365 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10366
10367         * buffer.C (parseSingleLyXformat2Token): a more general fix for
10368         the minipage conversion problem.
10369
10370 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10371
10372         * buffer.C (parseSingleLyXformat2Token): check minipage if we
10373         insert an inset.
10374
10375 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10376
10377         * BufferView.h: don't forward declare WorkArea
10378
10379         * BufferView.C: don't include WorkArea.h
10380
10381 2001-07-25  André Pönitz <poenitz@gmx.net>
10382
10383         * commandtags.h:
10384         * LyXAction.C:
10385         * lyxfunc.C:  new LFUN 'math-space'
10386
10387         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
10388
10389 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10390
10391         * text2.C (toggleInset): call open/close
10392
10393 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10394
10395         * lyxfunc.C (dispatch): add debug for the disabled case
10396
10397         * font.C (buttonText): make similar to rectText
10398
10399         * buffer.C (readInset): comment out parsing of insetlist and
10400         insttheorem
10401
10402         * PainterBase.C (rectText): small correction
10403
10404         * BufferView_pimpl.C: comment out insettheorem and insetlist
10405         * LyXAction.C: ditto
10406         * commandtags.h: ditto
10407
10408 2001-07-24  Juergen Vigna  <jug@sad.it>
10409
10410         * text.C (draw): honor the ignore_language.
10411
10412         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
10413
10414 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10415
10416         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
10417         char inset.
10418
10419 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
10420
10421         * lyxtext.h: remove unused (and unimplemented) methods
10422
10423 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
10424
10425         * text.C (getVisibleRow): honor background color
10426
10427         * PainterBase.h:
10428         * Painter.h: remove default color argument for fillRectangle
10429
10430         * text.C (backgroundColor): new method
10431
10432 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10433
10434         * text.C (getVisibleRow): adjust
10435
10436         * font.[Ch] (rectText): new method, metrics
10437         (buttonText): new method, metrics
10438
10439         * PainterBase.[hC]: make rectText and buttonText always draw and take
10440         fewer paramteres.
10441
10442 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
10443
10444         * ToolbarDefaults.C (read):
10445         * MenuBackend.C (read): allow escaping in all strings
10446
10447         * BufferView_pimpl.C (insertAndEditInset): new method.
10448         (Dispatch): use insertAndEditInset whenever appropriate.
10449
10450         * BufferView_pimpl.C (insertNote): removed
10451
10452         * BufferView_pimpl.C (smartQuote): new method, moved from
10453         BufferView; if an insetquote cannot be inserted, insert a '"'
10454         character instead.
10455
10456         * BufferView2.C: remove insertCorrectQuote();
10457
10458         * lyxfunc.C (getStatus): Add support for all remaingin
10459         inset-insert lfuns.
10460
10461         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
10462
10463         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
10464         command (necessary to pass " as parameter of self-insert.
10465
10466         * text.C (selectWordWhenUnderCursor):
10467         (selectWord): add word_location parameter
10468         (selectWordWhenUnderCursor): same + remove special code for word
10469         boundary.
10470         (selectNextWord): use kind() to guess type of insetspecialchar,
10471         not latex().
10472
10473         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
10474         (insertErtContents): create ert insets as collapsed.
10475         (readInset): better compatibility code for Info inset.
10476
10477 2001-07-20  Juergen Vigna  <jug@sad.it>
10478
10479         * lyxfunc.C (dispatch): use always LyXFind now!
10480
10481         * text2.C (init): add a reinit flag so that the LyXText can be
10482         reinited instead of deleted and reallocated (used in InsetText).
10483
10484         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
10485
10486         * text.C: ditto
10487
10488         * text2.C: ditto
10489
10490 2001-07-18  Juergen Vigna  <jug@sad.it>
10491
10492         * text.C (selectNextWord): handle insets inside inset by calling
10493         always the bv->text functions so that we can go up the_locking_inset!
10494
10495         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
10496         in strange locations when inside an inset!
10497
10498         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
10499         handling to include insets.
10500
10501         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
10502
10503 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10504
10505         * LyXAction.C (init):
10506         * commandtags.h:
10507         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
10508         LIGATURE_BREAK, since the name is so stupid.
10509
10510 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
10511
10512         * buffer.C (readInset): enable reading of new InsetNotes as well as old
10513         InsetInfos.
10514
10515         * FontLoader.C: remove FORMS_H_LOCATION cruft.
10516
10517         * sp_form.[Ch]: remove.
10518
10519         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
10520
10521         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
10522         InsetInfo.
10523
10524         * src/buffer.C (readInset): ditto.
10525
10526 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
10527
10528         * BufferView_pimpl.C (specialChar): new method. Obsoletes
10529         menuSeparator(), endOfSentenceDot(), ldots() and
10530         hyphenationPoint(), which are therefore removed.
10531         (Dispatch): handle LFUN_HYPHENATION_BREAK.
10532
10533         * LyXAction.C (init):
10534         * commandtags.h: add LFUN_HYPHENATION_BREAK.
10535
10536         * paragraph.C (getWord): removed.
10537
10538         * BufferView_pimpl.C (Dispatch): use last word or selection for
10539         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
10540
10541         * lyx_main.C (queryUserLyXDir): do not ask before creating
10542         user_dir, except if it has been named explicitely.
10543
10544 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
10545
10546         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
10547         a document of zero size.
10548
10549 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
10550
10551         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
10552         approriately in the c-tor and in require().
10553         (getPackages): output the appropriate LaTeX for natbib support.
10554
10555         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
10556         variables "use_natbib" and "use_numerical_citations" when reading the
10557         LyX file.
10558         (readInset): read the various natbib cite commands.
10559         (validate): white-space change.
10560
10561         * bufferparams.[Ch]: new variables "bool use_natbib" and
10562         "bool use_numerical_citations".
10563         (writeFile): output them in the LyX file.
10564
10565 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
10566
10567         * lyxfunc.C (getStatus): add support for all the inset insertion
10568         commands.
10569
10570         * text2.C (insertInset):
10571         * paragraph.C (insetAllowed):
10572         * BufferView_pimpl.C (insertInset): update to take in account the
10573         renaming of insertInsetAllowed
10574
10575         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
10576
10577         * text2.C (getInset): new method. returns inset at cursor position.
10578
10579         * BufferView_pimpl.C (Dispatch): changes because of this.
10580
10581         * LyXAction.C (init): rename open-stuff to inset-toggle.
10582
10583         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
10584
10585         * text2.C (toggleInset): renamed from openStuff; use
10586         Inset::open().
10587
10588 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
10589
10590         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
10591
10592         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
10593
10594 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
10595
10596         * buffer.C (readLyXformat2): Add filename to the error dialog
10597
10598 2001-07-18  Juergen Vigna  <jug@sad.it>
10599
10600         * tabular.C (GetCellNumber): put an assert here instead of the check!
10601
10602 2001-07-17  Juergen Vigna  <jug@sad.it>
10603
10604         * BufferView_pimpl.C (toggleSelection): adapted too.
10605
10606         * text.C (selectNextWord): adapted for use with insets.
10607         (selectSelectedWord): ditto
10608
10609 2001-07-17  Juergen Vigna  <jug@sad.it>
10610
10611         * sp_spell.C (PSpell): fix initialitation order.
10612
10613 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10614
10615         * paragraph.C: spacing
10616
10617 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
10618
10619         * sp_spell.C: repair language selection for pspell
10620
10621 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10622
10623         * lyxfunc.h: change more methods to begin with lower char.
10624
10625 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
10626
10627         * buffer.C (parseSingleLyXformat2Token): Generate error insets
10628         for unknown layouts.
10629
10630 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
10631
10632         * buffer.C (readLyXformat2): Generate an error dialog if there are
10633         unknown layouts.
10634
10635 2001-07-16  Juergen Vigna  <jug@sad.it>
10636
10637         * sp_spell.C: always compile ISpell part.
10638
10639         * lyxrc.C: added use_pspell entry and it's handling.
10640
10641 2001-07-13  Juergen Vigna  <jug@sad.it>
10642
10643         * sp_spell.C: removed double includes.
10644
10645 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
10646
10647         Consistent use of Lsstream.h:
10648         * Lsstream.h: added using std::stringstream for consistencies sake.
10649
10650         * buffer.C: removed using std::stringstream
10651
10652         * lyxfont.C (stateText):
10653         * paragraph.C (asString):
10654         * text.C (selectNextWord, selectSelectedWord):
10655         * text2.C (setCounter):
10656         * vspace.C (asString, asLatexString):
10657         std::ostringstream -> ostringstream.
10658
10659 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
10660
10661         * LyXAction.C: add LFUN_HELP_ABOUTLYX
10662         * commandtags.h: add LFUN_HELP_ABOUTLYX
10663         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
10664
10665 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
10666
10667         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
10668         cursorToggle()
10669         * lyx_gui_misc.C: remove spellchecker
10670         * lyxfunc.C: showSpellchecker
10671         * sp_base.h: added
10672         * sp_ispell.h: added
10673         * sp_pspell.h: added
10674         * sp_spell.C: added
10675         * sp_form.[Ch]: removed
10676         * spellchecker.[Ch]: removed
10677
10678 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
10679
10680         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
10681         is set.
10682         (simpleTeXSpecialChars): Simply print the input character without
10683         any special translation if pass_thru is set.
10684
10685         * layout.h: Added bool pass_thru to layout class for being able to
10686         implement pass through of a paragraph for Literate Programming.
10687
10688         * layout.C: add LT_PASS_THRU to LayoutTags enum.
10689         * layout.C (LyXLayout): set pass_thru to flase in constructor.
10690         * layout.C (Read): add "passthru" to list of layout tags and add
10691         code to set the pass_thru boolean when it is read.
10692
10693 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10694
10695         * trans_decl.h: remove allowed from KmodInfo
10696
10697         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
10698         remove allowed code
10699         (Load): adjust
10700
10701         * paragraph_pimpl.C (erase): use boost::prior
10702
10703         * Painter.C (text): use data() instead of c_str() when length is
10704         also provided.
10705         * WorkArea.C (putClipboard): ditto
10706         * font.h (width): ditto
10707
10708         * BufferView2.C: use it-> instead of (*it). for iterators
10709         * texrow.C: ditto
10710         * paragraph_pimpl.C: ditto
10711         * paragraph.C: ditto
10712         * minibuffer.C: ditto
10713         * language.C: ditto
10714         * kbmap.C: ditto
10715         * encoding.C: ditto
10716         * counters.C: ditto
10717         * converter.C: ditto
10718         * chset.C: ditto
10719         * Variables.C: ditto
10720         * TextCache.C: ditto
10721         * MenuBackend.C: ditto
10722         * LyXAction.C: ditto
10723         * LColor.C: ditto
10724         * FloatList.C: ditto
10725         * DepTable.C: ditto
10726         * ColorHandler.C (LyXColorHandler): ditto
10727
10728 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10729
10730         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
10731
10732         * text2.C (openStuff): reintroduce this method (which had been
10733         nuked in NEW_INSETS frenzy).
10734
10735         * lyxfunc.C (Dispatch): when an action has not been handled, use
10736         its name in the error message, not its number.
10737
10738         * paragraph.C (inInset): change method name to begin with lowercase.
10739
10740         * undo_funcs.C:
10741         * text2.C: updates because of this.
10742
10743 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10744
10745         * ToolbarDefaults.C (add): add spaces in error message
10746
10747 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10748
10749         * buffer.C (readLyXformat2): initialize the ert comp. variables.
10750         (readLyXformat2): rename return_par to first_par, use lyxlex's
10751         pushToken and remove the manual push handling.
10752         (parseSingleLyXformat2Token): add another ert comp. variable:
10753         in_tabular, rename return_par to first_par. handle newlines better
10754
10755 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10756
10757         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
10758
10759 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10760
10761         * text2.C (getParFromID): removed
10762
10763         * buffer.C (getParFromID): new method moved form lyxtext.
10764         * BufferView2.C (insertErrors): adjust
10765         (setCursorFromRow): adjust
10766         * BufferView_pimpl.C (restorePosition): adjust
10767         * lyxfunc.C (Dispatch): adjust
10768         * undo_funcs.C (textUndo): adjust
10769         (textRedo): adjust
10770         (textHandleUndo): adjust
10771         (textHandleUndo): adjust
10772
10773 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10774
10775         * buffer.C: up' the LYX_FORMAT
10776
10777         * lyxfont.h: turn NO_LATEX on as default
10778
10779         * buffer.C (insertErtContents): new methods of tex style compability.
10780         (parseSingleLyXformat2Token): use it several places.
10781         * tabular.C (OldFormatRead): and here
10782
10783 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10784
10785         * text2.C: remove some commented code.
10786         reindent file.
10787
10788         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
10789         * trans.C: changes because of the above.
10790
10791 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
10792
10793         * text2.C (setCounter): Fix counters bug with bibliography layout.
10794
10795 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10796
10797         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
10798         own member functions
10799         (simpleTeXSpecialChars): ditto
10800
10801 2001-07-06  Juergen Vigna  <jug@sad.it>
10802
10803         * a lot of files: changed the access to LyXText::status and the
10804         call of undo-functions.
10805
10806         * undo.[Ch]: added a inset_id to the undo informations.
10807
10808         * undo_funcs.[Ch]: added and moved here all undo functions.
10809
10810         * lyxtext.h: give the status enum a weight, made status_ a private
10811         variable and made accessor functions for it, removed the whole bunch
10812         of undo-functions as they are now in their own file, make some
10813         functions publically available. Added function ownerParagraph with
10814         int parameter.
10815
10816         * paragraph.[Ch]: added "bool same_ids" to the constructor,
10817         made InInset() a const function, added getParFromID() function.
10818
10819         * buffer.[Ch]: added const version for inset_iterator functions,
10820         added getInsetFromID() function.
10821
10822         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
10823         changed undo functions for new version.
10824
10825 2001-07-05  Juergen Vigna  <jug@sad.it>
10826
10827         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
10828         unknow mechanism does not call the proper constructor but only this
10829         one also if I request the other!?
10830
10831 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10832
10833         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
10834
10835         * text2.C (LyXText): use initialization lists.
10836
10837         * lyxtext.h (Selection): initialize set_ and mark_
10838         (init): remove method
10839
10840 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
10841
10842         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
10843
10844 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10845
10846         * screen.[Ch]: change method names to begin with lowercase
10847
10848         * BufferView_pimpl.C (updateScrollbar): simplify further and
10849         hopefully make it a bit faster.
10850
10851 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10852
10853         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
10854         calling directly xforms functions.
10855
10856         * Painter.C (Painter):
10857         * lyx_cb.C (MenuWrite):
10858         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
10859         fl_display.
10860
10861         * lyx_gui.C: remove bogus guiruntime extern declaration.
10862
10863 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10864
10865         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
10866         in NEW_INSETS
10867         (redoDrawingOfParagraph): ditto
10868         (redoParagraphs): ditto
10869         (cutSelection): don't create a object for CutAndPaste use the
10870         static method directly
10871         (pasteSelection): ditto
10872
10873         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
10874         LyXview (+ rename)
10875
10876 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10877
10878         * modifications to some other files because of this.
10879
10880         * Makefile.am (lyx_SOURCES): add XFormsView
10881
10882         * XFormsView.[Ch]: new files
10883
10884         * LyXView.[Ch]: make LyXView a base class for the gui handling for
10885         the main window. Move the gui dependent stuff to XFormsView
10886
10887 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10888
10889         * tabular.C (GetCellInset): update cur_cell also in the row/col
10890         version of this function.
10891
10892         * lyxfunc.C: no need to include figure_form.h here.
10893
10894         * FontLoader.h:
10895         * lyxfunc.h:
10896         * lyxscreen.h:
10897         * text2.C:
10898         * lyxvc.C: no need to include forms.h here.
10899
10900 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10901
10902         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
10903
10904         * lyxfunc.C (Dispatch):
10905         * Spacing.C (set):
10906         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
10907         constructor argument.
10908
10909 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10910
10911         * paragraph.C (Paragraph): dont't clear, and just set layout.
10912         (makeSameLayout): use params's copy contructor.
10913
10914         * ParagraphParameters.[Ch] (makeSame): delete method
10915
10916 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
10917
10918         * Variables.[Ch]: fix indentation, rename set to isSet
10919
10920 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10921
10922         * lyxfunc.C (Dispatch): fix typo
10923
10924 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10925
10926         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
10927         upper_bound.
10928
10929         * bufferlist.C: include assert.h for emergencyWrite().
10930
10931 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
10932
10933         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
10934           give up at last (bug #425202) !
10935
10936 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
10937
10938         * lyx_gui_misc.C:
10939         * sp_form.h:
10940         * sp_form.C:
10941         * spellchecker.h:
10942         * spellchecker.C: strip spellchecker options and bring up
10943           preferences tab instead
10944
10945 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10946
10947         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
10948         the istringstream constructor
10949
10950 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10951
10952         * paragraph.C (getLayout): fix return value
10953
10954         * paragraph.h: do not declare getLayout as inline.
10955
10956         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
10957
10958 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10959
10960         * lyxcursor.h (operator<): new func
10961         (operator>): new func
10962         (operator>=): new func
10963         (operator<=): new func
10964
10965         * text.C (changeCase): use selection.start and selection.end
10966         (changeRegionCase): require from to be <= to. Require par to be a
10967         valid paragraph.
10968
10969         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
10970
10971 2001-06-27  Juergen Vigna  <jug@sad.it>
10972
10973         * text.C (cursorLeftOneWord): changed to return the cursor and added
10974         overlay with BufferView * parameter which calls this one.
10975         (getWord): added
10976         (selectWord): use new getWord function.
10977         (changeCase): renamed from changeWordCase as and extended to work
10978         also on selections.
10979
10980         * lyxtext.h: added enum word_location
10981
10982         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
10983         changeCase as this operates now also on selections.
10984
10985 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
10986
10987         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
10988
10989         * many files: send debug output to Debug::INFO instead of
10990         Debug::ANY.
10991
10992         * converter.C (View):
10993         (Convert):
10994         (Move): send debug output to Debug::FILES instead of console.
10995
10996 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
10997
10998         * lyxfunc.C (getStatus): use func_status
10999
11000         * func_status.h: new header, describing the results of
11001         LyXFunc::getStatus;
11002
11003         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
11004         LFUN_MATH_HALIGN.
11005
11006 2001-06-25  The LyX Project  <jug@sad.it>
11007
11008         * buffer.C (sgmlOpenTag):
11009         (sgmlCloseTag):
11010         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
11011
11012 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11013
11014         * text2.C: remove some dead code
11015
11016         * tabular.C (GetCellInset): store the last cell checked (gotten)
11017
11018         * tabular.h: add the helper for the speedup
11019
11020         * lyxtext.h: remove some dead code
11021
11022 2001-06-26  The LyX Project  <Asger>
11023
11024         * paragraph.C: Change export to LaTeX of alignment to
11025         \begin{center} and family for better roundtrip work with reLyX.
11026
11027         * Tune the math drawing a bit.
11028
11029 2001-06-25  The LyX Project  <Asger>
11030
11031         * LColor.C (LColor): New color for math background. New color
11032         for buttons.
11033
11034 2001-06-25  The LyX Project  <jug@sad.it>
11035
11036         * lyxfunc.C (MenuNew): remove extra check for .lyx file
11037
11038         * lyxfunc.C (Open):
11039         * bufferlist.C (newFile): do not restrict to files ending with
11040         .lyx
11041
11042         * BufferView_pimpl.C (MenuInsertLyXFile):
11043
11044 2001-06-24  The LyX Project  <jug@sad.it>
11045
11046         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
11047         of compare_no_case
11048
11049 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11050
11051         * lyxtext.h: rename most methods to begin with a small char.
11052         Lots of changes because of this.
11053
11054         * paragraph.C (Paragraph): do not call fitToSize
11055         (erase): call Pimpl::erase
11056         (insertChar): call Pimpl::insertChar
11057         (insertInset): call Pipl::insertInset
11058         (breakParagraph): do not call fitToSize
11059         (breakParagraphConservative): do not call fitToSize
11060         (fitToSize): remove method
11061
11062         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
11063
11064 2001-06-24  The LyX Project  <Asger>
11065
11066         * Fix Qt compilation^2
11067
11068 2001-06-24  The LyX Project  <jug@sad.it>
11069
11070         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
11071         depthHook(getDepth()-1).
11072
11073         * paragraph.h:
11074         * ParagraphParameters.h:
11075         * ParameterStruct.h: change type of depth to unsigned int ==
11076         depth_type. Many adaptations to other files before of that.
11077
11078 2001-06-24  The LyX Project  <Asger>
11079
11080         * Fix Qt compilation.
11081
11082 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11083
11084         * paragraph.h: renamed several methods to begin with small letter.
11085         several changes to many parts of the code because of this.
11086
11087 2001-06-23  The LyX Project  <jug@sad.it>
11088
11089         * text2.C (InsertStringAsLines): renamed from InsertStringA;
11090         rewritten to discard all double spaces when KeepEmpty is off
11091         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
11092         to only handle newlines but not fiddle with spaces and friends.
11093
11094         * lyxfunc.C (MenuNew): when doing 'new from template', use
11095         template_path as default directory
11096
11097 2001-06-23  The LyX Project  <Asger>
11098
11099         * Clean-up of header file includes all over
11100         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
11101
11102 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11103
11104         * paragraph.h: renamed from lyxparagraph.h
11105
11106 2001-06-23  Asger  <lyx@violet.home.sad.it>
11107
11108         * Buffer.h: Removed Buffer::resize
11109         * BufferList.h: Removed BufferList::resize
11110         * LyXView.h: Added LyXView::resize. This way, we will only reflow
11111         the document lazily when we change the width, or the font settings.
11112
11113 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
11114
11115         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
11116
11117 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
11118
11119         * buffer.h: remove out of date comment
11120
11121 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
11122
11123         * lyxscreen.h:
11124         * screen.C: fix "theoretical" GC leak
11125
11126 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11127
11128         * LaTeX.C (scanAuxFile):
11129         (deplog): remove trailing \r when reading stream (useful under
11130         win32)
11131
11132 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
11133
11134         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
11135         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
11136         and BufferView::theLockingInset(Inset*), so should use them and not
11137         access bv_->text->the_locking_inset directly.
11138
11139         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
11140
11141 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
11142
11143         * Makefile.am:
11144         * tex-defs.h: remove old unused file
11145
11146 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
11147
11148         * BufferView_pimpl.C: fix typo, remove minibuffer message
11149           when buffer has loaded
11150
11151 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11152
11153         * lyxfunc.C (Dispatch): use stringstream
11154         (MenuNew): use stringstream
11155         (Open): use stringstream
11156
11157         * importer.C (Import): use stringstream
11158
11159         * bufferview_funcs.C (CurrentState): use stringstream
11160
11161         * LaTeX.C (run): use stringstream
11162
11163         * BufferView_pimpl.C (savePosition): use stringstream
11164         (restorePosition): use stringstream
11165         (MenuInsertLyXFile): use stringstream
11166
11167 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
11168
11169         * BufferView.C:
11170         * Bullet.C:
11171         * ColorHandler.C:
11172         * FontInfo.C:
11173         * FontLoader.C:
11174         * LColor.C:
11175         * LaTeXFeatures.C:
11176         * Painter.C:
11177         * gettext.C:
11178         * lyx_gui_misc.C:
11179         * lyxserver.C:
11180         * vspace.C: removed // -*- C++ -*- as first line.
11181
11182         * lyxfind.h:
11183         * version.h: added // -*- C++ -*- as first line.
11184
11185 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11186
11187         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
11188
11189         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
11190         of string
11191
11192 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11193
11194         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
11195         of floats.
11196
11197 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11198
11199         * gettext.C: include LString.h even when --disable-nls is on.
11200
11201 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
11202
11203         * converter.h (Get): changed argument type from int to
11204         FormatList::size_type to avoid unnecessary conversion.
11205
11206         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
11207         before using it.
11208
11209 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11210
11211         * gettext.h: include LString.h even when --disable-nls is on.
11212
11213 2001-06-07  Juergen Vigna  <jug@sad.it>
11214
11215         * text.C (BreakAgain): subst spaces with tabs.
11216
11217         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
11218         (resizeInsetsLyXText): set force on resizeLyXText.
11219
11220 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11221
11222         * gettext.h (gettext_init):
11223         (locale_init): use a real definition instead of a macro
11224
11225 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
11226
11227         * Bufferview_pimpl.C:
11228         * LColor.h:
11229         * LColor.C: further lcolor tidies
11230
11231 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11232
11233         * BufferView_pimpl.C (updateScrollbar): simplify.
11234
11235         * BufferView2.C: don't include insets/insetinfo.h, change
11236         prototype for insertInset and call the Pimpl version. let
11237         updateInset call Pimpl version.
11238
11239         * BufferView.h: move inset_slept to BufferView::Pimpl, move
11240         gotoInset to BufferView::Pimpl
11241
11242 2001-06-01  Juergen Vigna  <jug@sad.it>
11243
11244         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
11245         inside a LockingInset (is the update needed at all?).
11246
11247 2001-05-31  Juergen Vigna  <jug@sad.it>
11248
11249         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
11250         here not the old one otherwise how should we compare it afterwards
11251         if it's the same!
11252
11253 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11254
11255         * lyxfont.C:
11256         * tabular.C:
11257         * tabular-old.C:
11258         * FontInfo.C: bring C functions into global namespace when
11259         necessary
11260
11261 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11262
11263         * LString.h: make sure config.h has been loaded before LString.h.
11264
11265         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
11266         (one for each char read by EatLine!).
11267
11268         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
11269         variables.
11270
11271 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11272
11273         * paragraph.C (BreakParagraph): set the inset_owner in the new par
11274         to the same as the par we break from
11275
11276 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11277
11278         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
11279
11280         * MenuBackend.C (expand): also create menu entries for wide
11281         versions of the floats.
11282
11283         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
11284
11285         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
11286
11287         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
11288         frontends/Makefile.am
11289
11290         * text2.C: adjust
11291         * text.C: adjust
11292
11293
11294         * tabular.C (getTokenValue): add std::
11295
11296         * tabular-old.C (getTokenValue): add std::
11297         (getTokenValue): ditto
11298         (getTokenValue): ditto
11299
11300         * screen.C (ToggleSelection): adjust
11301
11302         * lyxtext.h: put selection cursors inside a Selection struct.
11303
11304         * lyxfunc.C (moveCursorUpdate): adjust
11305
11306         * lyxfont.C (latexWriteStartChanges): add std::
11307
11308         * lyxfind.C: adjust
11309
11310         * font.h: delete with(char const *, LyXFont const &)
11311
11312         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
11313
11314         * FontInfo.C (getFontname): add std::
11315
11316         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
11317         (workAreaButtonPress): adjust
11318         (tripleClick): adjust
11319         (update): adjust
11320         (moveCursorUpdate): adjust
11321         (Dispatch): adjust
11322
11323         * BufferView2.C (gotoInset): adjust
11324
11325 2001-05-30  Juergen Vigna  <jug@sad.it>
11326
11327         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
11328         to check pspell I add this as default as I now have new pspell
11329         libraries and they seem to use this.
11330
11331 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11332
11333         * text2.C (CutSelection): make the cursor valid before the call to
11334         ClearSelection.
11335
11336 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11337
11338         * kbsequence.C (parse): de-uglify a bit the parsing code, which
11339         relied on 0 terminated strings and other horrors. Bug found due to
11340         the new assert in lyxstring!
11341
11342         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
11343         KP_ keys.
11344
11345 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11346
11347         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
11348         to latinkeys.bind.
11349
11350         * lyxfunc.C (processKeySym): change method of getting to the
11351         self-insert char.
11352
11353         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
11354         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
11355         * BufferView_pimpl.[Ch]: here as private methods.
11356
11357 2001-05-28  Juergen Vigna  <jug@sad.it>
11358
11359         * text.C (SetHeightOfRow): added the update() call again as it is
11360         needed to initialize inset dimensions!
11361
11362 2001-05-16  Juergen Vigna  <jug@sad.it>
11363
11364         * text2.C (SetCharFont): Add new function with BufferView * and
11365         bool toggleall parameters for setting insets internal fonts.
11366         (SetFont): Freeze the undo as we may change fonts in Insets and
11367         all this change should be inside only one Undo!
11368
11369         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
11370         setting font's in insets as for them we have the SetFont function!
11371
11372 2001-05-15  Juergen Vigna  <jug@sad.it>
11373
11374         * text2.C (ClearSelection): to be sure we REALLY don't have any
11375         selection anymore!
11376
11377         * tabular.C (TeXCellPreamble): fixed the left border problem for
11378         multicolumn cells.
11379
11380 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
11381
11382         * LaTeX.C (deplog): Make sure that the main .tex file is in the
11383         dependancy file
11384
11385 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11386
11387         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
11388         LFUN_BREAKPARAGRAPH.
11389
11390         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
11391         help test to "internal only", similar for LFUN_INSERT_URL
11392
11393         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
11394         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
11395         auto_region_delete and deadkeys.
11396
11397 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
11398
11399         * LColor.h:
11400         * LColor.C: remove some dead entries, tidy a little
11401
11402 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11403
11404         * lyxfunc.C (processKeySym): comment the Escape handling, remove
11405         commented code.
11406         (Dispatch): implement LFUN_ESCAPE
11407
11408         * commandtags.h: add LFUN_ESCAPE
11409
11410         * LyXAction.C (init): add entry for LFUN_ESCAPE
11411
11412         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
11413         Remove commented code.
11414         (insertNote): moved here
11415         (open_new_inset): moved here
11416
11417         * BufferView[2].[Ch]: move insertNote and open_new_inset to
11418         BufferView_pimpl
11419
11420 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11421
11422         * kbmap.C (findbinding): clean it up and make it work correctly.
11423
11424         * lyx_main.C (init): do not pass argc and argv as parameters
11425
11426 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
11427
11428         * buffer.C: fix path for OS/2 & Win32
11429
11430         * lyx_gui.C:
11431         * lyx_main:
11432         * lyx_main.C: Added os:: class.
11433
11434         * os2_defines.h: update
11435
11436 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11437
11438         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
11439         better by trying again with reduced state.
11440
11441 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11442
11443         * lyxrc.C (read): print error about invalid key sequence only when
11444         debugging (because not all latinX keysyms are known to some X
11445         servers)
11446
11447         * kbsequence.C (getiso): add a few std:: qualifiers
11448         (getiso): comment out extra return statement.
11449
11450 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11451
11452         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
11453         handling.
11454         (Dispatch): enhance the accent inset a bit. (not perfect)
11455
11456 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11457
11458         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
11459
11460 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11461
11462         * bufferlist.C (emergencyWrite): fix assert() call
11463
11464 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
11465
11466         * text.C (InsertChar): Added trivial patch to only send the "you
11467         can not do multiple spaces this way" message once during a
11468         session.
11469
11470 2001-05-08  Baruch Even  <baruch@lyx.org>
11471
11472         * Makefile.am: Changed order of libraries to get LyX to link properly
11473         with the gnome frontend.
11474
11475 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11476
11477         * LaTeXFeatures.h: add a std:: qualifier
11478
11479 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11480
11481         * paragraph.C (String): use stringstream
11482
11483 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11484
11485         * paragraph.C (writeFile): remove footflag arg
11486
11487         * buffer.C (makeLaTeXFile): use stringstream
11488         (latexParagraphs): remove footnot gurba
11489
11490         * LaTeXFeatures.C (getPackages): use stringstream
11491         (getMacros): likewise
11492         (getTClassPreamble): likewise
11493         (getFloatDefinitions): new method
11494
11495         * paragraph.C (writeFile): reindent
11496         (Erase): reindent
11497
11498         * WorkArea.h: revert the xpos + etc changes.
11499
11500         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
11501
11502         * lyxparagraph.[Ch]: add copy constructor, remove Clone
11503
11504         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
11505         (pasteSelection): likewise
11506         * text2.C (CreateUndo): likewise
11507
11508 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11509
11510         * minibuffer.C (peek_event): temporarily reduce the functionality
11511         of the minibuffer (to allow args on lfuns)
11512
11513         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
11514         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
11515
11516         * buffer.C (readInset): add compability reading of old float
11517         lists, add reading of new style float list.
11518         (readInset): avoid reevaluation of inscmd.getCmdName()
11519         (getLists): reindent
11520
11521         * MenuBackend.C (MenuItem): implement parsing of
11522         md_floatlistinsert and md_floatinsert.
11523         (expand::LastFiles): move initalizaton of iterators out of loop,
11524         avoid reevaluation.
11525         (expand::Documents): introduce typdedef vector<string> Strings,
11526         and use it.
11527         (expand::ExportFormats): introduce typedef vector<Format const *>
11528         Formats, and use it.
11529         (expand): implement FloatListInsert and FloatInsert.
11530
11531         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
11532         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
11533         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
11534
11535         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
11536         handling.
11537         (Dispatch::LFUN_FLOAT_LIST): implement
11538
11539 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
11540
11541         * LaTeX.C (run): Fix problem with --export code.
11542
11543 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
11544
11545         * BufferView.[Ch] (workarea): removed.
11546         (getClipboard) new method; wrapper for workarea()->getClipboard()
11547
11548         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
11549         bug.
11550
11551         * WorkArea.h (width, height, xpos, ypos): These methods all
11552         returned the dimensions of the work_area sub-area of WorkArea,
11553         resulting in a position error if the WorkArea were resized. Now
11554         return the dimensions of the entire WorkArea.
11555
11556         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
11557
11558 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11559
11560         * LaTeX.C (deplog): correct the syntax of regex reg1
11561
11562 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11563
11564         * undo.C: remove !NEW_INSETS cruft
11565
11566 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11567
11568         * text2.C: remove !NEW_INSETS cruft
11569
11570         * text.C: remove !NEW_INSETS cruft
11571
11572         * tabular.C: remove !NEW_INSETS cruft
11573
11574         * spellchecker.C: remove !NEW_INSETS cruft
11575
11576         * lyxtext.h: remove !NEW_INSETS cruft
11577
11578         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
11579
11580         * lyxfunc.C: remove !NEW_INSETS cruft
11581
11582         * lyxfind.C: remove !NEW_INSETS cruft
11583
11584         * lyx_cb.C: remove !NEW_INSETS cruft
11585
11586         * figureForm.C: remove  !NEW_INSETS cruft
11587
11588         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
11589
11590         * buffer.[Ch]: remove !NEW_INSETS cruft
11591
11592         * ToolbarDefaults.C: remove !NEW_INSETS cruft
11593
11594         * CutAndPaste.C: remove !NEW_INSETS cruft
11595
11596         * BufferView_pimpl.C: remove !NEW_INSETS cruft
11597
11598         * BufferView2.C: remove !NEW_INSETS cruft
11599
11600         * BufferView.h: remove !NEW_INSETS cruft
11601
11602 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11603
11604         * Lsstream.h: include LString.h before the sstream headers to
11605         fix problem with gcc 2.95.3 and lyxstring
11606
11607 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11608
11609         * lyx_main.C: add using directives when needed for C functions
11610         declared in std:: namespace.
11611
11612 2001-04-27  Juergen Vigna  <jug@sad.it>
11613
11614         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
11615         (SetHeightOfRow): comment out the update call should not be needed!
11616
11617 2001-04-13  Juergen Vigna  <jug@sad.it>
11618
11619         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
11620         (LyXTabular): tried to minimize operator= operations (and realized
11621         hopfully Lars wish).
11622
11623 2001-04-27  Juergen Vigna  <jug@sad.it>
11624
11625         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
11626
11627 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11628
11629         * lyxfunc.C (Dispatch): hack to make listof algorithm work
11630
11631         * buffer.C (readInset): hack to make listof algorithm work
11632
11633         * BufferView_pimpl.C: hack to make listof algorithm work
11634
11635 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11636
11637         * LyXAction.C: removed all !NEW_INSETS cruft
11638         (init): moved lfun_item in method
11639
11640         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
11641
11642 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
11643
11644         * BufferView2.C (theLockingInset): white space.
11645
11646 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11647
11648         * minibuffer.C: include <iostream>
11649
11650         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
11651
11652         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
11653
11654         * commandtags.h: add LFUN_TRANSPOSE_CHARS
11655
11656         * text.[Ch] (TransposeChars): new method
11657
11658 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11659
11660         * call message directly through LyXView instead of through LyXFunc
11661         * BufferView2.C: adjust
11662         * BufferView_pimpl.C: adjust
11663         * FontLoader.C: adjust
11664         * buffer.C: adjust
11665         * bufferview_funcs.C: adjust
11666         * converter.C: adjust
11667         * figureForm.C: adjust
11668         * importer.C: adjust
11669         * lyx_cb.C: adjust
11670         * lyx_gui_misc.C: adjust
11671         * lyxfunc.C: adjust
11672         * lyxvc.C: adjust
11673         * text2.C: adjust
11674         + more files in subdirs
11675
11676         * lyxparagraph.h (size): move up int file
11677         (GetLayout): ditto
11678
11679         * adjust all uses of Assert to lyx::Assert.
11680
11681         * BufferView2.C (ChangeCitationsIfUnique): adjust for
11682         lyxfunctional in namespace lyx
11683         * layout.C (hasLayout): ditto
11684         (GetLayout): ditto
11685         (GetLayout): ditto
11686         (delete_layout): ditto
11687         (NumberOfClass): ditto
11688         * converter.C (GetFormat): ditto
11689         (GetNumber): ditto
11690         (Add): ditto
11691         (Delete): ditto
11692         (SetViewer): ditto
11693         * bufferlist.C (getFileNames): ditto
11694         (emergencyWriteAll): ditto
11695         (exists): ditto
11696         (getBuffer): ditto
11697         * MenuBackend.C (hasSubmenu): ditto
11698         (hasMenu): ditto
11699         (getMenu): ditto
11700         * BufferView_pimpl.C (getInsetByCode): ditto
11701
11702 2001-04-18  Juergen Vigna  <jug@sad.it>
11703
11704         * vspace.C (asLatexString): fixed the 100% problem.
11705
11706 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11707
11708         * lyxfunc.C (Dispatch):
11709         * minibuffer.C:
11710         * minibuffer.h: add a few std:: qualifiers
11711
11712 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11713
11714         * minibuffer.[Ch]: reimplement so that commands is initiated and
11715         run from lyxfunc, simplified som handling, and made the completion
11716         and history code for complete. wip.
11717
11718         * lyxfunc.C (processKeySym): call message
11719         (miniDispatch): new temporary method
11720         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
11721         (LFUN_MESSAGE): implement
11722         (LFUN_MESSAGE_PUSH): implement
11723         (LFUN_MESSAGE_POP): implement
11724         (initMiniBuffer): the initial/defualt minibuffer message.
11725
11726         * lyxfont.[Ch]: inline some more getters
11727
11728         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
11729
11730         * lyx_gui_misc.[Ch] (WriteStatus): remove method
11731
11732         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
11733         (AutoSave): use LFUN_MESSAGE
11734         (Reconfigure): ditto
11735
11736         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
11737
11738         * figureForm.C: use LFUN_MESSAGE
11739
11740         * converter.C (runLaTeX): use LFUN_MESSAGE
11741
11742         * bufferview_funcs.C: use LFUN_MESSAGE
11743         (Melt): ditto
11744         (changeDepth): ditto
11745
11746         * bufferparams.h: use boost::
11747
11748         * bufferlist.h: inherit privately from noncopyable
11749
11750         * bufferlist.C (loadLyXFile): remove some commented code.
11751
11752         * buffer.C (runChktex): use LFUN_MESSAGE
11753
11754         * ShareContainer.h: inherit privately from noncopyable
11755
11756         * ParagraphParameters.[hC] (depth): inline it.
11757
11758         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
11759         methods.
11760         (message): new method
11761         (messagePush): ditto
11762         (messagePop): ditto
11763         (show): init minibuffer
11764         (showState): direct call
11765
11766         * LaTeX.[Ch]: inherit privately from noncopyable
11767         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
11768         instead of WriteStatus.
11769
11770         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
11771
11772         * BufferView_pimpl.C (buffer): don't init minibuffer
11773         (workAreaButtonPress): use LFUN_MESSAGE
11774         (workAreaButtonRelease): ditto
11775         (savePosition): ditto
11776         (restorePosition): ditto
11777         (MenuInsertLyXFile): ditto
11778         (workAreaExpose): don't init minibuffer
11779         (update): remove commented code, simplify
11780
11781         * BufferView2.C (openStuff): use LFUN_MESSAGE
11782         (toggleFloat): ditto
11783         (menuUndo): ditto
11784         (menuRedo): ditto
11785         (copyEnvironment): ditto
11786         (pasteEnvironment): ditto
11787         (copy): ditto
11788         (cut): ditto
11789         (paste): ditto
11790         (gotoInset): ditto
11791         (updateInset): remove some commented code
11792
11793         * lastfiles.h: inherit privately from noncopyable
11794         * layout.h: ditto
11795         * lyx_gui.h: ditto
11796         * lyx_main.h: ditto
11797         * lyxlex.h: ditto
11798         * lyxlex_pimpl.h: ditto
11799
11800         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
11801         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
11802         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
11803
11804         * LyXAction.h: inherit privately from noncopyable, add methods
11805         func_begin, func_end, returning iterators to the func map.
11806
11807         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
11808         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
11809         (func_begin): new method
11810         (func_end): new method
11811
11812         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
11813         and not)
11814         (copySelection): ditto
11815         (pasteSelection): ditto
11816
11817         * BufferView.C: whitespace change
11818         * BufferView.h: inherit privately from noncopyable
11819
11820 2001-04-16  Allan Rae  <rae@lyx.org>
11821
11822         * tabular-old.C (l_getline):
11823         * spellchecker.C (sc_check_word):
11824         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
11825         an unrecognised preprocessor directive.  So ensure they're wrapped.
11826
11827 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
11828
11829         * src/exporter.C (Export): Give an error message when path to file
11830         contains spaces.
11831
11832 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
11833
11834         * LaTeX.C (deplog): Always check that foundfile exists.
11835
11836 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11837
11838         * lyx_main.h:
11839         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
11840
11841 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11842
11843         * tabular.[Ch] (getLabelList): implement new method
11844
11845         * minibuffer.h: comment ouf setTiimer
11846
11847         * minibuffer.C (ExecutingCB): constify res
11848         (peek_event): constify s
11849         (Set): constify ntext
11850         (Init): constify nicename
11851
11852         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
11853
11854         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
11855         (savePosition): use two params to Minibuffer::Set
11856         (restorePosition): ditto
11857
11858 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11859
11860         * lyx_main.C: include language.h
11861
11862         * Makefile.am (lyx_main.o): add language.h
11863
11864 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11865
11866         * exporter.C:
11867         * paragraph.C:
11868         * screen.C:
11869         * tabular.C:
11870         * CutAndPaste.C: include gettext.h
11871
11872         * lyxfont.h: remove old hack with ON and OFF.
11873
11874         * lyxparagraph.h:
11875         * lyxfont.h: do not include language.h...
11876
11877         * BufferView2.C:
11878         * LaTeXFeatures.C:
11879         * Painter.C:
11880         * bufferview_funcs.C:
11881         * font.C:
11882         * lyxfont.C:
11883         * text.C:
11884         * text2.C:
11885         * trans_mgr.C:
11886         * paragraph.C: ... but do it here instead
11887
11888 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11889
11890         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
11891
11892         * tabular.C: small reformat
11893
11894         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
11895         NEW_INSETS version
11896         (GetChar): ditto
11897         (BreakParagraph): ditto
11898         (SetOnlyLayout): ditto
11899         (SetLayout): ditto
11900
11901         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
11902         with one arg less.
11903
11904         * lastfiles.C: removed most using decl, add std:: where needed
11905
11906         * buffer.C: ws changes
11907
11908         * MenuBackend.C (class compare_format): put into anon namespace
11909         (expand): constify label, names, action, action2
11910         (expand):
11911
11912         * text.C (SingleWidth): constify font
11913         (IsBoundary): constify rtl2
11914         (GetVisibleRow): constify ww
11915
11916         * LaTeX.C (deplog): constify logfile
11917
11918         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
11919         start_x, end_x
11920         (workAreaExpose): constify widthChange, heightChange
11921
11922         * lyxrow.C (par): moved
11923         (height): moved
11924         (next): moved
11925         * lyxrow.h: as inlines here
11926
11927         * lyxfont.h (shape): moved from lyxfont.C
11928         (emph): moved from lyxfont.C
11929
11930         * lyxfont.C (LyXFont): use initialization list for all
11931         constructors
11932         (shape): move to lyxfont.h as inline
11933         (emph): move to lyxfont.h as inline
11934
11935
11936 2001-04-04  Juergen Vigna  <jug@sad.it>
11937
11938         * vspace.C: had to include stdio.h for use of sscanf
11939
11940 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
11941
11942         * BufferView.h:
11943         * BufferView_pimpl.h: remove xforms cruft. Both classes are
11944         independent of xforms.
11945
11946 2001-04-02  Juergen Vigna  <jug@sad.it>
11947
11948         * spellchecker.C: fixed namespace placing!
11949
11950 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
11951
11952         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
11953         the LyXParagraph * is 0.
11954
11955 2001-03-29  Juergen Vigna  <jug@sad.it>
11956
11957         * vspace.C: added support for %, c%, p%, l%.
11958         (stringFromUnit): added helper function.
11959         (asLatexString): changed to give right results for the %-values.
11960
11961         * buffer.C: convert the widthp in a width%.
11962
11963 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
11964
11965         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
11966         figureForm.[Ch].
11967
11968         * figureForm.[Ch]: stripped the FD_from_figure manipulation
11969         code out of lux_cb.[Ch], ready for its (imminent?) removal.
11970
11971         * lyx_cb.[Ch]: see above.
11972
11973         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
11974         form1.[Ch].
11975
11976         * form1.[Ch]:
11977         * lyx.[Ch]: replaced by figure_form.[Ch].
11978
11979         * lyx_gui.C:
11980         * lyx_gui_misc.C:
11981         * lyxfunc.C: changed headers associated with above changes.
11982
11983 2001-03-27  Juergen Vigna  <jug@sad.it>
11984
11985         * BufferView_pimpl.C: set the temporary cursor right!
11986
11987 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
11988
11989         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
11990
11991 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
11992
11993         * LString.h: removed "using std::getline"!
11994
11995         * BufferView_pimpl.C (Dispatch): changes due to changes in
11996         InsetInclude::Params.
11997
11998         * buffer.C (tag_name): removed redundant break statements as they were
11999         producing lots of warnings with my compiler.
12000
12001 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12002
12003         * LString.h: add "using std::getline" when using the real <string>.
12004
12005 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
12006
12007         * buffer.C: removed bitset usage.
12008         PAR_TAG moved to an anonymous name space.
12009         (tag_name): new funtion, also in the anonymous namespace.
12010         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
12011         (makeDocBookFile): clean code. Completed transition from string arrays
12012         to string vectors.
12013         (SimpleDocBookOnePar): code clean.
12014
12015 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12016
12017         * tabular.C: add some comments.
12018
12019 2001-03-22  Juergen Vigna  <jug@sad.it>
12020
12021         * buffer.C (parseSingleLyXformat2Token): redone the minipage
12022         compatibility read a bit and fixed bug with minipage in different
12023         depth.
12024
12025 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
12026
12027         * buffer.C (pop_tag): removed.
12028         (push_tag): removed.
12029         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
12030         array replaced with vector. Added support for CDATA sections.
12031         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
12032         at any nest level.
12033         (makeDocBookFile): XML conformant declaration of CDATA section,
12034         fixed bug related to <emphasis> in the first paragraph char.
12035         (sgmlOpenTag): exclude empty tags.
12036         (sgmlCloseTag): ditto.
12037
12038         * buffer.h (pop_tag): removed.
12039         (push_tag): removed.
12040
12041 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
12042
12043         * language.h (Languages): added size_type and size().
12044
12045 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12046
12047         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
12048         response on compability reading of minipages. One probliem is that
12049         the old usage of minipages was «flertydig»
12050
12051         * several files here and in subdirs: don't use static at file
12052         scope use anon namespaces instead.
12053
12054 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
12055
12056         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
12057         LaTeX output. This is necessary for Literate document
12058         processing.
12059
12060 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12061
12062         * buffer.C: insert hfill when needed.
12063
12064         * tabular.C (l_getline): use string::erase, small whitespace change.
12065
12066         * BufferView_pimpl.C: try the anon namespace.
12067         * WorkArea.C: ditto
12068
12069 2001-03-16  Juergen Vigna  <jug@sad.it>
12070
12071         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
12072         otherwise it won't open options-dialogs.
12073
12074         * buffer.C: honor pextraWidth(p) on converting minipages.
12075
12076         * tabular.C (l_getline): changed the functions to strip trailing \r.
12077
12078 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
12079
12080         * BufferView_pimpl.C:
12081         * minibuffer..C: added "using SigC::slot" declaration.
12082
12083 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12084
12085         * lyxlex_pimpl.h: noncopyable is in namespace boost.
12086
12087         * text2.C: ditto
12088
12089         * text.C: ditto
12090
12091         * paragraph.C: ditto
12092
12093         * lyxtext.h: NO_PEXTRA
12094
12095         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
12096
12097         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
12098         * ParameterStruct.h: ditto
12099         * ParagraphParameters.h: ditto
12100         * lyxparagraph.h: ditto
12101
12102 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12103
12104         * buffer.C: add compability for minipage alignment.
12105         (latexParagraphs): remove unwanted pextra check.
12106
12107         * several files: remove CXX_WORKING_NAMESPACES
12108
12109         * buffer.C (pop_tag): tie is in namespace boost
12110
12111         * BufferView.h: noncopyable is in namespace boost
12112         * lyxlex.h: ditto
12113         * lyx_main.h: ditto
12114         * lyx_gui.h: ditto
12115         * layout.h: ditto
12116         * lastfiles.h: ditto
12117         * bufferlist.h: ditto
12118         * ShareContainer.h: ditto
12119         * LyXView.h: ditto
12120         * LyXAction.h: ditto
12121         * LaTeX.h: ditto
12122
12123 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
12124
12125         * Merging changes from BRANCH_MVC back into HEAD.
12126
12127         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
12128
12129 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
12130
12131         * BufferView_pimpl.C: change from intl.C
12132
12133         * combox.h:
12134         * combox.C:
12135         * Makefile.am: move combox.*
12136
12137         * form1.h:
12138         * form1.C:
12139         * lyx_gui.C:
12140         * intl.h:
12141         * intl.C: remove dialog (covered by prefs)
12142
12143 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
12144
12145         * lyxfunc.C (Dispatch): removed redundant break statement.
12146
12147 2001-03-14  Juergen Vigna  <jug@sad.it>
12148
12149         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
12150
12151 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12152
12153         * buffer.C: add hack to fix compability reading of minipages.
12154
12155 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
12156
12157         * buffer.C (getLists): Cleanup.
12158
12159 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12160
12161         * lyxfont.C (update): don't honor toggleall on font size.
12162
12163 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
12164
12165         * bmtable.c:
12166         * bmtable.h:
12167         * Makefile.am: moved to frontends/xforms/
12168
12169         * lyx_gui_misc.C:
12170         * lyxfunc.C:
12171         * BufferView_pimpl.C: changes for moved mathpanel
12172
12173 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
12174
12175         * gettext.h: fix gettext_init() in --disable-nls
12176
12177 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12178
12179         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
12180
12181 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
12182
12183         * lyx.C:
12184         * lyx.h: strip external form
12185
12186 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
12187
12188         * BufferView_pimpl.C: add comment, destroySplash()
12189
12190 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
12191
12192         * BufferView_pimpl.C:
12193         * LyXAction.C:
12194         * buffer.C:
12195         * commandtags.h:
12196         * lyxfunc.C: use re-worked insetinclude
12197
12198 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12199
12200         * buffer.C: add using std::stringstream.
12201
12202         * lyx_cb.C: readd using std::ios.
12203
12204         * buffer.C: add using std::map.
12205
12206         * BufferView_pimpl.C: add using std::vector.
12207
12208         * ShareContainer.h: add std:: to swap.
12209
12210         * buffer.h: add some typedefs
12211         * buffer.C (getLists): use them
12212         (getLists): renamed from getTocList.
12213         add a counter for the different float types and use it in the
12214         generated string.
12215         (getLists): use the same counter for the NEW_INSETS and the "non"
12216         NEW_INSETS
12217
12218         * lyx_cb.h: remove unused items, includes, using etc.
12219
12220         * ShareContainer.h: remove some commented code, add more comments
12221         and "documentation".
12222
12223 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12224
12225         * buffer.C (getTocList): make the list also when NEW_INSETS is
12226         defined.
12227
12228         * buffer.h: remove TocType
12229
12230         * buffer.C (getTocList): change to return a map<string,
12231         vector<TocItem> >, implement for dynamic number of list.
12232
12233         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
12234         * text2.C (PasteSelection): adjust
12235         * CutAndPaste.C (pasteSelection): adjust
12236
12237         * FloatList.C (FloatList): update from the new_insets branch.
12238         * Floating.[Ch]: ditto
12239         * LaTeXFeatures.C: ditto
12240         * buffer.C: ditto
12241         * lyxlex_pimpl.C: ditto
12242
12243         * paragraph.C (Last): remove when NEW_INSETS is defined.
12244
12245         * other file: changes because of the above.
12246
12247 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12248
12249         * lyxparagraph.h: rename next to next_, previous to previous_,
12250         make them private for NEW_INSETS. Rename Next() to next(),
12251         Previous() to previous().
12252
12253         * other files: changes because of the above.
12254
12255 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
12256
12257         * BufferView.h:
12258         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
12259         problem.
12260
12261 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12262
12263         * main.C (main): pass lyx_localedir to gettext_init().
12264
12265         * gettext.h: remove locale_init and gettext_init macros
12266
12267         * gettext.C (locale_init): new function
12268         (gettext_init): new function
12269
12270         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
12271         setlocale().
12272
12273 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
12274
12275         * Moved credits to frontends:
12276         * credits.[Ch]: removed
12277         * credits_form.[Ch]: removed
12278         * lyx_gui_misc.C: remove credits stuff
12279         * Makefile.am:
12280
12281 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12282
12283         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
12284
12285         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
12286         unneeded destructor.
12287
12288         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
12289         a standalone pointer again.
12290
12291         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
12292
12293 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
12294
12295         * Makefile.am:
12296         * filedlg.h:
12297         * filedlg.C:
12298         * LyXAction.C:
12299         * ToolbarDefaults.C:
12300         * bufferlist.C:
12301         * commandtags.h:
12302         * form1.C:
12303         * form1.h:
12304         * lyx_cb.C:
12305         * lyx_cb.h:
12306         * lyxfunc.h:
12307         * lyxfunc.C:
12308         * BufferView_pimpl.C: use new file dialog in GUII
12309
12310         * lyx_cb.h:
12311         * lyx_cb.C: remove LayoutsCB to Toolbar
12312
12313 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12314
12315         * ShareContainer.h (get): add std:: qualifier
12316
12317 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12318
12319         * ShareContainer.h: define a proper ShareContainer::value_type
12320         type (and use typename to please compaq cxx)
12321
12322 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12323
12324         * lyxparagraph.h: move serveral local vars to
12325         ParameterStruct/ParagraphParameters., use ShareContainer in
12326         FontTable., make vars in FontTable private and add getter and
12327         setter.
12328
12329         * paragraph.C: changes because of the above.
12330
12331         * lyxfont.h: remove copy constructor and copy assignment. (the
12332         default ones is ok), move number inside FontBits. move inlines to
12333         lyxfont.C
12334
12335         * lyxfont.C: add number to initializaton of statics, move several
12336         inlines here. constify several local vars. some whitespace
12337         cleanup. Dont hide outerscope variables.
12338
12339         * Spacing.h: add two new constructors to match the set methods.
12340
12341         * ShareContainer.h: new file, will perhaps be moved to support
12342
12343         * ParameterStruct.h: new file
12344
12345         * ParagraphParameters.h: new file
12346
12347         * ParagraphParameters.C: new file
12348
12349         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
12350         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
12351
12352         * BufferView_pimpl.C: ParagraphParameter changes.
12353         * buffer.C: Likewise.
12354         * bufferview_funcs.C: Likewise.
12355         * text.C: Likewise.
12356         * text2.C: Likewise.
12357
12358 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12359
12360         * lyxfind.C (LyXReplace): do not redefine default argument in
12361         implementation.
12362         (IsStringInText): ditto
12363         (SearchForward): ditto
12364         (SearchBackward): ditto
12365
12366 2001-03-06  Juergen Vigna  <jug@sad.it>
12367
12368         * lyxfind.C (IsStringInText): put parentes around expressions.
12369
12370 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
12371
12372         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
12373
12374 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
12375
12376         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
12377
12378         * stl_string_fwd.h: add comment
12379
12380         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
12381
12382         * tabular.h:
12383         * tabular.C: remove unused DocBook methods
12384
12385         * intl.C:
12386         * language.C:
12387         * paragraph.C:
12388         * buffer.C:
12389         killed DO_USE_DEFAULT_LANGUAGE
12390
12391 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12392
12393         * lyx_gui.C: do not include language.h.
12394
12395         * bufferview_funcs.C (ToggleAndShow): do not provide optional
12396         arguments in function implementation.
12397
12398 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12399
12400         * BufferView_pimpl.C: add <ctime>
12401
12402 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12403
12404         * BufferView_pimpl.C: add using std::find_if
12405
12406 2001-02-27  José Matos  <jamatos@fep.up.pt>
12407
12408         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
12409         by OnlyPath.
12410
12411 2001-02-11  José Matos  <jamatos@fep.up.pt>
12412
12413         * buffer.C (makeDocBookFile): command styles now have a parameter as
12414         "title" by default.
12415
12416 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
12417
12418         * layout_forms.[Ch]: removed
12419         * lyx_cb.[Ch]: out character
12420         * lyx_gui.C: out character
12421         * lyx_gui_misc.C: out character
12422         * bufferview_funcs.C: : out character,
12423         added toggleall as parameter in ToggleAndShow
12424
12425 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
12426
12427         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
12428
12429         * text2.C (SetCurrentFont): Disable number property at boundary.
12430
12431 2001-02-26  Juergen Vigna  <jug@sad.it>
12432
12433         * lyxfunc.C (getStatus): added a string argument override function so
12434         that this is correctly called from LyXFunc::Dispatch if it contains a
12435         do_not_use_argument which is used!
12436         (Dispatch): added check for "custom" export and call appropriate func.
12437
12438 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
12439
12440         * lyxrc.C: Add language_command_local, language_use_babel and
12441         language_global_options.
12442
12443         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
12444
12445         * buffer.C (makeLaTeXFile): Use language_use_babel and
12446         language_global_options.
12447
12448 2001-02-23  Juergen Vigna  <jug@sad.it>
12449
12450         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
12451         which works with LyXText and putted it inside BufferView. Here now we
12452         only call for that part the BufferView::Dispatch() function.
12453
12454         * BufferView.C (Dispatch): added.
12455
12456         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
12457         functions which needs to use a LyXText over from LyXFunc.
12458         (MenuInsertLyXFile): added
12459         (getInsetByCode): added
12460         (moveCursorUpdate): added
12461         (static TEXT): added
12462
12463 2001-02-22  Juergen Vigna  <jug@sad.it>
12464
12465         * BufferView_pimpl.C (update): call a status update to see if LyXText
12466         needs it.
12467
12468 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
12469
12470         * vc-backend.C (revert): implement for CVS
12471         (getLog): implement for CVS
12472
12473 2001-02-20  Juergen Vigna  <jug@sad.it>
12474
12475         * text2.C (ClearSelection): added BufferView param for inset_owner call
12476
12477         * lyxfunc.C (TEXT): added this function and use it instead of
12478         directly owner->view()-text of getLyXText().
12479
12480 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
12481
12482         * src/layout_forms.C: out preamble
12483         * src/layout_forms.h: out preamble
12484         * src/lyx_cb.C: out preamble
12485         * src/lyx_cb.h: out preamble
12486         * src/lyx_gui.C: out preamble
12487         * src/lyx_gui_misc.C: out preamble
12488         * src/lyxfunc.C: connect with guii preamble
12489
12490 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
12491
12492         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
12493
12494 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
12495
12496         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
12497         whether to run bibtex.
12498
12499 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
12500
12501         * Makefile.am (lyx_SOURCES): Remove BackStack.h
12502
12503 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
12504
12505         * Makefile.am (lyx_SOURCES): removed bibforms.h
12506
12507         * vspace.h: doxygen
12508
12509         * text.C (GetVisibleRow): make several local vars const
12510
12511         * tabular.C: small cleanup.
12512
12513         * lyxserver.C (callback): use compare instead of strncmp
12514
12515         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
12516         inlines to after class or to paragraph.C
12517
12518         * lyxfont.h: remove friend operator!=
12519
12520         * converter.h: move friend bool operator< to non friend and after
12521         class def.
12522
12523         * combox.h: small cleanup
12524
12525         * buffer.h: doxygen, remove unused constructor, move inclas inlies
12526         to inlines after class def.
12527
12528         * buffer.C (pop_tag): use string operations instead of strcmp
12529
12530         * bmtable.c: doxygen, small cleanup
12531
12532         * LaTeX.h: remove friend operator==
12533
12534 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
12535
12536         * screen.C:
12537         * lyxrc.[Ch]:
12538         * lyxfunc.C:
12539         * lyxfont.[Ch]:
12540         * lyx_cb.C:
12541         * intl.[Ch]:
12542         * commandtags.h:
12543         * buffer.C:
12544         * WorkArea.[Ch]:
12545         * LyXAction.C:
12546         * BufferView_pimpl.C:
12547         * BufferView.[Ch]: remove cruft
12548
12549 2001-02-14  Juergen Vigna  <jug@sad.it>
12550
12551         * lyxfunc.C: removed #if 0 unused code
12552
12553         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
12554
12555         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
12556
12557         * text2.C (SetSelection): added a BufferView * parameter
12558
12559 2001-02-13  Juergen Vigna  <jug@sad.it>
12560
12561         * lyxfunc.C (Dispatch): fixed protected blank problem.
12562         * BufferView2.C (protectedBlank): added LyxText * parameter.
12563
12564         * tabular.C (AppendRow): forgot to set row_info of newly added row.
12565         (AppendColumn): same as above for column_info.
12566
12567         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
12568         (moveCursorUpdate): use a LyXText param for support of InsetText.
12569
12570         * BufferView_pimpl.C (doubleClick): added support for InsetText.
12571         (tripleClick): ditto
12572
12573         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
12574
12575         * BufferView_pimpl.C (update): added LyXText param to honor insets.
12576
12577         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
12578
12579         * text2.C (SetSelection): set correct update status if inset_owner
12580         (ToggleFree): ditto
12581
12582 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
12583
12584         * tabular.C: remove some commented code.
12585
12586 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
12587
12588         * BufferView_pimpl.C: call hideSplash()
12589
12590         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
12591
12592         * include_form.h:
12593         * bibforms.h: remove
12594
12595         * lyxfunc.C:
12596         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
12597           add LFUN_CHILD_CREATE
12598
12599         * counters.h: fix tiny typo
12600
12601         * lyx_cb.C:
12602         * lyx.h:
12603         * lyx_gui.C:
12604         * lyx.C: move splash to frontends/xforms/
12605
12606         * lyx_gui_misc.C: move Include and Bibform to frontends
12607
12608         * lyxvc.h: clarify comment
12609
12610         * vspace.C: tiny housekeeping
12611
12612 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
12613
12614         * text.C (PrepareToPrint): RTL Fix.
12615
12616         * paragraph.C (GetUChar): New method.
12617         (String):  Use GetUChar.
12618
12619         * buffer.C (asciiParagraph): Use GetUChar.
12620
12621 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
12622
12623         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
12624
12625 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
12626
12627         * buffer.h:
12628         * buffer.C: rename to getLogName(), handle
12629           build log / latex log nicely
12630
12631 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12632
12633         * MenuBackend.C:
12634         * MenuBackend.h: remove support for reference menuitem type.
12635
12636 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
12637
12638         * BufferView_pimpl.C: housekeeping
12639         * BufferView_pimpl.h:
12640         * LyXView.h:
12641         * Makefile.am:
12642         * Timeout.C:
12643         * Timeout.h:
12644         * minibuffer.h: move Timeout GUI-I
12645
12646 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
12647
12648         * lyxrc.C (read): Update converters data-structures.
12649
12650 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
12651
12652         * LaTeX.h (operator!=): add operator != for Aux_Info
12653
12654 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
12655
12656         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
12657
12658         * LaTeXLog.C: deleted, useful code moved to Buffer
12659
12660         * buffer.h:
12661         * buffer.C: new function getLatexLogName()
12662
12663         * lyx_gui_misc.C:
12664         * lyx_gui.C:
12665         * lyxvc.C:
12666         * lyxvc.h:
12667         * lyxfunc.C: use frontends for LaTeX and VC logs
12668
12669 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12670
12671         * LaTeX.h: yet another std:: that Allan forgot.
12672
12673         * Variables.C (set): renamed from isset(), because this clashes
12674         with some HP-UX macros (grr).
12675
12676 2001-02-06  Allan Rae  <rae@lyx.org>
12677
12678         * LaTeX.h: Another bug fix.  Missing std:: this time.
12679
12680 2001-02-04  Allan Rae  <rae@lyx.org>
12681
12682         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
12683         floats problem. I've left it commented out because it's not quite
12684         correct.  It should also test that the current object is a table or
12685         figure inset.  But I haven't gotten around to figuring out how to do
12686         that.  I *think* it'll be something like: "table" == inset.type()
12687
12688         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
12689         bool.
12690
12691 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
12692
12693         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
12694         all the citation/databases/styles in the auxilary file.
12695         (run): Rerun latex if there was a babel language error.
12696
12697 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
12698
12699         * text.C (Backspace): Preserve the font when changing newline char
12700         with a space.
12701         (BreakParagraph): If the cursor is before a space, delete the space.
12702
12703         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
12704
12705 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
12706
12707         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
12708         new argument (code).
12709         (ChangeCitationsIfUnique): New method.
12710
12711         * paragraph.C (GetPositionOfInset): Handle bibkey.
12712
12713 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12714
12715         * BufferView_pimpl.h: change type of Position::par_pos to
12716         LyXParagraph::size_type.
12717
12718 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
12719
12720         * BufferView_pimpl.C (savePosition, restorePosition): Write
12721         messages to minibuffer.
12722
12723 2001-01-28  José Matos  <jamatos@fep.up.pt>
12724
12725         * buffer.C (makeDocBookFile): adds support for document language.
12726         A silly restriction on the name of LatexCommand types where removed.
12727         Added support for CDATA sections, allows to chars unescaped, used
12728         among others in code, to avoid escape < and >.
12729
12730 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
12731
12732         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
12733         saved positions instrad of a stack. Furthermore, a position is
12734         stored using paragraph id/paragraph position.
12735
12736         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
12737         Remove LFUN_REF_BACK.
12738
12739 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
12740
12741         * converter.C (dvipdfm_options): New method.
12742
12743 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
12744
12745         * vspace.C (isValidLength): Fix for empty input string.
12746
12747 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12748
12749         * LyXAction.C (init): change description of LFUN_FIGURE to
12750         "Insert Graphics"
12751
12752 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12753
12754         * LaTeX.C: add using directive
12755
12756 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
12757
12758         * MenuBackend.C (expand): Fix the sorting of the formats.
12759
12760 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
12761
12762         * lyx_main.C: tiny error message fix
12763
12764 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12765
12766         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
12767         calling fl_initialize(). This fixes the problem with ',' as
12768         decimal separator in text files.
12769
12770 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
12771
12772         * trans.C (process): Fix the keymap bug.
12773
12774 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
12775
12776         * LaTeX.C (scanAuxFiles): New method. Provides support for
12777         multiple bibliographies (when using the bibtopic/bibunits pacakges).
12778         (scanLogFile) Scan for "run BibTeX" messages.
12779
12780         * buffer.C (makeLaTeXFile): Do not load the ae package when using
12781         OT1 font encoding. Also, load the aecompl package if the ae
12782         package is loaded.
12783
12784         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
12785
12786 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12787
12788         * texrow.C (increasePos): turn two error messages into debug
12789         messages.
12790
12791 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
12792
12793         * LaTeX.C (scanAux): Handle the \@input macro.
12794         (runBibTeX): Use scanAux().
12795
12796         * language.C (latex_options_): New field.
12797
12798         * LaTeXFeatures.C (getMacros): Add language macros.
12799
12800         * buffer.C (makeLaTeXFile): Small fix.
12801
12802 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
12803
12804         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
12805
12806         * text2.C: add a using directive.
12807
12808 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
12809
12810         * BufferView2.C:
12811         * lyx_gui_misc.h:
12812         * lyxfr1.C:
12813         * lyxfunc.C: kill LyXBell.
12814
12815 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
12816
12817         * text.C (IsBoundary): Remove the error message
12818
12819         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
12820
12821         * lyxrc.C (setDefaults): Correct initialization value for
12822         font_norm_type.
12823
12824 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
12825
12826         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
12827         gotoError().
12828
12829         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
12830         and GotoNextNote().
12831
12832         * src/LyXAction.C: Added reference-next.
12833
12834         * text.C (InsertChar): Use contains instead of strchr.
12835
12836         * lyx_cb.C (MenuInsertLabel): Enable default value code.
12837
12838 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
12839
12840         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
12841         alignment commands (when needed).
12842
12843         * text.C (InsertChar): Add ':' to number separator chars.