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