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