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