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