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