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