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