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