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