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