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