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