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