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