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