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