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