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