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