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