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