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