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