]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
7fe4b654dbdd9c15223c11736af7527bbda855d9
[lyx.git] / src / ChangeLog
1 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
2
3         * box.h: make signed dimensions to allow insets wider than
4           the screen (bug #162)
5
6         * BufferView_pimpl.C: add some insetHit debug
7  
8 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
9
10         * vc-backend.C: add FIXME
11  
12 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13
14         * lyxfunc.C (getStatus): enable code for showing math font status
15         in toolbar/menu.
16
17 2002-01-07  Juergen Vigna  <jug@sad.it>
18
19         * text.C (nextBreakPoint): removed debug output not needed anymore.
20
21 2002-01-06  Juergen Vigna  <jug@sad.it>
22
23         * text.C (nextBreakPoint): fixed up this function we had this bug
24         since ever but now hopefully we break row better.
25         (insertChar): we have to check if an inset is the next char as it
26         could now happen that a large inset is causing a break.
27
28 2002-01-05  Juergen Vigna  <jug@sad.it>
29
30         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
31         if it doesn't like to be drawed.
32
33 2002-01-04  Juergen Vigna  <jug@sad.it>
34
35         * BufferView2.C (lockInset): forgot to set a cursor.
36
37         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
38
39 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
40
41         * FormMathsPanel.C:
42         * FormMathsPanel.h
43         * MathsSymbols.C:
44         * form_maths_panel.C:
45         * form_maths_panel.h:
46         * form_maths_panel.fd: implemented sub- and super- buttons in math
47         panel. 
48
49         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
50         (or ^ space) to be used as in TeX (req'd by André).
51
52         * lyxfunc.C: Allow ^ and _ again to be used both as
53         super/subscript (mathed) and as themselves (in text).
54
55 2002-01-03  Allan Rae  <rae@lyx.org>
56
57         * LyXView.C (updateWindowTitle): Setup a short icon title of either
58         "LyX" or the filename of the current buffer if it has one.  This is a
59         modified form of John Levon's patch.
60
61         * XFormsView.C (setWindowTitle): also set icon title.
62
63         * LyXView.h (setWindowTitle): signature changed.
64         * XFormsView.h (setWindowTitle): ditto.
65
66 2002-01-02  Juergen Vigna  <jug@sad.it>
67
68         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
69
70 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
71
72         * screen.C (topCursorVisible): introduce a temp var for
73         text->cursor.row(), handle the case where this row is null. (kindo
74         hachish)
75
76         * text2.C (setCursor): add a couple of asserts.
77
78         * paragraph.h (inset_iterator): add -> operator 
79
80         * paragraph.[Ch] (autoDeleteInsets): remove member function 
81
82         * BufferView2.C (removeAutoInsets): rewrite to handle the old
83         cursor pos correctly and handle inset deletion by itself.
84         (insertErrors): move iterator declaration out of for expression
85
86         * lyxtextclass.C: add <algorithm>
87
88         * Makefile.am: added the new files to sources, removed layout.C
89         
90         * layout.C: removed file
91         
92         * layout.h: remove LYX_DUMMY_LAYOUT
93
94         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
95         layout.
96
97         * lyxlayout.[Ch]:
98         * lyxtextclass.[Ch]:
99         * lyxtextclasslist.[Ch]: new files 
100
101         * include order changes to a lot of files, also changes because of
102         the six new files.
103         
104 2001-12-27  Juergen Vigna  <jug@sad.it>
105
106         * buffer.C (asciiParagraph): more fixes.
107
108         * tabular.C (ascii): make ascii export support export of only the
109         data separated by a column-delimiter.
110         (ascii): better support for ascii export.
111
112         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
113
114 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
115
116         * tabular_funcs.C: use a "using std::getline" instead of the
117         previous fix from Angus (necessary for cxx + lyxstring)
118
119 2001-12-24  Juergen Vigna  <jug@sad.it>
120
121         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
122
123         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
124         problems. First check a minipage also if we have some ert-contents
125         (not only on par->size(), second set the right depth of the paragraph
126         on the relink to the root-paragraph-list!
127
128         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
129         which then did not anymore update the main paragraphs on undo/redo!
130
131 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
132
133         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
134         code. Support all font-changing funcs (even those which are not in
135         menu currently). Support for reporting font settings in 
136         mathed (disabled until Andre provides a function on mathed's side).
137
138         * func_status.h (toggle): small helper function to set toggle
139         state on a flag.
140
141 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
142
143         * tabular_funcs.C: getline -> std::getline
144
145 2001-12-21  Juergen Vigna  <jug@sad.it>
146
147         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
148         accessed and could be 0 (I couldn't generate this but it seems
149         Michael could!).
150
151 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
152
153         * tabular_funcs.C: add LIstream.h, move write_attribute to..
154         * tabular_funcs.h: here and include iosfwd
155
156 2001-12-20  Juergen Vigna  <jug@sad.it>
157
158         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
159         inside inset but undo_par was.
160
161 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
162
163         * Thesaurus.C: always include <config.h> in sources.
164
165         * Painter.h: 
166         * lyxlookup.h: 
167         * box.h: do not include <config.h> in header files
168
169         * text.C (paintLastRow): remove unused variable
170
171         * text.C (transformChar): 
172         (insertChar): 
173         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
174
175         * Painter.C (text): 
176         * font.C (width): rewrite to use uppercase() instead of
177         islower/toupper. 
178
179         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
180
181 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
182
183         * lyxfind.C: clean up of find failure position change
184
185 2001-12-20  Juergen Vigna  <jug@sad.it>
186
187         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
188
189         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
190         (TeXRow): added to LaTeX a single tabular row.
191         (TeXLongtableHeaderFooter): added to output LT-h/f data.
192         (Latex): simplified and finally good LT-h/f support.
193         (various_functions): just small adaptions for LT-h/f support.
194
195         * tabular_funcs.[hC]: added and moved here all not classfunctions
196         of LyXTabular.
197
198 2001-12-19  Juergen Vigna  <jug@sad.it>
199
200         * tabular.[Ch]: better support for longtabular options (not finished
201         yet!)
202
203 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
204
205         * text.C (paintLastRow): use the label font instead of the font of
206         the last character to compute the size of *_BOX. This makes more
207         sense and avoids a crash with empty paragraphs.
208         Use Painter::rectangle to draw EMPTY_BOX.
209
210 2001-12-19  Juergen Vigna  <jug@sad.it>
211
212         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
213         the paragraphs if the replaced paragraph is not the first one!
214         Tried to delete not used paragraphs but does not work yet so for
215         now it's inside #ifdef's and by default off!
216
217 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
218
219         * MenuBackend.C: include "lyx_main.h" instead of declaring
220         lastfiles (actually was declared as LastFiles* instead of a
221         scoped_ptr).
222
223 2001-12-17  Juergen Vigna  <jug@sad.it>
224
225         * tabular.C (AppendColumn): applied John's fix
226
227 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
228
229         * BufferView.h: 
230         * BufferView.C:
231         * BufferView_pimpl.h:
232         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
233
234         * Makefile.am:
235         * box.h: new start of class for above
236
237         * lyxfunc.C: ignore space-only minibuffer dispatches.
238           Show the command name when it doesn't exist
239
240         * minibuffer.C: don't add empty lines to the history
241
242         * minibuffer.C: add a space on dropdown completion
243  
244 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
245
246         * text.C: fix line above/below drawing in insets
247
248 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
249
250         * lyxlength.C (LyXLength): Initialize private variables.
251
252 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
253
254         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language 
255         when inserting error insets.
256
257 2001-12-13  Juergen Vigna  <jug@sad.it>
258
259         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
260         actually sometimes the before-paragraph.
261         (setUndo): don't clear the redostack if we're not actually undoing!
262
263 2001-12-06  Juergen Vigna  <jug@sad.it>
264
265         * undo_funcs.C (textHandleUndo): well after John's hint I got here
266         and fixed redoing of main paragraph, so we can use it now ;)
267
268         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
269
270 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
271
272         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
273         Juergen's request
274
275 2001-12-13  André Pönitz <poenitz@gmx.net>
276
277         * undostack.[Ch]:
278         * undo_func.C: minor cleanup
279
280 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
281
282         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
283         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
284         font in urw-fonts package which is marked as -urw-fontspecific and
285         does not work (incidentally, changing the encoding in the
286         fonts.dir of this package to -adobe-fontspecific fixes the
287         problem).
288
289         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
290         is a crash when undoing first paragraph (Juergen, please take a
291         look). THis does not mean the undo fix is wrong, just that it
292         uncovers problems.
293
294         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
295         the (Paragraph*) version when needed instead of duplicating the
296         code.
297
298         * text.C (workWidth): use Inset::parOwner to find out where the
299         inset has been inserted. This is a huge performance gain for large
300         documents with lots of insets. If Inset::parOwner is not set, fall
301         back on the brute force method
302
303         * paragraph_pimpl.C (insertInset): 
304         * paragraph.C (Paragraph): 
305         (cutIntoMinibuffer): set parOwner of insets when
306         inserting/removing them
307
308         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
309
310 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
311
312         * commandtags.h:
313         * LyXAction.C:
314         * lyx_main.C:
315         * lyxfunc.C:
316         * mathed/formulabase.C:
317         * mathed/math_cursor.[Ch]:
318         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
319
320
321 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
322
323         * lyxlength.[Ch] (operator!=): new function
324
325 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
326
327         * text.C (workWidth): use Inset::parOwner to find out where the
328         inset has been inserted. This is a huge performance gain for large
329         documents with lots of insets. If Inset::parOwner is not set, fall
330         back on the brute force method
331
332         * paragraph_pimpl.C (insertInset): 
333         * paragraph.C (Paragraph): 
334         (cutIntoMinibuffer): set parOwner of insets when
335         inserting/removing them
336
337         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
338
339 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
340
341         * tabular-old.C (getTokenValue): 
342         * tabular.C (getTokenValue): 
343         (write_attribute): new versions for LyXLength
344         (everywhere): adjust the use of widths
345
346         * tabular.h: change the type of widths from string to LyXLength
347
348 2001-12-11  Ben Stanley <bds02@uow.edu.au>
349
350         * paragraph.C: fixed missing line number count when exporting
351         Environments to LaTeX file
352
353         * buffer.C: added informational message for checking line numbers.
354
355 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
356
357         * text2.C (deleteEmptyParagraphMechanism): if there is only one
358         paragraph, do the 'double space' part, but not the 'empty
359         paragraph' one.
360
361         * text.C (workWidth): small optimization
362         (getLengthMarkerHeight): use minimal size for negative lengths. 
363
364 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
365
366         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
367
368         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
369
370 2001-12-11  André Pönitz <poenitz@gmx.net>
371
372         * FontLoader.C:
373         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
374
375 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
376
377         * text2.C: keep selection on a setFont()
378  
379 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
380
381         * lyx_cb.C: another bv->text misuse, from insert label
382  
383 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
384
385         * kbsequence.h:
386         * kbsequence.C: re-instate nmodifier mask
387  
388 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
389
390         * lyx_main.h: make lyxGUI private.
391
392 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
393
394         * lyxfind.C: place the cursor correctly on failed search
395  
396 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
397
398         * text.C (getLengthMarkerHeight): for small heights, the arrows
399         are not always on top/bottom of the text
400         (drawLengthMarker): smaller arrows; take the left margin in
401         account; draw also vfills.
402         (paintFirstRow): 
403         (paintLastRow): remove special code for vfill and standard spaces,
404         since everything is handled in drawLengthMarker now.
405
406 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
407
408         * buffer.C (insertErtContents): try to handle font and language
409         interaction a bit better.g
410
411         * ColorHandler.C (updateColor): change the hash to cover the whole
412         LColor enum, ws cleanup
413         (getGCLinepars): ditto
414         (getGCLinepars): only lookup in the linecache once.
415
416 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
417
418         * iterators.C (operator++): Make the iterator more robust
419
420         * BufferView2.C (removeAutoInsets): Use paragraph iterators
421         (John's patch)
422         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
423
424 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
425
426         * lyxtext.h:
427         * text.C: better added space drawing
428
429 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
430
431         * LyXView.C:
432         * BufferView2.C: fix layout combo update on inset unlock
433
434 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
435
436         * Makefile.am: don't compile unused files
437
438 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
439
440         * lyxfunc.C:
441         * commandtags.h:
442         * LyXAction.C: remove old LFUN_LAYOUTNO
443
444 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
445
446         * paragraph_pimpl.h:
447         * paragraph_pimpl.C: isTextAt() doesn't need font param
448
449 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
450
451         * lyxlex.h:
452         * lyxlex.C: little cleanup
453
454 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
455
456         * BufferView_pimpl.C: fix insertAscii for insets
457  
458 2001-12-05  Juergen Vigna  <jug@sad.it>
459
460         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
461         set the right font on the "multi" paragraph paste!
462
463 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
464
465         * trans_decl.h:
466         * trans_mgr.[Ch]:
467         * trans.[Ch]:
468         * lyxgluelength.C:
469         * lyxlength.C: remove out-commented code.
470
471         * BufferView_pimpl:
472         * CutAndPaste.C: 
473         * DepTable.C:
474         * buffer.C:
475         * chset.C:
476         * lastfiles.C:
477         * lyxlex.C:
478         * lyxlex_pimpl.C:
479         * lyxserver.C:
480         * screen.C:
481         * tabular-old.C:
482         * tabular.C:
483         * text.C:
484         * trans_mgr.C:
485         * vc-backend.C: change "while(" to "while ("
486         
487         * lyxlength.[Ch]: add zero function to check if length is zero or
488         not
489         * lyxgluelength.C: use it
490         
491 2001-12-05  Allan Rae  <rae@lyx.org>
492
493         * lyxlength.C: Attempted a fix for the abs(int) header selection.
494         Works for 2.95.3, from what I understand of Garst's reports this should
495         work for other g++ versions.  We're screwed if the abs(int) definition
496         changed between bugfix releases of gcc.
497
498 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
499
500         * text.C: fix chapter label offset !
501
502 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
503
504         * lyxtext.h:
505         * text.C: fix hfill at end of line, clean up
506
507 2001-12-04  Juergen Vigna  <jug@sad.it>
508
509         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
510         that we force an update of the inset and it's owners if neccessary.
511
512 2001-12-03  Juergen Vigna  <jug@sad.it>
513
514         * text.C (rowLast): simplified code
515
516 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
517
518         * lyxfunc.C: fix show options on timeout
519  
520 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
521
522         * screen.C (topCursorVisible): scroll half a page when the cursor
523         reached top of bottom of screen
524
525 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
526
527         * minibuffer.C: deactivate on loss of focus
528  
529 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
530
531         * vspace.[Ch] (operator!=): add operator. 
532
533 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
534
535         * BufferView_pimpl.C: refuse to open an inset when
536         there's a selection.
537
538 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
539
540         * BufferView_pimpl.C: allow to click on RHS of full row insets
541  
542 2001-11-30  Juergen Vigna  <jug@sad.it>
543
544         * tabular.C (LyXTabular): add a same_id to set the same id's in the
545         insets for undo reasons.
546
547 2001-11-28  André Pönitz <poenitz@gmx.net>
548
549         * vspace.[Ch]: cosmetical changes
550
551 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
552
553         * LyXAction.h:
554         * LyXAction.C:
555         * lyxfunc.h:
556         * lyxfunc.C:
557         * kbmap.h:
558         * kbmap.C:
559         * lyxrc.C:
560         * kbsequence.h:
561         * kbsequence.C: part re-write of old kb code
562
563         * Painter.C:
564         * WorkArea.C: remove Lgb_bug_find_hack
565
566 2001-11-30  José Matos <jamatos@fep.up.pt>
567
568         * buffer.C (makeDocBookFile): add a comment to point a hack.
569         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
570         Fixed a double write of labels.
571         
572 2001-11-28  André Pönitz <poenitz@gmx.net>
573
574         * all the files from the change on 2001/11/26:
575         use lyx::layout_type instead of LyXTextClass::size_type
576         use lyx::textclass_type instead of LyXTextClassList::size_type
577
578 2001-11-29  Juergen Vigna  <jug@sad.it>
579
580         * text.C: added support for paragraph::isFreeSpacing()
581
582         * buffer.C: same as above
583
584         * paragraph.h: inserted isFreeSpacing() function to enable
585         FreeSpacing inside InsetERT.
586
587         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
588         of the paragraph's in the cut/copy buffer to 0!
589
590         * text2.C (removeRow): remove the assert as it can!
591
592         * lyxtext.h: added helper function firstRow returning firstrow and
593         made firstrow private again.
594
595         * BufferView2.C (lockInset): don't relock if we're already locked!
596
597         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
598         the only paragraph.
599         (removeRow): added Assert::(firstrow)
600
601         * debug.C: forgot to add INSETTEXT here.
602
603 2001-11-28  Juergen Vigna  <jug@sad.it>
604
605         * sp_spell.C (initialize): changed error text to more general
606         spellchecker command use (not only ispell!)
607
608         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
609
610         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
611
612 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
613
614         * vspace.C: initialise lyxgluelength on failure
615
616 2001-11-28  Allan Rae  <rae@lyx.org>
617
618         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
619         declaration & definition that looks like a function declaration.
620
621 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
622
623         * BufferView2.C (copy): 
624         (copyEnvironment): do not clear the selection when doing a copy.
625
626         * text.C (paintFirstRow): compilation fix
627
628 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
629
630         * tabular.C (Latex): correct line count when writing latex.
631
632 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
633
634         * paragraph_pimpl.h:
635         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
636           bug a bit
637
638 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
639
640         * text.C: 
641         * LColor.h:
642         * LColor.C: change vfillline->added_space
643  
644         * text.C: add markers and text for added space
645  
646         * vspace.C: fix comment
647
648 2001-11-28  André Pönitz <poenitz@gmx.net>
649
650         * paragraph.C: whitespace changes
651         * all the other files from the change on 2001/11/26:
652         change *::pos_type into lyx::pos_type
653         
654 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
655
656         * buffer.C (parseSingleLyXformat2Token): Set the language to the
657         language of the document when inserting error insets.
658
659 2001-11-26  André Pönitz <poenitz@gmx.net>
660         
661         * BufferView_pimpl.[Ch]:
662         *       CutAndPaste.C:
663         * buffer.[Ch]:
664         * lyxcursor.[Ch]:
665         * lyxfind.C:
666         * lyxfunc.C:
667         * lyxrow.[Ch]:
668         * paragraph.[Ch]:
669         * paragraph_pimpl.[Ch]:
670         * sp_spell.C:
671         * text.C:
672         * text2.C: reduce header dependencies, introduce type for positions
673
674 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
675
676         * <various>: change to use Alert.h 
677          
678 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
679
680         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
681         when encountering an unknown token.
682         (readLyXformat2): Show an error message if there were unknown tokens.
683
684 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
685
686         * BufferView2.C:
687         * BufferView_pimpl.C:
688         * buffer.C:
689         * paragraph.h:
690         * text.C: 
691         * text2.C: use par->isInset()
692          
693 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
694
695         * paragraph_pimpl.h:
696         * paragraph_pimpl.C: cleanup 
697          
698 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
699
700         * text2.C (removeRow): 
701         * text.C (setHeightOfRow): remove useless (and costly) call to
702         getRow. 
703
704 2001-11-20  Allan Rae  <rae@lyx.org>
705
706         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
707         Now need Inset*::checkInsertChar() to return true for appropriate
708         cases so that the characters in the minibuffer will actually be
709         inserted.
710
711 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
712
713         * text.C: change the order of the includes.
714         (workWidth): initialize it at once.
715         (workWidth): make maxw unsigned
716         (setHeightOfRow): remove unused variable (inset)
717         (selectSelectedWord): remove unused variable (inset)
718         (paintRowText): fix drawing of hfill characters, and clean up a bit.
719
720 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
721
722         * lyxserver.C (emergencyCleanup): do not try to close pipes if
723         server is not running.
724         (openConnection): 
725         (closeConnection): add debug info when server is disabled.
726
727         * ColorHandler.C (getGCForeground): send debug message to GUI
728         channel. 
729
730         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
731
732         * kbmap.C (bind): modify because return conventions of
733         kb_sequence::parse have changed.
734
735         * kbsequence.C (parse): only ignore spaces and not any stupid
736         control character. This avoids tests like s[i] <= ' ', which are
737         guaranteed to fail with 8bit characters and signed chars.
738         Change return code to string::npos when there have been no error
739         (0 was a bad idea when error is at first character)
740
741 2001-11-14  José Matos  <jamatos@fep.up.pt>
742
743         * buffer.h:
744         * buffer.C (simpleDocBookOnePar): removed unused argument.
745
746 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
747
748         * text.C (selectNextWordToSpellcheck): do not test explicitely for
749         insets which are part of a word. Paragraph::isLetter takes care of
750         that now. Use Paragraph::isInset to identify insets.
751         (selectSelectedWord): do not test for hyphenation break.
752
753         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
754         that protected spaces are considered as spaces.
755
756         * paragraph.C (isLetter): cleanup the code for ispell extras; use
757         Inset::isLetter. 
758
759 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
760
761         * lyxserver.h:
762         * lyxserver.C: fix it. and small cleanup.
763  
764 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
765
766         * BufferView_pimpl.C: use inline helpers
767  
768         * LaTeXFeatures.h: 
769         * LaTeXFeatures.C: fix typos
770
771         * Spacing.h:
772         * Spacing.C: move spacing_string into class 
773
774         * ToolbarDefaults.C: move stuff into namespace anon
775  
776         * layout.h: update enum
777
778         * lyxfunc.C: use better debug
779
780         * minibuffer.h: fix typo
781  
782         * debug.h:
783         * debug.C:
784         * WorkArea.C: add and use Debug::WORKAREA
785
786         * lyxtext.h:
787         * text.C: 
788         * text2.C: code re-organisation, inline helpers
789
790 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
791
792         * Layout.C: replaced a few cases of std::vector.size() == 0 with
793         std::vector.empty().
794
795 2001-11-09  Allan Rae  <rae@lyx.org>
796
797         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
798         '\n's after tables.  Tabular and ERT inset work now makes this no
799         longer necessary.
800
801 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
802
803         * minibuffer.h:
804         * minibuffer.C: fix crash, improve drop-down completion 
805  
806 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
807
808         * lyxserver.h:
809         * lyxserver.C: invalidate fd's when doing endPipe()
810  
811 2001-11-08  José Matos  <jamatos@fep.up.pt>
812
813         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
814         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
815
816         * paragraph.h:
817         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
818
819 2001-11-07  José Matos  <jamatos@fep.up.pt>
820
821         * buffer.h:
822         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
823         const qualifier.
824
825         * buffer.C (sgmlOpenTag):
826         * buffer.C (sgmlCloseTag): removed debug info.
827
828         * buffer.h (sgmlOpenTag):
829         * buffer.h (sgmlCloseTag): made public.
830
831 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
832
833         * buffer.C (saveParamsAsDefaults): 
834         * lyx_cb.C (MenuLayoutSave): remove
835
836         * LyXAction.C (init): 
837         * commandtags.h: 
838         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
839
840 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
841
842         * buffer.C (setPaperStuff): removed from here...
843
844         * bufferparams.C (setPaperStuff): ... and moved there.  
845
846 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
847
848         * minibuffer.h:
849         * minibuffer.C:
850         * XFormsView.C: add support for drop-down completion
851  
852 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
853
854         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
855         commands.
856
857 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
858
859         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
860         disabled. 
861
862 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
863
864         * lyx_main.C: change ref to known bugs
865  
866 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
867
868         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
869         to work around older babel problems.
870
871 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
872
873         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
874
875 2001-10-24  Juergen Vigna  <jug@sad.it>
876
877         * tabular-old.C (ReadOld): below variable changes reflected.
878
879         * tabular.[Ch]: added ltType struct for longtable header/footer
880         defines and changed all instances where they are used. Added
881         future support for double top/bottom rows.
882
883 2001-10-24  José Matos  <jamatos@fep.up.pt>
884
885         * buffer.h (docbookHandleCaption):
886         * buffer.C (docbookHandleCaption): removed unused function.
887         (makeDocBookFile): moved docbook supported version to v4.1.
888
889 2001-10-24  José Matos  <jamatos@fep.up.pt>
890
891         * tabular.h:
892         * tabular.C (docbookRow): new function to export docbook code of a row.
893         (DocBook): now honors the longtable flags.
894
895 2001-10-23  José Matos  <jamatos@fep.up.pt>
896
897         * LaTeXFeatures.h:
898         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
899         of the lyx defined sgml entities used in a docbook/linuxdoc document.
900
901         * buffer.C (makeLinuxDocFile):
902         (makeDocBookFile): reworked the preamble, more clean, and with
903         support for lyx defined entities. Changed the document declaration
904         to be more XML friendly.
905
906         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
907         if we need to output XML that should be done with a filter.
908         
909 2001-10-22  Juergen Vigna  <jug@sad.it>
910
911         * sp_pspell.h (class PSpell): add alive function needed in the
912         controller to see if the spellchecker could be started.
913
914 2001-10-22  Juergen Vigna  <jug@sad.it>
915
916         * buffer.C (insertStringAsLines): modify the font for inserting
917         chars in certain conditions by calling checkInsertChar(font).
918
919 2001-10-19  Juergen Vigna  <jug@sad.it>
920
921         * text.C (workWidth): use getRow instead of wrong algorithm.
922         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
923
924 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
925
926         * lyxserver.h:
927         * lyxserver.C:
928         * lyx_main.h:
929         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
930
931 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
932
933         * text.C (workWidth): do not search for the exact row when
934         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
935         optimization for big documents.
936
937 2001-10-18  Juergen Vigna  <jug@sad.it>
938
939         * text.C (workWidth): new function with added Inset * parameter.
940
941 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
942
943         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
944
945         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
946         change return type of getColumnNearX.
947         
948
949         * text.C (changeRegionCase): use uppercase/lowercase instead of
950         toupper/tolower. 
951         (leftMargin): 
952         (rightMargin): simplify code by factoring out the uses of
953         textclasslist.
954         (labelFill): 
955         (numberOfHfills): 
956         (setHeightOfRow): 
957         (appendParagraph): use Paragraph::size_type
958
959 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
960
961         * vspace.C (asLatexString): add a missing break
962
963 2001-10-15  Herbert Voss  <voss@perce.de>
964
965         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
966
967 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
968
969         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
970         is not available.
971
972 2001-10-10  André Pönitz <poenitz@gmx.net>
973
974         * lyxfunc.C: removed greek_kb_flag.
975
976 2001-10-10  Herbert Voss  <voss@perce.de>
977
978         * lyx_main.C: delete global string help_lyxdir.
979
980 2001-10-09  Herbert Voss  <voss@perce.de>
981
982         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
983
984         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
985
986         * lyx_main.C: added global string help_lyxdir.
987
988         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
989
990 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
991
992         * lyxrc.C (set_font_norm_type): support iso8859-4
993
994 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
995
996         * LaTeX.C (deplog): add another regex for MikTeX
997
998 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
999
1000         * lyxrc.C (set_font_norm_type): support iso8859-3
1001
1002 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1003
1004         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
1005
1006         * LaTeXFeatures.C: remove special case of french and index
1007
1008         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
1009         before \begin{document}). This solves several incompatibilities.
1010
1011 2001-10-03  Garst Reese  <reese@isn.net>
1012
1013         * lyx_cb.C: change CheckTex error msg.
1014
1015 2001-10-03  José Matos  <jamatos@fep.up.pt>
1016
1017         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
1018
1019 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1020
1021         * .cvsignore: update
1022
1023         * lyx_main.C (commandLineVersionInfo): use new style version info.
1024
1025         * buffer.C (writeFile):
1026         (makeLaTeXFile):
1027         (makeLinuxDocFile):
1028         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
1029
1030         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
1031
1032         * version.h: update to use stuff in version.C
1033
1034         * version.C.in: new file. Contains version information determined
1035         at compile time. This is a merging of version.h and
1036         version_info.h.in.
1037
1038 2001-10-03  Juergen Vigna  <jug@sad.it>
1039
1040         * BufferView_pimpl.C (update): don't change "dirty" status in
1041         updateInset call.
1042
1043 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
1044
1045         * WorkArea.C (c-tor): re-position version string slightly.
1046
1047 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
1048
1049         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
1050         revert to previous code.
1051
1052         WorkArea.[Ch]: (show, destroySplash): methods removed.
1053
1054         WorkArea.C: rework code so that it's an amalgam of the codes before and
1055         after the splash screen was moved to WorkArea.
1056
1057 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1058
1059         * lyxrc.C (read): 
1060         * vspace.C (inPixels): 
1061         (lyx_advance): 
1062         * kbmap.C (bind): 
1063         * buffer.C (insertStringAsLines): 
1064         (asciiParagraph): fix types to be large enough
1065
1066         * lyxlex_pimpl.h: change member status from short to int
1067
1068         * layout.h: fix type of endlabeltype
1069
1070         * kbmap.C (bind): 
1071         * kbsequence.C (parse): change return type to string::size_type
1072
1073         * LaTeX.C (updateBibtexDependencies): comment out unneeded
1074         variable
1075
1076         * Bullet.C (bulletSize): 
1077         (bulletEntry): do not use short ints as parameters
1078
1079         * BufferView2.C (insertLyXFile): change a char to an int.
1080
1081         * WorkArea.C (WorkArea): remove unneeded floats in computation
1082
1083 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
1084
1085         * buffer.C (asciiParagraph): Treat '\\' as other chars.
1086
1087         * paragraph.C (asString): Do not ignore newline/hfill chars when
1088         copying to the clipboard.
1089
1090 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
1091
1092         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
1093         after a multi-line inset.
1094
1095 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
1096
1097         * paragraph.C (validate): Set NeedLyXFootnoteCode
1098
1099 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
1100
1101         * lyxfont.C (LyXSizeNames): changed increase-error to increase
1102         and decrease-error to decrease.
1103
1104 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1105
1106         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
1107         it more readable (should be equivalent)
1108
1109 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
1110
1111         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
1112
1113 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1114
1115         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
1116         of a cursor (row, etc.) after a character has been deleted
1117         (deleteEmptyParagraphMechanism): call the method above on _all_
1118         cursors held by the LyXText when a double space has been
1119         detected/deleted.
1120  
1121 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
1122
1123         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
1124         pixmap.
1125         (resizeCurrentBuff): remove code to destroy the old splash dialog.
1126
1127         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
1128         background. Use greyOut() and the new show() methods to toggle between
1129         the foreground and background. Add code to remove the splash after
1130         its initial showing.
1131
1132         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
1133         (create_forms): no longer call Dialogs::showSplash.
1134
1135 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1136
1137         * .cvsignore: add version_info.h
1138
1139 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1140
1141         * version_info.h.in: new file
1142
1143         * Makefile.am: add version_info.h.in
1144
1145         * lyx_main.C (commandLineVersionInfo): use version_info defined in
1146         version_info.h instead of VERSION_INFO
1147
1148 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
1149
1150         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
1151         The ERT inset now returns string().
1152
1153 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
1154
1155         * lyxtext.h, text.C (selectNextWord): renamed as
1156         selectNextWordToSpellcheck.
1157
1158         * text.C (selectNextWordToSpellcheck): Modified to not select
1159         words inside an ERT inset.
1160
1161 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1162
1163         * lyx_cb.C (MenuLayoutSave): change a bit the question
1164
1165         * sp_base.h: include <sys/types.h>
1166
1167 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
1168
1169         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
1170
1171 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
1172
1173         * several files: fix typos in user-visible strings
1174
1175 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1176
1177         * text2.C (pasteSelection): do not set the selection, since it
1178         will be cleared later. Actually, the intent was to fix the way the
1179         selection was set, but I figured rmoving the code was just as good.
1180
1181 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
1182
1183         * FontLoader.C (available): Check if font is available without
1184         loading the font.
1185
1186 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1187
1188         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
1189
1190 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
1191
1192         * lyxrc.[Ch]: added display_graphics variable and associated code.
1193
1194 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1195
1196         * bufferparams.C (hasClassDefaults): new method. Returns true if
1197         the buffer parameters correspond to known class defaults
1198
1199 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
1200
1201         * XFormsView.C (show): set minimum size to the main window.
1202
1203 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1204
1205         * text2.C (copySelection): 
1206         (cutSelection): 
1207         * lyxfind.C (LyXReplace): 
1208         * BufferView_pimpl.C (Dispatch): pass the correct flag to
1209         LyXText::selectionAsString. 
1210
1211         * paragraph.C (asString): add "label" argument to the second form
1212
1213         * text2.C (selectionAsString): add "label" argument and pass it to
1214         Paragraph::asString. 
1215
1216 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1217
1218         * lyx_main.C (commandLineHelp): remove version information
1219
1220 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
1221
1222         * lyx_main.C: add -version commandline option
1223
1224 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1225
1226         * paragraph.h: make the optional constructor arg required instead.
1227         some modifications to other files because of this.
1228
1229         * minibuffer.C (C_MiniBuffer_peek_event): make it static
1230
1231         * lyxserver.C (C_LyXComm_callback): make it static
1232
1233         * lyx_main.C (error_handler): make it static
1234
1235         * lyx_gui.C (LyX_XErrHandler): make it static
1236
1237         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
1238
1239         * WorkArea.C: make the extern "C" methods static.
1240
1241         * Makefile.am (lyx_LDADD): simplify
1242
1243 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
1244
1245         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
1246         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
1247
1248         * LyXAction.C (init):
1249         * lyxfunc.C (dispatch): associated code removal.
1250
1251 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1252
1253         * lyxfont.h (isSymbolFont): shut off warning
1254
1255         * text.C (setHeightOfRow):
1256         (getVisibleRow): fix crash with empty paragraphs which have a
1257         bottom line
1258
1259 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
1260
1261         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
1262         code.
1263
1264 2001-09-04  José Matos  <jamatos@fep.up.pt>
1265         * buffer.C
1266         * buffer.h
1267         * tabular.C (docbook): rename docBook method to docbook.
1268
1269 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
1270
1271         * Makefile.am: add dependencies to main.o.
1272
1273 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
1274
1275         * FontLoader.C (available): Return false if !lyxrc.use_gui
1276
1277 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
1278
1279         * FontInfo.C (query):
1280         * converter.C (view):
1281         * importer.C (Import):
1282         * exporter.C (Export): Can not -> cannot.
1283
1284 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
1285
1286         * BufferView_pimpl.C: allow to create index inset even if
1287           string is empty
1288  
1289 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
1290
1291         * buffer.C (getLists): replace boost::tie code with an explicit pair
1292         as boost::tie can break some compilers.
1293
1294         * iterators.h: Added a std:: declaration to the return type of
1295         ParIterator::size.
1296
1297 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
1298
1299         * lyxrc.C: add help for view_dvi_paper_option, default to safe
1300           case.
1301  
1302 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
1303
1304         * iterators.[Ch]: New files. Provide paragraph iterators.
1305
1306         * buffer.C (changeLanguage): Use paragraph iterators.
1307         (isMultiLingual): ditto 
1308
1309         * BufferView2.C (ChangeInsets): Use paragraph iterators.
1310
1311 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
1312
1313         * FontLoader.C: Support for cmr font.
1314
1315 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
1316
1317         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
1318         (available): New method.
1319
1320         * FontInfo.C (getFontname): Use scalable fonts even when
1321         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
1322         found.
1323
1324 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
1325
1326         * converter.C (Formats::view): reverted! Incorrect fix.
1327
1328 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
1329
1330         * converter.C (Formats::view): only output the -paper option
1331         if the dvi viewer is xdvi, thereby fixing bug #233429.
1332
1333 2001-08-23  Herbert Voss  <voss@perce>
1334
1335         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
1336
1337 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
1338
1339         * Spacing.h (Spacing): Set space to Default on in the default
1340         constructor.
1341
1342 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1343
1344         * vc-backend.h (RCS::versionString): add RCS to version 
1345         (CVS::versionString): add CVS to version 
1346
1347         * vc-backend.C (scanMaster): do not add CVS to version.
1348         (scanMaster): do not add RCS to version
1349
1350         * lyxvc.C (versionString): new method
1351
1352         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
1353
1354 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1355
1356         * Spacing.C (set): initialize fval
1357
1358 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
1359
1360         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
1361         " or \.
1362
1363 2001-08-16  Juergen Vigna  <jug@sad.it>
1364
1365         * lyxfunc.C (dispatch): implemented the new FINISHED states.
1366
1367 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
1368
1369         * BufferView_pimpl.C: 
1370         * figureForm.C:
1371         * lyxtext.h:
1372         * text2.C: setParagraph takes linespacing now
1373  
1374 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
1375
1376         * LyxAction.C: add internal LFUN_CITATION_INSERT
1377
1378         * LyXView.C: actually apply fix
1379
1380         * bufferlist.C: fix open non-existent file
1381  
1382         * lyxfind.C: fix indentation
1383  
1384         * lyxfunc.C: remove unneeded assert, fix typo
1385  
1386 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
1387
1388         * MenuBackend.C: use "Floatname List"
1389
1390 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
1391
1392         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
1393         when converting LaTeX layout to insetERT.
1394         Generate a non-collapsed float when reading old float
1395
1396 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
1397
1398         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
1399         ERT insets.
1400
1401 2001-08-13  Juergen Vigna  <jug@sad.it>
1402
1403         * text.C (fill): return 0 instead of 20 as this seems to be the more
1404         correct value.
1405
1406 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
1407
1408         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
1409         lyxrc.font_norm.
1410
1411 2001-08-13  Juergen Vigna  <jug@sad.it>
1412
1413         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
1414         casesensitive off.
1415         (SearchBackward): comment out the unlocking of the inset_owner this
1416         should not be needed!
1417
1418 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
1419
1420         * Many files: Remove inherit_language, and add latex_language
1421
1422         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
1423         collapsible insets.
1424
1425 2001-08-10  Juergen Vigna  <jug@sad.it>
1426
1427         * text.C (prepareToPrint): fixed hfill-width in draw!
1428
1429         * BufferView2.C (selectLastWord): save the selection cursor as this
1430         now is cleared in the function LyXText::clearSelection!
1431
1432 2001-08-08  Juergen Vigna  <jug@sad.it>
1433
1434         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
1435         BACKSPACE type functions.
1436
1437         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
1438         is only cutted from the document but not put in the cut-buffer, where
1439         still the old stuff should be.
1440
1441         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
1442
1443         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
1444
1445         * tabular.C (SetWidthOfCell): fixed special case where the width
1446         was not updated!
1447         (LeftLine): handle '|' in align_special.
1448         (RightLine): ditto
1449         (LeftAlreadyDrawed): ditto
1450         (SetWidthOfCell): ditto
1451
1452 2001-08-07  Juergen Vigna  <jug@sad.it>
1453
1454         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
1455
1456 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1457
1458         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
1459         * lyxlex.[hC]: ditto
1460
1461 2001-08-06  Juergen Vigna  <jug@sad.it>
1462
1463         * text.C (getVisibleRow): fix up row clearing a bit.
1464
1465 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1466
1467         * minibuffer.C: make sure the X server sees the changes in the input.
1468
1469 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1470
1471         * paragraph.C (getFont): split into...
1472         (getLabelFont): this
1473         (getLayoutFont): and this
1474         * paragraph_pimpl.C (realizeFont): calling this
1475
1476         * text2.C (getFont): split into...
1477         (getLayoutFont): this
1478         (getLabelFont): and this
1479         (realizeFont): all three calling this
1480
1481         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
1482         files where used.
1483
1484 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1485
1486         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
1487
1488 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
1489
1490         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
1491         layouts from the Quote inset insertion.
1492
1493 2001-08-03  Juergen Vigna  <jug@sad.it>
1494
1495         * BufferView_pimpl.C (update): do the fitCursor only at the end!
1496
1497         * screen.C (drawFromTo): don't call fitcursor here and do the loop
1498         only if status not is already CHANGED_IN_DRAW (second level).
1499
1500         * text.C (draw): don't set the need_break_row when inside an
1501         InsetText LyXText.
1502
1503 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1504
1505         * buffer.C (parseSingleLyXformat2Token): handle more latex
1506         conversion cases.
1507
1508         * bufferview_funcs.[hC]: change function names to
1509         begin with small char, adjust other files.
1510
1511 2001-08-02  André Pönitz <poenitz@gmx.net>
1512
1513         * lyxfunc.C:
1514         BufferView_pimpl.C: remove broken special code for math-greek
1515
1516 2001-08-02  Juergen Vigna  <jug@sad.it>
1517
1518         * BufferView_pimpl.C (update): redone this function so that we
1519         update the text again if there was a CHANGE_IN_DRAW.
1520
1521         * screen.C (cursorToggle): removed LyXText parameter and recoded.
1522         (drawFromTo): added a new internal bool which is used by draw() and
1523         redraw() function.
1524         (general): some cursor drawing problems fixed.
1525
1526 2001-08-01  Juergen Vigna  <jug@sad.it>
1527
1528         * lyxfind.C (LyXFind): fixed
1529         (SearchForward): ditto
1530         (SearchBackward): ditto
1531
1532         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
1533         spurius drawing of the cursor in the main area.
1534
1535         * text2.C (status): small fix which could lead to a segfault!
1536         (clearSelection): remove unneeded BufferView param.
1537
1538 2001-08-01  André Pönitz <poenitz@gmx.net>
1539
1540         * lyxfunc.C: small change due to changed mathed interface
1541
1542 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1543
1544         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
1545
1546 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
1547  
1548         * lyxfunc.c: fail gracefully if file doesn't exist 
1549  
1550         * LyXSendto.C:
1551         * buffer.C:
1552         * lyxfunc.C:
1553         * BufferView_pimpl.C: IsDirWriteable() proto changed 
1554  
1555         * LyXView.C: fix updateWindowTitle() to store the last title
1556
1557 2001-07-31  Juergen Vigna  <jug@sad.it>
1558
1559         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
1560         the font (wrong since using of Paragraph::highestFontInRange).
1561
1562         * paragraph.C (highestFontInRange): added a default_size parameter.
1563
1564         * text.C (getVisibleRow): minor clear row changes (still not perfect).
1565         (setHeightOfRow): reformat
1566
1567 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1568
1569         * converter.[hC] + affected files: move to (inital-char)lowercase
1570         function names.
1571
1572         * ParagraphParameters.C (ParagraphParameters): remove commented code
1573
1574         * PainterBase.[Ch]: remove commented code
1575
1576         * LaTeXFeatures.h: add "bool floats" for float.sty
1577
1578         * LaTeXFeatures.C (LaTeXFeatures): init floats
1579         (require): handle float
1580         (getPackages): do it with floats
1581
1582 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1583
1584         * BufferView_pimpl.C (Dispatch): improve handling of
1585         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
1586
1587         * commandtags.h: #include lyxfont.h here temporarily to avoid
1588         keybinding bug.
1589
1590         * bufferlist.h: include LString.h here.
1591
1592 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1593
1594         * text2.C (getStringToIndex): new method.
1595
1596 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
1597
1598         * *: Reduced header file dependencies all over.
1599
1600 2001-07-30  Baruch Even  <baruch@lyx.org>
1601
1602         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
1603
1604 2001-07-29  Baruch Even  <baruch@lyx.org>
1605
1606         * buffer.C (readInset): Changed GRAPHICS to Graphics.
1607
1608 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1609
1610         * ParameterStruct.h (endif): add a default constructor to make
1611         sure that all variables is initialized.
1612
1613         * ParagraphParameters.C (ParagraphParameters): adjust
1614
1615 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1616
1617         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
1618         index; also, check that there is something to index, and that it
1619         does not span over several paragraphs.
1620         (doubleClick): use WHOLE_WORD_STRICT for double click.
1621
1622         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
1623
1624         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
1625         scheme.
1626
1627 2001-07-26  Baruch Even  <baruch@lyx.org>
1628
1629         * buffer.C (readInset): Changed to call up InsetGraphics when reading
1630         an InsetFig figure, backwards compatible reading of old figure code.
1631
1632 2001-07-27  Juergen Vigna  <jug@sad.it>
1633
1634         * text2.C: font.realize function adaption.
1635
1636         * text.C (draw): add a warnings lyxerr text if needed.
1637
1638         * layout.C: font.realize function adaption.
1639
1640         * language.C: add inherit_language and implement it's handlings
1641
1642         * bufferview_funcs.C (StyleReset): remove language parameter from
1643         font creation (should be language_inherit now).
1644
1645         * bufferparams.C (writeFile): handle ignore_language.
1646
1647         * paragraph.C (getFontSettings): the language has to be resolved
1648         otherwise we have problems in LyXFont!
1649
1650         * lyxfont.C (lyxWriteChanges): added document_language parameter
1651         (update): removed unneeded language parameter
1652
1653         * paragraph.C (validate): fixed wrong output of color-package when
1654         using interface colors for certain fonts in certain environments,
1655         which should not seen as that on the final output.
1656
1657 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
1658
1659         * BufferView_pimpl.C:
1660         * Thesaurus.h:
1661         * Thesaurus.C:
1662         * Makefile.am:
1663         * commandtags.h:
1664         * LyXAction.C: add thesaurus support
1665
1666         * lyxfind.h:
1667         * lyxfind.C: add "once" parameter, for thesaurus, to not
1668           move to the next match
1669   
1670 2001-07-26  Juergen Vigna  <jug@sad.it>
1671
1672         * lyxfont.C (realize): honor ignore_language too!
1673         (resolved): ditto.
1674
1675         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
1676
1677         * text.C (draw): one place more for ignore_language to not draw
1678         itself!
1679
1680 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
1681
1682         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
1683
1684 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1685
1686         * buffer.C (parseSingleLyXformat2Token): a more general fix for
1687         the minipage conversion problem.
1688
1689 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1690
1691         * buffer.C (parseSingleLyXformat2Token): check minipage if we
1692         insert an inset.
1693
1694 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1695
1696         * BufferView.h: don't forward declare WorkArea
1697
1698         * BufferView.C: don't include WorkArea.h
1699
1700 2001-07-25  André Pönitz <poenitz@gmx.net>
1701
1702         * commandtags.h:
1703         * LyXAction.C:
1704         * lyxfunc.C:  new LFUN 'math-space'
1705
1706         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
1707
1708 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1709
1710         * text2.C (toggleInset): call open/close
1711
1712 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1713
1714         * lyxfunc.C (dispatch): add debug for the disabled case
1715
1716         * font.C (buttonText): make similar to rectText
1717
1718         * buffer.C (readInset): comment out parsing of insetlist and
1719         insttheorem 
1720
1721         * PainterBase.C (rectText): small correction
1722
1723         * BufferView_pimpl.C: comment out insettheorem and insetlist
1724         * LyXAction.C: ditto
1725         * commandtags.h: ditto
1726
1727 2001-07-24  Juergen Vigna  <jug@sad.it>
1728
1729         * text.C (draw): honor the ignore_language.
1730
1731         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
1732
1733 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1734
1735         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
1736         char inset.
1737
1738 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1739
1740         * lyxtext.h: remove unused (and unimplemented) methods
1741
1742 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1743
1744         * text.C (getVisibleRow): honor background color
1745
1746         * PainterBase.h:
1747         * Painter.h: remove default color argument for fillRectangle
1748
1749         * text.C (backgroundColor): new method
1750
1751 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1752
1753         * text.C (getVisibleRow): adjust
1754
1755         * font.[Ch] (rectText): new method, metrics
1756         (buttonText): new method, metrics
1757
1758         * PainterBase.[hC]: make rectText and buttonText always draw and take
1759         fewer paramteres.
1760
1761 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1762
1763         * ToolbarDefaults.C (read): 
1764         * MenuBackend.C (read): allow escaping in all strings
1765
1766         * BufferView_pimpl.C (insertAndEditInset): new method.
1767         (Dispatch): use insertAndEditInset whenever appropriate.
1768
1769         * BufferView_pimpl.C (insertNote): removed
1770
1771         * BufferView_pimpl.C (smartQuote): new method, moved from
1772         BufferView; if an insetquote cannot be inserted, insert a '"'
1773         character instead.
1774
1775         * BufferView2.C: remove insertCorrectQuote();
1776
1777         * lyxfunc.C (getStatus): Add support for all remaingin
1778         inset-insert lfuns.
1779
1780         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
1781
1782         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
1783         command (necessary to pass " as parameter of self-insert.
1784
1785         * text.C (selectWordWhenUnderCursor):
1786         (selectWord): add word_location parameter
1787         (selectWordWhenUnderCursor): same + remove special code for word
1788         boundary.
1789         (selectNextWord): use kind() to guess type of insetspecialchar,
1790         not latex().
1791         
1792         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
1793         (insertErtContents): create ert insets as collapsed.
1794         (readInset): better compatibility code for Info inset.
1795
1796 2001-07-20  Juergen Vigna  <jug@sad.it>
1797
1798         * lyxfunc.C (dispatch): use always LyXFind now!
1799
1800         * text2.C (init): add a reinit flag so that the LyXText can be
1801         reinited instead of deleted and reallocated (used in InsetText).
1802
1803         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
1804
1805         * text.C: ditto
1806
1807         * text2.C: ditto
1808
1809 2001-07-18  Juergen Vigna  <jug@sad.it>
1810
1811         * text.C (selectNextWord): handle insets inside inset by calling
1812         always the bv->text functions so that we can go up the_locking_inset!
1813
1814         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
1815         in strange locations when inside an inset!
1816
1817         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
1818         handling to include insets.
1819
1820         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
1821
1822 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
1823
1824         * LyXAction.C (init): 
1825         * commandtags.h: 
1826         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
1827         LIGATURE_BREAK, since the name is so stupid.
1828
1829 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
1830
1831         * buffer.C (readInset): enable reading of new InsetNotes as well as old
1832         InsetInfos.
1833
1834         * FontLoader.C: remove FORMS_H_LOCATION cruft.
1835
1836         * sp_form.[Ch]: remove.
1837
1838         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
1839
1840         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
1841         InsetInfo.
1842
1843         * src/buffer.C (readInset): ditto.
1844
1845 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1846
1847         * BufferView_pimpl.C (specialChar): new method. Obsoletes
1848         menuSeparator(), endOfSentenceDot(), ldots() and
1849         hyphenationPoint(), which are therefore removed.
1850         (Dispatch): handle LFUN_HYPHENATION_BREAK.
1851
1852         * LyXAction.C (init): 
1853         * commandtags.h: add LFUN_HYPHENATION_BREAK.
1854
1855         * paragraph.C (getWord): removed.
1856
1857         * BufferView_pimpl.C (Dispatch): use last word or selection for
1858         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
1859
1860         * lyx_main.C (queryUserLyXDir): do not ask before creating
1861         user_dir, except if it has been named explicitely.
1862
1863 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
1864
1865         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
1866         a document of zero size.
1867
1868 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
1869
1870         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
1871         approriately in the c-tor and in require().
1872         (getPackages): output the appropriate LaTeX for natbib support.
1873
1874         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
1875         variables "use_natbib" and "use_numerical_citations" when reading the
1876         LyX file.
1877         (readInset): read the various natbib cite commands.
1878         (validate): white-space change.
1879
1880         * bufferparams.[Ch]: new variables "bool use_natbib" and
1881         "bool use_numerical_citations".
1882         (writeFile): output them in the LyX file.
1883
1884 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1885
1886         * lyxfunc.C (getStatus): add support for all the inset insertion
1887         commands.
1888
1889         * text2.C (insertInset): 
1890         * paragraph.C (insetAllowed): 
1891         * BufferView_pimpl.C (insertInset): update to take in account the
1892         renaming of insertInsetAllowed
1893
1894         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
1895
1896         * text2.C (getInset): new method. returns inset at cursor position. 
1897
1898         * BufferView_pimpl.C (Dispatch): changes because of this.
1899
1900         * LyXAction.C (init): rename open-stuff to inset-toggle.
1901
1902         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
1903
1904         * text2.C (toggleInset): renamed from openStuff; use
1905         Inset::open().
1906
1907 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
1908
1909         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
1910
1911         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
1912
1913 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
1914
1915         * buffer.C (readLyXformat2): Add filename to the error dialog
1916
1917 2001-07-18  Juergen Vigna  <jug@sad.it>
1918
1919         * tabular.C (GetCellNumber): put an assert here instead of the check!
1920
1921 2001-07-17  Juergen Vigna  <jug@sad.it>
1922
1923         * BufferView_pimpl.C (toggleSelection): adapted too.
1924
1925         * text.C (selectNextWord): adapted for use with insets.
1926         (selectSelectedWord): ditto
1927
1928 2001-07-17  Juergen Vigna  <jug@sad.it>
1929
1930         * sp_spell.C (PSpell): fix initialitation order.
1931
1932 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1933
1934         * paragraph.C: spacing
1935
1936 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
1937
1938         * sp_spell.C: repair language selection for pspell
1939
1940 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
1941
1942         * lyxfunc.h: change more methods to begin with lower char.
1943
1944 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
1945
1946         * buffer.C (parseSingleLyXformat2Token): Generate error insets
1947         for unknown layouts.
1948
1949 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
1950
1951         * buffer.C (readLyXformat2): Generate an error dialog if there are
1952         unknown layouts.
1953
1954 2001-07-16  Juergen Vigna  <jug@sad.it>
1955
1956         * sp_spell.C: always compile ISpell part.
1957
1958         * lyxrc.C: added use_pspell entry and it's handling.
1959
1960 2001-07-13  Juergen Vigna  <jug@sad.it>
1961
1962         * sp_spell.C: removed double includes.
1963
1964 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
1965
1966         Consistent use of Lsstream.h:
1967         * Lsstream.h: added using std::stringstream for consistencies sake.
1968
1969         * buffer.C: removed using std::stringstream
1970
1971         * lyxfont.C (stateText):
1972         * paragraph.C (asString):
1973         * text.C (selectNextWord, selectSelectedWord):
1974         * text2.C (setCounter):
1975         * vspace.C (asString, asLatexString):
1976         std::ostringstream -> ostringstream.
1977
1978 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
1979
1980         * LyXAction.C: add LFUN_HELP_ABOUTLYX
1981         * commandtags.h: add LFUN_HELP_ABOUTLYX
1982         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
1983
1984 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
1985
1986         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
1987         cursorToggle()
1988         * lyx_gui_misc.C: remove spellchecker
1989         * lyxfunc.C: showSpellchecker
1990         * sp_base.h: added
1991         * sp_ispell.h: added
1992         * sp_pspell.h: added
1993         * sp_spell.C: added
1994         * sp_form.[Ch]: removed
1995         * spellchecker.[Ch]: removed
1996
1997 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
1998
1999         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
2000         is set.
2001         (simpleTeXSpecialChars): Simply print the input character without
2002         any special translation if pass_thru is set.
2003
2004         * layout.h: Added bool pass_thru to layout class for being able to
2005         implement pass through of a paragraph for Literate Programming.
2006         
2007         * layout.C: add LT_PASS_THRU to LayoutTags enum.
2008         * layout.C (LyXLayout): set pass_thru to flase in constructor.
2009         * layout.C (Read): add "passthru" to list of layout tags and add
2010         code to set the pass_thru boolean when it is read.
2011
2012 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
2013
2014         * trans_decl.h: remove allowed from KmodInfo
2015
2016         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
2017         remove allowed code 
2018         (Load): adjust
2019
2020         * paragraph_pimpl.C (erase): use boost::prior
2021
2022         * Painter.C (text): use data() instead of c_str() when length is
2023         also provided.
2024         * WorkArea.C (putClipboard): ditto
2025         * font.h (width): ditto
2026
2027         * BufferView2.C: use it-> instead of (*it). for iterators
2028         * texrow.C: ditto
2029         * paragraph_pimpl.C: ditto
2030         * paragraph.C: ditto
2031         * minibuffer.C: ditto
2032         * language.C: ditto
2033         * kbmap.C: ditto
2034         * encoding.C: ditto
2035         * counters.C: ditto
2036         * converter.C: ditto
2037         * chset.C: ditto
2038         * Variables.C: ditto
2039         * TextCache.C: ditto
2040         * MenuBackend.C: ditto
2041         * LyXAction.C: ditto
2042         * LColor.C: ditto
2043         * FloatList.C: ditto
2044         * DepTable.C: ditto
2045         * ColorHandler.C (LyXColorHandler): ditto
2046
2047 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
2048
2049         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
2050
2051         * text2.C (openStuff): reintroduce this method (which had been
2052         nuked in NEW_INSETS frenzy).
2053
2054         * lyxfunc.C (Dispatch): when an action has not been handled, use
2055         its name in the error message, not its number.
2056
2057         * paragraph.C (inInset): change method name to begin with lowercase.
2058
2059         * undo_funcs.C:
2060         * text2.C: updates because of this.
2061
2062 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
2063
2064         * ToolbarDefaults.C (add): add spaces in error message
2065
2066 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
2067
2068         * buffer.C (readLyXformat2): initialize the ert comp. variables.
2069         (readLyXformat2): rename return_par to first_par, use lyxlex's
2070         pushToken and remove the manual push handling.
2071         (parseSingleLyXformat2Token): add another ert comp. variable:
2072         in_tabular, rename return_par to first_par. handle newlines better
2073
2074 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
2075
2076         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
2077
2078 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
2079
2080         * text2.C (getParFromID): removed
2081
2082         * buffer.C (getParFromID): new method moved form lyxtext.
2083         * BufferView2.C (insertErrors): adjust
2084         (setCursorFromRow): adjust
2085         * BufferView_pimpl.C (restorePosition): adjust
2086         * lyxfunc.C (Dispatch): adjust
2087         * undo_funcs.C (textUndo): adjust
2088         (textRedo): adjust
2089         (textHandleUndo): adjust
2090         (textHandleUndo): adjust
2091
2092 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
2093
2094         * buffer.C: up' the LYX_FORMAT
2095
2096         * lyxfont.h: turn NO_LATEX on as default
2097
2098         * buffer.C (insertErtContents): new methods of tex style compability.
2099         (parseSingleLyXformat2Token): use it several places.
2100         * tabular.C (OldFormatRead): and here
2101
2102 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
2103
2104         * text2.C: remove some commented code.
2105         reindent file.
2106
2107         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
2108         * trans.C: changes because of the above.
2109
2110 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
2111
2112         * text2.C (setCounter): Fix counters bug with bibliography layout.
2113
2114 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
2115
2116         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
2117         own member functions
2118         (simpleTeXSpecialChars): ditto
2119
2120 2001-07-06  Juergen Vigna  <jug@sad.it>
2121
2122         * a lot of files: changed the access to LyXText::status and the
2123         call of undo-functions.
2124         
2125         * undo.[Ch]: added a inset_id to the undo informations.
2126
2127         * undo_funcs.[Ch]: added and moved here all undo functions.
2128
2129         * lyxtext.h: give the status enum a weight, made status_ a private
2130         variable and made accessor functions for it, removed the whole bunch
2131         of undo-functions as they are now in their own file, make some
2132         functions publically available. Added function ownerParagraph with
2133         int parameter.
2134
2135         * paragraph.[Ch]: added "bool same_ids" to the constructor,
2136         made InInset() a const function, added getParFromID() function.
2137
2138         * buffer.[Ch]: added const version for inset_iterator functions,
2139         added getInsetFromID() function.
2140
2141         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
2142         changed undo functions for new version.
2143
2144 2001-07-05  Juergen Vigna  <jug@sad.it>
2145
2146         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
2147         unknow mechanism does not call the proper constructor but only this
2148         one also if I request the other!?
2149
2150 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
2151
2152         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
2153
2154         * text2.C (LyXText): use initialization lists.
2155
2156         * lyxtext.h (Selection): initialize set_ and mark_
2157         (init): remove method
2158
2159 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
2160
2161         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
2162
2163 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
2164
2165         * screen.[Ch]: change method names to begin with lowercase 
2166
2167         * BufferView_pimpl.C (updateScrollbar): simplify further and
2168         hopefully make it a bit faster.
2169
2170 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
2171
2172         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
2173         calling directly xforms functions.
2174
2175         * Painter.C (Painter): 
2176         * lyx_cb.C (MenuWrite): 
2177         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
2178         fl_display.
2179
2180         * lyx_gui.C: remove bogus guiruntime extern declaration.
2181
2182 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
2183
2184         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
2185         in NEW_INSETS
2186         (redoDrawingOfParagraph): ditto
2187         (redoParagraphs): ditto
2188         (cutSelection): don't create a object for CutAndPaste use the
2189         static method directly
2190         (pasteSelection): ditto
2191
2192         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
2193         LyXview (+ rename)
2194
2195 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
2196
2197         * modifications to some other files because of this.
2198         
2199         * Makefile.am (lyx_SOURCES): add XFormsView
2200
2201         * XFormsView.[Ch]: new files
2202
2203         * LyXView.[Ch]: make LyXView a base class for the gui handling for
2204         the main window. Move the gui dependent stuff to XFormsView
2205
2206 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
2207
2208         * tabular.C (GetCellInset): update cur_cell also in the row/col
2209         version of this function.
2210
2211         * lyxfunc.C: no need to include figure_form.h here.
2212
2213         * FontLoader.h: 
2214         * lyxfunc.h: 
2215         * lyxscreen.h: 
2216         * text2.C: 
2217         * lyxvc.C: no need to include forms.h here.
2218
2219 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
2220
2221         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
2222
2223         * lyxfunc.C (Dispatch): 
2224         * Spacing.C (set): 
2225         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
2226         constructor argument.
2227
2228 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
2229
2230         * paragraph.C (Paragraph): dont't clear, and just set layout.
2231         (makeSameLayout): use params's copy contructor.
2232
2233         * ParagraphParameters.[Ch] (makeSame): delete method
2234
2235 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
2236
2237         * Variables.[Ch]: fix indentation, rename set to isSet
2238
2239 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
2240
2241         * lyxfunc.C (Dispatch): fix typo
2242
2243 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
2244
2245         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
2246         upper_bound. 
2247
2248         * bufferlist.C: include assert.h for emergencyWrite().
2249
2250 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
2251
2252         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
2253           give up at last (bug #425202) !
2254  
2255 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
2256
2257         * lyx_gui_misc.C:
2258         * sp_form.h:
2259         * sp_form.C:
2260         * spellchecker.h:
2261         * spellchecker.C: strip spellchecker options and bring up
2262           preferences tab instead
2263          
2264 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
2265
2266         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
2267         the istringstream constructor
2268
2269 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
2270
2271         * paragraph.C (getLayout): fix return value
2272
2273         * paragraph.h: do not declare getLayout as inline.
2274
2275         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
2276
2277 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
2278
2279         * lyxcursor.h (operator<): new func
2280         (operator>): new func
2281         (operator>=): new func
2282         (operator<=): new func
2283
2284         * text.C (changeCase): use selection.start and selection.end
2285         (changeRegionCase): require from to be <= to. Require par to be a
2286         valid paragraph.
2287
2288         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
2289
2290 2001-06-27  Juergen Vigna  <jug@sad.it>
2291
2292         * text.C (cursorLeftOneWord): changed to return the cursor and added
2293         overlay with BufferView * parameter which calls this one.
2294         (getWord): added
2295         (selectWord): use new getWord function.
2296         (changeCase): renamed from changeWordCase as and extended to work
2297         also on selections.
2298
2299         * lyxtext.h: added enum word_location
2300
2301         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
2302         changeCase as this operates now also on selections.
2303
2304 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
2305
2306         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
2307
2308         * many files: send debug output to Debug::INFO instead of
2309         Debug::ANY. 
2310
2311         * converter.C (View): 
2312         (Convert): 
2313         (Move): send debug output to Debug::FILES instead of console.
2314
2315 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
2316
2317         * lyxfunc.C (getStatus): use func_status
2318
2319         * func_status.h: new header, describing the results of
2320         LyXFunc::getStatus;
2321
2322         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
2323         LFUN_MATH_HALIGN.
2324
2325 2001-06-25  The LyX Project  <jug@sad.it>
2326
2327         * buffer.C (sgmlOpenTag):
2328         (sgmlCloseTag):
2329         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
2330
2331 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
2332
2333         * text2.C: remove some dead code
2334
2335         * tabular.C (GetCellInset): store the last cell checked (gotten)
2336
2337         * tabular.h: add the helper for the speedup
2338
2339         * lyxtext.h: remove some dead code
2340
2341 2001-06-26  The LyX Project  <Asger>
2342
2343         * paragraph.C: Change export to LaTeX of alignment to
2344         \begin{center} and family for better roundtrip work with reLyX.
2345
2346         * Tune the math drawing a bit.
2347
2348 2001-06-25  The LyX Project  <Asger>
2349
2350         * LColor.C (LColor): New color for math background. New color
2351         for buttons.
2352
2353 2001-06-25  The LyX Project  <jug@sad.it>
2354
2355         * lyxfunc.C (MenuNew): remove extra check for .lyx file
2356
2357         * lyxfunc.C (Open): 
2358         * bufferlist.C (newFile): do not restrict to files ending with
2359         .lyx
2360
2361         * BufferView_pimpl.C (MenuInsertLyXFile): 
2362
2363 2001-06-24  The LyX Project  <jug@sad.it>
2364
2365         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
2366         of compare_no_case
2367
2368 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
2369
2370         * lyxtext.h: rename most methods to begin with a small char.
2371         Lots of changes because of this.
2372
2373         * paragraph.C (Paragraph): do not call fitToSize
2374         (erase): call Pimpl::erase
2375         (insertChar): call Pimpl::insertChar
2376         (insertInset): call Pipl::insertInset
2377         (breakParagraph): do not call fitToSize
2378         (breakParagraphConservative): do not call fitToSize
2379         (fitToSize): remove method
2380
2381         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
2382
2383 2001-06-24  The LyX Project  <Asger>
2384
2385         * Fix Qt compilation^2
2386
2387 2001-06-24  The LyX Project  <jug@sad.it>
2388
2389         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
2390         depthHook(getDepth()-1).
2391
2392         * paragraph.h: 
2393         * ParagraphParameters.h: 
2394         * ParameterStruct.h: change type of depth to unsigned int ==
2395         depth_type. Many adaptations to other files before of that.
2396
2397 2001-06-24  The LyX Project  <Asger>
2398
2399         * Fix Qt compilation.
2400
2401 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
2402
2403         * paragraph.h: renamed several methods to begin with small letter.
2404         several changes to many parts of the code because of this.
2405
2406 2001-06-23  The LyX Project  <jug@sad.it>
2407
2408         * text2.C (InsertStringAsLines): renamed from InsertStringA;
2409         rewritten to discard all double spaces when KeepEmpty is off
2410         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
2411         to only handle newlines but not fiddle with spaces and friends.
2412
2413         * lyxfunc.C (MenuNew): when doing 'new from template', use
2414         template_path as default directory
2415
2416 2001-06-23  The LyX Project  <Asger>
2417
2418         * Clean-up of header file includes all over
2419         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
2420         
2421 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
2422
2423         * paragraph.h: renamed from lyxparagraph.h
2424
2425 2001-06-23  Asger  <lyx@violet.home.sad.it>
2426
2427         * Buffer.h: Removed Buffer::resize
2428         * BufferList.h: Removed BufferList::resize
2429         * LyXView.h: Added LyXView::resize. This way, we will only reflow 
2430         the document lazily when we change the width, or the font settings.
2431
2432 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
2433
2434         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
2435
2436 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
2437
2438         * buffer.h: remove out of date comment
2439
2440 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
2441
2442         * lyxscreen.h:
2443         * screen.C: fix "theoretical" GC leak
2444  
2445 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
2446
2447         * LaTeX.C (scanAuxFile):
2448         (deplog): remove trailing \r when reading stream (useful under
2449         win32)  
2450
2451 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
2452
2453         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
2454         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
2455         and BufferView::theLockingInset(Inset*), so should use them and not
2456         access bv_->text->the_locking_inset directly.
2457
2458         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
2459
2460 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
2461
2462         * Makefile.am:
2463         * tex-defs.h: remove old unused file
2464          
2465 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
2466
2467         * BufferView_pimpl.C: fix typo, remove minibuffer message
2468           when buffer has loaded
2469
2470 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
2471
2472         * lyxfunc.C (Dispatch): use stringstream
2473         (MenuNew): use stringstream
2474         (Open): use stringstream
2475
2476         * importer.C (Import): use stringstream
2477
2478         * bufferview_funcs.C (CurrentState): use stringstream
2479
2480         * LaTeX.C (run): use stringstream
2481
2482         * BufferView_pimpl.C (savePosition): use stringstream
2483         (restorePosition): use stringstream
2484         (MenuInsertLyXFile): use stringstream
2485
2486 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
2487
2488         * BufferView.C:
2489         * Bullet.C:
2490         * ColorHandler.C:
2491         * FontInfo.C:
2492         * FontLoader.C:
2493         * LColor.C:
2494         * LaTeXFeatures.C:
2495         * Painter.C:
2496         * gettext.C:
2497         * lyx_gui_misc.C:
2498         * lyxserver.C:
2499         * vspace.C: removed // -*- C++ -*- as first line.
2500
2501         * lyxfind.h:
2502         * version.h: added // -*- C++ -*- as first line.
2503
2504 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
2505
2506         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
2507
2508         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
2509         of string
2510
2511 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
2512
2513         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
2514         of floats.
2515
2516 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
2517
2518         * gettext.C: include LString.h even when --disable-nls is on. 
2519
2520 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
2521
2522         * converter.h (Get): changed argument type from int to
2523         FormatList::size_type to avoid unnecessary conversion.
2524
2525         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
2526         before using it.
2527
2528 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
2529
2530         * gettext.h: include LString.h even when --disable-nls is on. 
2531
2532 2001-06-07  Juergen Vigna  <jug@sad.it>
2533
2534         * text.C (BreakAgain): subst spaces with tabs.
2535
2536         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
2537         (resizeInsetsLyXText): set force on resizeLyXText.
2538
2539 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
2540
2541         * gettext.h (gettext_init): 
2542         (locale_init): use a real definition instead of a macro
2543
2544 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
2545
2546         * Bufferview_pimpl.C:
2547         * LColor.h:
2548         * LColor.C: further lcolor tidies
2549
2550 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
2551
2552         * BufferView_pimpl.C (updateScrollbar): simplify.
2553
2554         * BufferView2.C: don't include insets/insetinfo.h, change
2555         prototype for insertInset and call the Pimpl version. let
2556         updateInset call Pimpl version.
2557
2558         * BufferView.h: move inset_slept to BufferView::Pimpl, move
2559         gotoInset to BufferView::Pimpl
2560
2561 2001-06-01  Juergen Vigna  <jug@sad.it>
2562
2563         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
2564         inside a LockingInset (is the update needed at all?).
2565
2566 2001-05-31  Juergen Vigna  <jug@sad.it>
2567
2568         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
2569         here not the old one otherwise how should we compare it afterwards
2570         if it's the same!
2571
2572 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
2573
2574         * lyxfont.C: 
2575         * tabular.C:
2576         * tabular-old.C: 
2577         * FontInfo.C: bring C functions into global namespace when
2578         necessary
2579
2580 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
2581
2582         * LString.h: make sure config.h has been loaded before LString.h.
2583
2584         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
2585         (one for each char read by EatLine!).
2586
2587         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
2588         variables. 
2589
2590 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
2591
2592         * paragraph.C (BreakParagraph): set the inset_owner in the new par
2593         to the same as the par we break from
2594
2595 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
2596
2597         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
2598
2599         * MenuBackend.C (expand): also create menu entries for wide
2600         versions of the floats.
2601
2602         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
2603
2604         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
2605
2606         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
2607         frontends/Makefile.am
2608
2609         * text2.C: adjust
2610         * text.C: adjust
2611         
2612
2613         * tabular.C (getTokenValue): add std::
2614
2615         * tabular-old.C (getTokenValue): add std::
2616         (getTokenValue): ditto
2617         (getTokenValue): ditto
2618
2619         * screen.C (ToggleSelection): adjust
2620
2621         * lyxtext.h: put selection cursors inside a Selection struct.
2622
2623         * lyxfunc.C (moveCursorUpdate): adjust
2624
2625         * lyxfont.C (latexWriteStartChanges): add std::
2626
2627         * lyxfind.C: adjust
2628
2629         * font.h: delete with(char const *, LyXFont const &)
2630
2631         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
2632
2633         * FontInfo.C (getFontname): add std::
2634
2635         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
2636         (workAreaButtonPress): adjust
2637         (tripleClick): adjust
2638         (update): adjust
2639         (moveCursorUpdate): adjust
2640         (Dispatch): adjust
2641
2642         * BufferView2.C (gotoInset): adjust
2643
2644 2001-05-30  Juergen Vigna  <jug@sad.it>
2645
2646         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
2647         to check pspell I add this as default as I now have new pspell
2648         libraries and they seem to use this.
2649
2650 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
2651
2652         * text2.C (CutSelection): make the cursor valid before the call to
2653         ClearSelection.
2654
2655 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
2656
2657         * kbsequence.C (parse): de-uglify a bit the parsing code, which
2658         relied on 0 terminated strings and other horrors. Bug found due to
2659         the new assert in lyxstring!
2660
2661         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
2662         KP_ keys.
2663
2664 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
2665
2666         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
2667         to latinkeys.bind.
2668
2669         * lyxfunc.C (processKeySym): change method of getting to the
2670         self-insert char.
2671
2672         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
2673         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
2674         * BufferView_pimpl.[Ch]: here as private methods.
2675
2676 2001-05-28  Juergen Vigna  <jug@sad.it>
2677
2678         * text.C (SetHeightOfRow): added the update() call again as it is
2679         needed to initialize inset dimensions!
2680
2681 2001-05-16  Juergen Vigna  <jug@sad.it>
2682
2683         * text2.C (SetCharFont): Add new function with BufferView * and
2684         bool toggleall parameters for setting insets internal fonts.
2685         (SetFont): Freeze the undo as we may change fonts in Insets and
2686         all this change should be inside only one Undo!
2687
2688         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
2689         setting font's in insets as for them we have the SetFont function!
2690
2691 2001-05-15  Juergen Vigna  <jug@sad.it>
2692
2693         * text2.C (ClearSelection): to be sure we REALLY don't have any
2694         selection anymore!
2695
2696         * tabular.C (TeXCellPreamble): fixed the left border problem for
2697         multicolumn cells.
2698
2699 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
2700
2701         * LaTeX.C (deplog): Make sure that the main .tex file is in the
2702         dependancy file
2703
2704 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
2705
2706         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
2707         LFUN_BREAKPARAGRAPH.
2708
2709         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
2710         help test to "internal only", similar for LFUN_INSERT_URL
2711
2712         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
2713         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
2714         auto_region_delete and deadkeys. 
2715
2716 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
2717
2718         * LColor.h:
2719         * LColor.C: remove some dead entries, tidy a little
2720  
2721 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
2722
2723         * lyxfunc.C (processKeySym): comment the Escape handling, remove
2724         commented code.
2725         (Dispatch): implement LFUN_ESCAPE
2726
2727         * commandtags.h: add LFUN_ESCAPE
2728
2729         * LyXAction.C (init): add entry for LFUN_ESCAPE
2730
2731         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
2732         Remove commented code.
2733         (insertNote): moved here
2734         (open_new_inset): moved here
2735
2736         * BufferView[2].[Ch]: move insertNote and open_new_inset to
2737         BufferView_pimpl
2738
2739 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
2740
2741         * kbmap.C (findbinding): clean it up and make it work correctly.
2742
2743         * lyx_main.C (init): do not pass argc and argv as parameters
2744
2745 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
2746
2747         * buffer.C: fix path for OS/2 & Win32
2748
2749         * lyx_gui.C:
2750         * lyx_main:
2751         * lyx_main.C: Added os:: class.
2752         
2753         * os2_defines.h: update
2754
2755 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
2756
2757         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
2758         better by trying again with reduced state.
2759
2760 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
2761
2762         * lyxrc.C (read): print error about invalid key sequence only when
2763         debugging (because not all latinX keysyms are known to some X
2764         servers)
2765
2766         * kbsequence.C (getiso): add a few std:: qualifiers
2767         (getiso): comment out extra return statement.
2768
2769 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
2770
2771         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
2772         handling.
2773         (Dispatch): enhance the accent inset a bit. (not perfect)
2774
2775 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
2776
2777         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
2778
2779 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
2780
2781         * bufferlist.C (emergencyWrite): fix assert() call
2782
2783 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
2784
2785         * text.C (InsertChar): Added trivial patch to only send the "you
2786         can not do multiple spaces this way" message once during a
2787         session.
2788
2789 2001-05-08  Baruch Even  <baruch@lyx.org>
2790
2791         * Makefile.am: Changed order of libraries to get LyX to link properly
2792         with the gnome frontend.
2793
2794 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
2795
2796         * LaTeXFeatures.h: add a std:: qualifier
2797
2798 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
2799
2800         * paragraph.C (String): use stringstream
2801
2802 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
2803
2804         * paragraph.C (writeFile): remove footflag arg
2805
2806         * buffer.C (makeLaTeXFile): use stringstream
2807         (latexParagraphs): remove footnot gurba
2808
2809         * LaTeXFeatures.C (getPackages): use stringstream
2810         (getMacros): likewise
2811         (getTClassPreamble): likewise
2812         (getFloatDefinitions): new method
2813
2814         * paragraph.C (writeFile): reindent
2815         (Erase): reindent
2816
2817         * WorkArea.h: revert the xpos + etc changes.
2818
2819         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
2820
2821         * lyxparagraph.[Ch]: add copy constructor, remove Clone
2822
2823         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
2824         (pasteSelection): likewise
2825         * text2.C (CreateUndo): likewise
2826
2827 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
2828
2829         * minibuffer.C (peek_event): temporarily reduce the functionality
2830         of the minibuffer (to allow args on lfuns)
2831
2832         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
2833         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
2834
2835         * buffer.C (readInset): add compability reading of old float
2836         lists, add reading of new style float list.
2837         (readInset): avoid reevaluation of inscmd.getCmdName()
2838         (getLists): reindent
2839
2840         * MenuBackend.C (MenuItem): implement parsing of
2841         md_floatlistinsert and md_floatinsert.
2842         (expand::LastFiles): move initalizaton of iterators out of loop,
2843         avoid reevaluation.
2844         (expand::Documents): introduce typdedef vector<string> Strings,
2845         and use it. 
2846         (expand::ExportFormats): introduce typedef vector<Format const *>
2847         Formats, and use it.
2848         (expand): implement FloatListInsert and FloatInsert.
2849
2850         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
2851         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
2852         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
2853
2854         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
2855         handling. 
2856         (Dispatch::LFUN_FLOAT_LIST): implement
2857
2858 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
2859  
2860         * LaTeX.C (run): Fix problem with --export code.
2861  
2862 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
2863
2864         * BufferView.[Ch] (workarea): removed.
2865         (getClipboard) new method; wrapper for workarea()->getClipboard()
2866
2867         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
2868         bug.
2869
2870         * WorkArea.h (width, height, xpos, ypos): These methods all
2871         returned the dimensions of the work_area sub-area of WorkArea,
2872         resulting in a position error if the WorkArea were resized. Now
2873         return the dimensions of the entire WorkArea.
2874
2875         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
2876
2877 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
2878
2879         * LaTeX.C (deplog): correct the syntax of regex reg1
2880
2881 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
2882
2883         * undo.C: remove !NEW_INSETS cruft
2884
2885 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
2886
2887         * text2.C: remove !NEW_INSETS cruft
2888
2889         * text.C: remove !NEW_INSETS cruft
2890
2891         * tabular.C: remove !NEW_INSETS cruft
2892
2893         * spellchecker.C: remove !NEW_INSETS cruft
2894
2895         * lyxtext.h: remove !NEW_INSETS cruft
2896
2897         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
2898
2899         * lyxfunc.C: remove !NEW_INSETS cruft
2900
2901         * lyxfind.C: remove !NEW_INSETS cruft
2902
2903         * lyx_cb.C: remove !NEW_INSETS cruft
2904
2905         * figureForm.C: remove  !NEW_INSETS cruft
2906
2907         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
2908
2909         * buffer.[Ch]: remove !NEW_INSETS cruft
2910
2911         * ToolbarDefaults.C: remove !NEW_INSETS cruft
2912
2913         * CutAndPaste.C: remove !NEW_INSETS cruft
2914
2915         * BufferView_pimpl.C: remove !NEW_INSETS cruft
2916
2917         * BufferView2.C: remove !NEW_INSETS cruft
2918
2919         * BufferView.h: remove !NEW_INSETS cruft
2920
2921 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
2922
2923         * Lsstream.h: include LString.h before the sstream headers to
2924         fix problem with gcc 2.95.3 and lyxstring
2925
2926 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
2927
2928         * lyx_main.C: add using directives when needed for C functions
2929         declared in std:: namespace.
2930
2931 2001-04-27  Juergen Vigna  <jug@sad.it>
2932
2933         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
2934         (SetHeightOfRow): comment out the update call should not be needed!
2935
2936 2001-04-13  Juergen Vigna  <jug@sad.it>
2937
2938         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
2939         (LyXTabular): tried to minimize operator= operations (and realized
2940         hopfully Lars wish).
2941
2942 2001-04-27  Juergen Vigna  <jug@sad.it>
2943
2944         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
2945
2946 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
2947
2948         * lyxfunc.C (Dispatch): hack to make listof algorithm work
2949
2950         * buffer.C (readInset): hack to make listof algorithm work
2951
2952         * BufferView_pimpl.C: hack to make listof algorithm work
2953
2954 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
2955
2956         * LyXAction.C: removed all !NEW_INSETS cruft
2957         (init): moved lfun_item in method
2958
2959         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
2960
2961 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
2962
2963         * BufferView2.C (theLockingInset): white space.
2964
2965 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
2966
2967         * minibuffer.C: include <iostream>
2968
2969         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
2970
2971         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
2972
2973         * commandtags.h: add LFUN_TRANSPOSE_CHARS
2974
2975         * text.[Ch] (TransposeChars): new method
2976
2977 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
2978
2979         * call message directly through LyXView instead of through LyXFunc
2980         * BufferView2.C: adjust
2981         * BufferView_pimpl.C: adjust
2982         * FontLoader.C: adjust
2983         * buffer.C: adjust
2984         * bufferview_funcs.C: adjust
2985         * converter.C: adjust
2986         * figureForm.C: adjust
2987         * importer.C: adjust
2988         * lyx_cb.C: adjust
2989         * lyx_gui_misc.C: adjust
2990         * lyxfunc.C: adjust
2991         * lyxvc.C: adjust
2992         * text2.C: adjust
2993         + more files in subdirs
2994         
2995         * lyxparagraph.h (size): move up int file
2996         (GetLayout): ditto
2997
2998         * adjust all uses of Assert to lyx::Assert.
2999
3000         * BufferView2.C (ChangeCitationsIfUnique): adjust for
3001         lyxfunctional in namespace lyx
3002         * layout.C (hasLayout): ditto
3003         (GetLayout): ditto
3004         (GetLayout): ditto
3005         (delete_layout): ditto
3006         (NumberOfClass): ditto
3007         * converter.C (GetFormat): ditto
3008         (GetNumber): ditto
3009         (Add): ditto
3010         (Delete): ditto
3011         (SetViewer): ditto
3012         * bufferlist.C (getFileNames): ditto
3013         (emergencyWriteAll): ditto
3014         (exists): ditto
3015         (getBuffer): ditto
3016         * MenuBackend.C (hasSubmenu): ditto
3017         (hasMenu): ditto
3018         (getMenu): ditto
3019         * BufferView_pimpl.C (getInsetByCode): ditto
3020
3021 2001-04-18  Juergen Vigna  <jug@sad.it>
3022
3023         * vspace.C (asLatexString): fixed the 100% problem.
3024
3025 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
3026
3027         * lyxfunc.C (Dispatch): 
3028         * minibuffer.C: 
3029         * minibuffer.h: add a few std:: qualifiers
3030
3031 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
3032
3033         * minibuffer.[Ch]: reimplement so that commands is initiated and
3034         run from lyxfunc, simplified som handling, and made the completion
3035         and history code for complete. wip. 
3036
3037         * lyxfunc.C (processKeySym): call message
3038         (miniDispatch): new temporary method
3039         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
3040         (LFUN_MESSAGE): implement
3041         (LFUN_MESSAGE_PUSH): implement
3042         (LFUN_MESSAGE_POP): implement
3043         (initMiniBuffer): the initial/defualt minibuffer message.
3044
3045         * lyxfont.[Ch]: inline some more getters
3046
3047         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
3048
3049         * lyx_gui_misc.[Ch] (WriteStatus): remove method 
3050
3051         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
3052         (AutoSave): use LFUN_MESSAGE
3053         (Reconfigure): ditto
3054
3055         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
3056
3057         * figureForm.C: use LFUN_MESSAGE
3058
3059         * converter.C (runLaTeX): use LFUN_MESSAGE
3060
3061         * bufferview_funcs.C: use LFUN_MESSAGE
3062         (Melt): ditto
3063         (changeDepth): ditto
3064
3065         * bufferparams.h: use boost::
3066
3067         * bufferlist.h: inherit privately from noncopyable
3068
3069         * bufferlist.C (loadLyXFile): remove some commented code.
3070
3071         * buffer.C (runChktex): use LFUN_MESSAGE
3072
3073         * ShareContainer.h: inherit privately from noncopyable
3074
3075         * ParagraphParameters.[hC] (depth): inline it.
3076
3077         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
3078         methods.
3079         (message): new method
3080         (messagePush): ditto
3081         (messagePop): ditto
3082         (show): init minibuffer
3083         (showState): direct call
3084
3085         * LaTeX.[Ch]: inherit privately from noncopyable
3086         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
3087         instead of WriteStatus.
3088
3089         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
3090
3091         * BufferView_pimpl.C (buffer): don't init minibuffer
3092         (workAreaButtonPress): use LFUN_MESSAGE
3093         (workAreaButtonRelease): ditto
3094         (savePosition): ditto
3095         (restorePosition): ditto
3096         (MenuInsertLyXFile): ditto
3097         (workAreaExpose): don't init minibuffer
3098         (update): remove commented code, simplify
3099
3100         * BufferView2.C (openStuff): use LFUN_MESSAGE
3101         (toggleFloat): ditto
3102         (menuUndo): ditto
3103         (menuRedo): ditto
3104         (copyEnvironment): ditto
3105         (pasteEnvironment): ditto
3106         (copy): ditto
3107         (cut): ditto
3108         (paste): ditto
3109         (gotoInset): ditto
3110         (updateInset): remove some commented code
3111
3112         * lastfiles.h: inherit privately from noncopyable
3113         * layout.h: ditto
3114         * lyx_gui.h: ditto
3115         * lyx_main.h: ditto
3116         * lyxlex.h: ditto
3117         * lyxlex_pimpl.h: ditto
3118
3119         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
3120         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
3121         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
3122
3123         * LyXAction.h: inherit privately from noncopyable, add methods
3124         func_begin, func_end, returning iterators to the func map.
3125
3126         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
3127         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
3128         (func_begin): new method
3129         (func_end): new method
3130
3131         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
3132         and not)
3133         (copySelection): ditto
3134         (pasteSelection): ditto
3135
3136         * BufferView.C: whitespace change
3137         * BufferView.h: inherit privately from noncopyable
3138
3139 2001-04-16  Allan Rae  <rae@lyx.org>
3140
3141         * tabular-old.C (l_getline): 
3142         * spellchecker.C (sc_check_word): 
3143         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
3144         an unrecognised preprocessor directive.  So ensure they're wrapped. 
3145
3146 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
3147
3148         * src/exporter.C (Export): Give an error message when path to file 
3149         contains spaces.
3150
3151 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
3152
3153         * LaTeX.C (deplog): Always check that foundfile exists.
3154
3155 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
3156
3157         * lyx_main.h: 
3158         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name 
3159
3160 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
3161
3162         * tabular.[Ch] (getLabelList): implement new method
3163
3164         * minibuffer.h: comment ouf setTiimer
3165
3166         * minibuffer.C (ExecutingCB): constify res
3167         (peek_event): constify s
3168         (Set): constify ntext
3169         (Init): constify nicename
3170
3171         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
3172
3173         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
3174         (savePosition): use two params to Minibuffer::Set
3175         (restorePosition): ditto
3176
3177 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
3178
3179         * lyx_main.C: include language.h
3180
3181         * Makefile.am (lyx_main.o): add language.h
3182
3183 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
3184
3185         * exporter.C: 
3186         * paragraph.C: 
3187         * screen.C: 
3188         * tabular.C: 
3189         * CutAndPaste.C: include gettext.h
3190
3191         * lyxfont.h: remove old hack with ON and OFF.
3192
3193         * lyxparagraph.h: 
3194         * lyxfont.h: do not include language.h...
3195
3196         * BufferView2.C: 
3197         * LaTeXFeatures.C: 
3198         * Painter.C: 
3199         * bufferview_funcs.C: 
3200         * font.C: 
3201         * lyxfont.C: 
3202         * text.C: 
3203         * text2.C: 
3204         * trans_mgr.C: 
3205         * paragraph.C: ... but do it here instead
3206
3207 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
3208
3209         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
3210
3211         * tabular.C: small reformat
3212
3213         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
3214         NEW_INSETS version
3215         (GetChar): ditto
3216         (BreakParagraph): ditto
3217         (SetOnlyLayout): ditto
3218         (SetLayout): ditto
3219
3220         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
3221         with one arg less.
3222
3223         * lastfiles.C: removed most using decl, add std:: where needed
3224
3225         * buffer.C: ws changes
3226
3227         * MenuBackend.C (class compare_format): put into anon namespace
3228         (expand): constify label, names, action, action2
3229         (expand): 
3230
3231         * text.C (SingleWidth): constify font
3232         (IsBoundary): constify rtl2
3233         (GetVisibleRow): constify ww
3234
3235         * LaTeX.C (deplog): constify logfile
3236
3237         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
3238         start_x, end_x
3239         (workAreaExpose): constify widthChange, heightChange
3240
3241         * lyxrow.C (par): moved
3242         (height): moved
3243         (next): moved
3244         * lyxrow.h: as inlines here
3245
3246         * lyxfont.h (shape): moved from lyxfont.C
3247         (emph): moved from lyxfont.C
3248
3249         * lyxfont.C (LyXFont): use initialization list for all
3250         constructors
3251         (shape): move to lyxfont.h as inline
3252         (emph): move to lyxfont.h as inline
3253         
3254
3255 2001-04-04  Juergen Vigna  <jug@sad.it>
3256
3257         * vspace.C: had to include stdio.h for use of sscanf
3258
3259 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
3260
3261         * BufferView.h: 
3262         * BufferView_pimpl.h: remove xforms cruft. Both classes are
3263         independent of xforms.
3264
3265 2001-04-02  Juergen Vigna  <jug@sad.it>
3266
3267         * spellchecker.C: fixed namespace placing!
3268
3269 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
3270
3271         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
3272         the LyXParagraph * is 0.
3273
3274 2001-03-29  Juergen Vigna  <jug@sad.it>
3275
3276         * vspace.C: added support for %, c%, p%, l%.
3277         (stringFromUnit): added helper function.
3278         (asLatexString): changed to give right results for the %-values.
3279
3280         * buffer.C: convert the widthp in a width%.
3281
3282 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
3283
3284         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
3285         figureForm.[Ch].
3286
3287         * figureForm.[Ch]: stripped the FD_from_figure manipulation
3288         code out of lux_cb.[Ch], ready for its (imminent?) removal.
3289
3290         * lyx_cb.[Ch]: see above.
3291
3292         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
3293         form1.[Ch].
3294
3295         * form1.[Ch]:
3296         * lyx.[Ch]: replaced by figure_form.[Ch].
3297
3298         * lyx_gui.C:
3299         * lyx_gui_misc.C:
3300         * lyxfunc.C: changed headers associated with above changes.
3301
3302 2001-03-27  Juergen Vigna  <jug@sad.it>
3303
3304         * BufferView_pimpl.C: set the temporary cursor right!
3305
3306 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
3307
3308         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
3309
3310 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
3311
3312         * LString.h: removed "using std::getline"!
3313
3314         * BufferView_pimpl.C (Dispatch): changes due to changes in
3315         InsetInclude::Params.
3316
3317         * buffer.C (tag_name): removed redundant break statements as they were
3318         producing lots of warnings with my compiler.
3319
3320 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
3321
3322         * LString.h: add "using std::getline" when using the real <string>.
3323
3324 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
3325
3326         * buffer.C: removed bitset usage.
3327         PAR_TAG moved to an anonymous name space.
3328         (tag_name): new funtion, also in the anonymous namespace.
3329         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
3330         (makeDocBookFile): clean code. Completed transition from string arrays
3331         to string vectors.
3332         (SimpleDocBookOnePar): code clean.
3333
3334 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
3335
3336         * tabular.C: add some comments.
3337
3338 2001-03-22  Juergen Vigna  <jug@sad.it>
3339
3340         * buffer.C (parseSingleLyXformat2Token): redone the minipage
3341         compatibility read a bit and fixed bug with minipage in different
3342         depth.
3343
3344 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
3345
3346         * buffer.C (pop_tag): removed.
3347         (push_tag): removed.
3348         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
3349         array replaced with vector. Added support for CDATA sections.
3350         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
3351         at any nest level.
3352         (makeDocBookFile): XML conformant declaration of CDATA section,
3353         fixed bug related to <emphasis> in the first paragraph char.
3354         (sgmlOpenTag): exclude empty tags.
3355         (sgmlCloseTag): ditto.
3356         
3357         * buffer.h (pop_tag): removed.
3358         (push_tag): removed.
3359
3360 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
3361
3362         * language.h (Languages): added size_type and size().
3363
3364 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
3365
3366         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
3367         response on compability reading of minipages. One probliem is that
3368         the old usage of minipages was «flertydig» 
3369
3370         * several files here and in subdirs: don't use static at file
3371         scope use anon namespaces instead.
3372
3373 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
3374
3375         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
3376         LaTeX output. This is necessary for Literate document
3377         processing.
3378
3379 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
3380
3381         * buffer.C: insert hfill when needed.
3382
3383         * tabular.C (l_getline): use string::erase, small whitespace change.
3384
3385         * BufferView_pimpl.C: try the anon namespace.
3386         * WorkArea.C: ditto
3387
3388 2001-03-16  Juergen Vigna  <jug@sad.it>
3389
3390         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
3391         otherwise it won't open options-dialogs.
3392
3393         * buffer.C: honor pextraWidth(p) on converting minipages.
3394
3395         * tabular.C (l_getline): changed the functions to strip trailing \r.
3396
3397 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
3398
3399         * BufferView_pimpl.C:
3400         * minibuffer..C: added "using SigC::slot" declaration.
3401
3402 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
3403
3404         * lyxlex_pimpl.h: noncopyable is in namespace boost.
3405
3406         * text2.C: ditto
3407
3408         * text.C: ditto
3409
3410         * paragraph.C: ditto
3411
3412         * lyxtext.h: NO_PEXTRA
3413
3414         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
3415
3416         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
3417         * ParameterStruct.h: ditto
3418         * ParagraphParameters.h: ditto 
3419         * lyxparagraph.h: ditto
3420
3421 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
3422
3423         * buffer.C: add compability for minipage alignment.
3424         (latexParagraphs): remove unwanted pextra check.
3425
3426         * several files: remove CXX_WORKING_NAMESPACES
3427
3428         * buffer.C (pop_tag): tie is in namespace boost
3429
3430         * BufferView.h: noncopyable is in namespace boost
3431         * lyxlex.h: ditto
3432         * lyx_main.h: ditto
3433         * lyx_gui.h: ditto
3434         * layout.h: ditto
3435         * lastfiles.h: ditto
3436         * bufferlist.h: ditto
3437         * ShareContainer.h: ditto
3438         * LyXView.h: ditto
3439         * LyXAction.h: ditto
3440         * LaTeX.h: ditto
3441
3442 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
3443
3444         * Merging changes from BRANCH_MVC back into HEAD.
3445
3446         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
3447
3448 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
3449
3450         * BufferView_pimpl.C: change from intl.C
3451
3452         * combox.h:
3453         * combox.C:
3454         * Makefile.am: move combox.*
3455
3456         * form1.h:
3457         * form1.C:
3458         * lyx_gui.C:
3459         * intl.h:
3460         * intl.C: remove dialog (covered by prefs)
3461
3462 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
3463
3464         * lyxfunc.C (Dispatch): removed redundant break statement.
3465         
3466 2001-03-14  Juergen Vigna  <jug@sad.it>
3467
3468         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
3469
3470 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
3471
3472         * buffer.C: add hack to fix compability reading of minipages.
3473
3474 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
3475
3476         * buffer.C (getLists): Cleanup.
3477
3478 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
3479
3480         * lyxfont.C (update): don't honor toggleall on font size.
3481
3482 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
3483
3484         * bmtable.c:
3485         * bmtable.h:
3486         * Makefile.am: moved to frontends/xforms/
3487
3488         * lyx_gui_misc.C:
3489         * lyxfunc.C:
3490         * BufferView_pimpl.C: changes for moved mathpanel
3491
3492 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
3493
3494         * gettext.h: fix gettext_init() in --disable-nls
3495
3496 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
3497
3498         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
3499
3500 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
3501
3502         * lyx.C:
3503         * lyx.h: strip external form
3504
3505 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
3506
3507         * BufferView_pimpl.C: add comment, destroySplash()
3508
3509 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
3510
3511         * BufferView_pimpl.C:
3512         * LyXAction.C:
3513         * buffer.C:
3514         * commandtags.h:
3515         * lyxfunc.C: use re-worked insetinclude
3516
3517 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
3518
3519         * buffer.C: add using std::stringstream.
3520
3521         * lyx_cb.C: readd using std::ios.
3522
3523         * buffer.C: add using std::map.
3524
3525         * BufferView_pimpl.C: add using std::vector.
3526
3527         * ShareContainer.h: add std:: to swap.
3528
3529         * buffer.h: add some typedefs
3530         * buffer.C (getLists): use them
3531         (getLists): renamed from getTocList.
3532         add a counter for the different float types and use it in the
3533         generated string.
3534         (getLists): use the same counter for the NEW_INSETS and the "non"
3535         NEW_INSETS
3536
3537         * lyx_cb.h: remove unused items, includes, using etc.
3538
3539         * ShareContainer.h: remove some commented code, add more comments
3540         and "documentation".
3541
3542 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
3543
3544         * buffer.C (getTocList): make the list also when NEW_INSETS is
3545         defined.
3546
3547         * buffer.h: remove TocType
3548
3549         * buffer.C (getTocList): change to return a map<string,
3550         vector<TocItem> >, implement for dynamic number of list.
3551
3552         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
3553         * text2.C (PasteSelection): adjust
3554         * CutAndPaste.C (pasteSelection): adjust
3555
3556         * FloatList.C (FloatList): update from the new_insets branch.
3557         * Floating.[Ch]: ditto
3558         * LaTeXFeatures.C: ditto
3559         * buffer.C: ditto
3560         * lyxlex_pimpl.C: ditto
3561         
3562         * paragraph.C (Last): remove when NEW_INSETS is defined.
3563
3564         * other file: changes because of the above.
3565
3566 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
3567
3568         * lyxparagraph.h: rename next to next_, previous to previous_,
3569         make them private for NEW_INSETS. Rename Next() to next(),
3570         Previous() to previous().
3571
3572         * other files: changes because of the above.
3573
3574 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
3575
3576         * BufferView.h: 
3577         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
3578         problem.
3579
3580 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
3581
3582         * main.C (main): pass lyx_localedir to gettext_init().
3583
3584         * gettext.h: remove locale_init and gettext_init macros
3585
3586         * gettext.C (locale_init): new function
3587         (gettext_init): new function
3588
3589         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
3590         setlocale().
3591
3592 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
3593
3594         * Moved credits to frontends:
3595         * credits.[Ch]: removed
3596         * credits_form.[Ch]: removed
3597         * lyx_gui_misc.C: remove credits stuff
3598         * Makefile.am:
3599
3600 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
3601
3602         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
3603
3604         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
3605         unneeded destructor.
3606
3607         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
3608         a standalone pointer again.
3609
3610         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
3611
3612 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
3613
3614         * Makefile.am:
3615         * filedlg.h:
3616         * filedlg.C:
3617         * LyXAction.C:
3618         * ToolbarDefaults.C:
3619         * bufferlist.C:
3620         * commandtags.h:
3621         * form1.C:
3622         * form1.h:
3623         * lyx_cb.C:
3624         * lyx_cb.h:
3625         * lyxfunc.h:
3626         * lyxfunc.C:
3627         * BufferView_pimpl.C: use new file dialog in GUII
3628
3629         * lyx_cb.h:
3630         * lyx_cb.C: remove LayoutsCB to Toolbar
3631
3632 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
3633
3634         * ShareContainer.h (get): add std:: qualifier
3635
3636 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
3637
3638         * ShareContainer.h: define a proper ShareContainer::value_type
3639         type (and use typename to please compaq cxx)
3640
3641 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
3642
3643         * lyxparagraph.h: move serveral local vars to
3644         ParameterStruct/ParagraphParameters., use ShareContainer in
3645         FontTable., make vars in FontTable private and add getter and
3646         setter.
3647
3648         * paragraph.C: changes because of the above.
3649
3650         * lyxfont.h: remove copy constructor and copy assignment. (the
3651         default ones is ok), move number inside FontBits. move inlines to
3652         lyxfont.C 
3653
3654         * lyxfont.C: add number to initializaton of statics, move several
3655         inlines here. constify several local vars. some whitespace
3656         cleanup. Dont hide outerscope variables.
3657
3658         * Spacing.h: add two new constructors to match the set methods.
3659
3660         * ShareContainer.h: new file, will perhaps be moved to support
3661
3662         * ParameterStruct.h: new file
3663
3664         * ParagraphParameters.h: new file
3665
3666         * ParagraphParameters.C: new file
3667
3668         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
3669         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
3670
3671         * BufferView_pimpl.C: ParagraphParameter changes.
3672         * buffer.C: Likewise.
3673         * bufferview_funcs.C: Likewise.
3674         * text.C: Likewise.
3675         * text2.C: Likewise.
3676         
3677 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
3678
3679         * lyxfind.C (LyXReplace): do not redefine default argument in
3680         implementation. 
3681         (IsStringInText): ditto
3682         (SearchForward): ditto
3683         (SearchBackward): ditto
3684
3685 2001-03-06  Juergen Vigna  <jug@sad.it>
3686
3687         * lyxfind.C (IsStringInText): put parentes around expressions.
3688
3689 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
3690
3691         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
3692         
3693 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
3694
3695         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
3696
3697         * stl_string_fwd.h: add comment
3698
3699         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
3700
3701         * tabular.h:
3702         * tabular.C: remove unused DocBook methods
3703
3704         * intl.C:
3705         * language.C:
3706         * paragraph.C:
3707         * buffer.C:
3708         killed DO_USE_DEFAULT_LANGUAGE
3709
3710 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
3711
3712         * lyx_gui.C: do not include language.h.
3713
3714         * bufferview_funcs.C (ToggleAndShow): do not provide optional
3715         arguments in function implementation.
3716
3717 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
3718
3719         * BufferView_pimpl.C: add <ctime>
3720
3721 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
3722
3723         * BufferView_pimpl.C: add using std::find_if
3724
3725 2001-02-27  José Matos  <jamatos@fep.up.pt>
3726         
3727         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
3728         by OnlyPath.
3729         
3730 2001-02-11  José Matos  <jamatos@fep.up.pt>
3731
3732         * buffer.C (makeDocBookFile): command styles now have a parameter as
3733         "title" by default.
3734
3735 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
3736
3737         * layout_forms.[Ch]: removed
3738         * lyx_cb.[Ch]: out character
3739         * lyx_gui.C: out character
3740         * lyx_gui_misc.C: out character
3741         * bufferview_funcs.C: : out character,
3742         added toggleall as parameter in ToggleAndShow
3743                    
3744 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
3745
3746         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
3747
3748         * text2.C (SetCurrentFont): Disable number property at boundary.
3749
3750 2001-02-26  Juergen Vigna  <jug@sad.it>
3751
3752         * lyxfunc.C (getStatus): added a string argument override function so
3753         that this is correctly called from LyXFunc::Dispatch if it contains a
3754         do_not_use_argument which is used!
3755         (Dispatch): added check for "custom" export and call appropriate func.
3756
3757 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
3758
3759         * lyxrc.C: Add language_command_local, language_use_babel and
3760         language_global_options.
3761
3762         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
3763
3764         * buffer.C (makeLaTeXFile): Use language_use_babel and 
3765         language_global_options.
3766
3767 2001-02-23  Juergen Vigna  <jug@sad.it>
3768
3769         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
3770         which works with LyXText and putted it inside BufferView. Here now we
3771         only call for that part the BufferView::Dispatch() function.
3772
3773         * BufferView.C (Dispatch): added.
3774
3775         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
3776         functions which needs to use a LyXText over from LyXFunc.
3777         (MenuInsertLyXFile): added
3778         (getInsetByCode): added
3779         (moveCursorUpdate): added
3780         (static TEXT): added
3781
3782 2001-02-22  Juergen Vigna  <jug@sad.it>
3783
3784         * BufferView_pimpl.C (update): call a status update to see if LyXText
3785         needs it.
3786
3787 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
3788
3789         * vc-backend.C (revert): implement for CVS
3790         (getLog): implement for CVS
3791
3792 2001-02-20  Juergen Vigna  <jug@sad.it>
3793
3794         * text2.C (ClearSelection): added BufferView param for inset_owner call
3795
3796         * lyxfunc.C (TEXT): added this function and use it instead of
3797         directly owner->view()-text of getLyXText().
3798
3799 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
3800
3801         * src/layout_forms.C: out preamble
3802         * src/layout_forms.h: out preamble
3803         * src/lyx_cb.C: out preamble
3804         * src/lyx_cb.h: out preamble
3805         * src/lyx_gui.C: out preamble
3806         * src/lyx_gui_misc.C: out preamble
3807         * src/lyxfunc.C: connect with guii preamble
3808
3809 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
3810
3811         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
3812
3813 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
3814
3815         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
3816         whether to run bibtex.
3817
3818 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
3819
3820         * Makefile.am (lyx_SOURCES): Remove BackStack.h
3821
3822 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
3823
3824         * Makefile.am (lyx_SOURCES): removed bibforms.h
3825
3826         * vspace.h: doxygen
3827
3828         * text.C (GetVisibleRow): make several local vars const
3829
3830         * tabular.C: small cleanup.
3831
3832         * lyxserver.C (callback): use compare instead of strncmp
3833
3834         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
3835         inlines to after class or to paragraph.C
3836
3837         * lyxfont.h: remove friend operator!=
3838
3839         * converter.h: move friend bool operator< to non friend and after
3840         class def.
3841
3842         * combox.h: small cleanup
3843
3844         * buffer.h: doxygen, remove unused constructor, move inclas inlies
3845         to inlines after class def.
3846
3847         * buffer.C (pop_tag): use string operations instead of strcmp
3848
3849         * bmtable.c: doxygen, small cleanup
3850
3851         * LaTeX.h: remove friend operator==
3852
3853 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
3854
3855         * screen.C: 
3856         * lyxrc.[Ch]:
3857         * lyxfunc.C: 
3858         * lyxfont.[Ch]: 
3859         * lyx_cb.C: 
3860         * intl.[Ch]: 
3861         * commandtags.h: 
3862         * buffer.C: 
3863         * WorkArea.[Ch]: 
3864         * LyXAction.C: 
3865         * BufferView_pimpl.C:
3866         * BufferView.[Ch]: remove cruft
3867
3868 2001-02-14  Juergen Vigna  <jug@sad.it>
3869
3870         * lyxfunc.C: removed #if 0 unused code
3871
3872         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
3873
3874         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
3875
3876         * text2.C (SetSelection): added a BufferView * parameter
3877
3878 2001-02-13  Juergen Vigna  <jug@sad.it>
3879
3880         * lyxfunc.C (Dispatch): fixed protected blank problem.
3881         * BufferView2.C (protectedBlank): added LyxText * parameter.
3882
3883         * tabular.C (AppendRow): forgot to set row_info of newly added row.
3884         (AppendColumn): same as above for column_info.
3885
3886         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
3887         (moveCursorUpdate): use a LyXText param for support of InsetText.
3888
3889         * BufferView_pimpl.C (doubleClick): added support for InsetText.
3890         (tripleClick): ditto
3891
3892         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
3893
3894         * BufferView_pimpl.C (update): added LyXText param to honor insets.
3895
3896         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
3897
3898         * text2.C (SetSelection): set correct update status if inset_owner
3899         (ToggleFree): ditto
3900
3901 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
3902
3903         * tabular.C: remove some commented code.
3904
3905 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
3906
3907         * BufferView_pimpl.C: call hideSplash()
3908
3909         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
3910
3911         * include_form.h:
3912         * bibforms.h: remove
3913
3914         * lyxfunc.C:
3915         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
3916           add LFUN_CHILD_CREATE
3917
3918         * counters.h: fix tiny typo
3919         
3920         * lyx_cb.C:
3921         * lyx.h:
3922         * lyx_gui.C:
3923         * lyx.C: move splash to frontends/xforms/
3924
3925         * lyx_gui_misc.C: move Include and Bibform to frontends
3926
3927         * lyxvc.h: clarify comment
3928
3929         * vspace.C: tiny housekeeping
3930
3931 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
3932
3933         * text.C (PrepareToPrint): RTL Fix.
3934
3935         * paragraph.C (GetUChar): New method.
3936         (String):  Use GetUChar.
3937
3938         * buffer.C (asciiParagraph): Use GetUChar.
3939
3940 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
3941
3942         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
3943
3944 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
3945
3946         * buffer.h:
3947         * buffer.C: rename to getLogName(), handle
3948           build log / latex log nicely
3949
3950 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
3951
3952         * MenuBackend.C: 
3953         * MenuBackend.h: remove support for reference menuitem type.
3954
3955 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
3956
3957         * BufferView_pimpl.C: housekeeping
3958         * BufferView_pimpl.h:
3959         * LyXView.h:
3960         * Makefile.am:
3961         * Timeout.C:
3962         * Timeout.h:
3963         * minibuffer.h: move Timeout GUI-I
3964                           
3965 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
3966
3967         * lyxrc.C (read): Update converters data-structures.
3968
3969 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
3970
3971         * LaTeX.h (operator!=): add operator != for Aux_Info 
3972
3973 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
3974
3975         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
3976
3977         * LaTeXLog.C: deleted, useful code moved to Buffer
3978
3979         * buffer.h:
3980         * buffer.C: new function getLatexLogName()
3981
3982         * lyx_gui_misc.C:
3983         * lyx_gui.C:
3984         * lyxvc.C:
3985         * lyxvc.h:
3986         * lyxfunc.C: use frontends for LaTeX and VC logs
3987
3988 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
3989
3990         * LaTeX.h: yet another std:: that Allan forgot.
3991
3992         * Variables.C (set): renamed from isset(), because this clashes
3993         with some HP-UX macros (grr).
3994
3995 2001-02-06  Allan Rae  <rae@lyx.org>
3996
3997         * LaTeX.h: Another bug fix.  Missing std:: this time.
3998
3999 2001-02-04  Allan Rae  <rae@lyx.org>
4000
4001         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
4002         floats problem. I've left it commented out because it's not quite
4003         correct.  It should also test that the current object is a table or
4004         figure inset.  But I haven't gotten around to figuring out how to do
4005         that.  I *think* it'll be something like: "table" == inset.type()
4006
4007         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
4008         bool.
4009
4010 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
4011
4012         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
4013         all the citation/databases/styles in the auxilary file. 
4014         (run): Rerun latex if there was a babel language error.
4015
4016 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
4017
4018         * text.C (Backspace): Preserve the font when changing newline char
4019         with a space.
4020         (BreakParagraph): If the cursor is before a space, delete the space.
4021
4022         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
4023
4024 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
4025
4026         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
4027         new argument (code).
4028         (ChangeCitationsIfUnique): New method.
4029
4030         * paragraph.C (GetPositionOfInset): Handle bibkey.
4031
4032 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4033
4034         * BufferView_pimpl.h: change type of Position::par_pos to
4035         LyXParagraph::size_type. 
4036
4037 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
4038
4039         * BufferView_pimpl.C (savePosition, restorePosition): Write
4040         messages to minibuffer.
4041
4042 2001-01-28  José Matos  <jamatos@fep.up.pt>
4043
4044         * buffer.C (makeDocBookFile): adds support for document language.
4045         A silly restriction on the name of LatexCommand types where removed.
4046         Added support for CDATA sections, allows to chars unescaped, used
4047         among others in code, to avoid escape < and >.
4048         
4049 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
4050
4051         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of 
4052         saved positions instrad of a stack. Furthermore, a position is
4053         stored using paragraph id/paragraph position.
4054
4055         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
4056         Remove LFUN_REF_BACK.
4057
4058 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
4059
4060         * converter.C (dvipdfm_options): New method.
4061
4062 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
4063
4064         * vspace.C (isValidLength): Fix for empty input string.
4065
4066 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4067
4068         * LyXAction.C (init): change description of LFUN_FIGURE to
4069         "Insert Graphics"
4070
4071 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4072
4073         * LaTeX.C: add using directive
4074
4075 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
4076
4077         * MenuBackend.C (expand): Fix the sorting of the formats.
4078
4079 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
4080
4081         * lyx_main.C: tiny error message fix
4082
4083 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4084
4085         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
4086         calling fl_initialize(). This fixes the problem with ',' as
4087         decimal separator in text files.
4088
4089 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
4090
4091         * trans.C (process): Fix the keymap bug.
4092
4093 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
4094
4095         * LaTeX.C (scanAuxFiles): New method. Provides support for
4096         multiple bibliographies (when using the bibtopic/bibunits pacakges).
4097         (scanLogFile) Scan for "run BibTeX" messages.
4098
4099         * buffer.C (makeLaTeXFile): Do not load the ae package when using
4100         OT1 font encoding. Also, load the aecompl package if the ae
4101         package is loaded.
4102
4103         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
4104
4105 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4106
4107         * texrow.C (increasePos): turn two error messages into debug
4108         messages. 
4109
4110 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
4111
4112         * LaTeX.C (scanAux): Handle the \@input macro.
4113         (runBibTeX): Use scanAux().
4114
4115         * language.C (latex_options_): New field.
4116
4117         * LaTeXFeatures.C (getMacros): Add language macros.
4118
4119         * buffer.C (makeLaTeXFile): Small fix.
4120
4121 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
4122
4123         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
4124
4125         * text2.C: add a using directive.
4126
4127 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
4128
4129         * BufferView2.C:
4130         * lyx_gui_misc.h:
4131         * lyxfr1.C:
4132         * lyxfunc.C: kill LyXBell.
4133
4134 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
4135
4136         * text.C (IsBoundary): Remove the error message
4137         
4138         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
4139
4140         * lyxrc.C (setDefaults): Correct initialization value for
4141         font_norm_type.
4142
4143 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
4144
4145         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
4146         gotoError().
4147
4148         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
4149         and GotoNextNote().
4150
4151         * src/LyXAction.C: Added reference-next.
4152
4153         * text.C (InsertChar): Use contains instead of strchr.
4154
4155         * lyx_cb.C (MenuInsertLabel): Enable default value code.
4156
4157 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
4158
4159         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
4160         alignment commands (when needed).
4161
4162         * text.C (InsertChar): Add ':' to number separator chars.