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