]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
fix a bug just introduced.
[lyx.git] / src / ChangeLog
1 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
2
3         * buffer.C: fix a bug just introduced
4         
5 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
6
7         * buffer.[Ch]: added the parseError signal and use it, removed 
8         sgmlError
9         * BufferView.[Ch] (addError): moved to ...
10         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach 
11         to the Buffer::parseError signal to catch (guess what) parse errors
12         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
13         
14 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
15
16         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the 
17         ability to create a buffer and to return an existing one from 
18         the list. Moved these functions to...
19         * buffer_funcs.[Ch]: added
20         * BufferView.[Ch] (loadLyXFile): added
21         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing 
22         job removed from bufferlist::loadLyXFile.
23         * buffer.C (setReadOnly): make it work without view 
24         (i.e added an if (users))
25         
26 2003-06-19  Angus Leeming  <leeming@lyx.org>
27
28         * lfuns.h:
29         * LyXAction.C (init):
30         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
31         with LFUN_DIALOG_SHOW <name> <data>.
32
33 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
34
35         * CutAndPaste.C (availableSelections): small compilation fix for
36         ancient (gcc 2.9x) compilers
37
38 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
39
40         * text3.C (cursorNext): add tmp var
41
42         * text2.C (updateCounters): for function calling out of for clause
43         (replaceSelectionWithString): ditto
44         (insertStringAsParagraphs): ditto
45         (getColumnNearX): add tmp var
46         (setCursorFromCoordinates): add tmp var
47         (cursorDownParagraph): add tmp var
48         (deleteEmptyParagraphMechanism): add tmp var
49
50         * text.C (insertChar): add tmp var
51
52         * rowpainter.C (paintDepthBar): add tmp var
53
54         * CutAndPaste.C (availableSelections): potentially check all
55         paragraphs in a cut to fill the shown strings.
56
57 2003-06-18  André Pönitz  <poenitz@gmx.net>
58
59         * kbmap.[Ch]: use vector<> instead of list<>
60
61 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
62
63         * text3.C (dispatch): handle arg to LFUN_PASTE, call
64         pasteSelection with index
65
66         * text2.C (pasteSelection): modify, call pasteSelection with index
67
68         * paragraph.C (asString): reimplement version with no interval to
69         call the one with interval.
70
71         * lyxtext.h: add index arg to pasteSelection
72
73         * MenuBackend.C (MenuItem): handle PasteRecent
74         (Menu::read::Menutags): add md_pasterecent
75         (read): handle it
76         (expandPasteRecent): new function
77         (expand): use it
78
79         * MenuBackend.h: add PasteRecent to MenuItem::Kind
80
81         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
82         the limited stack
83         (availableSelections): new function
84
85 2003-06-17  Angus Leeming  <leeming@lyx.org>
86
87         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
88
89 2003-06-17  Angus Leeming  <leeming@lyx.org>
90
91         * lfuns.h:
92         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
93
94         * lyxfunc.C (dispatch): invoke it.
95
96 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
97
98         * iterators.C (operator++, ParPosition): reintroduce some
99         const_cast for the benefit of older compilers.
100
101 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
102
103         * text3.C (dispatch): do not modify clipboard when doing
104         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
105         LFUN_DELETE_SKIP on a selection selection
106
107 2003-06-16  André Pönitz  <poenitz@gmx.net>
108
109         * BufferView.C:
110         * buffer.C:
111         * buffer.h:
112         * paragraph.C:
113         * tabular.[Ch]: IU of clone() and getLabelList();
114
115 2003-06-13  André Pönitz  <poenitz@gmx.net>
116
117         * tabular.h: compactification
118
119 2003-06-12  André Pönitz  <poenitz@gmx.net>
120
121         * tabular.C:
122         * tabular.h:
123         * tabular_funcs.h: some renaming plus whitespace
124
125 2003-06-12  André Pönitz  <poenitz@gmx.net>
126
127         * BufferView.C:
128         * BufferView_pimpl.C:
129         * CutAndPaste.C:
130         * buffer.C:
131         * iterators.[Ch]:
132         * lyxfunc.C:
133         * text.C:
134         * toc.C: Return a Paragraph & for ParIterator::operator*()
135
136 2003-06-11  John Levon  <levon@movementarian.org>
137
138         * lyx_main.C:
139         * ToolbarBackend.h:
140         * ToolbarBackend.C: add "Toolbars" section and
141         put the flags there
142
143 2003-06-10  Angus Leeming  <leeming@lyx.org>
144
145         * lfuns.h:
146         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
147
148         * lyxfunc.C (dispatch): invoke it.
149
150 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
151
152         * main.C: protect <ios> with HAVE_IOS
153         (main): protect sync_with_stdio with HAVE_IOS
154
155 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
156
157         * text2.C (cutSelection): adjust
158         (pasteSelection): adjust
159
160         * messages.C: handle get of empty string
161
162         * main.C (main): use sync_with_stdio(false)
163
164         * lyxfunc.C (dispatch): adjust
165
166         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
167         (WriteAs): remove unneeded BufferView arg.
168
169         * bufferparams.h: use correct types on papersize, papersize2 and
170         paperpackage.
171
172         * bufferparams.C (readToken): adjust for type
173         (writeLaTeX): add missing cases to switch.
174
175         * bufferlist.C (quitWriteBuffer): adjust
176         (close): adjust
177
178         * buffer.C (asciiParagraph): remove some commented code.
179
180         * CutAndPaste.C: remove current_view extern variable.
181         (cutSelection): add BufferParams arg.
182         (eraseSelection): add BufferParams arg.
183         (pasteSelection): add Buffer const & arg
184
185 2003-06-07  John Levon  <levon@movementarian.org>
186
187         * buffer.C:
188         * paragraph_funcs.C:
189         * paragraph_pimpl.C:
190         * text.C:
191         * text2.C:
192         * paragraph.h:
193         * paragraph.C: allow InsetERT to freely space lines,
194         and some consolidation of code
195
196 2003-06-06  José Matos  <jamatos@fep.up.pt>
197
198         * buffer.C (makeDocBookFile): fix bug #821
199
200 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
201
202         * BufferView_pimpl.C (dispatch): use Dialogs::visible
203
204 2003-06-04  Angus Leeming  <leeming@lyx.org>
205
206         * buffer.C: bump format to 224.
207
208 2003-06-05  André Pönitz  <poenitz@gmx.net>
209
210         * text2.C (redoParagraphs): remove two const_cast<>
211
212 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
213
214         * ParagraphList.h: remove last remnants of NO_STD_LIST
215
216 2003-06-03  Angus Leeming  <leeming@lyx.org>
217
218         * factory.C (createInset): small change to the way InsetExternal's params
219         are set.
220
221 2003-06-04  André Pönitz  <poenitz@gmx.net>
222
223         * buffer.h: use Undo directly instead of shared_ptr<Undo>
224
225         * paragraph_pimpl.h:
226         * paragraph.[Ch]: some Inset -> UpdatableInset changes
227
228         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
229
230         * undo_funcs.C: make some simple cases of undo work again
231
232 2003-06-03  John Levon  <levon@movementarian.org>
233
234         * ispell.C: HPUX doesn't have sys/select.h
235         (from Albert Chin)
236
237 2003-06-03  John Levon  <levon@movementarian.org>
238
239         * CutAndPaste.C: update tabular and include inset
240         buffer references
241
242         * buffer.h:
243         * paragraph.h:
244         * paragraph.C: remove owningBuffer(), don't pass Buffer
245         to clone()
246
247         * factory.C: insetGraphicsParams changed
248
249 2003-06-02  John Levon  <levon@movementarian.org>
250
251         * LyXAction.C:
252         * factory.C:
253         * lfuns.h:
254         * lyxfunc.C:
255         * text3.C: remove insetparent
256
257 2003-06-02  John Levon  <levon@movementarian.org>
258
259         * buffer.h:
260         * buffer.C: fix inset_iterator.end(), move out of line
261         (bug 1149)
262
263 2003-06-01  John Levon  <levon@movementarian.org>
264
265         * text3.C: use a proper cut/paste when doing inset
266         insert (from Jürgen Spitzmüller)
267
268 2003-06-01  John Levon  <levon@movementarian.org>
269
270         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
271
272 2003-05-30  André Pönitz  <poenitz@gmx.net>
273
274         * rowpainter.C: unify second drawing phase
275
276 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
277
278         * trans_mgr.C: remove one case of current_view
279
280         * text2.C (cursorBottom): delete NO_STD_LIST stuff
281
282         * paragraph_funcs.h: remove paragraph.h include
283
284         * paragraph.h: delete NO_STD_LIST stuff
285
286         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
287
288         * buffer.h: remove paragraph.h include
289
290         * ParagraphList.C: delete file
291
292         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
293
294         * toc.C (getTocList): adjust
295
296         * paragraph_pimpl.C (validate): adjust
297
298         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
299
300         * paragraph.C (Paragraph): adjust
301         (getPositionOfInset): use const_iterator, adjust
302         (bibitem): use const_iterator, adjust
303         (setInsetOwner): adjust
304
305         * iterators.C (operator++): adjust
306
307         * InsetList.[Ch]: Replace selfmade iterator with standard
308         vector::iterator also introduce const_iterator. Remove getPos,
309         getInset and setInset from InsetTable. Adjust accordingly.
310
311         * BufferView.C (lockInset): adjust
312         (ChangeInsets): adjust
313
314         * tabular.[Ch]: delete commented same_id functions
315
316 2003-05-28  John Levon  <levon@movementarian.org>
317
318         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
319
320 2003-05-28  André Pönitz  <poenitz@gmx.net>
321
322         * metricsinfo.[Ch]: remove 'fullredraw' member
323
324 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
325
326         * lyxtextclass.C (operator): remove caching.
327
328 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
329
330         * text3.C: adjust
331
332         * text2.C (cursorBottom): adjust
333         (setCounter): use ParagraphList::find, adjust
334
335         * text.C (workWidth): use ParagraphList::find, adjust
336
337         * lyxcursor.C (LyXCursor): adjust
338
339         * buffer.C (inset_iterator): adjust
340
341         * ParagraphList.h: make iterator(value_type) private, make
342         ParagraphList a friend of iterator.
343
344         * ParagraphList.C (find): new function
345
346         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
347
348 2003-05-27  André Pönitz  <poenitz@gmx.net>
349
350         * dimension.[Ch]: a -> asc, d -> des, w -> wid
351
352 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
353
354         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
355
356 2003-05-26  John Levon  <levon@movementarian.org>
357
358         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
359
360 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
361
362         * remove same_id from function signatures, adjust.
363
364 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
365
366         * undo_funcs.C (createUndo): use the id functions directly, adjust.
367
368         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
369
370         * paragraph.C (Paragraph): get rid of same_ids parameter
371
372         * ParagraphList.C (insert): adjust
373         (push_back): adjust
374
375 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
376
377         * paragraph_funcs.C (breakParagraph): adjust
378         (breakParagraphConservative): adjust
379
380         * buffer.C (readParagraph): adjust
381
382         * ParagraphList.C (insert): take a reference instead of a pointer
383         (insert): adjust
384
385         * paragraph.[Ch] (id): new function
386
387         * bufferlist.C (newFile): adjust
388
389         * ParagraphList.C (ParagraphList): adjust
390         (assign): adjust
391         (push_back): take a reference instead of a pointer.
392
393         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
394
395         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
396         instead.
397
398         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
399         set else use old code.
400
401         * ParagraphList.C: remove all NO_NEXT code and only compile this
402         code of NO_STD_LIST is set.
403
404 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
405
406         * BufferView_pimpl.C:
407         * TextCache.C:
408         * TextCache.h:
409         * bufferlist.C:
410         * errorlist.h:
411         * format.C:
412         * format.h:
413         * graph.C:
414         * lyxfunc.C:
415         * lyxrc.C:
416         * graphics/GraphicsConverter.C:
417         * graphics/PreviewLoader.C: header adjustment
418
419 2003-05-23  Angus Leeming  <leeming@lyx.org>
420
421         * LaTeXFeatures.[Ch] (useBabel): new method.
422         * bufferparams.C (writeLaTeX): use it.
423
424 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
425
426         * ParagraphList.h (set): remove unused function.
427
428 2003-05-23  André Pönitz  <poenitz@gmx.net>
429
430         * BufferView.C:
431         * BufferView_pimpl.C:
432         * buffer.C:
433         * buffer.h:
434         * lyxfunc.C:
435         * undo_funcs.C: setUndo reworked
436
437         * iterators.[Ch]: add access to topmost ParagraphList
438
439         * lyxtext.[Ch] (workWidth): add a const
440
441 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
442
443         * texrow.[Ch] (increasePos): remove function
444         * exporter.C (export): removed unused var and outdated comment
445
446 2003-05-23  Angus Leeming  <leeming@lyx.org>
447
448         * latexrunparams.h: rename fragile as moving_arg.
449         * paragraph.C (simpleTeXOnePar): ditto.
450         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
451
452 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
453
454         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
455         (createUndo): ditto
456         (textUndoOrRedo): comment out a currently unused var.
457
458         * paragraph.h (NO_NEXT): enable NO_NEXT
459
460         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
461
462         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
463
464         * exporter.C (Export): adjust for removeAutoInsets removal.
465
466         * buffer.C (runChktex): adjust for removeAutoInsets removal.
467
468         * LyXAction.C (init): remove LFUN_REMOVEERRORS
469
470         * BufferView.[Ch] (removeAutoInsets): delete function
471
472 2003-05-22  Angus Leeming  <leeming@lyx.org>
473
474         * latexrunparams.h: add a free_spacing variable.
475
476         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
477         to pass moving_arg, as the data is stored in runparams.fragile.
478
479         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
480         to Inset::latexOptional or to simpleTeXOnePar.
481
482         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
483         free_spacing arg to Inset::latexOptional.
484
485         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
486         free_spacing arg.
487
488 2003-05-22  Angus Leeming  <leeming@lyx.org>
489
490         * latexrunparams.h: add fragile and use_babel variables.
491
492         * bufferparams.[Ch] (writeLaTeX): return use_babel.
493         * buffer.C (makeLaTeXFile): store this returned value in
494         runparams.use_babel, thus passing it to the inset::latex methods.
495
496         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
497         simpleTeXSpecialChars as it is now stored in runparams.fragile.
498
499         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
500         longer has a fragile arg, as it is stored in runparams.fragile.
501
502         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
503         moving_arg parameter as the data is stored in runparams.fragile.
504
505         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
506         a fragile parameter as the data is stored in runparams.fragile.
507
508 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
509
510         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
511
512 2003-05-22  Angus Leeming  <leeming@lyx.org>
513
514         * latexrunparams.h: add a 'bool nice' which defaults to false.
515
516         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
517         now encapsulated within runparams.
518
519         * bufferlist.C (updateIncludedTeXfiles):
520         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
521
522 2003-05-22  Angus Leeming  <leeming@lyx.org>
523
524         * latexrunparams.h: new file containing struct LatexRunParams.
525         * Makefile.am: add new file.
526
527         * LaTeX.[Ch] (c-tor, run):
528         * buffer.[Ch] (makeLaTeXFile):
529         * bufferlist.[Ch] (updateIncludedTeXfiles):
530         * converter.C (convert, scanLog):
531         * converter.[Ch] (runLaTeX):
532         * exporter.C (Export):
533         * paragraph.[Ch] (simpleTeXOnePar):
534         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
535         * paragraph_funcs.[Ch] (latexParagraphs):
536         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
537         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
538         pass around a LatexRunParams parameter.
539
540 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
541
542         * paragraph.[Ch]: remove unused constructor
543
544         * ParagraphList.C (erase): new function, taking two iterators
545
546 2003-05-22  André Pönitz  <poenitz@gmx.net>
547
548         * undo_funcs.C: remove duplicated code
549
550         * iterator.[Ch]: operator=
551
552 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
553
554         * tabular.C (SetMultiColumn): ws changes
555
556         * rowpainter.C (paintFirst): get rid of a ->previous
557
558         * lyx_cb.C (getPossibleLabel): parlist simplification
559
560         * BufferView.C (ChangeInsets): simplify slightly.
561
562 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
563
564         * LyXAction.C: new lfun space-insert, kill protected-space-insert
565         * lfuns.h: new LFUN_SPACE
566         * lyxfunc.C: protected space has a new lfun
567         * paragraph_funcs.C: read new space insets
568         * text3.C:
569         * factory.C: handle new space insets
570
571 2003-05-22  André Pönitz  <poenitz@gmx.net>
572
573         * BufferView.C:
574         * BufferView_pimpl.C:
575         * buffer.[Ch]:
576         * lyxfunc.C:
577         * undo_funcs.C: return a ParIterator from getParFromID.
578
579         * iterators.[Ch]: add two const's
580
581 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
582
583         * toc.C (getTocList): adjust
584
585         * iterators.[Ch]: rework for parlist
586
587         * buffer.C (par_iterator_begin): adjust
588         (par_iterator_end): adjust
589
590         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
591
592         * BufferView.C (removeAutoInsets): adjust
593         (ChangeInsets): adjust
594
595 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
596
597         * text.C (top_y): fix bug 1110
598
599 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
600
601         * errorlist.[Ch]: added
602         * buffer.C:
603         * BufferView.[Ch]:
604         * BufferView_pimpl.C:
605         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
606         instead
607
608 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
609
610         * Makefile.am: ensure that lyx is relinked upon changes to the
611         various "convenience" libs.
612
613 2003-05-20  Angus Leeming  <leeming@lyx.org>
614
615         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
616         files are compiled in alphabetical order again.
617
618         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
619
620 2003-05-19  Angus Leeming  <leeming@lyx.org>
621
622         * gettext.[Ch]: remove "char const * _(char const *)".
623
624 2003-05-19  André Pönitz  <poenitz@gmx.net>
625
626         * dimension.[Ch]: promote from mathed/dimension.[Ch]
627
628         * Makefile.am:
629         * BufferView.C:
630         * DepTable.h:
631         * LaTeXFeatures.C:
632         * buffer.C:
633         * lyxfont.C:
634         * lyxlex.h:
635         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
636
637 2003-05-19  André Pönitz  <poenitz@gmx.net>
638
639         * buffer.C:
640         * lyxlayout.[Ch]:
641         * lyxtextclass.[Ch]:
642         * paragraph.C:
643         * paragraph_funcs.[Ch]:
644         * text2.C:
645         * text3.C: more insetenv work
646
647 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
648
649         * ParagraphParameters.C (params2string): small bug fixed
650
651 2003-05-16  André Pönitz  <poenitz@gmx.net>
652
653         * debug.C:
654         * bufferview_funcs.C: patch from Kornel Benko to prevent
655           crash when _(...) is called twice in a statement
656
657 2003-05-16  André Pönitz  <poenitz@gmx.net>
658
659         * BufferView.C:
660         * lyxfunc.C:
661         * text.C:
662         * text2.C:
663         * text3.C:
664         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
665
666 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
667
668         * lyx_main.C (init): remove spurious static_cast
669
670 2003-05-14  André Pönitz  <poenitz@gmx.net>
671
672         * BufferView.C: fix format string
673
674 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
675
676         * BufferView.[Ch] (insertErrors): removed
677         * BufferView.[Ch] (showErrorList): added
678         * buffer.C (runChkTeX):
679         * converter.C (scanLog): call showErrorList instead of inserterrors
680
681 2003-05-13  André Pönitz  <poenitz@gmx.net>
682
683         * BufferView_pimpl.C:
684         * buffer.C:
685         * bufferview_func.C:
686         * MenuBackend.C:
687         * lyxfunc.C:
688         * lyxrc.C:
689         * tex-accent.C:
690         * text3.C:
691         * toc.C:
692         * tabular_funcs.h: tostr() from its own header
693
694         * ParagraphParameters.C:
695         * ToolbarBackend.C:
696         * bufferparams.C:
697         * format.C:
698         * lyxlex_pimpl.C:
699         * text3.C: STRCONV()
700
701 2003-05-12  André Pönitz  <poenitz@gmx.net>
702
703         * BufferView.C:
704         * BufferView_pimpl.C:
705         * CutAndPaste.C:
706         * LaTeX.C:
707         * LaTeXFeatures.C:
708         * ParagraphParameters.C:
709         * buffer.C:
710         * bufferlist.C:
711         * bufferparams.C:
712         * bufferview_funcs.C:
713         * converter.C:
714         * counters.C:
715         * debug.C:
716         * exporter.C:
717         * format.C:
718         * importer.C:
719         * lyx_cb.C:
720         * lyx_main.C:
721         * lyxfont.C:
722         * lyxfunc.C:
723         * lyxvc.C:
724         * paragraph.C:
725         * paragraph_funcs.C:
726         * tabular.C:
727         * tabular_funcs.C:
728         * text2.C:
729         * text3.C:  boost::format -> bformat  all over the place
730
731
732 2003-05-09  André Pönitz  <poenitz@gmx.net>
733
734         * LColor.[Ch]: Pimpl the #include <map> away
735
736 2003-05-09  John Levon  <levon@movementarian.org>
737
738         * bufferlist.C: never remove emergency saves
739
740 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
741
742         * Makefile.am: better lib building
743
744 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
745
746         * texrow.[Ch]: remove dependency on Paragraph and just store a id
747         instead.
748         * paragraph_pimpl.C (simpleTeXBlanks): adjust
749         (simpleTeXSpecialChars): adjust
750         (simpleTeXSpecialChars): adjust
751         * paragraph.C (simpleTeXOnePar): adjust
752         * buffer.C (makeLaTeXFile): adjust
753
754         * Makefile.am (BOOST_LIBS): allow boost as system lib.
755
756         * text2.C (changeDepth): parlist cleanup
757         (getColumnNearX): ditto
758
759         * rowpainter.C (getLabelFont): parlist cleanup
760
761         * bufferlist.C (newFile): parlist cleanup
762
763         * CutAndPaste.C (eraseSelection): parlist cleanup
764
765         * BufferView_pimpl.C (trackChanges): parlist cleanup
766         (dispatch): ditto
767
768         * BufferView.C (lockInset): parlist cleanup.
769         (ChangeInsets): ditto
770
771 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
772
773         * CutAndPaste.h: Update file header.
774
775         * CutAndPaste.C: Update file header.
776         Store the parts cut out of the Document in a limited_stack.
777         (copySelection): adjust
778         (pasteSelection): new function, takes the index in the limited stack.
779         (nrOfParagraphs): adjust
780         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
781         simplify error inset insertion.
782         (checkPastePossible): adjust
783
784 2003-05-06  John Levon  <levon@movementarian.org>
785
786         * text2.C: don't cast wrap inset to float
787
788 2003-05-05  André Pönitz  <poenitz@gmx.net>
789
790         * iterator.C:
791         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
792
793         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
794           few naked Paragraph *.
795
796 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
797
798         * bufferparams.C: Output warning if a document with missing
799         TeX document class is loaded
800         * exporter.C: Disable TeX exports if the document class is missing
801         * lyxtextclass.C:
802         * lyxtextclass.h:
803         * lyxtextclasslist.C: Handle new textclass.lst format; new method
804         isTeXClassAvailable()
805
806 2003-05-03  John Levon  <levon@movementarian.org>
807
808         * BufferView.h:
809         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
810         explicit cursor show/hide
811
812         * BufferView_pimpl.h:
813         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
814         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
815
816         * lyxfunc.C: hide cursor before dispatching.
817
818         * lyx_cb.C:
819         * lyxfind.C:
820         * text.C:
821         * text3.C: remove explicit cursor hides
822
823 2003-05-02  André Pönitz  <poenitz@gmx.net>
824
825         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
826
827         * undo_funcs.C:
828         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
829           linked lists
830
831         * text2.C: tiny whitespace
832
833 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
834
835         * undo_funcs.C: almost only ws changes.
836
837         * ParagraphList.C (splice): just return if pl is empty.
838
839 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
840
841         * ParagraphList.C (splice): new function.
842
843         * CutAndPaste.C (pasteSelection): use it
844
845 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
846
847         * CutAndPaste.C (pasteSelection): remove the last next and
848         previous from this file.
849
850 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
851
852         * CutAndPaste.C (pasteSelection): more clean up, user proper
853         ParagraphList functions for pasteing.
854
855         * ParagraphList.C (insert): new function, three arg insert
856
857 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
858
859         * ParagraphList.C (insert): new function, three arg insert
860
861         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
862         not on paragraphs.
863
864 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
865
866         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
867
868 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
869
870         * CutAndPaste.C (pasteSelection): remove some unneeded code.
871
872 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
873
874         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
875         (copySelection): clean up a bit.
876         (pasteSelection): use make_pair
877
878         * ParagraphList.C (ParagraphList): implement copy constructor
879         (operator=): implement, base on copy constructor.
880         (assign): new func
881
882         * paragraph.C (erase): return a bool
883
884         * paragraph_pimpl.C (erasePos): remove function, move contents...
885         (erase): ... here. Return a bool.
886         (erase): call erase instead of erasePos.
887
888 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
889
890         * ParagraphList.h: define PitPosPair
891         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
892         ParagraphList, fix a bug on pasting multiple pars
893         * text2.C: change interface to C&P
894
895 2003-04-30  André Pönitz  <poenitz@gmx.net>
896
897         * undo_func.C: revert part of yesterday's patch 2
898
899 2003-04-30  John Levon  <levon@movementarian.org>
900
901         * LColor.C: s/tabular/table/
902
903 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
904
905         * text3.C (dispatch): do not convert iterator -> pointer
906         * undo_funcs.C (setCursorParUndo): ditto
907         * text_funcs.C (transposeChars): ditto
908
909         * text2.C (setLayout): ws changes only
910
911         * text.C (breakParagraph): do not convert iterator -> pointer
912         (insertChar): ditto
913         (acceptChange): ditto
914         (rejectChange): ditto
915         (changeCase): ditto
916         (Delete): ditto
917         (backspace): ditto
918
919         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
920         pointer
921
922 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
923
924         * text3.C (gotoInset): YABG (yet another bad getChar)
925
926 2003-04-29  André Pönitz  <poenitz@gmx.net>
927
928         * paragraph.h: make operator= private unimplemented as long as
929           it is unusable
930
931         * ParagraphList.C: whitespace
932
933         * paragraph.[Ch]:
934         * paragraph_pimpl.[Ch]:
935         * paragraph_funcs.C:
936         * CutAndPaste.C:
937         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
938
939         * text2.C:
940           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
941
942 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
943
944         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
945         * paragraph.[Ch] (erase):
946         * paragraph_pimpl.[Ch] (erase): change return type and value
947         * text2.C (cutSelection): some rework
948
949 2003-04-28  John Levon  <levon@movementarian.org>
950
951         * bufferlist.C: changes for unsaved changes dialog
952
953 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
954
955         * bufferlist.C (newFile): set language (messages_) for new
956         documents also.
957
958         * buffer.C (readFile): ws changes only.
959
960 2003-04-28  André Pönitz  <poenitz@gmx.net>
961
962         * undo_funcs.C:
963         * lyxfunc.C:
964         * buffer.[Ch]:
965         * BufferView_pimpl.C:
966         * BufferView.C: getParFromID related ParagraphList::iterator changes
967
968 2003-04-28  André Pönitz  <poenitz@gmx.net>
969
970         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
971           Changes
972
973 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
974
975         * messages.C: remove one more localedir class variable.
976
977 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
978
979         * messages.C (getLocaleDir): singleton generation function
980         (Pimpl): use it.
981         (Messages): add a default constructor.
982
983         * main.C (main): do not setup localedir here, do not call
984         gettext_init.
985
986         * gettext.C (_): use it.
987         (gettext_init): delete funciton
988
989 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
990
991         * gettext.C (getLyXMessages): new singleton generating function.
992
993         * buffer.C (updateDocLang): adjust
994
995         * Makefile.am (messages.o): add target
996         (main.o): remove target
997
998 2003-04-27  John Levon  <levon@movementarian.org>
999
1000         * bufferlist.C:
1001         * lyx_cb.C:
1002         * lyxfunc.C:
1003         * lyxvc.C: specify cancel button in Alert::prompt
1004
1005 2003-04-26  John Levon  <levon@movementarian.org>
1006
1007         * text3.C:
1008         * lyxfunc.C:
1009         * lfuns.h:
1010         * LyXAction.C: add LFUN_INSET_SETTINGS
1011
1012         * lyxfunc.C: don't enable tabular-feature when there's
1013         just any locking inset
1014
1015 2003-04-26  John Levon  <levon@movementarian.org>
1016
1017         * bufferlist.C: re-add Cancel to buffer close question
1018
1019         * lyxfunc.C: fix import UI a bit
1020
1021 2003-04-25  John Levon  <levon@movementarian.org>
1022
1023         * gettext.C: remove the broken asserts for now
1024
1025 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
1026
1027         * messages.C: make case where setlocale cannot comply work better.
1028
1029         * buffer.C (updateDocLang): new function
1030         (changeLanguage): use it
1031         (readFile): use it
1032
1033         * text2.C (setCounter): use B_ a bit.
1034
1035         * lyxlayout.C (Read): be sure to trim the label strings.
1036
1037         * messages.C (Messages): fix typo in comment
1038
1039         * buffer.C (readFile): set message_ after file is loaded.
1040         (makeDocBookFile): remove double return
1041         (changeLanguage): reset message_ upon language change.
1042         (B_): new func, use this to get translated buffer strings.
1043
1044         * main.C: add myself and Jean Marc as authors.
1045
1046 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
1047
1048         * messages.[hC]: pimplify Messages, and three different pimpls to be
1049         used in different circumstances.
1050
1051         * gettext.[Ch]: change for use with new message code.
1052
1053 2003-04-24 André Pönitz <poenitz@gmx.net>
1054
1055         * factory.C: support for eqref
1056
1057 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
1058
1059         * messages.[Ch]: add missing char
1060
1061         * Makefile.am (lyx_SOURCES): add messages.[Ch]
1062
1063         * messages.[Ch]: New files
1064
1065 2003-04-18  John Levon  <levon@movementarian.org>
1066
1067         * BufferView.h:
1068         * BufferView.C:
1069         * BufferView_pimpl.C:
1070         * lfuns.h:
1071         * LyXAction.C:
1072         * lyxtext.h:
1073         * text2.C: remove layout-copy/paste (bug 778)
1074
1075 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
1076
1077         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
1078
1079 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
1080
1081         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
1082         if they succeed. Act accordingly.
1083
1084 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
1085
1086         * text2.C (setCharFont): adjust
1087         (setCounter): adjust
1088         (insertStringAsLines): adjust
1089
1090         * text.C (leftMargin): adjust
1091         (setHeightOfRow): adjust
1092
1093         * rowpainter.C (paintFirst): adjust
1094         (paintLast): adjust
1095
1096         * paragraph_funcs.C (depthHook): ParagraphList::iterators
1097         (outerHook): ditto
1098         (isFirstInSequence): ditto
1099         (getEndLabel): ditto
1100         (outerFont): adjust
1101
1102         * paragraph.C (getParLanguage): comment out some hard stuff.
1103
1104         * buffer.C (insertStringAsLines): take a ParagraphList as arg
1105         (sgmlError): ditto
1106         (simpleDocBookOnePar): ditto
1107         (makeDocBookFile): use ParagraphList::iterator
1108
1109         * CutAndPaste.C (pasteSelection): adjust
1110
1111 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
1112
1113         * text2.C (getFont): adjust
1114         (getLayoutFont): adjust
1115         (getLabelFont): adjust
1116
1117         * paragraph_funcs.C (TeXOnePar): adjust
1118
1119         * buffer.C (simpleLinuxDocOnePar): adjust
1120         (simpleDocBookOnePar): adjust
1121
1122         * CutAndPaste.C (pasteSelection): adjust
1123
1124         * BufferView.C (getEncoding): adjust
1125
1126         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
1127
1128 2003-04-16  John Levon  <levon@movementarian.org>
1129
1130         * lyxfind.C: use parlist stuff for search/changes
1131
1132 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
1133
1134         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
1135
1136         * text2.C (deleteEmptyParagraphMechanism): adjust
1137
1138         * text2.[Ch] (ownerParagraph): delete func (both of them
1139
1140 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
1141
1142         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
1143
1144 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
1145
1146         * ParagraphList.C: prepare for NO_NEXT
1147
1148 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
1149
1150         * text2.C (getFont): adjust
1151         (getLayoutFont): adjust
1152         (getLabelFont): adjust
1153
1154         * paragraph.C (getFont): adjust
1155         (getLabelFont): adjust
1156         (getLayoutFont): adjust
1157
1158         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
1159
1160 2003-04-15  John Levon  <levon@movementarian.org>
1161
1162         From Angus Leeming
1163
1164         * lyx_main.C: handle Include in .ui files
1165
1166 2003-04-15  John Levon  <levon@movementarian.org>
1167
1168         * MenuBackend.C: make the doc files length shorter
1169
1170         * ToolbarBackend.h:
1171         * ToolbarBackend.C: handle toolbar placement flags,
1172         Minibuffer
1173
1174 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
1175
1176         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
1177         adjust
1178
1179         * paragraph_funcs.C (TeXOnePar): adjust
1180
1181         * paragraph.C (getLabelFont): add outerfont arg, adjust
1182         (getLayoutFont): ditto
1183         (simpleTeXOnePar): adjust
1184
1185         * paragraph_pimpl.C (realizeFont): delete func
1186
1187 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
1188
1189         * text2.C (beforeFullRowInset): added a bad getchar check, removed
1190         row argument, constify cur argument.
1191
1192 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
1193
1194         * text2.C (getFont): adjust
1195         (getLayoutFont): adjust
1196         (getLabelFont): adjust
1197
1198         * paragraph_funcs.C (TeXOnePar): adjust
1199         (outerFont): new func...
1200         (realizeFont): ...moved out from here, changed this to facilitate
1201         transition
1202
1203         * paragraph.C (getFont): take outerfont as arg, adjust
1204         (simpleTeXOnePar): add outerfont arg, adjust
1205
1206         * buffer.C (simpleLinuxDocOnePar): adjust
1207         (simpleDocBookOnePar): adjust
1208
1209         * CutAndPaste.C (pasteSelection): adjust
1210
1211         * BufferView.C (getEncoding): adjust
1212
1213 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
1214
1215         * text2.C (setCharFont): adjust
1216         (setCounter): adjust
1217
1218         * text.C (leftMargin): adjust
1219         (setHeightOfRow): adjust
1220
1221         * rowpainter.C (paintFirst): adjust
1222         (paintLast): adjust
1223
1224         * paragraph_pimpl.C (realizeFont): adjust
1225
1226         * paragraph.C (isFirstInSequence): move from here...
1227         * paragraph_funcs.C (isFirstInSequence): ...to here
1228
1229         * paragraph.C (outerHook): move from here...
1230         * paragraph_funcs.C (outerHook): ...to here
1231
1232         * paragraph.C (depthHook): move from here...
1233         * paragraph_funcs.C (depthHook): ...to here
1234
1235         * paragraph.C (getEndLabel): move from here...
1236         * paragraph_funcs.C (getEndLabel): ...to here
1237
1238         * text2.C (realizeFont): move from here...
1239         * paragraph_funcs.C (realizeFont): ...to here
1240
1241 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
1242
1243         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
1244
1245 2003-04-14  Angus Leeming  <leeming@lyx.org>
1246
1247         * LColor.[Ch]: scrap LColor mathcursor.
1248
1249 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
1250
1251         * lyxlex.[Ch] (text): delete function
1252         * trans.C (Load): adjust
1253         * paragraph_funcs.C (readParToken): adjust
1254
1255 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
1256
1257         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
1258         vector<char> instead of a char[].
1259
1260         * lyxlex_pimpl.C (getString): adjust
1261         (next): adjust
1262         (lex): use getString
1263         (eatLine): adjust
1264         (nextToken): adjust
1265
1266         * lyxlex.C (text): use pimpl_->getString()
1267         (getBool): ditto
1268         (findToken): ditto
1269
1270 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
1271
1272         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
1273         (makeFontEntriesLayoutSpecific): temp var for par.size()
1274         (setLayout): temp var for ownerParagraphs().end()
1275         (fullRebreak): temp var for rows().end()
1276         (selectionAsString): temp var for boost::next(startpit), realize
1277         that the while really is a regular for loop.
1278         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
1279         setCursor in one place.
1280         (setParagraph): temp vr for ownerParagraphs().end()
1281         (updateCounters): make the while loop a for loop
1282         (cutSelection): temp var for ownerParagraphs().end()
1283         (updateInset): make the do {} while() a regular for loop
1284         (getCursorX): use temp vars
1285         (setCurrentFont): use temp vars
1286         (getColumnNearX): use temp vars
1287
1288 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
1289
1290         * text.C (transformChar): use temp var for getChar
1291         (computeBidiTables): use temp var for row->par()
1292         (fill): move temp vars for row->par() and pit->layout() earlier in
1293         the function.
1294         (labelFill): use temp var for row->par()
1295         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
1296         asc and desc, realize that pit never changes and that firstpit is
1297         just a duplicate and not needed. Exchange rit->par() with pit in a
1298         lot of places.
1299         (breakAgain): use a temp var for boost::next(rit)
1300         (breakAgainOneRow): ditto
1301         (breakParagraph): use a temp var for rows().begin()
1302         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
1303         (cursorRightOneWord): use temp var for cursor.par() and
1304         cursor.pos(), remove usage of tmpcursor.
1305         (cursorLeftOneWord): use temp var for cursor.par() and
1306         cursor.pos() only set cur at end of function.
1307
1308 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
1309
1310         * text.C, text2.C: exchange all usage of Paragraph::next with
1311         boost::next(ParagraphList::iterator)
1312
1313         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
1314
1315         * text2.C (cursorTop): simplify implementation
1316         (cursorBottom): ditto
1317         (setParagraph): use ParagraphList::iterator
1318         (setCurrentFont): adjust
1319         (getColumnNearX): adjust
1320         (cursorRight): adjust
1321         (cursorLeft): remove usage of Paragraph::previous
1322         (cursorUpParagraph): ditto
1323         (deleteEmptyParagraphMechanism): slight cleanup
1324
1325         * text.C (isBoundary): take a Paragraph const & instead of a
1326         pointer as arg.
1327         (addressBreakPoint): ditto
1328         (leftMargin): remove usage of Paragraph::previous.
1329         (setHeightOfRow): ditto
1330         (cursorLeftOneWord): ditto
1331         (selectNextWordToSpellcheck): ditto
1332         (Delete): ditto
1333         (backspace): ditto
1334         (breakParagraph): remove one usage of Paragraph::next
1335         (redoParagraph): ditto
1336         (acceptChange): ditto
1337         (insertChar): adjust
1338         (rowBreakPoint): adjust
1339
1340         * bufferview_funcs.C (toggleAndShow): adjust
1341
1342 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
1343
1344         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
1345         methods to access it.
1346         * lyxtext.h:
1347         * text.C: Added updateRowPositions to compute all row positions.
1348         Make top_y and getRowNearY() to use the cached y position
1349
1350 2003-04-11  John Levon  <levon@movementarian.org>
1351
1352         * text.C (rowBreakPoint): reintroduce the labelEnd
1353         checks, code copied from the row fill stuff. Deep voodoo.
1354
1355         * text.C (fill): add a comment and debugging for the
1356         next poor soul.
1357
1358 2003-04-11  John Levon  <levon@movementarian.org>
1359
1360         * text.C: make sure fullrow insets get wrapped to the next line,
1361         even when they're in a manual label
1362
1363 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
1364
1365         * text2.C (insertParagraph): make it take ParagraphList::iterator
1366         as arg.
1367         (setLayout): make it return ParagraphList::iterator
1368         (redoParagraphs): ditto
1369         (setCounter): ditto
1370         (checkParagraph): ditto
1371
1372         * text.C (getRow): make getrow take ParagraphList::iterator as arg
1373
1374         * text2.C: adjust several funcs.
1375         (realizeFont): take a ParagraphList::iterator as arg.
1376         (getLayoutFont): ditto
1377         (getLabelFont): ditto
1378         (setCharFont): ditto
1379
1380         * text.C: adjust several funcs.
1381
1382 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
1383
1384         * text.C (selectNextWordToSpellcheck): don't accidentally
1385         skip insets
1386
1387 2003-04-10  John Levon  <levon@movementarian.org>
1388
1389         * ToolbarBackend.C (getIcon): special handling for
1390         LFUN_MATH_DELIM
1391
1392 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
1393
1394         * text2.C (cursorRight): a getChar assert fixed
1395
1396 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
1397
1398         * text2.C (getFont): change to take a ParagraphList::iterator
1399         instead of Paragraph*
1400         Adjust several functions.
1401
1402         * text.C (transformChar): change to take a ParagraphList::iterator
1403         instead of Paragraph*
1404         (singleWidth): ditto
1405         Adjust several functions.
1406
1407         * rowpainter.C: adjust several functions
1408         * rowpainter.h:store a ParagraphList::iterator and not a
1409         Paragraph&.
1410
1411
1412 2003-04-09  John Levon  <levon@movementarian.org>
1413
1414         * lyxfunc.C:
1415         * lfuns.h:
1416         * LyXAction.h:
1417         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
1418         and the "help" bits as well
1419
1420 2003-04-09  John Levon  <levon@movementarian.org>
1421
1422         * ToolbarBackend.h:
1423         * ToolbarBackend.C: allow multiple toolbars
1424
1425 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
1426
1427         * undo_funcs.C (setCursorParUndo): adjust
1428
1429         * text_funcs.C (transposeChars): adjust
1430
1431         * text3.C (gotoNextInset): adjust
1432         (dispatch): adjust
1433
1434         * text2.C (setLayout): adjust
1435         (changeDepth): adjust
1436         (setFont): adjust
1437         (redoParagraphs): adjust
1438         (selectionAsString): adjust
1439         (setParagraph): adjust
1440         (insertInset): adjust
1441         (cutSelection): adjust
1442         (copySelection): adjust
1443         (pasteSelection): adjust
1444         (insertStringAsLines): adjust
1445         (updateInset): adjust
1446         (setCursor): change to take a ParagraphList::iterator parameter
1447         (setCursorIntern): change to take a ParagraphList::iterator parameter
1448         (setCurrentFont): adjust
1449         (cursorLeft): adjust
1450         (cursorRight): adjust
1451         (deleteEmptyParagraphMechanism): adjust
1452
1453         * text.C (breakParagraph): adjust
1454         (insertChar): adjust
1455         (acceptChange): adjust
1456         (rejectChange): adjust
1457         (selectNextWordToSpellcheck): adjust
1458         (changeCase): adjust
1459         (Delete): adjust
1460         (backspace): adjust
1461
1462         * lyxfind.C (SearchForward): adjust
1463         (SearchBackward): adjust
1464         (nextChange): adjust
1465
1466         * lyxcursor.C (par): adjust
1467
1468         * lyxcursor.h: store a ParagraphList::iterator instead of a
1469         Paragraph*
1470
1471         * lyx_cb.C (getPossibleLabel): adjust
1472
1473         * bufferview_funcs.C (toggleAndShow): adjust
1474
1475         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
1476         (dispatch): adjust
1477
1478         * BufferView.C (removeAutoInsets): adjust
1479         (lockedInsetStoreUndo): adjust
1480
1481 2003-04-09  John Levon  <levon@movementarian.org>
1482
1483         * ToolbarBackend.C: try icon without argument
1484         if with argument fails
1485
1486 2003-04-08  John Levon  <levon@movementarian.org>
1487
1488         * ToolbarBackend.h:
1489         * ToolbarBackend.C: add getIcon(), handle tooltip,
1490         and change from "Icon" to "Item".
1491
1492 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
1493
1494         * BufferView.C (lockInset): another bad getchar crunched
1495
1496 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
1497
1498         * text2.C (changeDepth): do not setUndo on test_only (make undo work
1499         again)
1500
1501 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
1502
1503         * lyxfind.C (searchForward, searchBackwards): bug 782
1504
1505 2003-04-07  John Levon  <levon@movementarian.org>
1506
1507         * paragraph.C: remove dead comment
1508
1509         * text.C: remove troublesome depth-fiddling code
1510         in leftMargin() and rightMargin() (bug 1017)
1511
1512         * text.C: fix breaking of rows in nested lists
1513         (bug 1004)
1514
1515         * text2.C (updateCounters): fix up depth values
1516         (bug 1013)
1517
1518 2003-04-07  John Levon  <levon@movementarian.org>
1519
1520         * BufferView_pimpl.C: clear message when doc finishes resizing,
1521         and after a mouse event
1522
1523         * lyxfunc.C: clear message after exiting inset
1524
1525 2003-04-07  John Levon  <levon@movementarian.org>
1526
1527         * bufferview_funcs.C: show math status not outside
1528         status in the statusbar
1529
1530 2003-04-07  John Levon  <levon@movementarian.org>
1531
1532         * lyxfunc.C: note status changed after a depth change
1533
1534 2003-04-04  Angus Leeming  <angus@localhost.localdomain>
1535
1536         * LaTeX.h: move AuxInfo operator==, != out of line.
1537         Remove LaTeX virtual destructor; nothing derives from it.
1538         Move operator()() out of public area and rename it startscript().
1539         Change protected for private.
1540
1541 2003-04-04  Angus Leeming  <leeming@lyx.org>
1542
1543         * lyxfunc.C:
1544         * text2.C: remove unneeded #includes.
1545
1546 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
1547
1548         * text2.C (dEPM): fix the heigth of the next row
1549
1550 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
1551
1552         * text.C: squashed an invalid getChar requester + some ws changes
1553
1554 2003-04-03  John Levon  <levon@movementarian.org>
1555
1556         * bufferview_funcs.h:
1557         * bufferview_funcs.C:
1558         * lyxfunc.C:
1559         * lyxtext.h:
1560         * text2.C: make getStatus work for the env depth lfuns
1561
1562 2003-04-03  John Levon  <levon@movementarian.org>
1563
1564         * bufferview_funcs.h:
1565         * bufferview_funcs.C:
1566         * lyxfunc.C:
1567         * lyxtext.h:
1568         * text2.C: parlistize decDepth(), by merging it with incDepth()
1569
1570 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
1571
1572         * lyxrow.h: store a ParagraphList::iterator instead of a
1573         Paragraph* and adjust other class functions to suit.
1574
1575         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
1576         above.
1577
1578 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
1579
1580         * text2.C (setCursor): do not anchor to cursor row for the time being
1581
1582 2003-04-02  John Levon  <levon@movementarian.org>
1583
1584         * LyXAction.C:
1585         * lfuns.h:
1586         * lyx_main.C:
1587         * lyxtext.h:
1588         * text.C:
1589         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
1590
1591 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
1592
1593         * paragraph.h: make ParagraphList and ParagraphList::iterator
1594         friends of Paragraph.
1595
1596         * buffer.C (makeLinuxDocFile): move towards ParagraphList
1597
1598         * ParagraphList.C: Use the private next_ and previous_ from
1599         Paragraph.
1600
1601 2003-04-01  John Levon  <levon@movementarian.org>
1602
1603         * ToolbarBackend.h:
1604         * ToolbarBackend.C:
1605         * Makefile.am: rename, remove defaults gunk
1606
1607         * MenuBackend.h:
1608         * MenuBackend.C: remove defaults gunk
1609
1610         * Languages.h:
1611         * Languages.C: remove defaults gunk
1612
1613         * lyx_main.h:
1614         * lyx_main.C: error out if files couldn't be found.
1615
1616 2003-04-02  John Levon  <levon@movementarian.org>
1617
1618         * text2.C: make incDepth() use parlist
1619
1620 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
1621
1622         * undo_funcs.C (firstUndoParagraph): adjust
1623
1624         * text3.C (gotoInset): adjust
1625         (dispatch): adjust, and rewrite loop.
1626
1627         * text2.C (init): adjust, and rewrite loop.
1628         (redoParagraphs): adjust
1629         (updateInset): adjust, and rewrite loop.
1630         (deleteEmptyParagraphMechanism): adjust
1631
1632         * tabular.C (LyXTabular): adjust
1633         (SetMultiColumn): adjust
1634         (TeXRow): adjust
1635
1636         * lyxtext.[Ch] (ownerParagraph): delete function
1637         (ownerParagraphs): new function returns a ParagraphList.
1638
1639         * BufferView.C (removeAutoInsets): adjust
1640         (insertErrors): adjust
1641         (setCursorFromRow): adjust
1642
1643 2003-04-01  Angus Leeming  <leeming@lyx.org>
1644
1645         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
1646         in the frontends.
1647
1648 2003-04-02  John Levon  <levon@movementarian.org>
1649
1650         * lyxtext.h:
1651         * text.C:
1652         * Makefile.am:
1653         * text_funcs.h:
1654         * text_funcs.C: make transposeChars a free function
1655
1656         * lyxrow_funcs.C: remove wrong comment
1657
1658 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
1659
1660         * lyxtext.h: adjust
1661         * rowpainter.C: adjust
1662         * text.C: adjust
1663         * text2.C: adjust
1664         * text3.C: adjust
1665
1666         * lyxrow_funcs. [Ch]: new files
1667
1668         * lyxrow.[Ch]: remove next and previous pointers
1669         (next,previous): remove accessor functions
1670         (isParEnd): move to lyxrow_funcs
1671         (lastPos): move to lyxrow_funcs
1672         (nextRowIsAllInset): move to lyxrow_funcs
1673         (lastPrintablePos): move to lyxrow_funcs
1674         (numberOfSeparators): move to lyxrow_funcs
1675         (numberOfHfills): move to lyxrow_funcs
1676         (numberOfLabelHfills): move to lyxrow_funcs
1677         (hfillExpansion): move to lyxrow_funcs
1678
1679         * lyxfunc.C: adjust
1680
1681         * bufferview_funcs.C (toggleAndShow): adjust
1682
1683         * RowList.h: Remove class RowList from file leave just a
1684         std::list<Row>.
1685
1686         * RowList.C: delete file
1687
1688         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
1689         and lyxrow_funcs.h
1690
1691 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
1692
1693         * text3.C (cursorPrevious): adjust
1694         (cursorNext): adjust
1695         (dispatch): adjust
1696
1697         * text2.C (redoHeightOfParagraph): adjust
1698         (redoDrawingOfParagraph): adjust
1699         (setCursor): adjust
1700
1701         * text.C (breakParagraph): adjust
1702         (insertChar): adjust
1703         (backspace): adjust
1704
1705         * rowpainter.C (RowPainter): adjust
1706         (leftMargin): simplify and adjust
1707         (most rowpainter functions): adjust.
1708
1709         * rowpainter.h: store the row as RowList::iterator not as Row*
1710
1711         * lyxcursor.C (row): taka RowList::iterator as arg
1712         (irow): ditto
1713
1714         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
1715         of Row*.
1716
1717 2003-04-01  Angus Leeming  <leeming@lyx.org>
1718
1719         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
1720         stuff like bool Bool.
1721
1722 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
1723
1724         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
1725         rewrite a loop
1726
1727 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
1728
1729         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
1730         RowList::iterator.
1731
1732         * lyxtext.h (rows): drop one version and leve a const variant that
1733         returns a RowList::iterator.
1734
1735 2003-03-31  Angus Leeming  <leeming@lyx.org>
1736
1737         * text.C (fill): ensure that the signature is the same as that in the
1738         header file.
1739
1740 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
1741
1742         * text2.C (redoParagraphs): adjust
1743         (updateCounters): adjust
1744         (checkParagraph): adjust
1745         (getColumnNearX): adjust and reformat a bit.
1746
1747         * text.C (top_y): adjust
1748         (workWidth): adjust
1749         (leftMargin): adjust
1750         (prepareToPrint): adjust
1751         (getRow): adjust
1752         (getRowNearY): adjust
1753
1754         * lyxtext.h: make rowlist_ mutable.
1755
1756         * RowList.h: add const_iterator
1757         * RowList.C: adjust for RowList::const_iterator.
1758
1759         * text2.C (getCursorX): make it take a RowList::iterator as arg,
1760         adjust.
1761
1762 2003-03-31  John Levon  <levon@movementarian.org>
1763
1764         * lyxrc.h:
1765         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
1766
1767         * lyx_main.C: set default fonts from using lyx_gui funcs
1768
1769         * exporter.C: pdf_mode moved from lyxrc
1770
1771         * lyx_cb.C:
1772         * lyxfunc.C: changes from above
1773
1774 2003-03-31  John Levon  <levon@movementarian.org>
1775
1776         * lyx_main.C: fix to the last fix
1777
1778 2003-03-31  John Levon  <levon@movementarian.org>
1779
1780         * bufferlist.C: "Load original" -> "Load Original"
1781
1782         * converter.C:
1783         * exporter.C:
1784         * importer.C:
1785         * lyx_main.C:
1786         * format.C: more Alert cleanups
1787
1788 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
1789
1790         * text2.C (removeParagraph): make it take a RowList::iterator as
1791         arg, adjust.
1792         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
1793         (postRowPaint): make it take a RowList::iterator as arg, adjust.
1794
1795         * text.C (anchor_row): make it take a RowList::iterator as arg,
1796         adjust.
1797         (computeBidiTables): make it take a const reference to Row instead
1798         of Row pointer, adjust.
1799         (leftMargin): make it take a RowList::iterator as arg, adjust.
1800         (rowBreakPoint): adjust
1801         (breakAgainOneRow): make it take a RowList::iterator as arg,
1802         adjust.
1803         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
1804
1805         * bufferview_funcs.C (toggleAndShow): adjust
1806
1807 2003-03-30  John Levon  <levon@movementarian.org>
1808
1809         * Makefile.am:
1810         * BoostFormat.h:
1811         * boost-inst.C: moved to support
1812
1813         * several files: changes as a result
1814
1815 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
1816
1817         * text2.C (LyXText): adjust.
1818         (init): adjust
1819         (removeRow): make it take a RowList::iterator as arg, adjust.
1820         (fullRebreak): adjust
1821         (deleteEmptyParagraphMechanism): adjust
1822         (clearPaint): adjust
1823         (postPaint): adjust
1824
1825         * text.C (top_y): adjust
1826         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
1827         (breakAgain): make it take a RowList::iterator as arg, adjust.
1828         (breakParagraph): adjust
1829         (insertChar): adjust
1830         (backspace): adjust
1831
1832         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
1833         need_break_row, and refresh_row.
1834
1835         * text3.C (dispatch): adjust
1836
1837         * text2.C (checkParagraph): adjust
1838         (setCursor): adjust
1839         (setCursorFromCoordinates): adjust
1840
1841         * text.C (top_y): adjust
1842         (workWidth): adjust
1843         (getRow): make it return a RowList::iterator, adjust
1844         (getRowNearY): make it return a RowList::iterator, adjust
1845
1846         * text2.C (init): adjust
1847         (insertRow): remove function
1848         (insertParagraph): adjust
1849         (redoParagraphs): adjust
1850         (fullRebreak): adjust
1851         (updateCounters): adjust
1852
1853         * text.C (top_y): rewrite to use RowList iterators.
1854         (top_y): adjust
1855         (setHeightOfRow): rewrite to sue RowList iterators.
1856         (appendParagraph): adjust
1857         (breakAgain): adjust
1858         (breakAgainOneRow): adjust
1859         (breakParagraph): adjust
1860         (getRow): adjust
1861         (getRowNearY): adjust, and remove commented code.
1862
1863         * lyxtext.h (firstRow): delete function
1864         (lastRow): delete function
1865         (rows): new function (const and non-const versions.)
1866         (insertRow): delete function
1867
1868         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
1869
1870 2003-03-29  John Levon  <levon@movementarian.org>
1871
1872         * BufferView_pimpl.C: always update scrollbar top
1873         because pasting text when we're anchored could mean we
1874         miss an update altogether
1875
1876 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
1877
1878         * text2.C (init): use rowlist_.end() and not 0.
1879         (insertRow): change to take a RowList::iterator as arg, adjust
1880         for this.
1881         (insertParagraph): change to take a RowList::iterator as arg,
1882         adjust for this.
1883         (redoParagraphs): remove some debug msgs.
1884
1885         * text.C (appendParagraph): change to take a RowList::iterator
1886         arg, adjust for this.
1887         (breakAgain): add an assert
1888         (breakAgainOneRow): ditto
1889
1890 2003-03-29  John Levon  <levon@movementarian.org>
1891
1892         * text2.C: do not clear selection after inc/decDepth
1893         (bug 550)
1894
1895 2003-03-29  John Levon  <levon@movementarian.org>
1896
1897         * BufferView.C:
1898         * buffer.C: fix broken strerrors according to Lars
1899
1900 2003-03-29  John Levon  <levon@movementarian.org>
1901
1902         * converters.C: more Alert cleanups
1903
1904 2003-03-29  John Levon  <levon@movementarian.org>
1905
1906         * bufferview_funcs.C: remove pointless Alert
1907
1908         * buffer.C: fix confusing error message when
1909         a template is chmoded 000
1910
1911 2003-03-29  John Levon  <levon@movementarian.org>
1912
1913         * BufferView.C:
1914         * BufferView.h:
1915         * BufferView_pimpl.C: Alert fixes
1916
1917         * Makefile.am:
1918         * tabular.C:
1919         * tabular-old.C: remove unused table compat reading
1920
1921 2003-03-29  John Levon  <levon@movementarian.org>
1922
1923         * BufferView.C:
1924         * buffer.C:
1925         * lyx_cb.h:
1926         * lyx_cb.C: more Alert cleanups
1927
1928         * lyxfunc.C: don't allow chktex if not latex document
1929
1930 2003-03-29  John Levon  <levon@movementarian.org>
1931
1932         * lyx_cb.C:
1933         * BufferView.C:
1934         * buffer.C: warnings pushed down from support/,
1935         kill err_alert
1936
1937 2003-03-29  John Levon  <levon@movementarian.org>
1938
1939         * lyxfunc.C: safety check for C-r (revert)
1940
1941 2003-03-29  John Levon  <levon@movementarian.org>
1942
1943         * bufferlist.h:
1944         * bufferlist.C: several UI fixes using Alert::prompt.
1945         Fix the pointless looping quit code. Fix stupid revert
1946         behaviour (bug 938)
1947
1948         * lyxvc.h:
1949         * lyxvc.C:
1950         * lyx_cb.C: use Alert::prompt
1951
1952         * lyx_main.C: remove a silly question
1953
1954         * lyxfunc.C: remove a couple of silly questions,
1955         use Alert::prompt
1956
1957 2003-03-28  John Levon  <levon@movementarian.org>
1958
1959         * text2.C: fix bug 974 (End on empty par)
1960
1961 2003-03-28  John Levon  <levon@movementarian.org>
1962
1963         * BufferView_pimpl.C:
1964         * LyXAction.C:
1965         * lfuns.h: remove do-nothing math greek lfuns
1966
1967 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
1968
1969         * lyxgluelength.h (isValidGlueLength): add default arg on
1970         parameter 2. Remove default arg from friend in class.
1971
1972         * lyxlength.h (isValidLength): add default arg on parameter 2.
1973         Remove default arg from friend in class.
1974
1975         * text2.C (LyXText): adjust, initialize refresh_row.
1976         (init): adjust
1977         (removeRow): adjust
1978         (insertRow): adjust
1979         (insertParagraph): adjst
1980         (redoParagraphs): adjust
1981         (fullRebreak): adjust
1982         (updateCounters): adjust
1983         (deleteEmptyParagraphMechanism): first attempt at fixing a
1984         crashing bug.
1985
1986         * text.C (top_y): adjust
1987         (setHeightOfRow): adjust
1988         (getRow): adjust
1989         (getRowNearY): adjust
1990
1991         * lyxtext.h: include RowList.h
1992         (~LyXText): not needed anymore, deleted.
1993         (firstRow): modify for RowList
1994         (lastRow): new function
1995         Delete firstrow and lastrow class variables, add a Rowlist
1996         rowlist_ class variable.
1997
1998         * lyxrow.C (lastPos): use empty() and not !size() to check if a
1999         paragraph is empty.
2000
2001         * RowList.C (insert): fix case where it == begin().
2002
2003 2003-03-26  Angus Leeming  <leeming@lyx.org>
2004
2005         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
2006         the thesaurus dialog.
2007
2008 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
2009
2010         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
2011
2012         * RowList.[Ch]: new files
2013
2014         * ParagraphList.C (erase): handle the case where it == begin
2015         correctly.
2016
2017 2003-03-25  John Levon  <levon@movementarian.org>
2018
2019         * Makefile.am:
2020         * aspell_local.h:
2021         * aspell.C: add new aspell support
2022
2023         * lyxrc.h:
2024         * lyxrc.C: Make use_pspell be use_spell_lib. Always
2025         have it accessible.
2026
2027 2003-03-25  Angus Leeming  <leeming@lyx.org>
2028
2029         * lfuns.h:
2030         * LyXAction.C (init): new LFUN_INSET_INSERT.
2031
2032         * BufferView_pimpl.C (dispatch): split out part of the
2033         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
2034
2035         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
2036         LFUN_INSET_APPLY.
2037
2038 2003-03-25  Angus Leeming  <leeming@lyx.org>
2039
2040         * lyxfunc.C (dispatch): changes to the Dialogs interface.
2041
2042 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
2043
2044         * text2.C:
2045         * text3.C: remove useless row->height(0)
2046
2047 2003-03-25  John Levon  <levon@movementarian.org>
2048
2049         * lyxtext.h:
2050         * text2.C:
2051         * text3.C: rename the refreshing stuff to better names
2052
2053 2003-03-24  John Levon  <levon@movementarian.org>
2054
2055         * BufferView_pimpl.h:
2056         * BufferView_pimpl.C: update layout choice on a mouse
2057         press/release
2058
2059 2003-03-23  John Levon  <levon@movementarian.org>
2060
2061         * Makefile.am: fix commandtags.h reference
2062
2063 2003-03-22  John Levon  <levon@movementarian.org>
2064
2065         * BufferView_pimpl.C:
2066         * lyxtext.h:
2067         * rowpainter.C:
2068         * rowpainter.h:
2069         * text.C:
2070         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
2071
2072 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
2073
2074         * lyxtext.h:
2075         * text.C: take the rtl methods out of line
2076
2077 2003-03-21 André Pönitz <poenitz@gmx.net>
2078
2079         * metricsinfo.[Ch]: new files containing structures to be passed around
2080         during the two-phase-drawing...
2081
2082 2003-03-21 André Pönitz <poenitz@gmx.net>
2083
2084         * lyxtextclass.C: read 'environment' tag.
2085
2086 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
2087
2088         * text2.C (removeRow): fix bug 964
2089
2090 2003-03-20  John Levon  <levon@movementarian.org>
2091
2092         * rowpainter.C:
2093         * text.C:
2094         * text2.C: paint cleanups. Inset::update() dropped font
2095         parameter
2096
2097 2003-03-19  John Levon  <levon@movementarian.org>
2098
2099         * lyxfunc.C: only fitcursor/markDirty if available()
2100
2101 2003-03-19  John Levon  <levon@movementarian.org>
2102
2103         * commandtags.h: rename to ...
2104
2105         * lfuns.h: ... this, and renumber / cleanup
2106
2107 2003-03-19  John Levon  <levon@movementarian.org>
2108
2109         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
2110         fit the cursor after an lfun
2111
2112         * BufferView.h:
2113         * BufferView.C:
2114         * BufferView_pimpl.h:
2115         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
2116
2117         * LyXAction.C: layout-character should have ReadOnly
2118
2119         * ParagraphParameters.C:
2120         * buffer.C:
2121         * bufferview_funcs.C:
2122         * lyx_cb.C:
2123         * lyxfind.C:
2124         * lyxtext.h:
2125         * text.C:
2126         * text2.C:
2127         * text3.C:
2128         * undo_funcs.C: changes from above
2129
2130 2003-03-18  John Levon  <levon@movementarian.org>
2131
2132         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
2133         remove it from update()
2134
2135         * lyxfunc.C: update layout choice after an lfun
2136
2137         * text3.C: remove extra updateLayoutChoice()s
2138
2139 2003-03-18  John Levon  <levon@movementarian.org>
2140
2141         * text.C: top_y change means full repaint, fix
2142         a drawing bug with cursor movement
2143
2144 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
2145
2146         * lyxtext.h:
2147         * text.C:
2148         * text2.C: anchor row on setCursor
2149
2150 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
2151
2152         * lyxtext.h: remove almost all mutable keywords
2153         * text.C:
2154         * text2.C:
2155         * text3.C: remove const keywords accordingly
2156
2157 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
2158
2159         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
2160         anon namespace
2161         (TeXEnvironment): ditto
2162         (TeXOnePar): ditto
2163
2164 2003-03-17  John Levon  <levon@movementarian.org>
2165
2166         * text.C (rowBreakPoint): remove attempt to fix displayed
2167         math insets inside a manual label
2168
2169 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
2170
2171         * lyxtext.h: remove BufferView* as first arg from almost all class
2172         functions.
2173         * other files: adjust.
2174
2175 2003-03-17  John Levon  <levon@movementarian.org>
2176
2177         * lyxtext.h:
2178         * undo_funcs.C:
2179         * text2.C: more paint cleanups
2180
2181         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
2182
2183         * rowpainter.h:
2184         * rowpainter.C: remove "smart" background painting code
2185
2186 2003-03-16  John Levon  <levon@movementarian.org>
2187
2188         * lyxtext.h:
2189         * text.C:
2190         * text2.C:
2191         * text3.C: add helper functions for setting refresh_row/y
2192
2193 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
2194
2195         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
2196         newline inset which *can* get inserted in the pass_thru layouts.
2197         This is primarily for literate documents.
2198
2199 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
2200
2201         * buffer.C: increment LYX_FORMAT to 223
2202
2203 2003-03-14 André Pönitz <poenitz@gmx.net>
2204
2205         * textclass.h: prepare for environment handling, ws changes
2206         * lyxlayout.C: read latexheader and latexfooter tags
2207
2208 2003-03-14  John Levon  <levon@movementarian.org>
2209
2210         * text2.C: rewrite ::status() a bit
2211
2212 2003-03-13  John Levon  <levon@movementarian.org>
2213
2214         * lyxtext.h: add some docs
2215
2216 2003-03-13  John Levon  <levon@movementarian.org>
2217
2218         * lyxtext.h:
2219         * text.C:
2220         * text2.C:
2221         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
2222
2223 2003-03-13  John Levon  <levon@movementarian.org>
2224
2225         * text3.C: fix appendix redrawing
2226
2227 2003-03-13  John Levon  <levon@movementarian.org>
2228
2229         * text.C (setHeightOfRow):
2230         * rowpainter.h:
2231         * rowpainter.C: make appendix mark have the text
2232           "Appendix" so the user knows what it is
2233
2234         * LColor.h:
2235         * LColor.C: s/appendixline/appendix/ from above
2236
2237 2003-03-13  John Levon  <levon@movementarian.org>
2238
2239         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
2240
2241         * text.C: fix a getChar(pos) bug properly
2242
2243 2003-03-13  Angus Leeming  <leeming@lyx.org>
2244
2245         * commandtags.h:
2246         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
2247         Probably only temporary. Let's see how things pan out.
2248
2249         * BufferView.C (unlockInset):
2250         * BufferView_pimpl.C (fitCursor):
2251         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
2252
2253         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
2254         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
2255
2256         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
2257         new functions that convert ParagraphParameters to and from a string.
2258
2259         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
2260         BufferView::Pimpl's dispatch.
2261         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
2262
2263 2003-03-13 André Pönitz <poenitz@gmx.net>
2264
2265         * lyxfunc.C:
2266         * text3.C:
2267         * factory.C: make it aware of InsetEnv
2268
2269 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
2270
2271         * text2.C (setCursor): never ask for one past last
2272         (setCursor): add some debugging messages.
2273
2274         * text.C (singleWidth): never ask for one past last
2275         (singleWidth): ditto
2276         (leftMargin): ditto
2277         (rightMargin): ditto
2278         (rowBreakPoint): ditto
2279         (setHeightOfRow): ditto
2280         (prepareToPrint): ditto
2281
2282         * rowpainter.C (paintBackground): never ask for one past last
2283         (paintText): never ask for one past last
2284
2285         * paragraph_pimpl.C (getChar): make the assert stricter, never
2286         allow the one past last pos to be taken
2287
2288         * paragraph.C (getChar): ws changes only
2289
2290         * lyxrow.C (nextRowIsAllInset): never ask for one past last
2291         (numberOfSeparators): ditto
2292         (numberOfHfills): ditto
2293
2294 2003-03-12  John Levon  <levon@movementarian.org>
2295
2296         * author.h:
2297         * author.C:
2298         * bufferparams.h:
2299         * bufferparams.C:
2300         * paragraph_funcs.C: fix per-buffer authorlists
2301
2302 2003-03-12  John Levon  <levon@movementarian.org>
2303
2304         * text.C: fix newline in right address
2305
2306 2003-03-12  Angus Leeming  <leeming@lyx.org>
2307
2308         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
2309         duplicate those in LyXFunc::dispatch.
2310
2311         * commandtags.h:
2312         * LyXAction.C:
2313         * ToolbarDefaults.C:
2314         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
2315         Add LFUN_FONTFREE_UPDATE.
2316
2317         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
2318         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
2319
2320         * bufferview_func.[Ch]: several new functions to facilliate
2321         transfer of data to and from the character dialog.
2322
2323 2003-03-12  John Levon  <levon@movementarian.org>
2324
2325         * buffer.C:
2326         * paragraph.h:
2327         * paragraph.C:
2328         * paragraph_funcs.C:
2329         * paragraph_pimpl.C:
2330         * sgml.C:
2331         * tabular.C:
2332         * text.C:
2333         * text3.C: remove META_NEWLINE in favour of an inset
2334
2335         * rowpainter.h:
2336         * rowpainter.C: remove paintNewline (done by inset)
2337
2338 2003-03-12  John Levon  <levon@movementarian.org>
2339
2340         * paragraph_pimpl.C: complain about bad getChar()s
2341         for a while at least
2342
2343 2003-03-12  John Levon  <levon@movementarian.org>
2344
2345         * buffer.h:
2346         * buffer.C: move paragraph read into a separate function,
2347         a little renaming to reflect that.
2348
2349         * bufferparams.h:
2350         * bufferparams.C: remove the author_ids map, not necessary now
2351
2352         * factory.h:
2353         * factory.C: moved Buffer::readInset to here
2354
2355         * paragraph_funcs.h:
2356         * paragraph_funcs.C: readParagraph free function moved from
2357         buffer.C
2358
2359         * tabular.C: name change
2360
2361 2003-03-12  John Levon  <levon@movementarian.org>
2362
2363         * buffer.C:
2364         * ParagraphParameters.C: move par params input to
2365         a read() method
2366
2367         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
2368         behave like a normal read from the stream wrt reading
2369         a line vs. a \\token
2370
2371 2003-03-12  John Levon  <levon@movementarian.org>
2372
2373         * paragraph.C:
2374         * ParagraphParameters.h:
2375         * ParagraphParameters.C: move output code to a
2376         ::write() method
2377
2378 2003-03-12  John Levon  <levon@movementarian.org>
2379
2380         * BufferView.C (insertLyXFile):
2381         * buffer.h:
2382         * buffer.C:
2383         * tabular.C: use a parlist iterator for creating the
2384           document.
2385
2386 2003-03-12  John Levon  <levon@movementarian.org>
2387
2388         * buffer.C: make current_change static local not
2389           static file-scope
2390
2391 2003-03-12  John Levon  <levon@movementarian.org>
2392
2393         * buffer.C: fix insertStringAsLines for change tracking
2394
2395 2003-03-12  John Levon  <levon@movementarian.org>
2396
2397         * BufferView.C:
2398         * tabular.C:
2399         * buffer.h:
2400         * buffer.C:
2401         * bufferparams.h:
2402         * bufferparams.C: move author list into params. Rename some
2403           functions. Move the header reading into a separate token
2404           loop. Move the header token reading into BufferParams.
2405
2406 2003-03-12  John Levon  <levon@movementarian.org>
2407
2408         * changes.C: put debug inside lyxerr.debugging() checks
2409
2410 2003-03-11 André Pönitz <poenitz@gmx.net>
2411
2412         * factory.C: make it aware of InsetHFill
2413
2414 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
2415
2416         * buffer.C (latexParagraphs): move function from here...
2417         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
2418         args.
2419
2420 2003-03-10  Angus Leeming  <leeming@lyx.org>
2421
2422         * LyXAction.C (init): fix bug in poplating array with multiple entries
2423         with the same LFUN (spotted by JMarc).
2424
2425 2003-03-10  John Levon  <levon@movementarian.org>
2426
2427         * text.C:
2428         * text2.C: move getColumnNearX() near its
2429         only call site
2430
2431 2003-03-10  John Levon  <levon@movementarian.org>
2432
2433         * text.C: fix break before a minipage
2434
2435 2003-03-10  John Levon  <levon@movementarian.org>
2436
2437         * text.C: fix the last commit
2438
2439 2003-03-09  John Levon  <levon@movementarian.org>
2440
2441         * lyxtext.h:
2442         * text.C:
2443         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
2444         bug 365 (don't break before insets unless needed). Don't
2445         return a value > last under any circumstances.
2446
2447 2003-03-09  Angus Leeming  <leeming@lyx.org>
2448
2449         * BufferView_pimpl.C (trackChanges, dispatch): call
2450         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
2451
2452 2003-03-09  Angus Leeming  <leeming@lyx.org>
2453
2454         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
2455         than Dialogs::showAboutlyx().
2456
2457 2003-03-09  Angus Leeming  <leeming@lyx.org>
2458
2459         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
2460         than Dialogs::showTabularCreate().
2461
2462 2003-03-09  John Levon  <levon@movementarian.org>
2463
2464         * lyxtext.h:
2465         * text.C:
2466         * text2.C: 3rd arg to nextBreakPoint was always the same.
2467           Use references.
2468
2469 2003-03-08  John Levon  <levon@movementarian.org>
2470
2471         * lyxrow.C:
2472         * paragraph.C:
2473         * paragraph.h:
2474         * rowpainter.C:
2475         * text.C:
2476         * text2.C: Remove the "main" bit from the "main body"
2477           notion.
2478
2479 2003-03-08  John Levon  <levon@movementarian.org>
2480
2481         * text.C (leftMargin): The left margin of an empty
2482         manual label paragraph should not include the label width
2483         string length.
2484
2485         * text.C (prepareToPrint): don't attempt to measure hfills
2486         for empty manual label paragraphs - the answer should be 0
2487
2488 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
2489
2490         * CutAndPaste.C: remove commented code and reindent.
2491
2492 2003-03-08  John Levon  <levon@movementarian.org>
2493
2494         * lyxfunc.h:
2495         * lyxfunc.C: move reloadBuffer()
2496
2497         * BufferView.h:
2498         * BufferView.C: to here
2499
2500         * lyxvc.C: add comment
2501
2502         * vc-backend.h:
2503         * vc-backend.C: call bv->reload() to avoid
2504           getStatus() check on MENURELOAD
2505
2506 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
2507
2508         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
2509         to an old format .dep file.
2510
2511 2003-03-07  Angus Leeming  <leeming@lyx.org>
2512
2513         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
2514         when the LFUN_MOUSE_RELEASE should have been handled by
2515         inset->localDispatch.
2516
2517 2003-03-07  Angus Leeming  <leeming@lyx.org>
2518
2519         * BufferView_pimpl.C (dispatch):
2520         * LyXAction.C (init):
2521         * ToolbarDefaults.C (init):
2522         * commandtags.h:
2523         * lyxfunc.C (getStatus):
2524         remove LFUN_INSET_GRAPHICS.
2525
2526         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
2527
2528 2003-03-07  Angus Leeming  <leeming@lyx.org>
2529
2530         * commandtags.h:
2531         * LyXAction.C (init):
2532         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
2533
2534         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
2535
2536         * commandtags.h:
2537         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
2538
2539         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
2540         localDispatch method LFUN_INSET_DIALOG_UPDATE.
2541
2542 2003-03-07  Angus Leeming  <leeming@lyx.org>
2543
2544         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
2545         remove "ert".
2546
2547 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
2548
2549         * ParagraphList.C (front): new function
2550         (back): implement
2551
2552 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
2553
2554         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
2555         and top_row_offset_. removed var first_y.
2556         * text.C (top_y):
2557         * text2.C (LyXText, removeRow):
2558         * text3.C:
2559         * BufferView_pimpl.C:
2560         use these methods instead of using first_y
2561
2562 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
2563
2564         * text2.C (pasteSelection): adjust for checkPastePossible
2565
2566         * CutAndPaste.C: remove Paragraph * buf and replace with
2567         ParagraphList paragraphs.
2568         (DeleteBuffer): delete
2569         (cutSelection): change the tc type to textclass_type
2570         (copySelection): change the tc type to textclass_type
2571         (copySelection): adjust for ParagraphList
2572         (pasteSelection): change the tc type to textclass_type
2573         (pasteSelection): adjust for Paragraphlist
2574         (nrOfParagraphs): simplify for ParagraphList
2575         (checkPastePossible): simplify for ParagraphList
2576         (checkPastePossible): remove unused arg
2577
2578         * ParagraphList.C (insert): handle the case where there are no
2579         paragraphs yet.
2580
2581         * CutAndPaste.h: make CutAndPaste a namespace.
2582
2583         * text3.C (dispatch): adjust
2584
2585         * text.C (breakParagraph): add a ParagraphList as arg
2586
2587         * paragraph_funcs.C (breakParagraph): change to take a
2588         BufferParams and a ParagraphList as args.
2589         (breakParagraphConservative): ditto
2590         (mergeParagraph): ditto
2591         (TeXDeeper): add a ParagraphList arg
2592         (TeXEnvironment): ditto
2593         (TeXOnePar): ditto
2594
2595         * buffer.C (readLyXformat2): adjust
2596         (insertStringAsLines): adjust
2597         (latexParagraphs): adjust
2598
2599         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
2600         (cutSelection): adjust
2601         (pasteSelection): adjust
2602
2603         * BufferView_pimpl.C (insertInset): adjust
2604
2605 2003-03-05  Angus Leeming  <leeming@lyx.org>
2606
2607         * commandtags.h:
2608         * LyXAction.C (init):
2609         * BufferView_pimpl.C (dispatch):
2610         * lyxfunc.C (getStatus):
2611         remove LFUN_CHILD_INSERT.
2612
2613         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
2614
2615 2003-03-05  Angus Leeming  <leeming@lyx.org>
2616
2617         * commandtags.h:
2618         * LyXAction.C (init):
2619         * src/factory.C (createInset):
2620         * lyxfunc.C (getStatus):
2621         * text3.C (dispatch):
2622         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
2623
2624         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
2625
2626 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
2627
2628         * ParagraphList.C (insert): handle insert right before end()
2629         (erase): fix cases where it can be first or last paragraph.
2630
2631 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
2632
2633         * paragraph_funcs.C (TeXEnvironment): remove all usage of
2634         Paragraph::next and Paragraph::previous
2635         (TeXOnePar): ditto
2636
2637         * text.C (breakParagraph): adjust
2638
2639         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
2640         BufferParams& as arg.
2641         (breakParagraph): use ParagraphList::insert
2642         (breakParagraphConservative): take a Buffer* instead of a
2643         BufferParams& as arg.
2644         (breakParagraphConservative): use ParagraphList::insert.
2645
2646         * buffer.C (insertStringAsLines): un-const it
2647         (insertStringAsLines): adjust
2648
2649         * ParagraphList.C (insert): new function
2650
2651         * CutAndPaste.C (pasteSelection): adjust
2652
2653         * text.C (backspace): adjust
2654
2655         * tabular.C (SetMultiColumn): adjust
2656
2657         * CutAndPaste.C (cutSelection): adjust
2658         (pasteSelection): adjust
2659
2660         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
2661         Buffer const * as arg
2662
2663         * ParagraphList.C (erase): new function
2664         * paragraph_funcs.C (mergeParagraph): use it
2665         (mergeParagraph): make it take a Buffer* instead of a
2666         BufferParams* as arg
2667
2668         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
2669         as arg
2670         (breakParagraphConservative): ditto
2671
2672         * paragraph.h: remove the breakParagraph friend
2673
2674         * paragraph.C (eraseIntern): new function
2675         (setChange): new function
2676
2677         * paragraph_funcs.C (mergeParagraph): make it take a
2678         ParagraphList::iterator instead of a Paragraph *, adjust
2679         accordingly.
2680
2681         * paragraph.h: move an #endif so that the change tracking stuff
2682         also works in the NO_NEXT case.
2683
2684 2003-03-04  Angus Leeming  <leeming@lyx.org>
2685
2686         * commandtags.h:
2687         * LyXAction.C: new LFUN_INSET_MODIFY.
2688
2689         * BufferView_pimpl.C (dispatch): if an inset is found to be open
2690         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
2691
2692 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
2693
2694         * several files: ws changes only
2695
2696         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
2697         (TeXEnvironment): ditto
2698         (TeXDeeper): ditto
2699
2700         * buffer.C (makeLaTeXFile): adjust
2701         (latexParagraphs): make it take ParagraphList::iterator as args
2702
2703 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
2704
2705         * buffer.C (latexParagraphs): adjust
2706
2707         * paragraph.C (TeXOnePar): move function...
2708         (optArgInset): move function...
2709         (TeXEnvironment): move function...
2710         * paragraph_pimpl.C (TeXDeeper): move function...
2711         * paragraph_funcs.C: ...here
2712
2713         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
2714
2715 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
2716
2717         * buffer.C (readInset): remove compability code for old Figure and
2718         InsetInfo insets
2719
2720 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
2721
2722         * buffer.C: ws changes
2723         (readInset):
2724
2725         * BufferView_pimpl.C: ditto
2726         * author.C: ditto
2727         * buffer.h: ditto
2728         * bufferlist.h: ditto
2729         * changes.h: ditto
2730         * lyxfunc.C: ditto
2731
2732 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
2733
2734         * converter.[Ch]: split into itself +
2735         * graph.[Ch]
2736         * format.[Ch]
2737         * Makefile.am: += graph.[Ch] + format.[Ch]
2738         * MenuBackend.C
2739         * buffer.C
2740         * exporter.C
2741         * importer.C
2742         * lyx_main.C
2743         * lyxfunc.C
2744         * lyxrc.C: added #include "format.h"
2745
2746 2003-02-27  Angus Leeming  <leeming@lyx.org>
2747
2748         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
2749           a label.
2750
2751         * factory.C (createInset): add "label" to the factory.
2752
2753         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
2754           string and do no more.
2755
2756 2003-02-27  Angus Leeming  <leeming@lyx.org>
2757
2758         * commandtags.h:
2759         * LyXAction.C (init):
2760         * factory.C (createInset):
2761         * BufferView_pimpl.C (dispatch):
2762           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
2763
2764         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
2765
2766         * lyxfunc.C (dispatch):
2767         * text3.C (dispatch): pass name to params2string.
2768
2769 2003-02-26  Angus Leeming  <leeming@lyx.org>
2770
2771         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
2772           blocks together.
2773           Rearrange the ~includes. Strip out the unnecessary ones.
2774
2775         * factory.C (createInset): reformat.
2776           create new insets for the various LFUN_XYZ_APPLY lfuns.
2777
2778 2003-02-26  John Levon  <levon@movementarian.org>
2779
2780         * lyxrow.h:
2781         * lyxrow.C: add isParStart,isParEnd helpers
2782
2783         * paragraph.h: make isInserted/DeletedText take refs
2784
2785         * paragraph_funcs.h:
2786         * paragraph_funcs.C: remove #if 0'd code
2787
2788         * lyxtext.h:
2789         * text3.C:
2790         * text2.C:
2791         * text.C: use lyxrow helpers above.
2792           Move draw and paint routines to RowPainter.
2793           Make several methods use refs not pointers.
2794           Make backgroundColor() const.
2795           Add markChangeInDraw(), isInInset().
2796           Merge changeRegionCase into changeCase.
2797           Make workWidth() shouldn't-happen code into an Assert.
2798
2799         * rowpainter.h:
2800         * rowpainter.C: new class for painting a row.
2801
2802         * vspace.h:
2803         * vspace.C: make inPixels take a ref
2804
2805 2003-02-26  Angus Leeming  <leeming@lyx.org>
2806
2807         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
2808         LFUN_REF_APPLY.
2809
2810 2003-02-25  John Levon  <levon@movementarian.org>
2811
2812         * ispell.C: give the forked command a more accurate name
2813
2814 2003-02-22  John Levon  <levon@movementarian.org>
2815
2816         * toc.h:
2817         * toc.C: make TocItem store an id not a Paragraph *
2818           (bug #913)
2819
2820 2003-02-21  Angus Leeming  <leeming@lyx.org>
2821
2822         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
2823           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
2824           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
2825           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
2826           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
2827           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
2828
2829         * BufferView_pimpl.C (dispatch):
2830         * LyXAction.C (init):
2831         * factory.C (createInset):
2832         * lyxfunc.C (getStatus, dispatch):
2833         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
2834
2835 2003-02-21  Angus Leeming  <leeming@lyx.org>
2836
2837         * BufferView_pimpl.C (MenuInsertLyXFile):
2838         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
2839         * lyxfunc.C (menuNew, open, doImport):
2840           no longer pass a LyXView & to fileDlg.
2841
2842 2003-02-21  Angus Leeming  <leeming@lyx.org>
2843
2844         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
2845         * LyXAction.C: change, BIBKEY to BIBITEM.
2846         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
2847         Change InsetBibKey to InsetBibitem.
2848         Change BIBKEY_CODE to BIBITEM_CODE.
2849         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
2850         * factory.C: replace insetbib.h with insetbibitem.h.
2851         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
2852         * paragraph.C: replace insetbib.h with insetbibitem.h.
2853         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
2854         Change bibkey() to bibitem().
2855         * text.C: remove insetbib.h.
2856         * text2.C: replace insetbib.h with insetbibitem.h.
2857         change bibkey() to bibitem().
2858         * text3.C: remove insetbib.h.
2859         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
2860
2861 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
2862
2863         * lyxrc.C (output): enclose user email in quotes (in case there are
2864         several words)
2865
2866 2003-02-18  John Levon  <levon@movementarian.org>
2867
2868         * buffer.h: add std::
2869
2870 2003-02-17  John Levon  <levon@movementarian.org>
2871
2872         * SpellBase.h:
2873         * ispell.h:
2874         * ispell.C:
2875         * pspell.h:
2876         * pspell.C: reworking. Especially in ispell, a large
2877           number of clean ups and bug fixes.
2878
2879         * lyxfunc.C: fix revert to behave sensibly
2880
2881 2003-02-17 André Pönitz <poenitz@gmx.net>
2882
2883         * LyXAction.C:
2884         * commandtags.h: new LFUN_INSERT_BIBKEY
2885
2886         * layout.h:
2887         * lyxlayout.C:
2888         * buffer.C:
2889         * factory.C:
2890         * text.C:
2891         * text2.C:
2892         * text3.C:
2893         * paragraph.[Ch]:
2894         * paragraph_func.C: remove special bibkey handling
2895
2896 2003-02-17  John Levon  <levon@movementarian.org>
2897
2898         * text.C (Delete): fix case where delete at the end of
2899           the very first paragraph would not merge the pars
2900
2901 2003-02-17  John Levon  <levon@movementarian.org>
2902
2903         * lyxrow.C: fix lastPrintablePos()
2904
2905 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2906
2907         * bufferparams.C (writeLaTeX): add a std:here
2908
2909         * buffer.C: and remove a using directive there
2910
2911 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2912
2913         * buffer.C (makeLaTeXFile): move the code that generates the
2914           preamble...
2915
2916         * bufferparams.C (writeLaTeX): ... in this new method
2917
2918         * LaTeXFeatures.C (getEncodingSet): make const
2919           (getLanguages): make const
2920
2921         * MenuBackend.C (binding): returns the binding associated to this
2922           action
2923           (add): sets the status of each item by calling getStatus. Adds
2924           some intelligence.
2925           (read): add support for OptSubMenu
2926           (expand): remove extra separator at the end of expanded menu
2927
2928 2003-02-15  John Levon  <levon@movementarian.org>
2929
2930         * BufferView.C:
2931         * BufferView_pimpl.C:
2932         * bufferlist.h:
2933         * bufferlist.C: remove pointless BufferStorage bloat. Remove
2934           inset code that had no actual effect. Remove unneeded status
2935           code.
2936
2937 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
2938
2939         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
2940           in preamble
2941
2942 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
2943
2944         * text.C (drawLengthMarker): also draw an arrow marker for
2945           symbolic lengths (medskip...)
2946
2947 2003-02-14  John Levon  <levon@movementarian.org>
2948
2949         * tabular.h:
2950         * tabular.C: better method names
2951
2952 2003-02-14  John Levon  <levon@movementarian.org>
2953
2954         * BufferView_pimpl.C:
2955         * bufferlist.C:
2956         * buffer.C:
2957         * converter.C:
2958         * lyx_cb.C:
2959         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
2960           it's a more accurate name. Remove some pointless uses.
2961
2962 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
2963
2964         * text2.C (LyXText): change order of initilizers to shut off
2965           warnings
2966
2967 2003-02-14  John Levon  <levon@movementarian.org>
2968
2969         * buffer.C: use ParIterator for getParFromID()
2970
2971         * paragraph.h:
2972         * paragraph.C:
2973         * paragraph_pimpl.h:
2974         * paragraph_pimpl.C: remove unused getParFromID()
2975
2976 2003-02-14  John Levon  <levon@movementarian.org>
2977
2978         * buffer.C: remove some very old #if 0'd parse code
2979
2980 2003-02-13  John Levon  <levon@movementarian.org>
2981
2982         * text.h:
2983         * text.C:
2984         * text2.C: move hfillExpansion(), numberOfSeparators(),
2985           rowLast(), rowLastPrintable(), numberofHfills(),
2986           numberOfLabelHfills() ...
2987
2988         * lyxrow.h:
2989         * lyxrow.C: ... to member functions here.
2990
2991         * paragraph.h:
2992         * paragraph.C:
2993         * lyxtext.h:
2994         * text.C: remove LyXText::beginningOfMainBody(), and call
2995           p->beginningOfMainBody() directly. Move the check for
2996           LABEL_MANUAL into the latter.
2997
2998         * text.h:
2999         * text.C:
3000         * text2.C:
3001         * vspace.C:
3002         * BufferView.h:
3003         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
3004
3005         * text.h:
3006         * text.C:
3007         * text2.C:
3008         * text3.C:
3009         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
3010           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
3011
3012 2003-02-13  John Levon  <levon@movementarian.org>
3013
3014         * CutAndPaste.C: remove debug
3015
3016 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3017
3018         * paragraph.C (asString): remove two unused variables
3019
3020         * lyxtextclass.C (readTitleType):
3021           (Read):
3022           (LyXTextClass): handle new members titletype_ and titlename_
3023
3024         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
3025
3026 2003-02-09  John Levon  <levon@movementarian.org>
3027
3028         * buffer.h:
3029         * buffer.C: replace hand-coded list with a map for the dep clean
3030
3031 2003-02-08  John Levon  <levon@movementarian.org>
3032
3033         * LaTeX.C: consolidate code into showRunMessage() helper
3034
3035 2003-02-08  John Levon  <levon@movementarian.org>
3036
3037         * lyxfind.C:
3038         * lyxtext.h:
3039         * text2.C:
3040         * BufferView.C: change setSelectionOverString() to setSelectionRange()
3041           and pass the size in explicitly
3042
3043         * BufferView_pimpl.h:
3044         * BufferView_pimpl.C:
3045         * BufferView.h:
3046         * BufferView.C: add getCurrentChange()
3047
3048         * BufferView_pimpl.h:
3049         * BufferView_pimpl.C: handle change lfuns
3050
3051         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
3052           for changes. Mark pasted paragraphs as new.
3053
3054         * support/lyxtime.h:
3055         * support/lyxtime.C:
3056         * DepTable.C: abstract time_t as lyx::time_type
3057
3058         * LColor.h:
3059         * LColor.C: add colours for new text, deleted text, changebars
3060
3061         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
3062           package use "usenames" option.
3063
3064         * commandtags.h:
3065         * lyxfunc.C:
3066         * LyXAction.C: add change lfuns
3067
3068         * Makefile.am:
3069         * author.h:
3070         * author.C: author handling
3071
3072         * buffer.h:
3073         * buffer.C: add a per-buffer author list, with first entry as
3074           current author. Handle new .lyx tokens for change tracking. Output
3075           author list to .lyx file. Output dvipost stuff to .tex preamble.
3076           Bump lyx format to 222.
3077
3078         * bufferlist.h:
3079         * bufferlist.C: add setCurrentAuthor() to reset current author details
3080           in all buffers.
3081
3082         * bufferparams.h:
3083         * bufferparams.C: add param for tracking
3084
3085         * bufferview_funcs.C: output change info in minibuffer
3086
3087         * Makefile.am:
3088         * changes.h:
3089         * changes.C: add change-tracking structure
3090
3091         * debug.h:
3092         * debug.C: add CHANGES debug flag
3093
3094         * lyxfind.h:
3095         * lyxfind.C: add code for finding the next change piece
3096
3097         * lyxrc.h:
3098         * lyxrc.C: add user_name and user_email
3099
3100         * lyxrow.h:
3101         * lyxrow.C: add a metric for the top of the text line
3102
3103         * lyxtext.h:
3104         * text.C: implement accept/rejectChange()
3105
3106         * lyxtext.h:
3107         * text.C: paint changebars. Paint new/deleted text in the chosen
3108         colours. Strike through deleted text.
3109
3110         * paragraph.h:
3111         * paragraph.C:
3112         * paragraph_pimpl.h:
3113         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
3114           in the current change to the insert functions. Rework erase to
3115           mark text as deleted, adding an eraseIntern() and a range-based
3116           erase(). Implement per-paragraph change lookup and
3117           accept/reject.
3118
3119         * paragraph_funcs.C: Fixup paste for change tracking.
3120
3121         * tabular.C: mark added row/columns as new.
3122
3123         * text.C: fix rowLast() to never return -1. Don't allow
3124           spellchecking of deleted text. Track transpose changes. Don't
3125           allow paragraph break or merge where appropriate.
3126
3127         * text2.C: leave cursor at end of selection after a cut.
3128
3129 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
3130
3131         * text.C (getLengthMarkerHeight):
3132         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
3133         visible on screen too.
3134
3135 2003-02-07  John Levon  <levon@movementarian.org>
3136
3137         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
3138
3139 2003-02-05  Angus Leeming  <leeming@lyx.org>
3140
3141         * lyxserver.C (read_ready): revert my patch of 11 September last year
3142         as it sends PC cpu through the roof. Presumably this means that
3143         the lyxserver will no longer run on an Alpha...
3144
3145 2003-01-30  Angus Leeming  <leeming@lyx.org>
3146
3147         * factory.C (createInset): create an InsetCommandParam of type "index"
3148         and use it to 'do the right thing'.
3149
3150         * text2.C (getStringToIndex): ensure that cursor position is always
3151         reset to the reset_cursor position.
3152
3153 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
3154
3155         * lyxfunc.C (getStatus): "buffer-export custom" should never be
3156         disabled.
3157
3158 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
3159
3160         * bufferview.C:
3161         * lyxcb.C:
3162         * lyxfunc.C: Output messages with identical spelling, punctuation,
3163         and spaces
3164
3165 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
3166
3167         * MenuBackend.C (expandFormats): List only viewable export formats
3168         in "View" menu
3169
3170         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
3171         message
3172
3173         * lyxfunc.C (getStatus): Make sure that formats other than
3174         "fax" can also be disabled
3175
3176 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
3177
3178         * text3.C (dispatch): put the lfuns that insert insets in 3
3179         groups, and call doInsertInset with appropriate arguments.
3180         (doInsertInset): new function, that creates an inset and inserts
3181         it according to some boolean parameters.
3182
3183 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
3184
3185         * buffer.C (readFile): remember to pass on 'par' when calling
3186         readFile recursively.
3187
3188 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
3189
3190         * MenuBackend.C (expandFormats): add "..." to import formats.
3191
3192 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
3193
3194         * paragraph.C (asString): Remove XForms RTL hacks.
3195
3196 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
3197         * buffer.C: fix typo
3198
3199 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
3200
3201         * Makefile.am (LIBS): delete var
3202         (lyx_LDADD): add @LIBS@ here instead.
3203
3204 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
3205
3206         * Clarify the meaning of "wheel mouse jump"
3207
3208 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
3209
3210         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
3211         tabular in a float
3212
3213 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
3214
3215         * importer.C (Loaders): do not preallocate 3 elements in the
3216         vector, since one ends up with 6 elements otherwise
3217
3218 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
3219
3220         * DepTable.C (write): write the file name as last element of the
3221         .dep file (because it may contain spaces)
3222         (read): read info in the right order
3223
3224 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
3225
3226         * paragraph_pimpl.C (simpleTeXBlanks):
3227         (simpleTeXSpecialChars):
3228         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
3229
3230         * tabular.C (latex): add some missing case statements. Reindent.
3231
3232         * MenuBackend.C (expandToc): remove unused variable.
3233
3234 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
3235
3236         * LColor.C:
3237         * LaTeX.C:
3238         * LyXAction.C:
3239         * MenuBackend.C:
3240         * buffer.C:
3241         * exporter.C:
3242         * lyxfunc.C:
3243         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
3244         and the like.
3245
3246 2003-01-05  John Levon  <levon@movementarian.org>
3247
3248         * BufferView.h:
3249         * BufferView.C: add getEncoding()
3250
3251         * kbsequence.h:
3252         * kbsequence.C: do not store last keypress
3253
3254         * lyxfunc.h:
3255         * lyxfunc.C: store last keypress here instead. Pass encoding
3256           to getISOEncoded()
3257
3258 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
3259
3260         * lyx_main.C (init): remove annoying error message when following
3261         symbolic links (bug #780)
3262
3263 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
3264
3265         * text.C (insertChar):
3266         * lyxrc.C (getDescription): remove extra spaces
3267
3268 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
3269
3270         * lyxrc.C (getDescription): remove extra spaces
3271
3272 2002-12-20  John Levon  <levon@movementarian.org>
3273
3274         * text3.C: hack fix for page up/down across tall rows
3275
3276 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
3277
3278         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
3279         not been invoked
3280
3281 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
3282
3283         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
3284         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
3285         thesaurus is not compiled in
3286
3287 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
3288
3289         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
3290
3291 2002-12-16  Angus Leeming  <leeming@lyx.org>
3292
3293         * lyxrc.[Ch]:
3294         * lyx_main.C (init): remove override_x_deadkeys stuff.
3295
3296 2002-12-12  John Levon  <levon@movementarian.org>
3297
3298         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
3299           insert. Only remove shift modifier under strict
3300           circumstances.
3301
3302 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
3303
3304         * MenuBackend.C (expandToc): fix crash.
3305
3306 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
3307
3308         * MenuBackend.C (expandToc): gettext on float names.
3309
3310 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
3311
3312         * lyxlength.[Ch]: set default unit to UNIT_NONE,
3313         implement bool empty() [bug 490]
3314
3315 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
3316
3317         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
3318
3319 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3320
3321         * several files: ws changes
3322
3323 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3324
3325         * text2.C (setCounter): clean up a bit, use boost.format.
3326         (updateCounters): initialize par upon declaration.
3327
3328         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
3329         if the layout exists. We do not just store the layout any more.
3330         (SwitchLayoutsBetweenClasses): use boost.format
3331
3332 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
3333
3334         * converter.C (convert): if from and to files are the same, use a
3335         temporary files as intermediary
3336
3337 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
3338
3339         * commandtags.h:
3340         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
3341
3342 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
3343
3344         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
3345
3346 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
3347
3348         * tabular.C (asciiPrintCell): use string(size, char) instead of
3349         explicit loop.
3350
3351         * sgml.C (openTag): fix order of arguments to string constructor
3352         (closeTag): ditto
3353
3354         * lyxfunc.C (dispatch): use boost.format
3355
3356         * lots of files: change "c" -> 'c'
3357
3358 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
3359
3360         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
3361
3362 2002-11-25  Angus Leeming  <leeming@lyx.org>
3363
3364         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
3365
3366         * lyx_main.C (init): compile fix.
3367
3368 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
3369
3370         * lyx_cb.C (start): boost.formatify
3371         do not include <iostream>
3372
3373         * lengthcommon.C: ws only
3374
3375         * boost-inst.C,BoostFormat.h: add more explict instantations
3376
3377 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
3378
3379         * lots of files: handle USE_BOOST_FORMAT
3380
3381 2002-11-21  John Levon  <levon@movementarian.org>
3382
3383         * pspell.C: fix compile
3384
3385 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
3386
3387         * lyxfunc.C (dispatch): use boost::format
3388         (open): ditto
3389         (doImport): ditto
3390
3391         * lyxfont.C (stateText): use boost::format
3392
3393         * lyx_main.C (LyX): use boost::format
3394         (init): ditto
3395         (queryUserLyXDir): ditto
3396         (readRcFile): ditto
3397         (parse_dbg): ditto
3398         (typedef boost::function): use the recommened syntax.
3399
3400         * importer.C (Import): use boost::format
3401
3402         * debug.C (showLevel): use boost::format
3403
3404         * converter.C (view): use boost::format
3405         (convert): ditto
3406         (move): ditto
3407         (scanLog): ditto
3408
3409         * bufferview_funcs.C (currentState): use boost::format
3410
3411         * bufferlist.C (emergencyWrite): use boost::format
3412
3413         * buffer.C (readLyXformat2): use boost::format
3414         (parseSingleLyXformat2Token): ditto
3415
3416         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
3417
3418         * LaTeX.C (run): use boost::format
3419
3420         * Chktex.C (scanLogFile): use boost::format
3421
3422         * BufferView_pimpl.C (savePosition): use boost::format
3423         (restorePosition): ditto
3424         (MenuInsertLyXFile): ditto
3425
3426         * BoostFormat.h: help file for explicit instation.
3427
3428 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
3429
3430         * tabular.C (latex): Support for block alignment in fixed width
3431         columns.
3432
3433 2002-11-17  John Levon  <levon@movementarian.org>
3434
3435         * BufferView_pimpl.C:
3436         * lyx_cb.C:
3437         * lyxfunc.C: split filedialog into open/save
3438
3439 2002-11-08  Juergen Vigna  <jug@sad.it>
3440
3441         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
3442         by my last patch (hopefully).
3443
3444 2002-11-08  John Levon  <levon@movementarian.org>
3445
3446         * iterators.h:
3447         * iterators.C:
3448         * buffer.h:
3449         * buffer.C:
3450         * paragraph.h:
3451         * paragraph.C:
3452         * toc.h:
3453         * toc.C: ParConstIterator, and use it (from Lars)
3454
3455 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
3456
3457         * lyxtextclass.[Ch]: revise and add doxygen comments
3458
3459 2002-11-07  John Levon  <levon@movementarian.org>
3460
3461         * text.C: fix progress value for spellchecker
3462
3463         * toc.C: fix navigate menu for insetwrap inside minipage
3464
3465         * paragraph_funcs.C: added FIXME for suspect code
3466
3467 2002-11-07  John Levon  <levon@movementarian.org>
3468
3469         * BufferView_pimpl.C: fix redrawing of insets
3470           on buffer switch
3471
3472 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
3473
3474         * text2.C (updateCounters): fix bug 668
3475
3476 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
3477
3478         * text3.C (dispatch): Do not make the buffer dirty when moving the
3479         cursor.
3480
3481 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
3482
3483         * vc-backend.C: STRCONV
3484         (scanMaster): ditto
3485
3486         * text2.C (setCounter): STRCONV
3487
3488         * paragraph.C (asString): STRCONV
3489
3490         * lyxlength.C (asString): STRCONV
3491         (asLatexString): ditto
3492
3493         * lyxgluelength.C (asString): STRCONV
3494         (asLatexString): ditto
3495
3496         * lyxfunc.C (dispatch): STRCONV
3497         (open): ditto
3498
3499         * lyxfont.C (stateText): STRCONV
3500
3501         * importer.C (Import): STRCONV
3502
3503         * counters.C (labelItem): STRCONV
3504         (numberLabel): ditto
3505         (numberLabel): remove unused ostringstream o
3506
3507         * chset.C: STRCONV
3508         (loadFile): ditto
3509
3510         * bufferview_funcs.C (currentState): STRCONV
3511
3512         * buffer.C (readFile): STRCONV
3513         (asciiParagraph): ditto
3514         (makeLaTeXFile): ditto
3515
3516         * Spacing.C (writeEnvirBegin): STRCONV
3517
3518         * LaTeXFeatures.C (getLanguages): STRCONV
3519         (getPackages): ditto
3520         (getMacros): ditto
3521         (getBabelOptions): ditto
3522         (getTClassPreamble): ditto
3523         (getLyXSGMLEntities): ditto
3524         (getIncludedFiles): ditto
3525
3526         * LaTeX.C: STRCONV
3527         (run): ditto
3528         (scanAuxFile): ditto
3529         (deplog): ditto
3530
3531         * LString.h: add the STRCONV macros
3532
3533         * BufferView_pimpl.C (savePosition): STRCONV
3534         (restorePosition): ditto
3535         (MenuInsertLyXFile): ditto
3536
3537         * vc-backend.C (scanMaster): change from submatch[...] to
3538         submatch.str(...)
3539
3540         * funcrequest.C: include config.h
3541
3542         * factory.C: include config.h
3543
3544         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
3545
3546         * box.C: include config.h
3547
3548         * LaTeX.C (scanAuxFile): change from submatch[...] to
3549         submatch.str(...)
3550         (deplog): ditto
3551
3552 2002-10-25  Angus Leeming  <leeming@lyx.org>
3553
3554         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
3555
3556         * ispell.[Ch] (setError): new method.
3557         * ispell.C (c-tor): move out child process into new class LaunchIspell.
3558         Use setError() insetead of goto END.
3559
3560         * lyx_cb.C (AutoSave): move out child process into new class
3561         AutoSaveBuffer.
3562
3563 2002-10-30  John Levon  <levon@movementarian.org>
3564
3565         * text3.C: make start appendix undoable
3566
3567 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
3568
3569         * lyxlength.C (inPixels): Fix returned value.
3570
3571         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
3572         environment.
3573
3574 2002-10-24  Angus Leeming  <leeming@lyx.org>
3575
3576         * lyxgluelength.h: no need to forward declare BufferParams
3577         or BufferView, so don't.
3578
3579 2002-10-21  John Levon  <levon@movementarian.org>
3580
3581         * BufferView.C: menuUndo ->undo, redo
3582
3583         * BufferView.h: document, remove dead, make some methods private
3584
3585         * paragraph_funcs.h:
3586         * paragraph_funcs.C:
3587         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
3588
3589         * buffer.h:
3590         * buffer.C:
3591         * sgml.h:
3592         * sgml.C: move sgml open/close tag into sgml.C
3593
3594         * bufferview_funcs.h: unused prototype
3595
3596         * lyxfunc.h:
3597         * lyxfunc.C: remove unused
3598
3599         * lyxtext.h:
3600         * text.C: remove unused
3601
3602 2002-10-21  John Levon  <levon@movementarian.org>
3603
3604         * BufferView.h:
3605         * BufferView.C:
3606         * BufferView_pimpl.h:
3607         * BufferView_pimpl.C: fix mouse wheel handling based on
3608           patch from Darren Freeman
3609
3610 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
3611
3612         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
3613
3614 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
3615
3616         * lyxlength.C (inPixels): Fix hanfling of negative length.
3617         Fix LyXLength::MU case.
3618
3619 2002-10-16  John Levon  <levon@movementarian.org>
3620
3621         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
3622
3623 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
3624
3625         * converter.C (view): add support for $$i (file name) and $$p
3626         (file path) for the viewer command. If $$i is not specified, then
3627         it is appended to the command (for compatibility with old syntax)
3628
3629 2002-10-14  Juergen Vigna  <jug@sad.it>
3630
3631         * undo_funcs.C (textHandleUndo): alter the order in which the
3632         new undopar is added to the LyXText, as we have to set first
3633         the right prev/next and then add it as otherwise the rebuild of
3634         LyXText is not correct. Also reset the cursor to the right paragraph,
3635         with this IMO we could remove the hack in "redoParagraphs()".
3636
3637 2002-10-09  Angus Leeming  <leeming@lyx.org>
3638
3639         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
3640         to turn off an optimisation if a new inset is to be inserted.
3641
3642 2002-10-11 André Pönitz <poenitz@gmx.net>
3643
3644         * lyxtext.h: make some functions public to allow access
3645         from inset/lyxtext for handling LFUN_PRIOR/NEXT
3646
3647 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
3648
3649         * text3.C (dispatch): when changing layout, avoid an infinite loop
3650         [bug #652]
3651
3652 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
3653
3654         * lyxrc.C (read): treat a viewer or converter command of "none" as
3655         if it were empty.
3656
3657         * MenuBackend.C (expandFormats): for an update, also allow the
3658         formats that are not viewable
3659
3660         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
3661         script if it is newer than the lyxrc.defaults in user directory
3662
3663 2002-10-07 André Pönitz <poenitz@gmx.net>
3664
3665         * text.C: Vitaly Lipatov's small i18n fix
3666
3667 2002-09-25  Angus Leeming  <leeming@lyx.org>
3668
3669         * ispell.h: doxygen fix.
3670
3671 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
3672
3673         * buffer.h (readFile): Add a new argument to the method, to allow
3674         reading of old-format templates.
3675
3676 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
3677
3678         * toc.C (getTocList): Get TOC from InsetWrap.
3679
3680 2002-09-16  John Levon  <levon@movementarian.org>
3681
3682         * lyxfunc.C: check tabular for cut/copy too
3683
3684 2002-09-12  John Levon  <levon@movementarian.org>
3685
3686         * LyXAction.C: tidy
3687
3688         * factory.h:
3689         * factory.C: add header
3690
3691         * paragraph_funcs.h:
3692         * paragraph_funcs.C: cleanup
3693
3694 2002-09-11  John Levon  <levon@movementarian.org>
3695
3696         * PrinterParams.h: odd/even default to true
3697
3698 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
3699
3700         * PrinterParams.h: update printer parameters for new xforms dialog
3701
3702 2002-09-11  Angus Leeming  <leeming@lyx.org>
3703
3704         * lyxserver.C (read_ready): re-write to make it more transparent
3705         and to make it work in coherent fashion under Tru64 Unix.
3706
3707 2002-09-11  André Pönitz <poenitz@gmx.net>
3708
3709         * commandtags.h:
3710         * LyXAction.C:
3711         * text3.C: implement LFUN_WORDSEL
3712
3713 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
3714
3715         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
3716         make floatlist_ a boost::shared_ptr<FloatList>
3717
3718         * lyxtextclass.C: include FloatList.h
3719         (LyXTextClass): initialize floatlist_
3720         (TextClassTags): add TC_NOFLOAT
3721         (Read): match "nofloat" to TC_NOFLOAT and use it.
3722         (readFloat): modify call to floatlist_
3723         (floats): ditto
3724         (floats): ditto
3725
3726         * FloatList.[Ch] (FloatList): remove commented out float
3727         initialization.
3728         (erase): new function
3729
3730 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
3731
3732         * MenuBackend.C (expandToc): fix crash when there is no document
3733         open
3734
3735 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
3736
3737         * many files: Add insetwrap.
3738
3739 2002-09-09  John Levon  <levon@movementarian.org>
3740
3741         * text2.C: remove confusing and awkward depth wraparound
3742
3743 2002-09-09  John Levon  <levon@movementarian.org>
3744
3745         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
3746
3747         * buffer.h:
3748         * buffer.C: remove getIncludeonlyList()
3749
3750         * paragraph.C:
3751         * lyxfunc.C: remove headers
3752
3753 2002-09-09  Juergen Vigna  <jug@sad.it>
3754
3755         * text.C (getColumnNearX): fix form Michael this is most
3756         probably a cut&paste bug.
3757
3758 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
3759
3760         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
3761
3762         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
3763         references, ws changes.
3764
3765         * text2.C (init): update counters after init
3766         (insertParagraph): no need to set counter on idividual paragraphs.
3767         (setCounter): access the counters object in the textclass object
3768         on in the buffer object.
3769         (updateCounters): ditto
3770
3771         * lyxtextclass.C: include counters.h, add variable ctrs_ as
3772         shared_ptr<Counters> to avoid loading counters.h in all
3773         compilation units.
3774         (LyXTextClass): initialize ctrs_
3775         (TextClassTags): add TC_COUNTER, and ...
3776         (Read): use it here.
3777         (CounterTags): new tags
3778         (readCounter): new function
3779         (counters): new funtion
3780         (defaultLayoutName): return a const reference
3781
3782         * counters.C (Counters): remove contructor
3783         (newCounter): remove a couple of unneeded statements.
3784         (newCounter): simplify a bit.
3785         (numberLabel): some small formatting changes.
3786
3787         * buffer.[Ch]: remove all traces of counters, move the Counters
3788         object to the LyXTextClass.
3789
3790 2002-09-06  Alain Castera  <castera@in2p3.fr>
3791
3792         * tabular.C: uses \tabularnewline; uses >{...} construct from array
3793         package to set the horizontal alignment on fixed width columns.
3794
3795         * lyx_sty.C:
3796         * lyx_sty.h: added tabularnewline macro def.
3797
3798         * LaTeXFeatures.C: added NeedTabularnewline macro feature
3799
3800 2002-09-06  John Levon  <levon@movementarian.org>
3801
3802         * LyXAction.C: tooltips for sub/superscript
3803
3804         * MenuBackend.C: a bit more verbose
3805
3806         * lyxfunc.C: tiny clean
3807
3808         * undo_funcs.C: document undo_frozen
3809
3810 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
3811
3812         * counters.C (Counters): add missing algorithm counter.
3813
3814         * text2.C (setCounter): lookup the counter with layouts latexname
3815         instead of by section number.
3816         (setCounter): use a hackish way to lookup the correct enum
3817         counter.
3818         a float name->type change
3819         reset enum couners with counter name directly instead of depth value.
3820
3821         * counters.C (Counters): remove the push_backs, change to use the
3822         float type not the float name.
3823         (labelItem): remove unused string, float name->type change
3824
3825         * counters.h: don't include vector, loose the enums and sects vectors
3826
3827 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
3828
3829         * lyxtextclass.C (TextClassTags): add TC_FLOAT
3830         (Read): add float->TC_FLOAT to textclassTags
3831         (Read): and handle it in the switch
3832         (readFloat): new function
3833
3834         * FloatList.C (FloatList): comment out the hardcoded float
3835         definitions.
3836
3837         * lyxlayout.h: ws change.
3838
3839 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
3840
3841         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
3842
3843 2002-09-03  Angus Leeming  <leeming@lyx.org>
3844
3845         * BufferView_pimpl.h: qualified name is not allowed in member
3846         declaration: WorkArea & Pimpl::workarea() const;
3847
3848         * factory.C: added using std::endl directive.
3849
3850         * text3.C: added using std::find and std::vector directives.
3851
3852 2002-08-29  André Pönitz <poenitz@gmx.net>
3853
3854         * lyxtext.h:
3855         * text2.C: remove unused member number_of_rows
3856
3857         * Makefile.am:
3858         * BufferView2.C: remove file, move contents to...
3859         * BufferView.C: ... here
3860
3861         * BufferView_pimpl.C:
3862         * factory.C: move more inset creation to factory
3863
3864         * vspace.C: avoid direct usage of LyXText, ws changes
3865
3866         * BufferView.[Ch]:
3867                 don't provide direct access to WorkArea, use two simple
3868                 acessors haveSelction() and workHeight() instead
3869
3870
3871 2002-08-29  John Levon  <levon@movementarian.org>
3872
3873         * BufferView_pimpl.C (dispatch): do not continue when
3874           no buffer
3875
3876 2002-08-28  André Pönitz <poenitz@gmx.net>
3877
3878         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
3879
3880         * BufferView.h:
3881         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
3882
3883 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
3884
3885         * buffer.C: increment LYX_FORMAT to 221
3886
3887         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
3888         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
3889
3890         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
3891
3892         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
3893
3894 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3895
3896         * factory.C (createInset): use LyXTextClass::floats
3897
3898         * MenuBackend.C (expandFloatListInsert):
3899         (expandFloatInsert):
3900         (expandToc):
3901
3902         * text2.C (setCounter):
3903
3904         * LaTeXFeatures.C (useFloat):
3905         (getFloatDefinitions):
3906
3907         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
3908
3909         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
3910         floatlist_, with accessor floats().
3911
3912         * FloatList.h: remove global FloatList
3913
3914 2002-08-26  André Pönitz <poenitz@gmx.net>
3915
3916         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
3917
3918         * BufferView.h:
3919         * BufferView2.C:
3920         * BufferView_pimpl.C:
3921         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
3922
3923 2002-08-25  John Levon  <levon@movementarian.org>
3924
3925         * LyXAction.C: fix margin note description
3926
3927 2002-08-24  John Levon  <levon@movementarian.org>
3928
3929         * buffer.C:
3930         * bufferlist.C:
3931         * bufferview_funcs.C:
3932         * lyxfont.C:
3933         * undo_funcs.C: cleanups
3934
3935         * lyxfunc.C: disable CUT/COPY when no selection
3936
3937 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
3938
3939         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
3940         in "enum UNIT"; e.g. PTW for Percent of TextWidth
3941
3942         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
3943         Add backward compatibility to "mono", "gray" and "no".
3944
3945 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
3946
3947         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
3948         (and file_format >= 200).
3949
3950 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3951
3952         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
3953
3954 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3955
3956         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
3957
3958 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
3959
3960         * BufferView_pimpl.C:
3961         * LyXAction.C:
3962         * buffer.C:
3963         * commandtags.h:
3964         * lyxfunc.C:
3965         * paragraph.[Ch]:
3966         * text2.C:
3967         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
3968         inset and code to make it  work with the paragraph code. The inset
3969         can be anywhere in the paragraph, but will only do the expected
3970         thing in LaTeX if the layout file contains the parameter line
3971                         OptionalArgs    1
3972         (or more generally, a nonzero value) for that layout.
3973
3974 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
3975
3976         * paragraph.h: remove the declaration of undefined counters class
3977         function.
3978
3979 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
3980
3981         * text2.C (setCounter):  fixed enumeration mis-count as reported by
3982         Dr. Richard Hawkins.
3983
3984 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
3985
3986         * paragraph_funcs.h: remove some unneeded includes
3987
3988         * text.C (backspace): pasteParagraph now in global scipe
3989
3990         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
3991         (pasteSelection): ditto
3992
3993         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
3994         * paragraph_funcs.C (pasteParagraph): ... here
3995
3996 2002-08-20  André Pönitz <poenitz@gmx.net>
3997
3998         * commandtags.h: new LFUNs for swapping/copying table row/colums
3999
4000         * LyXAction.C:
4001         * lyxfunc.C: support for new lfuns
4002
4003 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
4004
4005         * tabular.C:
4006         * buffer.[Ch]: remove NO_COMPABILITY stuff
4007
4008 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
4009
4010         * boost.C (throw_exception): new file, with helper function for
4011         boost compiled without exceptions.
4012
4013         * paragraph.h:
4014         * lyxlength.C:
4015         * buffer.C:
4016         * ParameterStruct.h:
4017         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
4018
4019         * bufferlist.C (emergencyWriteAll): use boost bind
4020
4021         * BufferView_pimpl.C (moveCursorUpdate): remove inline
4022
4023         * text.C: include paragraph_funcs.h
4024         (breakParagraph): breakParagraph is now in global scope
4025
4026         * paragraph_funcs.[Ch]: new files
4027
4028         * paragraph.C (breakParagraph,breakParagraphConservative): move to
4029         global scope
4030
4031         * buffer.C: include paragraph_funcs.h
4032         (insertStringAsLines): breakParagraph is now in global scope
4033
4034         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
4035         paragraph_funcs.C
4036
4037         * CutAndPaste.C: include paragraph_funcs.h
4038         (cutSelection): breakParagraphConservative is now in global scope
4039         (pasteSelection): ditto
4040
4041         * buffer.h: declare oprator== and operator!= for
4042         Buffer::inset_iterator
4043
4044         * bufferlist.C (emergencyWrite): don't use fmt(...)
4045
4046         * text3.C: add using std::endl
4047
4048         * BufferView.C (moveCursorUpdate): remove default arg
4049
4050 2002-08-20  André Pönitz <poenitz@gmx.net>
4051
4052         * buffer.[Ch]: move inline functions to .C
4053
4054         * BufferView2.C:
4055         * BufferView_pimpl.C:
4056         * text.C:
4057         * buffer.[Ch]: use improved inset_iterator
4058
4059         * buffer.C:
4060         * paragraph.[Ch]: write one paragraph at a time
4061
4062 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
4063
4064         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
4065         style if style is not specified.
4066
4067 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4068
4069         * text2.C (setCounter): when searching for right label for a
4070         caption, make sure to recurse to parent insets (so that a caption
4071         in a minipage in a figure float works) (bug #568)
4072
4073 2002-08-20  André Pönitz <poenitz@gmx.net>
4074
4075         * text3.C: new file for LyXText::dispatch() and helpers
4076
4077         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
4078
4079         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
4080
4081 2002-08-19  André Pönitz <poenitz@gmx.net>
4082
4083         * lyxtext.h:
4084         * text.C: new LyXText::dispatch()
4085
4086         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
4087
4088 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
4089
4090         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
4091
4092         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
4093         Hebrew text.
4094
4095 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4096
4097         * Makefile.am: use $(variables) instead of @substitutions@
4098
4099 2002-08-15  André Pönitz <poenitz@gmx.net>
4100
4101         * lyxfunc.C:
4102         * BufferView_pimpl.C: streamlining mathed <-> outer world
4103         interaction
4104
4105         * commandtags.h:
4106         * LyXAction.C: remove unused LFUN_MATH
4107
4108 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4109
4110         * paragraph.[Ch]: add some NO_NEXT ifdefs.
4111
4112 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
4113
4114         * paragraph.C (Paragraph): reformat a bit
4115         (cutIntoMinibuffer): use builtin InsetList function instad of
4116         doing it manually.
4117         (getInset): ditto
4118
4119         * buffer.C: include boost/bind.hpp, add using std::for_each
4120         (writeFileAscii): use ParagraphList iterators
4121         (validate): use for_each for validate traversal of paragraphs
4122         (getBibkeyList): use ParagraphList iterators
4123         (resizeInsets): use for_each to resizeInsetsLyXText for all
4124         paragraphs.
4125         (getParFromID): use ParagraphList iterators
4126
4127         * BufferView2.C (lockInset): use paragraph list and iterators
4128
4129 2002-08-14  John Levon  <levon@movementarian.org>
4130
4131         * lyxserver.C: remove spurious xforms include
4132
4133 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4134
4135         * lyxfunc.C (getStatus): disable math-extern outside of math mode
4136
4137 2002-08-13  André Pönitz <poenitz@gmx.net>
4138
4139         * LyXAction.[Ch]:
4140         * lyxfunc.C: further cleaning
4141
4142 2002-08-13  André Pönitz <poenitz@gmx.net>
4143
4144         * funcrequest.h: new constructor
4145
4146         * funcrequest.C: move stuff here from .h
4147
4148         * Makefile.am:
4149         * BufferView_pimpl.C:
4150         * LyXAction.C:
4151         * toc.C:
4152         * lyxfunc.C: subsequent changes
4153
4154         * lyxfunc.h: new view() member function
4155
4156         * lyxfunc.C: subsequent changes
4157
4158 2002-08-13  Angus Leeming  <leeming@lyx.org>
4159
4160         * BufferView2.C:
4161         * BufferView_pimpl.C:
4162         * buffer.C:
4163         * converter.C:
4164         * importer.C:
4165         * lyxfunc.C:
4166         * lyxvc.C:
4167         * toc.C:
4168         * vc-backend.C:
4169         changes due to the changed LyXView interface that now returns references
4170         to member variables not pointers.
4171
4172 2002-08-13  Angus Leeming  <leeming@lyx.org>
4173
4174         * WordLangTuple (word, lang_code): return references to strings,
4175         not strings.
4176
4177         * BufferView.h:
4178         * SpellBase.h:
4179         * lyxtext.h: forward-declare WordLangTuple.
4180
4181         * BufferView2.C:
4182         * ispell.C:
4183         * pspell.C:
4184         * text.C: #include "WordLangTuple.h".
4185
4186         * lyxtext.h:
4187         * text.C: (selectNextWordToSpellcheck): constify return type.
4188
4189 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
4190
4191         * buffer.C:
4192         * buffer.h:
4193         * lyxtext.h:
4194         * paragraph.C:
4195         * paragraph_pimpl.h:
4196         * text.C:
4197         * text2.C:
4198         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
4199         suggested by Angus.
4200         Made updateCounter always count from start of buffer, and removed
4201         second argument (par).
4202         Reverted floats number display to '#'. Perhaps I'll try again when the
4203         code base is sanitized a bit.
4204
4205 2002-08-12  Angus Leeming  <leeming@lyx.org>
4206
4207         * buffer.[Ch] (getLabelList): constify.
4208
4209 2002-08-07  André Pönitz <poenitz@gmx.net>
4210
4211         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
4212
4213         * funcrequest.h: extension to keep mouse (x,y) position
4214
4215 2002-08-12  Juergen Vigna  <jug@sad.it>
4216
4217         * BufferView2.C (insertErrors): forbid undo when inserting error
4218         insets.
4219
4220         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
4221
4222 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
4223
4224         * ParagraphList.[Ch]: new files
4225
4226         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
4227
4228         * BufferView2.C (lockInset): ParagraphList changes
4229         * toc.C: ditto
4230         * text2.C: ditto
4231         * bufferlist.C: ditto
4232         * buffer.h: ditto
4233         * buffer.C: ditto
4234
4235 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
4236
4237         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
4238         unused class variable counter_,
4239
4240         * paragraph.[Ch] (getFirstCounter): delete unused function
4241
4242         * counters.C: include LAssert.h
4243         (reset): add a new function with no arg, change other version to
4244         not have def. arg and to not allow empty arg.
4245
4246         * text2.C (setCounter): remove empty arg from call to Counters::reset
4247
4248 2002-08-11  John Levon  <levon@movementarian.org>
4249
4250         * Makefile.am: add WordLangTuple.h
4251
4252 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
4253
4254         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
4255         lyxfunc.C lyxlex_pimpl.C: ws changes only.
4256
4257         * insets/insettext.C: InsetList changes
4258
4259         * graphics/GraphicsSupport.C (operator()): InsetList changes
4260
4261         * toc.C (getTocList): InsetList changes
4262
4263         * paragraph_pimpl.[Ch]: InsetList changes
4264
4265         * paragraph.[Ch]: InsetList changes
4266
4267         * buffer.C (inset_iterator): InsetList changes
4268         (setParagraph): ditto
4269         * buffer.h (inset_iterator): ditto
4270         * iterators.C (operator++): ditto
4271         * iterators.h: ditto
4272
4273         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
4274
4275         * InsetList.[Ch]: new files, most InsetList handling moved out of
4276         paragraph.C.
4277
4278         * BufferView2.C (removeAutoInsets): InsetList changes
4279         (lockInset): ditto
4280         (ChangeInsets): ditto
4281
4282 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
4283
4284         * paragraph_pimpl.h (empty): new function
4285
4286         * paragraph.[Ch] (empty): new function
4287
4288         * other files: use the new Paragraph::empty function
4289
4290 2002-08-09  John Levon  <levon@movementarian.org>
4291
4292         * lyxtext.h: remove unused refresh_height
4293
4294 2002-08-09  John Levon  <levon@movementarian.org>
4295
4296         * Makefile.am:
4297         * sgml.h:
4298         * sgml.C:
4299         * buffer.C:
4300         * paragraph.h:
4301         * paragraph.C: move sgml char escaping out of paragraph
4302
4303         * paragraph.h:
4304         * paragraph.C: remove id setter
4305
4306         * buffer.C:
4307         * paragraph.C:
4308         * paragraph_pimpl.C: remove dead tex_code_break_column
4309
4310         * bufferview_funcs.C: small cleanup
4311
4312         * lyxfunc.C: remove dead proto
4313
4314         * lyxtext.h: make some stuff private. Remove some dead stuff.
4315
4316         * lyxgluelength.C: make as[LyX]String() readable
4317
4318 2002-08-08  John Levon  <levon@movementarian.org>
4319
4320         * LyXAction.h:
4321         * LyXAction.C:
4322         * MenuBackend.C:
4323         * ToolbarDefaults.C:
4324         * lyxfunc.C:
4325         * lyxrc.C:
4326         * toc.C: lyxaction cleanup
4327
4328 2002-08-08  John Levon  <levon@movementarian.org>
4329
4330         * BufferView2.C: small cleanup
4331
4332         * lyxfind.h:
4333         * lyxfind.C: move unnecessary header into the .C
4334
4335 2002-08-08  John Levon  <levon@movementarian.org>
4336
4337         * funcrequest.h: just tedious nonsense
4338
4339         * lyx_main.h:
4340         * lyx_main.C: cleanups
4341
4342         * buffer.C:
4343         * vspace.C: remove dead header lyx_main.h
4344
4345 2002-08-07  Angus Leeming  <leeming@lyx.org>
4346
4347         * Paragraph.[Ch]:
4348         * paragraph_pimpl.h:
4349         Forward declare class Counters in paragraph.h by moving the ctrs member
4350         variable into Paragraph::Pimpl.
4351         (counters): new method, returning a reference to pimpl_->ctrs.
4352
4353         * text2.C: ensuing changes.
4354
4355 2002-08-07  John Levon  <levon@movementarian.org>
4356
4357         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
4358
4359         * BufferView_pimpl.C: announce X selection on double/triple
4360           click
4361
4362         * lyx_main.C: use correct bool in batch dispatch
4363
4364         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
4365
4366 2002-08-07  André Pönitz <poenitz@gmx.net>
4367
4368         * funcrequest.h: new class to wrap a kb_action and its argument
4369
4370         * BufferView.[Ch]:
4371         * BufferView_pimpl[Ch]:
4372         * LaTeX.C:
4373         * LyXAction.[Ch]:
4374         * lyxfunc.[Ch]:
4375         * lyxrc.C: subsequent changes
4376
4377
4378 2002-08-07  John Levon  <levon@movementarian.org>
4379
4380         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
4381           document options change.
4382
4383 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
4384
4385         * counters.[Ch]
4386         * text2.C
4387         * paragraph.[Ch]
4388         * makefile.am: move counters functionality over from
4389         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
4390
4391 2002-08-06  John Levon  <levon@movementarian.org>
4392
4393         * WordLangTuple.h: new file for word + language code tuple
4394
4395         * SpellBase.h:
4396         * pspell.h:
4397         * pspell.C:
4398         * ispell.h:
4399         * ispell.C:
4400         * lyxtext.h:
4401         * text.C:
4402         * text2.C:
4403         * BufferView.h:
4404         * BufferView2.C: use WordLangTuple
4405
4406         * layout.h:
4407         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
4408
4409 2002-08-06  John Levon  <levon@movementarian.org>
4410
4411         * lyx_main.C: fix cmdline batch handling
4412
4413 2002-08-06  André Pönitz <poenitz@gmx.net>
4414
4415         * lyxrc.C: set default for show_banner to true
4416
4417 2002-08-06  John Levon  <levon@movementarian.org>
4418
4419         * pspell.C: fix a crash, and allow new aspell to work
4420
4421 2002-08-06  John Levon  <levon@movementarian.org>
4422
4423         * lyxfunc.C:
4424         * kbmap.C: small cleanup
4425
4426         * vspace.h:
4427         * vspace.C: add const
4428
4429 2002-08-05  John Levon  <levon@movementarian.org>
4430
4431         * LyXAction.C: back to tabular-insert
4432
4433 2002-08-04  John Levon  <levon@movementarian.org>
4434
4435         * BufferView.h:
4436         * BufferView.C: cosmetic change
4437
4438         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
4439
4440         * bufferlist.C:
4441         * buffer.h:
4442         * buffer.C:
4443         * lyxcb.h:
4444         * lyxcb.C:
4445         * lyxserver.C:
4446         * lyxvc.C:
4447         * vc-backend.C:
4448         * BufferView2.C: purge all "Lyx" not "LyX" strings
4449
4450         * lyxcursor.h:
4451         * lyxcursor.C: attempt to add some documentation
4452
4453         * lyxfunc.C:
4454         * commandtags.h:
4455         * LyXAction.C:
4456         * ToolbarDefaults.C:
4457         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
4458           merge with LFUN_TABULAR_INSERT
4459
4460         * Makefile.am:
4461         * SpellBase.h:
4462         * ispell.h:
4463         * ispell.C:
4464         * pspell.h:
4465         * pspell.C: split up i/pspell implementations into separate
4466           files, many cleanups
4467
4468         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
4469
4470         * text2.C: some cleanup
4471
4472         * lyxfunc.C: don't check for isp_command == "none" any more, it
4473           didn't make any sense
4474
4475 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
4476
4477         * counters.[Ch]
4478         * text2.C
4479         * paragraph.[Ch]
4480         * makefile.am: move counters functionality over
4481         from text2.C/paragraph.[Ch] to counters.[Ch], and
4482         make proper C++.
4483 2002-08-02  John Levon  <levon@movementarian.org>
4484
4485         * buffer.C: s/lyxconvert/lyx2lyx/
4486
4487 2002-08-02  Angus Leeming  <leeming@lyx.org>
4488
4489         * lyxlex.C: revert John's change as it breaks reading of the user
4490         preamble.
4491
4492 2002-08-02  Angus Leeming  <leeming@lyx.org>
4493
4494         * importer.C (Import):
4495         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
4496         changes due to LyXView::view() now returning a boost::shared_ptr.
4497
4498 2002-08-02  John Levon  <levon@movementarian.org>
4499
4500         * lyxlex.C: small cleanup
4501
4502 2002-08-02  John Levon  <levon@movementarian.org>
4503
4504         * text2.C (status): small cleanup, no logic change
4505
4506 2002-08-01  John Levon  <levon@movementarian.org>
4507
4508         * buffer.h:
4509         * buffer.C (writeFile): don't output alerts, caller
4510           handles this
4511
4512         * bufferlist.C:
4513         * lyx_cb.C: from above
4514
4515         * lyxfunc.C: allow to open non-existent files
4516
4517 2002-07-31  John Levon  <levon@movementarian.org>
4518
4519         * lyxserver.C: don't let incidental errors get
4520           in the way (errno)
4521
4522 2002-07-30  John Levon  <levon@movementarian.org>
4523
4524         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
4525
4526 2002-07-30  John Levon  <levon@movementarian.org>
4527
4528         * lyxserver.h:
4529         * lyxserver.C: remove I/O callback too
4530
4531 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4532
4533         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
4534         log.
4535
4536 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
4537
4538         * many files: strip,frontStrip -> trim,ltrim,rtrim
4539
4540 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4541
4542         * PrinterParams.h: remove extern containsOnly, and include
4543         support/lstrings.h instead.
4544
4545         * LaTeX.C (scanAuxFile): modify because of strip changes
4546         (deplog): ditto
4547         * buffer.C (makeLaTeXFile): ditto
4548         * bufferparams.C (writeFile): ditt
4549         * lyxfont.C (stateText): ditto
4550         * lyxserver.C (read_ready): ditto
4551         * vc-backend.C (scanMaster): ditto
4552
4553         * BufferView_pimpl.h: ws changes
4554
4555         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
4556
4557 2002-07-26  André Pönitz <poenitz@gmx.net>
4558
4559         * kb_sequence.C: remove unnedred usings
4560
4561 2002-07-26  Juergen Vigna  <jug@sad.it>
4562
4563         * lyxfind.C (LyXReplace): we have to check better if the returned
4564         text is not of theLockingInset()->getLockingInset().
4565
4566 2002-07-25  Juergen Vigna  <jug@sad.it>
4567
4568         * lyxfind.C (LyXReplace): don't replace if we don't get the
4569         right LyXText.
4570
4571         * undo_funcs.C (createUndo): remove debugging code.
4572
4573 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
4574
4575         * buffer.C (parseSingleLyXformat2Token): Use default placement
4576         when reading old floats.
4577
4578         * FloatList.C (FloatList): Change the default placement of figure
4579         and tables to "tbp".
4580
4581 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
4582
4583         * MenuBackend.C: using std::max
4584
4585 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4586
4587         * MenuBackend.C (expandToc):
4588         (expandToc2): code moved from xforms menu frontend. It is now
4589         generic and TOCs are transparent to menu frontends.
4590
4591 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4592
4593         * toc.C (getTocList): protect against buf=0
4594
4595         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
4596         Menu as first parameter. Now, this calls itself recursively to
4597         expand a whole tree (this will be useful for TOC handling)
4598         (expandFloatInsert): remove 'wide' version of floats
4599
4600         * MenuBackend.h (submenuname): returns the name of the submenu.
4601         (submenu): returns the submenu itself, provided it has been
4602         created by MenuBackend::expand
4603
4604 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4605
4606         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
4607         insets which have noFontChange == true. (bug #172)
4608
4609 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4610
4611         * BufferView_pimpl.C: add connection objects and use them...
4612         (Pimpl): here.
4613
4614 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4615
4616         * MenuBackend.C (expandLastfiles):
4617         (expandDocuments):
4618         (expandFormats):
4619         (expandFloatListInsert):
4620         (expandFloatInsert):
4621         (expand): split expand in parts
4622
4623 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
4624
4625         * lyx_gui.C: use lyx_gui::exit()
4626
4627 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
4628
4629         * LyXAction.C: show the failing pseudo action
4630
4631 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
4632
4633         * buffer.C (readFile): Run the lyxconvert script in order to read
4634         old files.
4635
4636 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
4637
4638         * LyXAction.C:
4639         * commandtags.h:
4640         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
4641
4642 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
4643
4644         * LyXAction.C:
4645         * commandtags.h:
4646         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
4647
4648 2002-07-22  Herbert Voss  <voss@lyx.org>
4649
4650         * lengthcommon.C:
4651         * lyxlength.[Ch]: add support for the vertical lengths
4652
4653 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
4654
4655         * toc.[Ch]: std:: fixes
4656
4657 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4658
4659         * lyxrc.C: do not include lyx_main.h
4660
4661         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
4662         for layouts
4663
4664         * lyxrc.C:
4665         * encoding.C:
4666         * bufferlist.C:
4667         * BufferView2.C: include "lyxlex.h"
4668
4669         * tabular.h:
4670         * bufferparams.h: do not #include "lyxlex.h"
4671
4672         * lyxtextclasslist.C (Add): remove method
4673         (classlist): renamed to classlist_
4674
4675         * paragraph_pimpl.C:
4676         * paragraph.C:
4677         * text2.C:
4678         * CutAndPaste.C:
4679         * bufferview_funcs.C:
4680         * bufferlist.C:
4681         * text.C:
4682         * LaTeXFeatures.C:
4683         * buffer.C:
4684         * toc.C (getTocList): use BufferParams::getLyXTextClass
4685
4686         * toc.C (getTocList): use InsetFloat::addToToc
4687
4688         * toc.[Ch]: new files, containing helper functions to handle table
4689         of contents
4690
4691         * lyxfunc.C (dispatch): no need to remove spaces around command
4692         given as a string
4693         (getStatus): handle LFUN_SEQUENCE by returning the status of the
4694         first command of the sequence; it is not very clever, but I do not
4695         have a better idea, actually
4696
4697         * LyXAction.C (LookupFunc): make sure to remove space at the
4698         beginning and end of the command
4699
4700 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4701
4702         * MenuBackend.C (getMenubar): new method: return the menubar of
4703         this menu set
4704         (read): treat differently reading of menu and menubar (in
4705         particular, the menubar has no name now)
4706         (Menu::menubar): remove
4707
4708         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
4709         saving is finished
4710
4711 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
4712
4713         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
4714         a bibitem inset in a RTL paragraph.
4715
4716 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
4717
4718         * paragraph_pimpl.C: constify
4719
4720         * BufferView_pimpl.C:
4721         * LaTeX.C:
4722         * lyxfunc.C: fix dispatch in a nicer way
4723
4724 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4725
4726         * lyxfunc.C (dispatch):
4727         * BufferView_pimpl.C:
4728         * BufferView_pimpl.h:
4729         * BufferView.C:
4730         * BufferView.h: rename Dispatch() to dispatch()
4731
4732         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
4733
4734         * lyxlayout.C (Read): honor DependsOn tag
4735
4736         * lyxlayout.[Ch] (depends_on): new method
4737
4738         * version.C.in: update lyx_docversion
4739
4740         * LaTeXFeatures.C (getMacros): only define \LyX when needed
4741
4742         * paragraph.C (validate): remove from here...
4743         * paragraph_pimpl.C (validate): ... and move here
4744         (isTextAt): make it const
4745
4746         * buffer.C (getLists): ws cleanup
4747
4748 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
4749
4750         * language.C (read): Use iso8859-1 encoding in latex_lang
4751         (this prevents LyX from crashing when using iso10646-1 encoding).
4752
4753 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4754
4755         * text2.C (toggleInset): if cursor is inside an inset, close the
4756         inset and leave cursor _after_ it
4757
4758 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
4759
4760         * lyxfunc.C: move minibuffer completion handling out of here
4761
4762 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
4763
4764         * BufferView_pimpl.C:
4765         * LaTeX.C: fix dispatch calls
4766
4767 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
4768
4769         * text.C (drawChars): Fix Arabic text rendering.
4770
4771 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
4772
4773         * LyXAction.C:
4774         * commandtags.h:
4775         * lyxfunc.C: remove message-push/pop
4776
4777         * lyxserver.C:
4778         * lyxfunc.h:
4779         * lyxfunc.C: rationalise some code by removing verboseDispatch
4780           in favour of a bool argument to dispatch()
4781
4782 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4783
4784         * lyx_main.C (init): make sure to read symlinks as absolute paths
4785
4786 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
4787
4788         * lyxfunc.h:
4789         * lyxfunc.C: no need for commandshortcut to be a member
4790
4791 2002-07-15  André Pönitz <poenitz@gmx.net>
4792
4793         * converter.C: add support for $$s (scripts from lib/scripts dir)
4794         * lyx_main.C: white space
4795
4796 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
4797
4798         * bufferlist.C:
4799         * lyxrc.h:
4800         * lyxrc.C: remove second exit confirmation
4801
4802 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
4803
4804         * BufferView.h:
4805         * BufferView.C:
4806         * BufferView2.C:
4807         * BufferView_pimpl.h:
4808         * BufferView_pimpl.C:
4809         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
4810
4811 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4812
4813         * MenuBackend.C (expand): add numeric shortcuts to document menu
4814
4815         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
4816
4817 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4818
4819         * lyxfont.C (setLyXFamily):
4820         (setLyXSeries):
4821         (setLyXShape):
4822         (setLyXSize):
4823         (setLyXMisc):
4824         (lyxRead):
4825         * debug.C (value):
4826         * buffer.C (asciiParagraph): use ascii_lowercase
4827
4828 2002-07-15  Mike Fabian  <mfabian@suse.de>
4829
4830         * lyxlex_pimpl.C (search_kw):
4831         * lyxlex.C (getLongString):
4832         * converter.h (operator<):
4833         * converter.C (operator<):
4834         * buffer.C (parseSingleLyXformat2Token):
4835         (asciiParagraph):
4836         * ToolbarDefaults.C (read):
4837         * MenuBackend.C (checkShortcuts):
4838         (read):
4839         * LColor.C (getFromGUIName):
4840         (getFromLyXName): use the compare_ascii_no_case instead of
4841         compare_no_case, because in turkish, 'i' is not the lowercase
4842         version of 'I', and thus turkish locale breaks parsing of tags.
4843
4844 2002-07-16  Angus Leeming  <leeming@lyx.org>
4845
4846         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
4847         now takes a Buffer const & argument.
4848
4849 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
4850
4851         * BufferView.C (resize): check there's a buffer to resize
4852
4853 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
4854
4855         * lyxfunc.C: remove dead code
4856
4857         * lyxserver.h:
4858         * lyxserver.C: use lyx_guii::set_read_callback
4859
4860 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
4861
4862         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
4863         an inset in a RTL paragraph.
4864
4865 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
4866
4867         * lyxfunc.C: repaint after a font size update
4868
4869 2002-07-15  André Pönitz <poenitz@gmx.net>
4870
4871         * lyxlength.C: inBP should be able to return negative values
4872
4873 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
4874
4875         * lyxfunc.C: use lyx_gui::update_fonts()
4876
4877 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
4878
4879         * lyxfunc.C: use lyx_gui::update_color()
4880
4881 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
4882
4883         * bufferlist.C:
4884         * lyxfunc.h:
4885         * lyxfunc.C:
4886         * lyxrc.h:
4887         * lyxrc.C: remove file->new asks for name option, and let
4888           buffer-new take an argument
4889
4890 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
4891
4892         * BufferView_pimpl.C: remove unneeded extra repaint()
4893
4894 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
4895
4896         * LyXAction.C: allow command-sequence with NoBuffer
4897
4898         * lyxfunc.C: don't insist on trailing ';' for command-sequence
4899
4900 2002-07-10  Angus Leeming  <leeming@lyx.org>
4901
4902         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
4903
4904 2002-07-09  Angus Leeming  <leeming@lyx.org>
4905
4906         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
4907
4908 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
4909
4910         * lengthcommon.h: whitespace
4911
4912         * lyxfunc.C: update scrollbar after goto paragraph
4913
4914         * lyxtext.h: factor out page break drawing, and fix it so
4915           page break/added space paints as selected nicely
4916
4917 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
4918
4919         * BufferView_pimpl.C: add FIXMEs, clean up a little
4920
4921 2002-07-09  André Pönitz <poenitz@gmx.net>
4922
4923         * lyxfont.[Ch]: support for wasy symbols
4924
4925 2002-07-08  André Pönitz <poenitz@gmx.net>
4926
4927         * BufferView_pimpl.C: apply John's patch for #93.
4928
4929 2002-07-05  Angus Leeming  <leeming@lyx.org>
4930
4931         * BufferView_pimpl.C (buffer): generate previews if desired.
4932
4933         * LColor.h: add "preview" to the color enum.
4934
4935         * LColor.C (LColor): add a corresponding entry to the items array.
4936
4937         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
4938         with this buffer.
4939
4940 2002-07-05  Angus Leeming  <leeming@lyx.org>
4941
4942         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
4943         The body of the code is now in the method that is passed an ostream &
4944         rather than a file name.
4945         Pass an additional only_preamble parameter, useful for the forthcoming
4946         preview stuff.
4947
4948 2002-07-03  André Pönitz <poenitz@gmx.net>
4949
4950         * lyxfunc.C: simplify getStatus() a bit for math stuff
4951
4952 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4953
4954         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
4955
4956 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4957
4958         * text.C (changeRegionCase): do not change case of all the
4959         document when region ends at paragraph end (bug #461)
4960
4961 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4962
4963         * paragraph.C (startTeXParParams):
4964         (endTeXParParams): add \protect when necessary
4965
4966 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
4967
4968         * BufferView_pimpl.C (workAreaExpose): remove warning
4969
4970 2002-06-27  Angus Leeming  <leeming@lyx.org>
4971
4972         * Makefile.am: add lyxlayout_ptr_fwd.h.
4973
4974 2002-06-26  André Pönitz <poenitz@gmx.net>
4975
4976         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
4977
4978 2002-06-25  Angus Leeming  <leeming@lyx.org>
4979
4980         * lyxfunc.C (dispatch): Comment out the call to
4981         grfx::GCache::changeDisplay. The method no longer exists now that the
4982         pixmap generation part of the graphics loader has been moved into
4983         InsetGraphics.
4984
4985 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
4986
4987         * text2.C: layout as layout
4988
4989         * text.C: layout as layout
4990
4991         * tabular.C (OldFormatRead): layout as layout
4992
4993         * paragraph_pimpl.C (TeXDeeper): layout as layout
4994         (realizeFont): layout as layout
4995
4996         * paragraph.C (writeFile): layout as layout
4997         (validate): layout as layout
4998         (getFont): layout as layout
4999         (getLabelFont): layout as layout
5000         (getLayoutFont): layout as layout
5001         (breakParagraph): layout as layout
5002         (stripLeadingSpaces): layout as layout
5003         (getEndLabel): layout as layout
5004         (getMaxDepthAfter): layout as layout
5005         (applyLayout): layout as layout
5006         (TeXOnePar): layout as layout
5007         (simpleTeXOnePar): layout as layout
5008         (TeXEnvironment): layout as layout
5009         (layout): layout as layout
5010         (layout): layout as layout
5011
5012         * lyxtextclass.C (compare_name): new functor to work with
5013         shared_ptr, layout as layout
5014         (Read): layout as layout
5015         (hasLayout): layout as layout
5016         (operator): layout as layout
5017         (delete_layout): layout as layout
5018         (defaultLayout): layout as layout
5019
5020         * lyxlayout_ptr_fwd.h: new file
5021
5022         * lyxlayout.C (Read): layout as layout
5023
5024         * lyx_cb.C (MenuInsertLabel): layout as layout
5025
5026         * bufferlist.C (newFile): layout as layout
5027
5028         * buffer.C (readLyXformat2): layout as layout
5029         (parseSingleLyXformat2Token): layout as layout
5030         (insertStringAsLines): layout as layout
5031         (asciiParagraph): layout as layout
5032         (latexParagraphs): layout as layout
5033         (makeLinuxDocFile): layout as layout
5034         (simpleLinuxDocOnePar): layout as layout
5035         (makeDocBookFile): layout as layout
5036         (simpleDocBookOnePar): layout as layout
5037         (getLists): layout as layout
5038
5039         * LaTeXFeatures.C (getTClassPreamble): layout as layout
5040
5041         * CutAndPaste.C (cutSelection): layout as layout
5042         (pasteSelection): layout as layout
5043         (SwitchLayoutsBetweenClasses): layout as layout
5044
5045         * BufferView_pimpl.C (Dispatch): layout as layout
5046         (smartQuote): layout as layout
5047
5048         * BufferView2.C (unlockInset): layout as layout
5049
5050 2002-06-24  André Pönitz <poenitz@gmx.net>
5051
5052         * lyxfunc.C: fix #487
5053
5054 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
5055
5056         * lyxrc.h:
5057         * lyxrc.C:
5058         * lyxfunc.C: remove display_shortcuts, show_banner
5059
5060 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
5061
5062         * Buffer_pimpl.C: oops, update on resize
5063
5064 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
5065
5066         * buffer.C:
5067         * converter.C:
5068         * exporter.C:
5069         * lyxfunc.C:
5070         * BufferView.h:
5071         * BufferView.C: use repaint()
5072
5073         * BufferView_pimpl.h:
5074         * BufferView_pimpl.C: s/updateScreen()/repaint()/
5075           as it's a clearer description. Remove superfluous
5076           redraws.
5077
5078 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
5079
5080         * text.C: fix bug 488. Not ideal, but getting
5081           getWord() to work properly for the insets that
5082           matter is more difficult ...
5083
5084 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
5085
5086         * BufferView_pimpl.C:
5087         * LyXAction.C:
5088         * commandtags.h:
5089         * lyxfunc.C: remove the six million index lyxfuncs to just
5090           one, and DTRT (bug 458)
5091
5092 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
5093
5094         * BufferView.h:
5095         * BufferView.C:
5096         * BufferView_pimpl.h:
5097         * BufferView_pimpl.C: clean up resize() stuff,
5098           and unnecessary updateScreen()s
5099
5100 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
5101
5102         * BufferView.h:
5103         * BufferView.C:
5104         * BufferView_pimpl.h:
5105         * BufferView_pimpl.C:
5106         * lyxfind.h:
5107         * lyxfind.C:
5108         * minibuffer.C: remove focus management of workarea,
5109           not needed. Use screen's greyOut()
5110
5111 2002-06-17  Herbert Voss  <voss@lyx.org>
5112
5113         * converter.C: (convert) do not post a message, when converting
5114         fails, let the calling function decide what to do in this case
5115
5116 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
5117
5118         * lyxfunc.C: tidy up a little
5119
5120 2002-06-16    <alstrup@diku.dk>
5121
5122         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
5123         Got rid of FORMS_H_LOCATION include. Now we are
5124         GUII.
5125
5126 2002-06-15  LyX Development team  <lyx@rilke>
5127
5128         * buffer.[Ch] (sgmlOpenTag):
5129         (sgmlCloseTag): Added support for avoiding pernicious mixed
5130         content. Return number of lines written.
5131
5132         (makeLinuxDocFile):
5133         (makeDocBookFile): Fixed calls to sgml*Tag.
5134         Simple white space clean.
5135
5136         (simpleDocBookOnePar): Simple white space clean.
5137
5138         * tabular.[Ch] (docBook): Renamed to docbook and got another
5139         argument to related with the pernicious mixed content.
5140
5141         (docbookRow): Fixed calls for docbook inset method.
5142
5143 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
5144
5145         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
5146         so it's X11 independent.
5147
5148         * kb*.[Ch]: ditto.
5149
5150         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
5151
5152 2002-06-15  Lyx Development team  <lyx@electronia>
5153
5154         * intl.h: Renamed getTrans to getTransManager.
5155
5156 2002-06-14  Angus Leeming  <leeming@lyx.org>
5157
5158         * Makefile.am: nuke forgotten stl_string_fwd.h.
5159
5160 2002-06-12  Angus Leeming  <leeming@lyx.org>
5161
5162         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
5163
5164 2002-06-13  Angus Leeming  <leeming@lyx.org>
5165
5166         * LaTeX.C:
5167         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
5168
5169 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
5170
5171         * kbmap.C (getiso): add support for cyrillic and greek
5172
5173 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
5174
5175         * BufferView.h:
5176         * BufferView.C:
5177         * BufferView_pimpl.h:
5178         * BufferView_pimpl.C: move bogus scrolling logic
5179           to xforms
5180
5181 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
5182
5183         * lyxfunc.C:
5184         * BufferView_pimpl.C: view->resize() change
5185
5186 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
5187
5188         * BufferView_pimpl.C: topCursorVisible
5189           prototype change
5190
5191 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
5192
5193         * Makefile.am:
5194         * lyx_gui.h:
5195         * lyx_gui.C: move to frontends/
5196
5197         * main.C:
5198         * lyx_main.h:
5199         * lyx_main.C: changes from above
5200
5201 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
5202
5203         * intl.C:
5204         * intl.h:
5205         * kbmap.C:
5206         * kbsequence.C:
5207         * lyx_cb.C:
5208         * lyx_main.C: minor tidy
5209
5210 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
5211
5212         * BufferView_pimpl.h:
5213         * BufferView_pimpl.C:
5214         * BufferView.h:
5215         * BufferView.C: make painter() const,
5216           remove dead code
5217
5218         * BufferView2.C: use screen() accessor
5219
5220         * lyx_main.h:
5221         * lyx_main.C: some minor cleanup
5222
5223 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
5224
5225         * BufferView_pimpl.h:
5226         * BufferView_pimpl.C: remove enter/leaveView,
5227           use workHeight()
5228
5229 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
5230
5231         * BufferView.h:
5232         * BufferView.C:
5233         * BufferView2.C:
5234         * BufferView_pimpl.h:
5235         * BufferView_pimpl.C: only construct screen once,
5236           rename
5237
5238         * lyxrc.C: remove pointless comment
5239
5240 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
5241
5242         * BufferView.h:
5243         * BufferView.C: remove active() and belowMouse()
5244
5245         * BufferView_pimpl.h:
5246         * BufferView_pimpl.C: use workarea() not workarea_,
5247           and make it use a scoped_ptr instead
5248
5249 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
5250
5251         * lyx_gui.C: add debug message on BadWindow
5252
5253 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5254
5255         * sp_spell.C: fdopen is not part of the C++ standard.
5256
5257         * paragraph.C (InsetIterator): use >= instead of ==
5258
5259 2002-06-07  Angus Leeming  <leeming@lyx.org>
5260
5261         Fixes needed to compile with Compaq cxx 6.5.
5262         * BufferView_pimpl.C:
5263         * DepTable.C:
5264         * buffer.C:
5265         * converter.C:
5266         * encoding.C:
5267         * lyx_gui.C:
5268         * lyx_main.C:
5269         * lyxtextclasslist.C:
5270         * minibuffer.C:
5271         * sp_spell.C:
5272         * tabular_funcs.C:
5273         * vc-backend.C:
5274         all c-library variables have been moved into namespace std. Wrap
5275         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
5276
5277         * lyxlength.C:
5278         * tabular-old.C:
5279         * tabular.C:
5280         Add a using std::abs declaration.
5281
5282         * kbmap.h (modifier_pair):
5283         * paragraph.h (InsetTable, InsetList):
5284         * lyxfont.h (FontBits):
5285         type definition made public.
5286
5287         * bufferlist.C (emergencyWriteAll): the compiler complains that
5288         there is more than one possible lyx::class_fun template to choose from.
5289         I re-named the void specialisation as lyx::void_class_fun.
5290
5291         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
5292
5293         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
5294         the compiler is is unable to find tostr in write_attribute.
5295
5296 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5297
5298         * buffer.C (sgmlError): hide #warning
5299
5300 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5301
5302         * xtl/*: get rid of xtl, which is not in use anyway
5303
5304         * LyXAction.C (init):
5305         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
5306         were unimplemented xtl experimentation
5307
5308 2002-06-04  André Pönitz <poenitz@gmx.net>
5309
5310         * lyxfunc.C: disable array operation on simple formulae
5311
5312 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
5313
5314         * converter.C: constify a bit
5315
5316 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
5317
5318         * lyx_gui.C: check xforms version correctly
5319
5320 2002-04-30  Herbert Voss  <voss@lyx.org>
5321
5322         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
5323         "keep" option
5324
5325 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
5326
5327         * lyxvc.C: fix bug 416 (make sure buffer is saved before
5328           attempt to register it with a VCS)
5329
5330 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5331
5332         * lyx_main.C (init): honor variables LYX_DIR_13x and
5333         LYX_USERDIR_13x
5334
5335 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
5336
5337         * buffer.h:
5338         * buffer.C:
5339         * lyx_main.C: fix a crash on bad command line,
5340           and give a useful exit status on error
5341
5342         * lyxfunc.C (doImport): allow -i lyx to work
5343
5344 2002-03-30  André Pönitz <poenitz@gmx.net>
5345
5346         * lyxfunc.C: mathed font changes
5347
5348 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
5349
5350         * LaTeX.C:
5351         * importer.h:
5352         * importer.C:
5353         * lyx_sty.h:
5354         * lyx_sty.C:
5355         * lyxlex.C:
5356         * lyxrow.h:
5357         * lyxtext.h:
5358         * paragraph.h:
5359         * paragraph.C:
5360         * texrow.h:
5361         * texrow.C:
5362         * text.C:
5363         * trans_mgr.h: srcdocs, and some minor cleanups
5364
5365 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5366
5367         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
5368         call getFont all the time)
5369
5370 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5371
5372         * switch from SigC signals to boost::signals
5373
5374 2002-05-29  André Pönitz <poenitz@gmx.net>
5375
5376         * paragraph_pimpl.C (getChar): don't call size() too often...
5377
5378 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5379
5380         * paragraph_pimpl.C (insertChar): do not try to update tables when
5381         appending (pos == size())
5382
5383         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
5384         in order to reduce drastically the number of comparisons needed to
5385         parse a large document
5386
5387 2002-05-29  André Pönitz <poenitz@gmx.net>
5388
5389         * text.C:
5390         * text2.C:
5391         * lyxtextclass.C:
5392         * sp_pspell.h:
5393         * textclasslist.[Ch]:
5394         * sp_ispell.h: whitespace change
5395
5396 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5397
5398         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
5399         lyxaction directly now.
5400
5401 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
5402
5403         * trans.C:
5404         * lyxfont.C:
5405         * lyxvc.C: remove unused headers
5406
5407 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
5408
5409         * Makefile.am:
5410         * buffer.h:
5411         * undostack.h:
5412         * undostack.C:
5413         * undo_funcs.h:
5414         * undo_funcs.C: some cleanups. Use shared_ptr
5415           and a template for the undo stacks.
5416
5417 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
5418
5419         * BufferView_pimpl.h:
5420         * BufferView_pimpl.C:
5421         * kbmap.h:
5422         * kbmap.C:
5423         * kbsequence.h:
5424         * kbsequence.C:
5425         * lyxfunc.h:
5426         * lyxfunc.C:
5427         * text2.C: use key_state/mouse_state
5428
5429 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5430
5431         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
5432         and LSubstring
5433
5434         * chset.C: change include order
5435         (loadFile): use boost regex and get rid of LRegex and LSubstring
5436
5437         * Makefile.am (BOOST_LIBS): new variable
5438         (lyx_LDADD): use it
5439
5440         * LaTeX.C: change include order.
5441         (scanAuxFile): use boost regex and get rid of LRegex and
5442         LSubstring
5443         (deplog): ditto
5444
5445 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
5446
5447         * ColorHandler.h:
5448         * ColorHandler.C:
5449         * FontInfo.h:
5450         * FontInfo.C: moved to frontends/xforms/
5451
5452         * FontLoader.h:
5453         * FontLoader.C: moved into frontends for GUIIzation
5454
5455         * Makefile.am:
5456         * lyx_gui.C:
5457         * lyxfont.C:
5458         * lyxfunc.C: changes from above
5459
5460 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
5461
5462         * LColor.C: remove spurious X include
5463
5464         * BufferView_pimpl.C:
5465         * Makefile.am:
5466         * font.h:
5467         * font.C:
5468         * text.C:
5469         * text2.C: move font metrics to frontends/
5470
5471 2002-05-24  Juergen Vigna  <jug@sad.it>
5472
5473         * undo_funcs.C (textHandleUndo): fix the cursor selection after
5474         setting the undo_cursor.
5475
5476         * ParagraphParameters.h: include local includes first.
5477
5478 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
5479
5480         * BufferView_pimpl.C:
5481         * BufferView_pimpl.h:
5482         * Makefile.am:
5483         * WorkArea.h:
5484         * WorkArea.C:
5485         * screen.C: move WorkArea into frontends/
5486
5487         * lyxscreen.h:
5488         * screen.C:
5489         * text.C:
5490         * BufferView.C:
5491         * BufferView2.C: move LyXScreen into frontends/
5492
5493         * lyxlookup.h:
5494         * lyxlookup.C:
5495         * lyx_gui.C: move lyxlookup into frontends/xforms/
5496
5497 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
5498
5499         * BufferView2.C:
5500         * BufferView_pimpl.C:
5501         * FontLoader.C:
5502         * LyXView.h:
5503         * LyXView.C:
5504         * Makefile.am:
5505         * WorkArea.C:
5506         * XFormsView.h:
5507         * XFormsView.C:
5508         * buffer.C:
5509         * bufferlist.C:
5510         * bufferview_funcs.C:
5511         * converter.C:
5512         * importer.C:
5513         * lyx_cb.C:
5514         * lyx_gui.C:
5515         * lyx_main.C:
5516         * lyx_find.C:
5517         * lyxfunc.C:
5518         * lyxvc.C:
5519         * minibuffer.C:
5520         * text.C:
5521         * text2.C:
5522         * trans.C:
5523         * vc-backend.C: move LyX/XFormsView into frontends/
5524
5525 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
5526
5527         * Makefile.am:
5528         * PainterBase.C:
5529         * PainterBase.h:
5530         * Painter.C:
5531         * Painter.h:
5532         * WorkArea.C:
5533         * WorkArea.h:
5534         * screen.C:
5535         * tabular.C:
5536         * text.C:
5537         * text2.C: move Painter to frontends/
5538
5539 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5540
5541         * buffer.C: comment out some some code that depend upon lyx_format
5542         < 220
5543
5544         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
5545         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
5546
5547         * buffer.h (NO_COMPABILITY): turn off compability
5548
5549         * ColorHandler.C: include scoped_array.hpp
5550
5551         * font.C: Use more specific smart_ptr header.
5552         * Painter.C: ditto
5553         * gettext.C: ditto
5554         * ShareContainer.h: ditto
5555         * lyx_main.h: ditto
5556         * kbmap.h: ditto
5557         * FontInfo.h: ditto
5558         * BufferView_pimpl.h: ditto
5559         * ColorHandler.h: ditto
5560
5561         * kbmap.C (defkey): change call to shared_ptr::reset
5562
5563 2002-05-21  Juergen Vigna  <jug@sad.it>
5564
5565         * buffer.C (insertErtContents): fix to insert ert asis if it is
5566         non empty. Skip it completely if it contains only whitespaces.
5567
5568 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
5569
5570         * BufferView_pimpl.C:
5571         * BufferView2.C: clear selection on paste (bug 393)
5572
5573 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5574
5575         * DepTable.C: include ctime
5576
5577 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
5578
5579         * buffer.C (latexParagraphs): Add new argument (moving_arg).
5580
5581 2002-05-14  Juergen Vigna  <jug@sad.it>
5582
5583         * text.C (breakParagraph): fixed function to honor the keepempty
5584         layout in the right maner and also to permit the right breaking
5585         algorithm on empty or non empyt keepempty paragraphs.
5586
5587         * paragraph.C (breakParagraph): we have to check also if the par
5588         is really empty (!size()) for isempty otherwise we do the wrong
5589         paragraph break.
5590
5591 2002-05-10  Juergen Vigna  <jug@sad.it>
5592
5593         * buffer.[Ch] : The following are only changes to the ert
5594         compatibility read reading old LaTeX layout and font stuff and
5595         convert it to ERTInsets.
5596
5597         * buffer.h: added isErtInset().
5598
5599         * buffer.C (struct ErtComp): add a fromlayout bool to check
5600         if we're inside a LaTeX layout.
5601         (isErtInset): new helper function.
5602         (insertErtContents): look for other ert insets before this one
5603         and insert the contents there, so that we don't have subsequent
5604         ERT insets with nothing between them. This way we create only one
5605         inset with multiple paragraphs. Also check if we don't insert only
5606         spaces ' ' as they are ignored anyway afterwards in the .tex file
5607         so if we have only spaces we will ignore this latex part in the
5608         new file.
5609         (parseSingleLyXformat2Token \\layout): better compatibility when
5610         reading layout-latex stuff.
5611         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
5612         language tag.
5613         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
5614         stuff after reading the inset only get the information back from
5615         the stack.
5616
5617 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
5618
5619         * buffer.C (makeLaTeXFile): Put language options after loading babel.
5620
5621         * LaTeXFeatures.C (getBabelOptions): New method.
5622
5623 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5624
5625         * BufferView_pimpl.C (Dispatch): work around missing argument for
5626         'layout'
5627
5628 2002-05-08  Juergen Vigna  <jug@sad.it>
5629
5630         * text.C (leftMargin): handle paragraph leftindent.
5631
5632         * paragraph.C (writeFile): write the new \\leftindent tag.
5633         (validate): handle leftindent code.
5634         (TeXEnvironment): handle paragraphleftindent code again.
5635
5636         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
5637
5638         * buffer.C (parseSingleLyXformat2Token): added compatibility code
5639         for paragrap_extra indent code and new token \\leftindent.
5640         (latexParagraphs): handle the leftindent as environment.
5641
5642         * ParameterStruct.h: added leftindent support.
5643
5644         * ParagraphParameters.C (leftIndent): added support functions for
5645         the paragraph left indent.
5646
5647         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
5648         more appropriate.
5649
5650 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
5651
5652         * paragraph.C (isRightToLeftPar): Return false for a paragraph
5653         inside insetERT.
5654
5655         * text.C (computeBidiTables): No bidi in insetERT.
5656
5657         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
5658         in RTL documents.
5659
5660 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5661
5662         * version.C.in: pre 5
5663
5664 2002-05-02  José Matos  <jamatos@fep.up.pt>
5665         * buffer.C (makeDocBookFile): white space changes, add newline to
5666         command styles.
5667         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
5668
5669         * tabular.C (docBook): fix typo.
5670
5671 2002-05-03  Juergen Vigna  <jug@sad.it>
5672
5673         * screen.C (drawFromTo): recalculate the rowpointer if we had a
5674         change in LyXText as we can not be sure it was not freed.
5675         (drawOneRow): remove unused code.
5676
5677         * text.C (drawInset): redo the calculation of the need_break_row as
5678         it could have a row which was already freed.
5679         (draw): look at the return value of drawInset and return false if
5680         it also returned false.
5681         (paintRowText): look at the return value of draw and return false if
5682         it also returned false.
5683
5684         * lyxtext.h: added bool return type to drawInset() and draw() so that
5685         if we have a change in the row so that the rowbreak has to be redone
5686         we abort drawing as it will be called again.
5687
5688 2002-05-02  Juergen Vigna  <jug@sad.it>
5689
5690         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
5691         a change in the maintext also if we're inside an inset.
5692         (Dispatch): set the cursor again after a break line and after the
5693         screen has been updated as it could be we're in a different row.
5694
5695         * text2.C (fixCursorAfterDelete): check to make sure we don't request
5696         to set the cursor behind the pargraph with > size().
5697         (setCursor): check also for the same paragraph when checking where
5698         to put the cursor if we have a NFR inset.
5699
5700         * buffer.C (parseSingleLyXformat2Token): move the compatibility
5701         parts of layout read further up as it still was in the wrong
5702         position.
5703
5704 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5705
5706         * screen.C (drawFromTo): change sine fullRebreak always return
5707         true.
5708
5709         * buffer.C (parseSingleLyXformat2Token): reindent some
5710
5711         * BufferView_pimpl.C (update): change since fullRebreak always
5712         return true.
5713         (Dispatch): git rid of the last hardcoded "Standard"s.
5714
5715 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5716
5717         * text2.[Ch] (fullRebreak): make it return void now that we always
5718         returned true.
5719
5720 2002-04-30  Juergen Vigna  <jug@sad.it>
5721
5722         * buffer.C (parseSingleLyXformat2Token): reset the font before the
5723         ert compatibility check for "latex" layout.
5724
5725 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
5726
5727         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
5728         minipages: use col% instead of p%, and also use the current font.
5729         (makeLaTeXFile): Fix use babel condition.
5730         (parseSingleLyXformat2Token): Correct font when reading old floats.
5731
5732 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
5733
5734         * BufferView_pimpl.C (Dispatch): Check that float type exists when
5735         inserting list of floats.
5736
5737 2002-04-25  Herbert Voss  <voss@lyx.org>
5738
5739         * MenuBackend.C (expand): don't add the graphics extensions to the
5740         export menu
5741
5742 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5743
5744         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
5745         non-existing layout, do not complain if it was the default layout
5746         of the original class (bug #342)
5747
5748 2002-04-24  Juergen Vigna  <jug@sad.it>
5749
5750         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
5751         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
5752
5753 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
5754
5755         * buffer.C (getBibkeyList): If using \bibliography, return the
5756         option field with the reference itself. Enables us to provide natbib
5757         support when using \bibliography.
5758
5759 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
5760
5761         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
5762
5763         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
5764         natbib is provided by the LaTeX class.
5765
5766 2002-04-23  Juergen Vigna  <jug@sad.it>
5767
5768         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
5769         Wakeup functions.
5770
5771         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
5772
5773 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5774
5775         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
5776
5777         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
5778         ensuremath around textordmasculine, textordfeminine and
5779         textdegree.
5780
5781 2002-04-19  Juergen Vigna  <jug@sad.it>
5782
5783         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
5784         reinitializing the buffer otherwise row-dimensions may be wrong.
5785         (update): reset also the selection cursors if they do exits otherwise
5786         their x/y positions may be wrong.
5787
5788         * text2.C (cursorDown): don't enter the inset if we came from a row
5789         above and are one row over the inset.
5790
5791         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
5792         really leaving an inset.
5793
5794 2002-04-18  Juergen Vigna  <jug@sad.it>
5795
5796         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
5797         of the selected paragraph does not have the selected layout also if
5798         the last one had!
5799
5800         * text2.C (setLayout): fixed bug which did not change last selected
5801         paragraph.
5802
5803         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
5804         changed the read and substituted \\end_float with \\end_inset!
5805
5806         * BufferView_pimpl.C (cursorPrevious):
5807         (cursorNext): fixed to make it work with rows heigher than the work
5808         area without moving the cursor only the draw of the row.
5809         (workAreaMotionNotify): fix jumping over high rows.
5810
5811 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5812
5813         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
5814         Ressler.
5815
5816 2002-04-16  Juergen Vigna  <jug@sad.it>
5817
5818         * text2.C (setCursor): set also the irow().
5819         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
5820         (cursorUp):
5821         (cursorDown): support for locking an inset if the x_fix value goes
5822         inside it. That way I can transverse insets too with cursor up/down.
5823
5824         * lyxrow.h: added irow helper function same as other (i) functions.
5825
5826         * BufferView_pimpl.C (cursorPrevious):
5827         (cursorNext): fixed for insets!
5828
5829 2002-04-15  Juergen Vigna  <jug@sad.it>
5830
5831         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
5832         position otherwise it is wrong in some cases.
5833
5834         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
5835         inside the inset before the call.
5836
5837 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
5838
5839         * buffer.[Ch] (getBibkeyList): make it const.
5840
5841 2002-04-12  Juergen Vigna  <jug@sad.it>
5842
5843         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
5844
5845         * text2.C (getCursorX): new helper function
5846         (setCursor): compute also ix_
5847         (setCursorFromCoordinates): set also ix.
5848
5849         * lyxcursor.h: added ix_ and helper functions.
5850
5851         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
5852
5853         * buffer.C (insertStringAsLines): dont break paragraph if the this
5854         paragraph is inside an inset which does not permit it!
5855
5856         * text.C (breakParagraph): honor keepempty flag and break the paragraph
5857         also with no chars on this paragraph.
5858         (paintRowText): only paint stuff if it's inside the workarea!
5859
5860         * paragraph.C (breakParagraph): honor keepempty flag and break the
5861         paragraph always below not above.
5862
5863         * BufferView2.C (unlockInset): update the paragraph layout on inset
5864         unlock as we changed paragraph in such a case.
5865
5866         * lyxfind.C (LyXFind): clear the former selection if not found!
5867
5868         * text2.C (insertInset): freeze Undo after setUndo so that it is not
5869         again called in insertChar().
5870
5871         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
5872         an inset which uses the whole row!
5873         (rightMargin): ditto.
5874         (insertChar): force a rebreak if we inserted an inset!
5875
5876 2002-03-28  Herbert Voss  <voss@lyx.org>
5877
5878         * lyxlength.[Ch]: add inBP() to get the right PS-point
5879         units (BigPoint). With inPixels we have rounding errors
5880
5881 2002-04-11  Juergen Vigna  <jug@sad.it>
5882
5883         * text2.C (setCursorFromCoordinates): set iy to the right value.
5884         (setCursor): add check if row->previous exists!
5885
5886         * buffer.C (parseSingleLyXformat2Token): reset font after read of
5887         an old float_type as this was the case in the old code!
5888
5889         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
5890
5891         * BufferView2.C (showLockedInsetCursor): use iy
5892         (fitLockedInsetCursor): ditto
5893
5894         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
5895         locked insets as there we have the right value now.
5896
5897         * lyxcursor.C: added iy_ variable and iy functions to set to the
5898         baseline of cursor-y of the locked inset.
5899
5900         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
5901         (setCursor): fixed for insets which need a full row.
5902
5903         * text.C (rowLastPrintable): don't ignore the last space when before
5904         an inset which needs a full row.
5905         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
5906         as last character of a row when before a inset which needs a full row.
5907
5908 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5909
5910         * version.C.in: update date
5911
5912         * text2.C (fullRebreak): try to always return true and see what
5913         happens...
5914
5915 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5916
5917         * MenuBackend.C (expand): use Floating::listName
5918
5919         * FloatList.C (FloatList): add listName argument to the built-in
5920         floats
5921
5922         * Floating.[Ch]: add listName member, which is the 'List of XXX'
5923         text associated with the float.
5924
5925 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5926
5927         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
5928
5929 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
5930
5931         * ShareContainer.h: add a couple of missing typenames.
5932
5933 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
5934
5935         * lyxrc.C (getDescription): use _() correctly rather than N_().
5936
5937 2002-03-28  Herbert Voss  <voss@lyx.org>
5938
5939         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
5940         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
5941
5942 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5943
5944         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
5945         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
5946
5947 2002-03-29  Juergen Vigna  <jug@sad.it>
5948
5949         * lyxfunc.C (dispatch): add a missing fitCursor call.
5950
5951         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
5952         it was scrolled by a cursor move, so return the bool status.
5953
5954         * BufferView.C (fitCursor): return the bool flag also to the outside
5955         world as this is needed.
5956
5957         * screen.C (toggleToggle): don't subtract the offset if it's positive.
5958
5959         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
5960         call the edit() as it is not needed (and wrong) IMO.
5961         (workAreaButtonPress): set the screen_first variable before evt.
5962         unlock the inset as this may change screen_first and then we have
5963         a wrong y position for the click!
5964
5965 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5966
5967         * MenuBackend.C (expand): another translation that I missed
5968
5969 2002-03-28  Juergen Vigna  <jug@sad.it>
5970
5971         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
5972
5973         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
5974
5975 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5976
5977         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
5978
5979         * MenuBackend.C (expand): fix export/view/update when there is no
5980         document open.
5981
5982 2002-03-27  Herbert Voss  <voss@lyx.org>
5983
5984         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
5985         and text%
5986
5987 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
5988
5989         * bufferview_funcs.C (currentState): only show paragraph number
5990         for is DEVEL_VERSION is set.
5991
5992         * lyxfunc.C (dispatch): put warning in INFO channel
5993
5994         * MenuBackend.C (expand): translate the name of floats
5995
5996         * FloatList.C (FloatList): mark the float names for translation
5997
5998         * converter.C (convert): use LibScriptSearch
5999
6000 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6001
6002         * MenuBackend.C (defaults): fix default menu (we might as well get
6003         rid of it...)
6004
6005 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6006
6007         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
6008         directory.
6009
6010 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6011
6012         * lyxvc.C: reorder includes.
6013
6014 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
6015
6016         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
6017           properly
6018
6019 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
6020
6021         * CutAndPaste.C: change layouts earlier on paste
6022           to avoid crashing when calling getFont()
6023
6024 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
6025
6026         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
6027         irritating #error.
6028
6029 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6030
6031         * WorkArea.C: remove 'Pending' debug message.
6032
6033         * most files: ws cleanup
6034
6035         * buffer.[Ch]: ws changes
6036
6037         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
6038
6039 2002-03-21  Juergen Vigna  <jug@sad.it>
6040
6041         * tabular.C (SetMultiColumn): collapse also the contents of the
6042         cells and set the last border right. Added a Buffer const * param.
6043
6044 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6045
6046         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
6047         linking or not.
6048
6049 2002-03-19  Juergen Vigna  <jug@sad.it>
6050
6051         * text2.C (clearSelection): reset also xsel_cache.
6052
6053         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
6054         where it needs to be called (John tells us to do so too :)
6055         (selectionLost): reset sel_cache.
6056
6057         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
6058
6059 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6060
6061         * text2.C (setCursorIntern): put debuging code in INSETS channel
6062
6063 2002-03-19  André Pönitz <poenitz@gmx.net>
6064
6065         * lyxfunc.C: tiny whitespace change
6066
6067 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6068
6069         * ToolbarDefaults.C (init):
6070         * LyXAction.C (init):
6071         * commandtags.h:
6072         * BufferView_pimpl.C (Dispatch):
6073         * lyxfunc.C (dispatch): remove LFUN_DEPTH
6074
6075 2002-03-19  Allan Rae  <rae@lyx.org>
6076
6077         * exporter.C (Export): removeAutoInsets before doing anything else.
6078         While I've just introduced a dependency on BufferView this really is
6079         the best place to clean the buffer otherwise you need to cleanup in
6080         a dozen places before calling export or cleanup in a dozen functions
6081         that export calls.
6082
6083         * converter.C (runLaTeX):
6084         (scanLog): Better handling of removeAutoInsets and screen updates.
6085
6086         * lyxfunc.C (dispatch): small whitespace changes
6087
6088 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6089
6090         * WorkArea.C (C_WorkAreaEvent): return a value.
6091         (event_cb): return 1 if we handled the event, 0 otherwise.
6092
6093         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
6094
6095 2002-03-18  Juergen Vigna  <jug@sad.it>
6096
6097         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
6098         (GetAdditionalWidth): ditto.
6099         (RightLine): ditto.
6100         (LeftLine): ditto.
6101
6102         * BufferView2.C (copy): use getLyXText() so that we do it inside an
6103         inset if we're there actually (probably not used right now but this
6104         is the direction to go for unifying code).
6105         (paste): disable code to clear the selection.
6106
6107         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
6108         inside an InsetText and move the check further up as it is in the
6109         wrong place.
6110
6111         * text2.C (pasteSelection): set a selection over the pasted text.
6112
6113 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
6114
6115         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
6116         and libgraphics to build on Cygwin.
6117
6118 2002-03-15  Juergen Vigna  <jug@sad.it>
6119
6120         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
6121         inserting an Inset into the paragraph. I know this is not the best
6122         fix but we already use current_view in CutAndPaste so we will remove
6123         all of it's using at the same time.
6124
6125         * buffer.C (sgmlError): deactivated function till it is rewritten in
6126         the right mode, now it can create problems.
6127
6128         * paragraph.C (isLineSeparator): check if getInset returns != 0,
6129         before accessing it.
6130
6131 2002-03-14  Juergen Vigna  <jug@sad.it>
6132
6133         * undo_funcs.C (textHandleUndo): do the right thing when updating
6134         the inset after the undo/redo.
6135
6136         * text2.C (setCursor): just some testcode for #44 not ready yet.
6137
6138         * undo_funcs.C (textHandleUndo): set the next() and previous()
6139         pointers of the paragraph to 0 before deleting otherwise we have
6140         problems with the Paragraph::[destructor].
6141
6142         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
6143         on a paragraph insertion.
6144
6145 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6146
6147         * buffer.C (asciiParagraph): use += operator for char append to
6148         string.
6149
6150         * paragraph.C (getFontSettings): compare >= not just >
6151         (highestFontInRange): ditto
6152         (setFont): ditto
6153
6154 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6155
6156         * paragraph.C: change several algorithm to be more appripriate for
6157         the problem domain. This is lookip in FontList and in the InsetList.
6158
6159 2002-03-13  André Pönitz <poenitz@gmx.net>
6160
6161         * commandtags.h:
6162         * LyXAction.C: remove unused LFUN_MATH_MACROARG
6163
6164 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
6165
6166         * commandtags.h:
6167         * LyXAction.C:
6168         * lyxfunc.C:
6169         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
6170
6171 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6172
6173         * Painter.C (display): anon helper function, adjust code for this
6174         change.
6175         (pixmap): remove function.
6176
6177         * Painter.h: remove private display variable.
6178
6179         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
6180
6181 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
6182
6183         * WorkArea.[Ch]: remove figinset_canvas cruft.
6184
6185 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6186
6187         * lyxtextclass.C (operator): add one item cache optimization.
6188
6189         * bufferlist.h: doxy changes
6190
6191         * bufferlist.C: ws changes
6192
6193         * DepTable.[Ch] (ext_exist): place const in the right spot.
6194
6195         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
6196         call resizeInsets.
6197         (workAreaExpose): call resizeInsets when the with BufferView changes.
6198         (Dispatch): adjust for protectedBlank removal
6199         (specialChar): call updateInset if the insert went ok.
6200
6201         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
6202         specialChar instead.
6203
6204         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
6205
6206         * BufferView.h: doxy change
6207
6208         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
6209
6210         * lyxtextclass.C (operator[]): remove non-const version
6211         (defaultLayout): remove non-const version
6212
6213 2002-03-12  Juergen Vigna  <jug@sad.it>
6214
6215         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
6216         did resize the LyXText too.
6217
6218         * buffer.C (readLyXformat2): set layout information on newly allocated
6219         paragraphs.
6220
6221         * tabular.C (OldFormatRead): set layout information on the paragraph.
6222
6223 2002-03-12  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
6224
6225         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
6226
6227 2002-03-11  Juergen Vigna  <jug@sad.it>
6228
6229         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
6230         plainly wrong.
6231         (resizeCurrentBuffer): force also the insets to resize themselfes.
6232         (moveCursorUpdate): fixed up for InsetText.
6233
6234 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
6235
6236         * commandtags.h:
6237         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
6238         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
6239         value of Dialogs::tooltipsEnabled().
6240         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
6241
6242 2002-03-08  Juergen Vigna  <jug@sad.it>
6243
6244         * BufferView_pimpl.C (updateInset): update inset inside inset also
6245         if it isn't inside theLockingInset().
6246
6247 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6248
6249         * buffer.C (asciiParagraph): redo some of the word and line length
6250         handling.
6251         (getLists): look for Caption instead of caption.
6252
6253 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6254
6255         * buffer.C (Buffer): initialize niceFile to true
6256         (makeLaTeXFile):
6257         (makeLinuxDocFile):
6258         (makeDocBookFile): make sure niceFile is true on exit
6259
6260 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6261
6262         * buffer.C (makeLaTeXFile): escape ~ in \input@path
6263
6264 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
6265
6266         * LyXSendto.C: remove.
6267         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
6268         * lyx_gui.C: remove now-redundant comment.
6269         * ColorHandler.h: remove forward declaration of class WorkArea.
6270         * lyxfunc.C: remove #include "WorkArea.h".
6271
6272 2002-03-07  Juergen Vigna  <jug@sad.it>
6273
6274         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
6275         got moved away with the DEPM and also set the inset_owner always
6276         right which before could have been omitted.
6277
6278 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6279
6280         * buffer.C (parseSingleLyXformat2Token): use default layout is the
6281         wanted layout is not found.
6282
6283 2002-03-07  Juergen Vigna  <jug@sad.it>
6284
6285         * CutAndPaste.C (cutSelection): another layout settings forgotten.
6286
6287 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6288
6289         * paragraph.C (breakParagraph): use default layout not layout of
6290         prev paragraph.
6291         (Paragraph): clear ParagraphParameters.
6292
6293 2002-03-06  Juergen Vigna  <jug@sad.it>
6294
6295         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
6296         otherwise it would not be a valid lenght. Fixed a special case in
6297         the minipage compatibility read where we end the document with a
6298         minipage.
6299
6300         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
6301         was set as it could be 0 for InsetTexts first entry.
6302
6303 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6304
6305         * paragraph.C (writeFile): if layout is empty write out
6306         defaultLayoutName().
6307
6308         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
6309         file without named layout we set layout to defaultLayoutName().
6310
6311 2002-03-06  Juergen Vigna  <jug@sad.it>
6312
6313         * CutAndPaste.C (copySelection): set layout for new paragraph.
6314
6315         * text.C (prepareToPrint): leave ERT inset left aligned
6316         (leftMargin): don't indent paragraphs inside ERT insets
6317
6318 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6319
6320         * paragraph.C (breakParagraph): dont call clear do the work manually
6321
6322         * paragraph.[Ch] (clear): remove function
6323
6324 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6325
6326         * paragraph.C (Paragraph): dont call clear, the work has already
6327         been done.
6328
6329         * lyxtextclass.C (operator): assert if n is empty
6330
6331         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
6332         work manually instead.
6333
6334 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
6335
6336         * BufferView_pimpl.C: protect selectionLost against text == 0
6337
6338 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6339
6340         * text.C (breakParagraph): fix a setting layout to '0' problem.
6341
6342 2002-03-05  José Abílio Oliveira Matos  <jamatos@novalis.fc.up.pt>
6343
6344         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
6345         final location of file, for the included files, and graphics.
6346
6347 2002-03-05  Juergen Vigna  <jug@sad.it>
6348
6349         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
6350
6351 2002-03-04  Juergen Vigna  <jug@sad.it>
6352
6353         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
6354
6355         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
6356         last column of multicolumn cells.
6357         (SetWidthOfMulticolCell): recalculate NMC and real columns.
6358
6359 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
6360
6361         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
6362         file if it doesn't go to a temporary file.
6363
6364         * buffer.C (sgmlOpenTag):
6365         (sgmlCloseTag):  remove extra newline insertion.
6366
6367 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6368
6369         * text.C (getRowNearY): comment out debug msg
6370
6371 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6372
6373         * text2.C: first -> first_y
6374
6375         * text.C (getRowNearY): add some attemts at a possible
6376         optimization, not working.
6377
6378         * tabular.[Ch]: add BufferParams to several function so that newly
6379         created paragraph can be initialized to he default layotu for the
6380         buffers textclass.
6381
6382         * tabular-old.C (ReadOld): add buf->params to call of Init
6383
6384         * screen.C: rename text->first to text->first_y
6385
6386         * paragraph.C (breakParagraph): always set layout in the broken
6387         paragraph
6388
6389         * lyxtextclass.C (Read): remove lowercase
6390         (hasLayout): ditto
6391         (operator): ditto
6392         (delete_layout): ditto
6393
6394         * lyxtext.h: rename first -> first_y
6395
6396         * lyxlayout.C (Read): remove lowercase
6397         (name): ditto
6398         (setName): ditto
6399         (obsoleted_by): ditto
6400
6401         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
6402
6403         * buffer.C (insertErtContents): add params are to InsetERT
6404         (parseSingleLyXformat2Token): add code to check if a paragraphs
6405         layout really exist.
6406         (parseSingleLyXformat2Token): add params to several inset
6407         constructors
6408         (asciiParagraph): remove lowercase, do the layout comparisons with
6409         no_case
6410
6411         * BufferView_pimpl.C (cursorNext): first -> first_y
6412         (resizeCurrentBuffer): first -> first_y
6413         (updateScrollbar): first -> first_y
6414         (scrollCB): first -> first_y
6415         (workAreaMotionNotify): first -> first_y
6416         (workAreaButtonPress): first -> first_y
6417         (checkInsetHit): first -> first_y
6418         (cursorPrevious): first -> first_y
6419         (cursorNext): first -> first_y
6420         (Dispatch): add buffer_->params to severl inset contructors
6421
6422 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6423
6424         * lyxlayout.C (Read): remove some debug info that I forgot.
6425
6426         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
6427         clean up the code slightly.
6428         (makeLinuxDocFile): ditto
6429         (makeDocBookFile): ditto
6430
6431         * text2.C: layout as string
6432
6433         * text.C: layout as string
6434
6435         * paragraph_pimpl.C: layout as string
6436
6437         * paragraph.[Ch]: layout as string
6438
6439         * lyxtextclasslist.[Ch]: layout as string
6440
6441         * lyxtextclass.[Ch]: layout as string
6442
6443         * lyxtext.h: layout as string
6444
6445         * lyxlayout.[Ch]: layout as string
6446
6447         * lyx_cb.C: layout as string
6448
6449         * bufferview_funcs.C: layout as string
6450
6451         * bufferparams.C: layout as string
6452
6453         * buffer.C: layout as string
6454
6455         * LyXView.[Ch]: layout as string
6456
6457         * LaTeXFeatures.[Ch]: layout as string
6458
6459         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
6460
6461         * BufferView_pimpl.C: change current_layout to string, remove
6462         lyx::layout_type.
6463         (Dispatch):
6464         (smartQuote):
6465         (insertInset):
6466         (workAreaButtonRelease): layout as string
6467
6468         * BufferView2.C (unlockInset): adjust
6469
6470         * vspace.C (asLatexCommand): use an explict temp variable.
6471
6472 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
6473
6474         * Makefile.am: use FRONTEND_*
6475
6476 2002-03-01  Juergen Vigna  <jug@sad.it>
6477
6478         * tabular.C (SetWidthOfMulticolCell): changed to something better
6479         I hope but still work in progress.
6480         (recalculateMulticolumnsOfColumn): renamed function from
6481         recalculateMulticolCells as it is more appropriate now.
6482         (SetWidthOfCell): calculate multicols better.
6483
6484 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6485
6486         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
6487
6488         * lyxfunc.C (processKeySym): print sequence also if it is
6489         `deleted' (complete)
6490
6491         * kbsequence.C (print): print sequence even if it is deleted
6492         (complete would be a better word, actually).
6493
6494         * lyxfunc.C (dispatch): print complete options after a prefix key
6495
6496         * vspace.C (asLatexCommand): rewrite in a slightly different form.
6497
6498 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
6499
6500         * text2.C (setCharFont): eliminate setCharFont code duplication.
6501
6502 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6503
6504         * BufferView_pimpl.C (Dispatch): remove bogus handling of
6505         LFUN_TABULAR_FEATURE (bug #177)
6506
6507 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
6508
6509         * Makefile.am: remove figure.h
6510
6511 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
6512
6513         * Bufferview_pimpl.C:
6514         * CutAndPasteC:
6515         * LaTeX.C:
6516         * LyXSendto.C:
6517         * buffer.C:
6518         * bufferlist.C:
6519         * converter.C:
6520         * language.C:
6521         * lyxfunc.C:
6522         * lyxvc.C:
6523         * paragraph.C:
6524         * text.C:
6525         * text2.C: remove #include "lyx_gui_misc.h".
6526
6527         * LaTeX.C: added #include <cstdio>
6528
6529 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6530
6531         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
6532         that the paragraph following this one can have.
6533
6534         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
6535
6536         * vspace.C (asLatexCommand): fix bogus gcc warning
6537
6538         * Makefile.am (lyx_SOURCES): remove vms_defines.h
6539
6540 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
6541
6542         * text2.C (setLayout): get rid of redundant code
6543
6544 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
6545
6546         * text2.C (incDepth): make sure depth cannot be increased beyond
6547         reasonable values.
6548
6549 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
6550
6551         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
6552         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
6553
6554         * PainterBase.h (image):
6555         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
6556         a LyXImage const *.
6557
6558 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
6559
6560         * BufferView.C:
6561         * BufferView.h:
6562         * BufferView_pimpl.C:
6563         * BufferView_pimpl.h:
6564         * LaTeXFeatures.C:
6565         * LyXAction.C:
6566         * LyXView.C:
6567         * Makefile.am:
6568         * UpdateList.h:
6569         * UpdateList.C:
6570         * buffer.C:
6571         * figure.h:
6572         * figureForm.C:
6573         * figureForm.h:
6574         * figure_form.C:
6575         * figure_form.h:
6576         * lyx_cb.C:
6577         * lyx_gui.C:
6578         * lyx_gui_misc.C:
6579         * lyxfunc.C:
6580         * sp_base.h:
6581         * sp_ispell.h:
6582         * sp_pspell.h:
6583         * sp_spell.C: remove fig inset, and the crap house of
6584           cards that follows it
6585
6586 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
6587
6588         * Makefile.am:
6589         * lyxserver.C:
6590         * os2_defines.h:
6591         * os2_errortable.h:
6592         * nt_defines.h: move .h into support/
6593
6594         * vms_defines.h: remove
6595
6596         * WorkArea.C: add space in debug output
6597
6598         * text2.C:
6599         * paragraph.C:
6600         * buffer.C: add WITH_WARNINGS
6601
6602         * vc-backend.h:
6603         * vc-backend.C:
6604         * bufferlist.C: s/retrive/retrieve/, add docs
6605
6606         * vspace.h:
6607         * vspace.C:
6608         * kbmap.h:
6609         * lyxlength.h:
6610         * lyxgluelength.h:
6611         * length_common.h:
6612         * chset.h:
6613         * chset.C: add docs
6614
6615         * lyxgui.C: add ID to X error handler
6616
6617         * lyxtestclass.c: fix typo
6618
6619 2002-02-26  Juergen Vigna  <jug@sad.it>
6620
6621         * tabular_funcs.C (write_attribute): changed so that some default
6622         attributes are not written at all.
6623         (getTokenValue): set default values before trying to read the
6624         value so we have the return value always set as default if we don't
6625         find the token we search for.
6626
6627         * tabular.C (Write): write bools as bools not as strings!
6628
6629 2002-02-22  Juergen Vigna  <jug@sad.it>
6630
6631         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
6632         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
6633
6634         * text.C (leftMargin): don't add an indent for paragraphs inside
6635         tabular cells (fix #208).
6636
6637 2002-02-21  José Matos  <jamatos@fep.up.pt>
6638
6639         * tabular.C (docBook): fixed support for long tables.
6640
6641 2002-02-20  Juergen Vigna  <jug@sad.it>
6642
6643         * text2.C (getFont): get the drawing font of the Inset if this
6644         paragraph is inside an inset (only important for InsetERT for now).
6645
6646         * buffer.C (insertErtContents): use new lanugage params in ERT
6647         constructor.
6648
6649         * CutAndPaste.C: commenting out seemingly uneeded code.
6650
6651 2002-02-19  Allan Rae  <rae@lyx.org>
6652
6653         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
6654         Iterators might be simple to use but they also get invalidated.
6655         (removeAutoInsets): renamed saved cursor tracking variables and added
6656         some comments to clarify what everything does.
6657
6658 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
6659
6660         * Chktex.C:
6661         * LaTeX.C:
6662         * LyXSendto.C:
6663         * converter.C:
6664         * lyx_cb.C:
6665         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
6666         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
6667
6668         * lyxfunc.C:
6669         * vc-backend.h: remove #include "support/syscall.h"
6670
6671         * LaTeX.C:
6672         * LyXSendto.C:
6673         * converter.C: rearrange #includes in Lars' approved fashion.
6674
6675         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
6676         forward declare class Timeout in the header file.
6677
6678         * XFormsView.C: changes due to the above.
6679
6680         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
6681         similar to LyXView.
6682
6683         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
6684         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
6685
6686 2002-02-18  José Matos  <jamatos@fep.up.pt>
6687
6688         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
6689         insets contents.
6690
6691 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
6692
6693         * a lot of small ws changes
6694         * add a lot of using std::XXX
6695         * use std construcs some places where approp.
6696         * use some exisint stuff from lyxfunctional where approp.
6697         * Make file changes to use partial linking (lets test this now...)
6698
6699 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
6700
6701         * Chktex.C:
6702         * buffer.C:
6703         remove #include "support/syscontr.h" as it's redundant. Always has been.
6704
6705         * Chktex.C:
6706         * LaTeX.C:
6707         * LyXSendto.C:
6708         * converter.C:
6709         * lyx_cb.C:
6710         * vc-backend.C:
6711         change Systemcalls::System to Systemcalls::Wait and
6712         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
6713         No change of functionality, just reflects the stripped down Systemcalls
6714         class.
6715
6716 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
6717
6718         * debug.[Ch]: add a GRAPHICS type to the enum.
6719
6720 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6721
6722         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
6723
6724         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
6725         there is an inset.
6726
6727 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6728
6729         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
6730         match the changes below.
6731
6732         * text2.C (toggleInset): if there is not editable inset at cursor
6733         position, try to see if cursor is _inside_ a collapsable inset
6734         and close it.
6735
6736 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6737
6738         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
6739         document menu has a nice checkbox
6740
6741 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6742
6743         * lyxlength.C (asLatexString): change PW to output as percent of
6744         \textwidth.
6745
6746         * lengthcommon.C: change '%' to 't%'
6747
6748         * lyxfunc.C (dispatch): a few comments from Martin
6749
6750 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
6751
6752         * WorkArea.h:
6753         * WorkArea.C:
6754         * BufferView_pimpl.h:
6755         * BufferView_pimpl.C: clear our selection when X tells us we've lost
6756           the X selection.
6757
6758 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6759
6760         * vspace.C (inPixels): fix compiler warning
6761
6762 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6763
6764         * lyxfunc.C (getStatus): fix status message for disabled commands.
6765
6766 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
6767
6768         * BufferView_pimpl.C: fix crash on close buffer
6769         during selection (#227)
6770
6771 2002-01-27  Herbert Voss  <voss@lyx.org>
6772
6773         * buffer.C: link old Figure to new graphic inset
6774
6775 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
6776
6777         * FontLoader.C (getFontinfo): Change the latex font names in order
6778         to match the names of type1inst.
6779
6780 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6781
6782         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
6783
6784         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
6785         (extchanged): ditto
6786         (ext_exist): ditto
6787         (remove_files_with_extension): ditto
6788         (remove_file): ditto
6789         (write): ditto
6790
6791         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
6792         document is smaller than the work area height. Do not initialize
6793         static variables to 0.
6794
6795 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6796
6797         * lyx_gui.C (init): give the toolbar tooltips a normal font.
6798
6799         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
6800         LFUN_LAYOUT_PARAGRAPHS.
6801
6802         * tabular.C (GetCellFromInset): new method. Finds an inset in a
6803         tabular. It is possible to provide a possible cell, which will
6804         typically be the actcell from the corresponding insettabular
6805
6806         * lyxfunc.C (getStatus): small cleanup; disable
6807         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
6808         true
6809
6810 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6811
6812         * tabular.C (Validate): remove broken optimization (fixes bug #201)
6813
6814         * paragraph.C (startTeXParParams):
6815         (endTeXParParams): new methods. The LaTeX code to
6816         start/end paragraph formatting
6817         (simpleTeXOnePar): call startTeXParParams also when paragraph is
6818         empty (fixes bug #200)
6819
6820         * vspace.C (inPixels): adapt to the change below
6821         (inPixels): [later] more cleanups (remove unused variables)
6822
6823         * lyxlength.C (inPixels): change to use a width and a height as
6824         parameter.
6825
6826 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6827
6828         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
6829         Replaced with \paperwidth
6830
6831         * DepTable.C (insert): add std:: qualifier
6832
6833 2002-01-18  Allan Rae  <rae@lyx.org>
6834
6835         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
6836         updated also?
6837
6838         * text.C (drawInset): Turned out I didn't know enough about how
6839         rebreaking worked.  This fixes most of the redraw problems.  I see
6840         an occasional cursor trail when a line is broken now and the cursor
6841         placement can seem out by a few pixels also after a rebreak.
6842
6843 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6844
6845         * buffer.C (parseSingleLyXformat2Token): update because minipage
6846         width is now a LyXLength
6847
6848         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
6849
6850         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
6851         math insets
6852
6853 2002-01-17  Juergen Vigna  <jug@sad.it>
6854
6855         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
6856
6857         * BufferView2.C (lockInset): call edit() so that theLockingInset()
6858         is set correctly and the inset is updated correctly.
6859
6860 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6861
6862         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
6863         the beginning of the loop.
6864
6865 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
6866
6867         * lyxrc.C: improve help for use_scalable_fonts
6868
6869 2002-01-17  Allan Rae  <rae@lyx.org>
6870
6871         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
6872
6873 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6874
6875         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
6876         make sure to set their inset_owner to the right value (bug #171)
6877
6878 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
6879
6880         * DepTable.h
6881         * DepTable.C: Implement mtime checking to reduce time spent doing
6882         CRCs.
6883
6884 2002-01-16  Juergen Vigna  <jug@sad.it>
6885
6886         * tabular.C (GetAdditionalHeight): one of error fixed.
6887
6888         * lyxrc.C (output): small fix in writing use_pspell.
6889
6890 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
6891
6892         * sp_base.h: #include LString.h
6893
6894 2002-01-16  Allan Rae  <rae@lyx.org>
6895
6896         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
6897         Can someone check this please?
6898
6899         * text.C (drawInset): It was possible that p.row would be removed by
6900         breakAgainOneRow upsetting a few other settings.  There may be another
6901         small tweak possible by setting need_break_row = 0 when p.row has been
6902         removed but I don't know enough about the logic here.
6903
6904 2002-01-15  Allan Rae  <rae@lyx.org>
6905
6906         * text.C (insertChar): removed conditional truism.
6907
6908         * BufferView2.C (removeAutoInsets): More tweaks.
6909         cur_par_prev could be a stray pointer.  Check for trailing empty line
6910         in case last line was cur_par and only had an error inset on it.
6911
6912 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6913
6914         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
6915         absolute
6916
6917         * vc-backend.C (most methods):
6918         * exporter.C (Export):
6919         * converter.C (convert):
6920         (runLaTeX):
6921         * LyXSendto.C (SendtoApplyCB):
6922         * lyxfunc.C (dispatch):
6923         (menuNew):
6924         (open):
6925         (doImport):
6926         * lyx_cb.C (AutoSave):
6927         (InsertAsciiFile):
6928         * BufferView_pimpl.C (MenuInsertLyXFile):
6929         * buffer.C (runChktex): use Buffer::filePath().
6930
6931         * buffer.h: rename filename to filename_; rename filepath to
6932         filepath_ and make it private
6933         (filePath): new method
6934
6935         * buffer.C (writeFile): use fileName()
6936         (getLatexName):
6937
6938         * lyx_main.C (init): fix starting  of LyX when the binary is a
6939         link from so,ewhere else.
6940
6941         * minibuffer.C: include <cctype> for isprint
6942
6943 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
6944
6945         * buffer.C (parseSingleLyXformat2Token): changes associated with the
6946         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
6947         name clash with InsetCollapsable's width function.
6948
6949 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6950
6951         * lastfiles.C: include <iterator>
6952
6953 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
6954
6955         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
6956         std::count.
6957
6958         * buffer.C (makeLaTeXFile): ditto.
6959         Also make loop operation more transparent.
6960
6961 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
6962
6963         * ToolbarDefaults.C: remove trailing comma closing namespace.
6964
6965         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
6966
6967         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
6968         as in WorkArea.
6969
6970         * trans.C (Load): comment out unused variable, allowed.
6971
6972 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
6973
6974         * minibuffer.[Ch] (append_char): new method to recieve input from the
6975         drop-down completion browser. If a key was pressed, then recieve this
6976         char and append it to the existing string.
6977         (peek_event): modify the positioning data passed to the completion
6978         browser so that it can be placed above the minibuffer rather than below.
6979 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
6980
6981         * LyXAction.C (init): alloe error-next for readonly documents.
6982
6983         * BufferView2.C (ChangeRefsIfUnique): use standard version of
6984         count.
6985
6986 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6987
6988         * bufferlist.C (readFile): create the buffer _after_ checking that
6989         the file exists.
6990
6991         * lyxfunc.C (verboseDispatch): fix handling of arguments
6992
6993         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
6994
6995         * lyxrc.C: use string::erase() instead of initializing to "".
6996
6997
6998 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
6999
7000         * BufferView_pimpl.h:
7001         * BufferView_pimpl.C:
7002         * WorkArea.h:
7003         * WorkArea.C:
7004         * text2.C: tell X when we have made a selection for copying
7005
7006 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7007
7008         * BufferView_pimpl.C (MenuInsertLyXFile):
7009         * lyxfunc.C (menuNew):
7010         (open):
7011         (doImport): add shortcuts to directory buttons
7012
7013         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
7014         open a float)
7015
7016         * lyxfunc.C (setStatusMessage):
7017         (getStatusMessage): new methods
7018         (getStatus):use setStatusMessage instead of setErrorMessage
7019         (dispatch): when function is disabled, set error message here
7020         [instead of in getStatus previously]
7021
7022         * BufferView_pimpl.C (workAreaButtonRelease): update
7023         toolbar/menubar here too.
7024
7025 2002-01-13  Allan Rae  <rae@lyx.org>
7026
7027         * BufferView2.C (removeAutoInsets): finished off earlier fix.
7028         Now seems indestructible.  Remaining task is to audit all other
7029         code affected by deleteEmptyParagraphMechanism.  One small quirk
7030         left is that an empty document with an error in the preamble can
7031         be made to report an error but no error box appears.  I don't know
7032         where it goes.
7033         (removeAutoInsets): Improved comments.
7034
7035 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
7036
7037         * Thesaurus.h:
7038         * Thesaurus.C: update for Aiksaurus 0.14
7039
7040 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7041
7042         * text2.C (firstParagraph): removed member function, all uses
7043         replaces with ownerParagraph
7044         (redoParagraphs): here
7045         (updateInset): here
7046         (toggleAppendix): here
7047         * BufferView2.C (insertErrors): here
7048         (setCursorFromRow): here
7049
7050 2002-01-13  Allan Rae  <rae@lyx.org>
7051
7052         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
7053         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
7054         There is still a way to segfault this although you may have to do this
7055         multiple times: Have an InsetERT with an unknown command in it.
7056         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
7057         <down-arrow>, <Enter> again, View->DVI, BANG!
7058
7059         * text2.C (setCursor):
7060         (deleteEmptyParagraphMechanism):
7061         * lyxtext.h (setCursor):
7062         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
7063         Making use of the return value may help fix other bugs.
7064
7065 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7066
7067         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
7068
7069         * LyXView.C (updateMenubar): call MenuBar::update here
7070         (updateToolbar): but not here
7071         (showState): do not update toolbar/menubar
7072
7073         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
7074         should need to care about that.
7075
7076         * lyxfunc.C (verboseDispatch): simplify a bit
7077         (getStatus): have a version which takes a pseudoaction, and
7078         another which requires a (kb_action,string).
7079
7080         * LyXAction.C (retrieveActionArg): make it work also when action
7081         is not a pseudo-action.
7082         (getActionName): simplify a bit
7083         (helpText):
7084
7085 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7086
7087         * lyxfunc.C (verboseDispatch): new families of methods with
7088         several ways to specify a command and a bool to indicate whether
7089         the command name and shortcut should be displayed in minibuffer
7090         (eventually, we could extend that to a finer bitmask like
7091         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
7092         (dispatch): the pristine dispatch command which just, well,
7093         dispatchs! Note it still sets its result to minibuffer; I'm not
7094         sure we want that.
7095
7096         * lyxfunc.h: remove setHintMessage
7097
7098         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
7099
7100 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7101
7102         * BufferView_pimpl.C (specialChar): delete new inset if we have
7103         not been able to insert it.
7104
7105         * kbmap.C: revert to using int instead of kb_action, since all we
7106         are dealing with is pseudo-actions.
7107
7108         * LyXAction.C (searchActionArg): change to return int instead of
7109         kb_action, since the result is a pseudoaction.
7110
7111 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
7112
7113         * buffer.C (insertErtContents): Fix (partially) the font bug.
7114
7115 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
7116
7117         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
7118         as the other one is broken on my machine!
7119
7120 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
7121
7122         * commandtags.h:
7123         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
7124
7125 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
7126
7127         * lyxrc.[Ch]: change names and descriptions of popup font variables to
7128         reflect their actual use. Provide compatibility code for older lyxrc
7129         files.
7130
7131         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
7132         FL_NORMAL_STYLE.
7133         change names of popup font variables in line with the changes to lyxrc.C
7134
7135 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7136
7137         * buffer.C (asciiParagraph): avoid outputing a word twice after
7138         an inset.
7139
7140         * lyxrc.C (getDescription): document that document_path and
7141         template_path can be empty.
7142
7143 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7144
7145         * LaTeXFeatures.C (getMacros):
7146         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
7147
7148         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
7149
7150         * LaTeXFeatures.C (useFloat): require "float" here instead of in
7151         getPackages.
7152         (getPackages): rename feature "floats" to "float". Use an array to
7153         iterate over 'simple' features (i.e. just a \usepackage). Add
7154         handling of "amsmath" (renamed from "amsstyle").
7155
7156 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
7157
7158         * LaTeXFeatures.C (require): Prevent duplicate entries in the
7159         features list.
7160
7161 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
7162
7163         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
7164         FuncStaus::FuncStatus & FuncStaus::some_method().
7165
7166 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
7167
7168         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
7169         of the func_satus stuff. Edited and massaged in various ways by
7170         JMarc.
7171
7172         * lyxfunc.C (getStatus): use FuncStatus
7173
7174 2002-01-08  Juergen Vigna  <jug@sad.it>
7175
7176         * text.C (nextBreakPoint): use function Inset::isChar().
7177
7178         * paragraph.C (TeXOnePar): use function
7179         Inset::forceDefaultParagraphs.
7180
7181         * buffer.C (latexParagraphs): use function
7182         Inset::forceDefaultParagraphs.
7183
7184 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
7185
7186         * lyx_gui.C (init): set the style of the menu popups to
7187         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
7188
7189 2002-01-07  Juergen Vigna  <jug@sad.it>
7190
7191         * text.C (setHeightOfRow): small fix
7192         (prepareToPrint): don't look at alignment if we don't have the place
7193         for doing it.
7194
7195 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
7196
7197         * box.C: New file. Move the Box methods and functions out of box.h,
7198         following Lars' suggestion.
7199
7200 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
7201
7202         * box.h: #include "support/LOstream.h", needed for inlined function.
7203
7204         * lyxtextclass.C:
7205         * lyxtextclasslist.C: added some using std declarations.
7206
7207 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
7208
7209         * box.h: make signed dimensions to allow insets wider than
7210           the screen (bug #162)
7211
7212         * BufferView_pimpl.C: add some insetHit debug
7213
7214 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
7215
7216         * vc-backend.C: add FIXME
7217
7218 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7219
7220         * lyxfunc.C (getStatus): enable code for showing math font status
7221         in toolbar/menu.
7222
7223 2002-01-07  Juergen Vigna  <jug@sad.it>
7224
7225         * text.C (nextBreakPoint): removed debug output not needed anymore.
7226
7227 2002-01-06  Juergen Vigna  <jug@sad.it>
7228
7229         * text.C (nextBreakPoint): fixed up this function we had this bug
7230         since ever but now hopefully we break row better.
7231         (insertChar): we have to check if an inset is the next char as it
7232         could now happen that a large inset is causing a break.
7233
7234 2002-01-05  Juergen Vigna  <jug@sad.it>
7235
7236         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
7237         if it doesn't like to be drawed.
7238
7239 2002-01-04  Juergen Vigna  <jug@sad.it>
7240
7241         * BufferView2.C (lockInset): forgot to set a cursor.
7242
7243         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
7244
7245 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
7246
7247         * FormMathsPanel.C:
7248         * FormMathsPanel.h
7249         * MathsSymbols.C:
7250         * form_maths_panel.C:
7251         * form_maths_panel.h:
7252         * form_maths_panel.fd: implemented sub- and super- buttons in math
7253         panel.
7254
7255         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
7256         (or ^ space) to be used as in TeX (req'd by André).
7257
7258         * lyxfunc.C: Allow ^ and _ again to be used both as
7259         super/subscript (mathed) and as themselves (in text).
7260
7261 2002-01-03  Allan Rae  <rae@lyx.org>
7262
7263         * LyXView.C (updateWindowTitle): Setup a short icon title of either
7264         "LyX" or the filename of the current buffer if it has one.  This is a
7265         modified form of John Levon's patch.
7266
7267         * XFormsView.C (setWindowTitle): also set icon title.
7268
7269         * LyXView.h (setWindowTitle): signature changed.
7270         * XFormsView.h (setWindowTitle): ditto.
7271
7272 2002-01-02  Juergen Vigna  <jug@sad.it>
7273
7274         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
7275
7276 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7277
7278         * screen.C (topCursorVisible): introduce a temp var for
7279         text->cursor.row(), handle the case where this row is null. (kindo
7280         hachish)
7281
7282         * text2.C (setCursor): add a couple of asserts.
7283
7284         * paragraph.h (inset_iterator): add -> operator
7285
7286         * paragraph.[Ch] (autoDeleteInsets): remove member function
7287
7288         * BufferView2.C (removeAutoInsets): rewrite to handle the old
7289         cursor pos correctly and handle inset deletion by itself.
7290         (insertErrors): move iterator declaration out of for expression
7291
7292         * lyxtextclass.C: add <algorithm>
7293
7294         * Makefile.am: added the new files to sources, removed layout.C
7295
7296         * layout.C: removed file
7297
7298         * layout.h: remove LYX_DUMMY_LAYOUT
7299
7300         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
7301         layout.
7302
7303         * lyxlayout.[Ch]:
7304         * lyxtextclass.[Ch]:
7305         * lyxtextclasslist.[Ch]: new files
7306
7307         * include order changes to a lot of files, also changes because of
7308         the six new files.
7309
7310 2001-12-27  Juergen Vigna  <jug@sad.it>
7311
7312         * buffer.C (asciiParagraph): more fixes.
7313
7314         * tabular.C (ascii): make ascii export support export of only the
7315         data separated by a column-delimiter.
7316         (ascii): better support for ascii export.
7317
7318         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
7319
7320 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7321
7322         * tabular_funcs.C: use a "using std::getline" instead of the
7323         previous fix from Angus (necessary for cxx + lyxstring)
7324
7325 2001-12-24  Juergen Vigna  <jug@sad.it>
7326
7327         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
7328
7329         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
7330         problems. First check a minipage also if we have some ert-contents
7331         (not only on par->size(), second set the right depth of the paragraph
7332         on the relink to the root-paragraph-list!
7333
7334         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
7335         which then did not anymore update the main paragraphs on undo/redo!
7336
7337 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7338
7339         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
7340         code. Support all font-changing funcs (even those which are not in
7341         menu currently). Support for reporting font settings in
7342         mathed (disabled until Andre provides a function on mathed's side).
7343
7344         * func_status.h (toggle): small helper function to set toggle
7345         state on a flag.
7346
7347 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
7348
7349         * tabular_funcs.C: getline -> std::getline
7350
7351 2001-12-21  Juergen Vigna  <jug@sad.it>
7352
7353         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
7354         accessed and could be 0 (I couldn't generate this but it seems
7355         Michael could!).
7356
7357 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7358
7359         * tabular_funcs.C: add LIstream.h, move write_attribute to..
7360         * tabular_funcs.h: here and include iosfwd
7361
7362 2001-12-20  Juergen Vigna  <jug@sad.it>
7363
7364         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
7365         inside inset but undo_par was.
7366
7367 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7368
7369         * Thesaurus.C: always include <config.h> in sources.
7370
7371         * Painter.h:
7372         * lyxlookup.h:
7373         * box.h: do not include <config.h> in header files
7374
7375         * text.C (paintLastRow): remove unused variable
7376
7377         * text.C (transformChar):
7378         (insertChar):
7379         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
7380
7381         * Painter.C (text):
7382         * font.C (width): rewrite to use uppercase() instead of
7383         islower/toupper.
7384
7385         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
7386
7387 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
7388
7389         * lyxfind.C: clean up of find failure position change
7390
7391 2001-12-20  Juergen Vigna  <jug@sad.it>
7392
7393         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
7394
7395         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
7396         (TeXRow): added to LaTeX a single tabular row.
7397         (TeXLongtableHeaderFooter): added to output LT-h/f data.
7398         (Latex): simplified and finally good LT-h/f support.
7399         (various_functions): just small adaptions for LT-h/f support.
7400
7401         * tabular_funcs.[hC]: added and moved here all not classfunctions
7402         of LyXTabular.
7403
7404 2001-12-19  Juergen Vigna  <jug@sad.it>
7405
7406         * tabular.[Ch]: better support for longtabular options (not finished
7407         yet!)
7408
7409 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7410
7411         * text.C (paintLastRow): use the label font instead of the font of
7412         the last character to compute the size of *_BOX. This makes more
7413         sense and avoids a crash with empty paragraphs.
7414         Use Painter::rectangle to draw EMPTY_BOX.
7415
7416 2001-12-19  Juergen Vigna  <jug@sad.it>
7417
7418         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
7419         the paragraphs if the replaced paragraph is not the first one!
7420         Tried to delete not used paragraphs but does not work yet so for
7421         now it's inside #ifdef's and by default off!
7422
7423 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7424
7425         * MenuBackend.C: include "lyx_main.h" instead of declaring
7426         lastfiles (actually was declared as LastFiles* instead of a
7427         scoped_ptr).
7428
7429 2001-12-17  Juergen Vigna  <jug@sad.it>
7430
7431         * tabular.C (AppendColumn): applied John's fix
7432
7433 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
7434
7435         * BufferView.h:
7436         * BufferView.C:
7437         * BufferView_pimpl.h:
7438         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
7439
7440         * Makefile.am:
7441         * box.h: new start of class for above
7442
7443         * lyxfunc.C: ignore space-only minibuffer dispatches.
7444           Show the command name when it doesn't exist
7445
7446         * minibuffer.C: don't add empty lines to the history
7447
7448         * minibuffer.C: add a space on dropdown completion
7449
7450 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
7451
7452         * text.C: fix line above/below drawing in insets
7453
7454 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7455
7456         * lyxlength.C (LyXLength): Initialize private variables.
7457
7458 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
7459
7460         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
7461         when inserting error insets.
7462
7463 2001-12-13  Juergen Vigna  <jug@sad.it>
7464
7465         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
7466         actually sometimes the before-paragraph.
7467         (setUndo): don't clear the redostack if we're not actually undoing!
7468
7469 2001-12-06  Juergen Vigna  <jug@sad.it>
7470
7471         * undo_funcs.C (textHandleUndo): well after John's hint I got here
7472         and fixed redoing of main paragraph, so we can use it now ;)
7473
7474         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
7475
7476 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7477
7478         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
7479         Juergen's request
7480
7481 2001-12-13  André Pönitz <poenitz@gmx.net>
7482
7483         * undostack.[Ch]:
7484         * undo_func.C: minor cleanup
7485
7486 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7487
7488         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
7489         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
7490         font in urw-fonts package which is marked as -urw-fontspecific and
7491         does not work (incidentally, changing the encoding in the
7492         fonts.dir of this package to -adobe-fontspecific fixes the
7493         problem).
7494
7495         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
7496         is a crash when undoing first paragraph (Juergen, please take a
7497         look). THis does not mean the undo fix is wrong, just that it
7498         uncovers problems.
7499
7500         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
7501         the (Paragraph*) version when needed instead of duplicating the
7502         code.
7503
7504         * text.C (workWidth): use Inset::parOwner to find out where the
7505         inset has been inserted. This is a huge performance gain for large
7506         documents with lots of insets. If Inset::parOwner is not set, fall
7507         back on the brute force method
7508
7509         * paragraph_pimpl.C (insertInset):
7510         * paragraph.C (Paragraph):
7511         (cutIntoMinibuffer): set parOwner of insets when
7512         inserting/removing them
7513
7514         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
7515
7516 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
7517
7518         * commandtags.h:
7519         * LyXAction.C:
7520         * lyx_main.C:
7521         * lyxfunc.C:
7522         * mathed/formulabase.C:
7523         * mathed/math_cursor.[Ch]:
7524         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
7525
7526
7527 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7528
7529         * lyxlength.[Ch] (operator!=): new function
7530
7531 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7532
7533         * text.C (workWidth): use Inset::parOwner to find out where the
7534         inset has been inserted. This is a huge performance gain for large
7535         documents with lots of insets. If Inset::parOwner is not set, fall
7536         back on the brute force method
7537
7538         * paragraph_pimpl.C (insertInset):
7539         * paragraph.C (Paragraph):
7540         (cutIntoMinibuffer): set parOwner of insets when
7541         inserting/removing them
7542
7543         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
7544
7545 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7546
7547         * tabular-old.C (getTokenValue):
7548         * tabular.C (getTokenValue):
7549         (write_attribute): new versions for LyXLength
7550         (everywhere): adjust the use of widths
7551
7552         * tabular.h: change the type of widths from string to LyXLength
7553
7554 2001-12-11  Ben Stanley <bds02@uow.edu.au>
7555
7556         * paragraph.C: fixed missing line number count when exporting
7557         Environments to LaTeX file
7558
7559         * buffer.C: added informational message for checking line numbers.
7560
7561 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7562
7563         * text2.C (deleteEmptyParagraphMechanism): if there is only one
7564         paragraph, do the 'double space' part, but not the 'empty
7565         paragraph' one.
7566
7567         * text.C (workWidth): small optimization
7568         (getLengthMarkerHeight): use minimal size for negative lengths.
7569
7570 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
7571
7572         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
7573
7574         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
7575
7576 2001-12-11  André Pönitz <poenitz@gmx.net>
7577
7578         * FontLoader.C:
7579         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
7580
7581 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
7582
7583         * text2.C: keep selection on a setFont()
7584
7585 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
7586
7587         * lyx_cb.C: another bv->text misuse, from insert label
7588
7589 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
7590
7591         * kbsequence.h:
7592         * kbsequence.C: re-instate nmodifier mask
7593
7594 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
7595
7596         * lyx_main.h: make lyxGUI private.
7597
7598 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
7599
7600         * lyxfind.C: place the cursor correctly on failed search
7601
7602 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
7603
7604         * text.C (getLengthMarkerHeight): for small heights, the arrows
7605         are not always on top/bottom of the text
7606         (drawLengthMarker): smaller arrows; take the left margin in
7607         account; draw also vfills.
7608         (paintFirstRow):
7609         (paintLastRow): remove special code for vfill and standard spaces,
7610         since everything is handled in drawLengthMarker now.
7611
7612 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7613
7614         * buffer.C (insertErtContents): try to handle font and language
7615         interaction a bit better.g
7616
7617         * ColorHandler.C (updateColor): change the hash to cover the whole
7618         LColor enum, ws cleanup
7619         (getGCLinepars): ditto
7620         (getGCLinepars): only lookup in the linecache once.
7621
7622 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
7623
7624         * iterators.C (operator++): Make the iterator more robust
7625
7626         * BufferView2.C (removeAutoInsets): Use paragraph iterators
7627         (John's patch)
7628         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
7629
7630 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
7631
7632         * lyxtext.h:
7633         * text.C: better added space drawing
7634
7635 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
7636
7637         * LyXView.C:
7638         * BufferView2.C: fix layout combo update on inset unlock
7639
7640 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
7641
7642         * Makefile.am: don't compile unused files
7643
7644 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
7645
7646         * lyxfunc.C:
7647         * commandtags.h:
7648         * LyXAction.C: remove old LFUN_LAYOUTNO
7649
7650 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
7651
7652         * paragraph_pimpl.h:
7653         * paragraph_pimpl.C: isTextAt() doesn't need font param
7654
7655 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
7656
7657         * lyxlex.h:
7658         * lyxlex.C: little cleanup
7659
7660 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
7661
7662         * BufferView_pimpl.C: fix insertAscii for insets
7663
7664 2001-12-05  Juergen Vigna  <jug@sad.it>
7665
7666         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
7667         set the right font on the "multi" paragraph paste!
7668
7669 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7670
7671         * trans_decl.h:
7672         * trans_mgr.[Ch]:
7673         * trans.[Ch]:
7674         * lyxgluelength.C:
7675         * lyxlength.C: remove out-commented code.
7676
7677         * BufferView_pimpl:
7678         * CutAndPaste.C:
7679         * DepTable.C:
7680         * buffer.C:
7681         * chset.C:
7682         * lastfiles.C:
7683         * lyxlex.C:
7684         * lyxlex_pimpl.C:
7685         * lyxserver.C:
7686         * screen.C:
7687         * tabular-old.C:
7688         * tabular.C:
7689         * text.C:
7690         * trans_mgr.C:
7691         * vc-backend.C: change "while(" to "while ("
7692
7693         * lyxlength.[Ch]: add zero function to check if length is zero or
7694         not
7695         * lyxgluelength.C: use it
7696
7697 2001-12-05  Allan Rae  <rae@lyx.org>
7698
7699         * lyxlength.C: Attempted a fix for the abs(int) header selection.
7700         Works for 2.95.3, from what I understand of Garst's reports this should
7701         work for other g++ versions.  We're screwed if the abs(int) definition
7702         changed between bugfix releases of gcc.
7703
7704 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
7705
7706         * text.C: fix chapter label offset !
7707
7708 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
7709
7710         * lyxtext.h:
7711         * text.C: fix hfill at end of line, clean up
7712
7713 2001-12-04  Juergen Vigna  <jug@sad.it>
7714
7715         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
7716         that we force an update of the inset and it's owners if neccessary.
7717
7718 2001-12-03  Juergen Vigna  <jug@sad.it>
7719
7720         * text.C (rowLast): simplified code
7721
7722 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
7723
7724         * lyxfunc.C: fix show options on timeout
7725
7726 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7727
7728         * screen.C (topCursorVisible): scroll half a page when the cursor
7729         reached top of bottom of screen
7730
7731 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
7732
7733         * minibuffer.C: deactivate on loss of focus
7734
7735 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7736
7737         * vspace.[Ch] (operator!=): add operator.
7738
7739 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
7740
7741         * BufferView_pimpl.C: refuse to open an inset when
7742         there's a selection.
7743
7744 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
7745
7746         * BufferView_pimpl.C: allow to click on RHS of full row insets
7747
7748 2001-11-30  Juergen Vigna  <jug@sad.it>
7749
7750         * tabular.C (LyXTabular): add a same_id to set the same id's in the
7751         insets for undo reasons.
7752
7753 2001-11-28  André Pönitz <poenitz@gmx.net>
7754
7755         * vspace.[Ch]: cosmetical changes
7756
7757 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
7758
7759         * LyXAction.h:
7760         * LyXAction.C:
7761         * lyxfunc.h:
7762         * lyxfunc.C:
7763         * kbmap.h:
7764         * kbmap.C:
7765         * lyxrc.C:
7766         * kbsequence.h:
7767         * kbsequence.C: part re-write of old kb code
7768
7769         * Painter.C:
7770         * WorkArea.C: remove Lgb_bug_find_hack
7771
7772 2001-11-30  José Matos <jamatos@fep.up.pt>
7773
7774         * buffer.C (makeDocBookFile): add a comment to point a hack.
7775         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
7776         Fixed a double write of labels.
7777
7778 2001-11-29 Ben Stanley <bds02@uow.edu.au>
7779
7780         * LaTeX.C:
7781         * LaTeX.h Fixed bug in LaTeX class where it would not
7782         re-run latex if no depfiles were changed, but the .dvi was removed.
7783
7784 2001-11-28  André Pönitz <poenitz@gmx.net>
7785
7786         * all the files from the change on 2001/11/26:
7787         use lyx::layout_type instead of LyXTextClass::size_type
7788         use lyx::textclass_type instead of LyXTextClassList::size_type
7789
7790 2001-11-29  Juergen Vigna  <jug@sad.it>
7791
7792         * text.C: added support for paragraph::isFreeSpacing()
7793
7794         * buffer.C: same as above
7795
7796         * paragraph.h: inserted isFreeSpacing() function to enable
7797         FreeSpacing inside InsetERT.
7798
7799         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
7800         of the paragraph's in the cut/copy buffer to 0!
7801
7802         * text2.C (removeRow): remove the assert as it can!
7803
7804         * lyxtext.h: added helper function firstRow returning firstrow and
7805         made firstrow private again.
7806
7807         * BufferView2.C (lockInset): don't relock if we're already locked!
7808
7809         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
7810         the only paragraph.
7811         (removeRow): added Assert::(firstrow)
7812
7813         * debug.C: forgot to add INSETTEXT here.
7814
7815 2001-11-28  Juergen Vigna  <jug@sad.it>
7816
7817         * sp_spell.C (initialize): changed error text to more general
7818         spellchecker command use (not only ispell!)
7819
7820         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
7821
7822         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
7823
7824 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
7825
7826         * vspace.C: initialise lyxgluelength on failure
7827
7828 2001-11-28  Allan Rae  <rae@lyx.org>
7829
7830         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
7831         declaration & definition that looks like a function declaration.
7832
7833 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7834
7835         * BufferView2.C (copy):
7836         (copyEnvironment): do not clear the selection when doing a copy.
7837
7838         * text.C (paintFirstRow): compilation fix
7839
7840 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
7841
7842         * tabular.C (Latex): correct line count when writing latex.
7843
7844 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
7845
7846         * paragraph_pimpl.h:
7847         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
7848           bug a bit
7849
7850 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
7851
7852         * text.C:
7853         * LColor.h:
7854         * LColor.C: change vfillline->added_space
7855
7856         * text.C: add markers and text for added space
7857
7858         * vspace.C: fix comment
7859
7860 2001-11-28  André Pönitz <poenitz@gmx.net>
7861
7862         * paragraph.C: whitespace changes
7863         * all the other files from the change on 2001/11/26:
7864         change *::pos_type into lyx::pos_type
7865
7866 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
7867
7868         * buffer.C (parseSingleLyXformat2Token): Set the language to the
7869         language of the document when inserting error insets.
7870
7871 2001-11-26  André Pönitz <poenitz@gmx.net>
7872
7873         * BufferView_pimpl.[Ch]:
7874         *       CutAndPaste.C:
7875         * buffer.[Ch]:
7876         * lyxcursor.[Ch]:
7877         * lyxfind.C:
7878         * lyxfunc.C:
7879         * lyxrow.[Ch]:
7880         * paragraph.[Ch]:
7881         * paragraph_pimpl.[Ch]:
7882         * sp_spell.C:
7883         * text.C:
7884         * text2.C: reduce header dependencies, introduce type for positions
7885
7886 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
7887
7888         * <various>: change to use Alert.h
7889
7890 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
7891
7892         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
7893         when encountering an unknown token.
7894         (readLyXformat2): Show an error message if there were unknown tokens.
7895
7896 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
7897
7898         * BufferView2.C:
7899         * BufferView_pimpl.C:
7900         * buffer.C:
7901         * paragraph.h:
7902         * text.C:
7903         * text2.C: use par->isInset()
7904
7905 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
7906
7907         * paragraph_pimpl.h:
7908         * paragraph_pimpl.C: cleanup
7909
7910 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7911
7912         * text2.C (removeRow):
7913         * text.C (setHeightOfRow): remove useless (and costly) call to
7914         getRow.
7915
7916 2001-11-20  Allan Rae  <rae@lyx.org>
7917
7918         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
7919         Now need Inset*::checkInsertChar() to return true for appropriate
7920         cases so that the characters in the minibuffer will actually be
7921         inserted.
7922
7923 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
7924
7925         * text.C: change the order of the includes.
7926         (workWidth): initialize it at once.
7927         (workWidth): make maxw unsigned
7928         (setHeightOfRow): remove unused variable (inset)
7929         (selectSelectedWord): remove unused variable (inset)
7930         (paintRowText): fix drawing of hfill characters, and clean up a bit.
7931
7932 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7933
7934         * lyxserver.C (emergencyCleanup): do not try to close pipes if
7935         server is not running.
7936         (openConnection):
7937         (closeConnection): add debug info when server is disabled.
7938
7939         * ColorHandler.C (getGCForeground): send debug message to GUI
7940         channel.
7941
7942         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
7943
7944         * kbmap.C (bind): modify because return conventions of
7945         kb_sequence::parse have changed.
7946
7947         * kbsequence.C (parse): only ignore spaces and not any stupid
7948         control character. This avoids tests like s[i] <= ' ', which are
7949         guaranteed to fail with 8bit characters and signed chars.
7950         Change return code to string::npos when there have been no error
7951         (0 was a bad idea when error is at first character)
7952
7953 2001-11-14  José Matos  <jamatos@fep.up.pt>
7954
7955         * buffer.h:
7956         * buffer.C (simpleDocBookOnePar): removed unused argument.
7957
7958 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
7959
7960         * text.C (selectNextWordToSpellcheck): do not test explicitely for
7961         insets which are part of a word. Paragraph::isLetter takes care of
7962         that now. Use Paragraph::isInset to identify insets.
7963         (selectSelectedWord): do not test for hyphenation break.
7964
7965         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
7966         that protected spaces are considered as spaces.
7967
7968         * paragraph.C (isLetter): cleanup the code for ispell extras; use
7969         Inset::isLetter.
7970
7971 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
7972
7973         * lyxserver.h:
7974         * lyxserver.C: fix it. and small cleanup.
7975
7976 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
7977
7978         * BufferView_pimpl.C: use inline helpers
7979
7980         * LaTeXFeatures.h:
7981         * LaTeXFeatures.C: fix typos
7982
7983         * Spacing.h:
7984         * Spacing.C: move spacing_string into class
7985
7986         * ToolbarDefaults.C: move stuff into namespace anon
7987
7988         * layout.h: update enum
7989
7990         * lyxfunc.C: use better debug
7991
7992         * minibuffer.h: fix typo
7993
7994         * debug.h:
7995         * debug.C:
7996         * WorkArea.C: add and use Debug::WORKAREA
7997
7998         * lyxtext.h:
7999         * text.C:
8000         * text2.C: code re-organisation, inline helpers
8001
8002 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
8003
8004         * Layout.C: replaced a few cases of std::vector.size() == 0 with
8005         std::vector.empty().
8006
8007 2001-11-09  Allan Rae  <rae@lyx.org>
8008
8009         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
8010         '\n's after tables.  Tabular and ERT inset work now makes this no
8011         longer necessary.
8012
8013 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
8014
8015         * minibuffer.h:
8016         * minibuffer.C: fix crash, improve drop-down completion
8017
8018 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
8019
8020         * lyxserver.h:
8021         * lyxserver.C: invalidate fd's when doing endPipe()
8022
8023 2001-11-08  José Matos  <jamatos@fep.up.pt>
8024
8025         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
8026         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
8027
8028         * paragraph.h:
8029         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
8030
8031 2001-11-07  José Matos  <jamatos@fep.up.pt>
8032
8033         * buffer.h:
8034         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
8035         const qualifier.
8036
8037         * buffer.C (sgmlOpenTag):
8038         * buffer.C (sgmlCloseTag): removed debug info.
8039
8040         * buffer.h (sgmlOpenTag):
8041         * buffer.h (sgmlCloseTag): made public.
8042
8043 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8044
8045         * buffer.C (saveParamsAsDefaults):
8046         * lyx_cb.C (MenuLayoutSave): remove
8047
8048         * LyXAction.C (init):
8049         * commandtags.h:
8050         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
8051
8052 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8053
8054         * buffer.C (setPaperStuff): removed from here...
8055
8056         * bufferparams.C (setPaperStuff): ... and moved there.
8057
8058 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
8059
8060         * minibuffer.h:
8061         * minibuffer.C:
8062         * XFormsView.C: add support for drop-down completion
8063
8064 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
8065
8066         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
8067         commands.
8068
8069 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8070
8071         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
8072         disabled.
8073
8074 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
8075
8076         * lyx_main.C: change ref to known bugs
8077
8078 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
8079
8080         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
8081         to work around older babel problems.
8082
8083 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
8084
8085         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
8086
8087 2001-10-24  Juergen Vigna  <jug@sad.it>
8088
8089         * tabular-old.C (ReadOld): below variable changes reflected.
8090
8091         * tabular.[Ch]: added ltType struct for longtable header/footer
8092         defines and changed all instances where they are used. Added
8093         future support for double top/bottom rows.
8094
8095 2001-10-24  José Matos  <jamatos@fep.up.pt>
8096
8097         * buffer.h (docbookHandleCaption):
8098         * buffer.C (docbookHandleCaption): removed unused function.
8099         (makeDocBookFile): moved docbook supported version to v4.1.
8100
8101 2001-10-24  José Matos  <jamatos@fep.up.pt>
8102
8103         * tabular.h:
8104         * tabular.C (docbookRow): new function to export docbook code of a row.
8105         (DocBook): now honors the longtable flags.
8106
8107 2001-10-23  José Matos  <jamatos@fep.up.pt>
8108
8109         * LaTeXFeatures.h:
8110         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
8111         of the lyx defined sgml entities used in a docbook/linuxdoc document.
8112
8113         * buffer.C (makeLinuxDocFile):
8114         (makeDocBookFile): reworked the preamble, more clean, and with
8115         support for lyx defined entities. Changed the document declaration
8116         to be more XML friendly.
8117
8118         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
8119         if we need to output XML that should be done with a filter.
8120
8121 2001-10-22  Juergen Vigna  <jug@sad.it>
8122
8123         * sp_pspell.h (class PSpell): add alive function needed in the
8124         controller to see if the spellchecker could be started.
8125
8126 2001-10-22  Juergen Vigna  <jug@sad.it>
8127
8128         * buffer.C (insertStringAsLines): modify the font for inserting
8129         chars in certain conditions by calling checkInsertChar(font).
8130
8131 2001-10-19  Juergen Vigna  <jug@sad.it>
8132
8133         * text.C (workWidth): use getRow instead of wrong algorithm.
8134         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
8135
8136 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
8137
8138         * lyxserver.h:
8139         * lyxserver.C:
8140         * lyx_main.h:
8141         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
8142
8143 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8144
8145         * text.C (workWidth): do not search for the exact row when
8146         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
8147         optimization for big documents.
8148
8149 2001-10-18  Juergen Vigna  <jug@sad.it>
8150
8151         * text.C (workWidth): new function with added Inset * parameter.
8152
8153 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8154
8155         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
8156
8157         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
8158         change return type of getColumnNearX.
8159
8160
8161         * text.C (changeRegionCase): use uppercase/lowercase instead of
8162         toupper/tolower.
8163         (leftMargin):
8164         (rightMargin): simplify code by factoring out the uses of
8165         textclasslist.
8166         (labelFill):
8167         (numberOfHfills):
8168         (setHeightOfRow):
8169         (appendParagraph): use Paragraph::size_type
8170
8171 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8172
8173         * vspace.C (asLatexString): add a missing break
8174
8175 2001-10-15  Herbert Voss  <voss@perce.de>
8176
8177         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
8178
8179 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8180
8181         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
8182         is not available.
8183
8184 2001-10-10  André Pönitz <poenitz@gmx.net>
8185
8186         * lyxfunc.C: removed greek_kb_flag.
8187
8188 2001-10-10  Herbert Voss  <voss@perce.de>
8189
8190         * lyx_main.C: delete global string help_lyxdir.
8191
8192 2001-10-09  Herbert Voss  <voss@perce.de>
8193
8194         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
8195
8196         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
8197
8198         * lyx_main.C: added global string help_lyxdir.
8199
8200         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
8201
8202 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
8203
8204         * lyxrc.C (set_font_norm_type): support iso8859-4
8205
8206 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
8207
8208         * LaTeX.C (deplog): add another regex for MikTeX
8209
8210 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
8211
8212         * lyxrc.C (set_font_norm_type): support iso8859-3
8213
8214 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8215
8216         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
8217
8218         * LaTeXFeatures.C: remove special case of french and index
8219
8220         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
8221         before \begin{document}). This solves several incompatibilities.
8222
8223 2001-10-03  Garst Reese  <reese@isn.net>
8224
8225         * lyx_cb.C: change CheckTex error msg.
8226
8227 2001-10-03  José Matos  <jamatos@fep.up.pt>
8228
8229         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
8230
8231 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8232
8233         * .cvsignore: update
8234
8235         * lyx_main.C (commandLineVersionInfo): use new style version info.
8236
8237         * buffer.C (writeFile):
8238         (makeLaTeXFile):
8239         (makeLinuxDocFile):
8240         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
8241
8242         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
8243
8244         * version.h: update to use stuff in version.C
8245
8246         * version.C.in: new file. Contains version information determined
8247         at compile time. This is a merging of version.h and
8248         version_info.h.in.
8249
8250 2001-10-03  Juergen Vigna  <jug@sad.it>
8251
8252         * BufferView_pimpl.C (update): don't change "dirty" status in
8253         updateInset call.
8254
8255 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
8256
8257         * WorkArea.C (c-tor): re-position version string slightly.
8258
8259 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
8260
8261         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
8262         revert to previous code.
8263
8264         WorkArea.[Ch]: (show, destroySplash): methods removed.
8265
8266         WorkArea.C: rework code so that it's an amalgam of the codes before and
8267         after the splash screen was moved to WorkArea.
8268
8269 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8270
8271         * lyxrc.C (read):
8272         * vspace.C (inPixels):
8273         (lyx_advance):
8274         * kbmap.C (bind):
8275         * buffer.C (insertStringAsLines):
8276         (asciiParagraph): fix types to be large enough
8277
8278         * lyxlex_pimpl.h: change member status from short to int
8279
8280         * layout.h: fix type of endlabeltype
8281
8282         * kbmap.C (bind):
8283         * kbsequence.C (parse): change return type to string::size_type
8284
8285         * LaTeX.C (updateBibtexDependencies): comment out unneeded
8286         variable
8287
8288         * Bullet.C (bulletSize):
8289         (bulletEntry): do not use short ints as parameters
8290
8291         * BufferView2.C (insertLyXFile): change a char to an int.
8292
8293         * WorkArea.C (WorkArea): remove unneeded floats in computation
8294
8295 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
8296
8297         * buffer.C (asciiParagraph): Treat '\\' as other chars.
8298
8299         * paragraph.C (asString): Do not ignore newline/hfill chars when
8300         copying to the clipboard.
8301
8302 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
8303
8304         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
8305         after a multi-line inset.
8306
8307 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
8308
8309         * paragraph.C (validate): Set NeedLyXFootnoteCode
8310
8311 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
8312
8313         * lyxfont.C (LyXSizeNames): changed increase-error to increase
8314         and decrease-error to decrease.
8315
8316 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8317
8318         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
8319         it more readable (should be equivalent)
8320
8321 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
8322
8323         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
8324
8325 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8326
8327         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
8328         of a cursor (row, etc.) after a character has been deleted
8329         (deleteEmptyParagraphMechanism): call the method above on _all_
8330         cursors held by the LyXText when a double space has been
8331         detected/deleted.
8332
8333 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
8334
8335         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
8336         pixmap.
8337         (resizeCurrentBuff): remove code to destroy the old splash dialog.
8338
8339         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
8340         background. Use greyOut() and the new show() methods to toggle between
8341         the foreground and background. Add code to remove the splash after
8342         its initial showing.
8343
8344         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
8345         (create_forms): no longer call Dialogs::showSplash.
8346
8347 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8348
8349         * .cvsignore: add version_info.h
8350
8351 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8352
8353         * version_info.h.in: new file
8354
8355         * Makefile.am: add version_info.h.in
8356
8357         * lyx_main.C (commandLineVersionInfo): use version_info defined in
8358         version_info.h instead of VERSION_INFO
8359
8360 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
8361
8362         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
8363         The ERT inset now returns string().
8364
8365 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
8366
8367         * lyxtext.h, text.C (selectNextWord): renamed as
8368         selectNextWordToSpellcheck.
8369
8370         * text.C (selectNextWordToSpellcheck): Modified to not select
8371         words inside an ERT inset.
8372
8373 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8374
8375         * lyx_cb.C (MenuLayoutSave): change a bit the question
8376
8377         * sp_base.h: include <sys/types.h>
8378
8379 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
8380
8381         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
8382
8383 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
8384
8385         * several files: fix typos in user-visible strings
8386
8387 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8388
8389         * text2.C (pasteSelection): do not set the selection, since it
8390         will be cleared later. Actually, the intent was to fix the way the
8391         selection was set, but I figured rmoving the code was just as good.
8392
8393 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
8394
8395         * FontLoader.C (available): Check if font is available without
8396         loading the font.
8397
8398 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
8399
8400         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
8401
8402 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
8403
8404         * lyxrc.[Ch]: added display_graphics variable and associated code.
8405
8406 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8407
8408         * bufferparams.C (hasClassDefaults): new method. Returns true if
8409         the buffer parameters correspond to known class defaults
8410
8411 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
8412
8413         * XFormsView.C (show): set minimum size to the main window.
8414
8415 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8416
8417         * text2.C (copySelection):
8418         (cutSelection):
8419         * lyxfind.C (LyXReplace):
8420         * BufferView_pimpl.C (Dispatch): pass the correct flag to
8421         LyXText::selectionAsString.
8422
8423         * paragraph.C (asString): add "label" argument to the second form
8424
8425         * text2.C (selectionAsString): add "label" argument and pass it to
8426         Paragraph::asString.
8427
8428 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8429
8430         * lyx_main.C (commandLineHelp): remove version information
8431
8432 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
8433
8434         * lyx_main.C: add -version commandline option
8435
8436 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8437
8438         * paragraph.h: make the optional constructor arg required instead.
8439         some modifications to other files because of this.
8440
8441         * minibuffer.C (C_MiniBuffer_peek_event): make it static
8442
8443         * lyxserver.C (C_LyXComm_callback): make it static
8444
8445         * lyx_main.C (error_handler): make it static
8446
8447         * lyx_gui.C (LyX_XErrHandler): make it static
8448
8449         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
8450
8451         * WorkArea.C: make the extern "C" methods static.
8452
8453         * Makefile.am (lyx_LDADD): simplify
8454
8455 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
8456
8457         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
8458         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
8459
8460         * LyXAction.C (init):
8461         * lyxfunc.C (dispatch): associated code removal.
8462
8463 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8464
8465         * lyxfont.h (isSymbolFont): shut off warning
8466
8467         * text.C (setHeightOfRow):
8468         (getVisibleRow): fix crash with empty paragraphs which have a
8469         bottom line
8470
8471 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
8472
8473         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
8474         code.
8475
8476 2001-09-04  José Matos  <jamatos@fep.up.pt>
8477         * buffer.C
8478         * buffer.h
8479         * tabular.C (docbook): rename docBook method to docbook.
8480
8481 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
8482
8483         * Makefile.am: add dependencies to main.o.
8484
8485 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
8486
8487         * FontLoader.C (available): Return false if !lyxrc.use_gui
8488
8489 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
8490
8491         * FontInfo.C (query):
8492         * converter.C (view):
8493         * importer.C (Import):
8494         * exporter.C (Export): Can not -> cannot.
8495
8496 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
8497
8498         * BufferView_pimpl.C: allow to create index inset even if
8499           string is empty
8500
8501 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
8502
8503         * buffer.C (getLists): replace boost::tie code with an explicit pair
8504         as boost::tie can break some compilers.
8505
8506         * iterators.h: Added a std:: declaration to the return type of
8507         ParIterator::size.
8508
8509 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
8510
8511         * lyxrc.C: add help for view_dvi_paper_option, default to safe
8512           case.
8513
8514 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
8515
8516         * iterators.[Ch]: New files. Provide paragraph iterators.
8517
8518         * buffer.C (changeLanguage): Use paragraph iterators.
8519         (isMultiLingual): ditto
8520
8521         * BufferView2.C (ChangeInsets): Use paragraph iterators.
8522
8523 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
8524
8525         * FontLoader.C: Support for cmr font.
8526
8527 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
8528
8529         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
8530         (available): New method.
8531
8532         * FontInfo.C (getFontname): Use scalable fonts even when
8533         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
8534         found.
8535
8536 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
8537
8538         * converter.C (Formats::view): reverted! Incorrect fix.
8539
8540 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
8541
8542         * converter.C (Formats::view): only output the -paper option
8543         if the dvi viewer is xdvi, thereby fixing bug #233429.
8544
8545 2001-08-23  Herbert Voss  <voss@perce>
8546
8547         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
8548
8549 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
8550
8551         * Spacing.h (Spacing): Set space to Default on in the default
8552         constructor.
8553
8554 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8555
8556         * vc-backend.h (RCS::versionString): add RCS to version
8557         (CVS::versionString): add CVS to version
8558
8559         * vc-backend.C (scanMaster): do not add CVS to version.
8560         (scanMaster): do not add RCS to version
8561
8562         * lyxvc.C (versionString): new method
8563
8564         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
8565
8566 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8567
8568         * Spacing.C (set): initialize fval
8569
8570 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
8571
8572         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
8573         " or \.
8574
8575 2001-08-16  Juergen Vigna  <jug@sad.it>
8576
8577         * lyxfunc.C (dispatch): implemented the new FINISHED states.
8578
8579 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
8580
8581         * BufferView_pimpl.C:
8582         * figureForm.C:
8583         * lyxtext.h:
8584         * text2.C: setParagraph takes linespacing now
8585
8586 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
8587
8588         * LyxAction.C: add internal LFUN_CITATION_INSERT
8589
8590         * LyXView.C: actually apply fix
8591
8592         * bufferlist.C: fix open non-existent file
8593
8594         * lyxfind.C: fix indentation
8595
8596         * lyxfunc.C: remove unneeded assert, fix typo
8597
8598 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
8599
8600         * MenuBackend.C: use "Floatname List"
8601
8602 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
8603
8604         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
8605         when converting LaTeX layout to insetERT.
8606         Generate a non-collapsed float when reading old float
8607
8608 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
8609
8610         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
8611         ERT insets.
8612
8613 2001-08-13  Juergen Vigna  <jug@sad.it>
8614
8615         * text.C (fill): return 0 instead of 20 as this seems to be the more
8616         correct value.
8617
8618 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
8619
8620         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
8621         lyxrc.font_norm.
8622
8623 2001-08-13  Juergen Vigna  <jug@sad.it>
8624
8625         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
8626         casesensitive off.
8627         (SearchBackward): comment out the unlocking of the inset_owner this
8628         should not be needed!
8629
8630 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
8631
8632         * Many files: Remove inherit_language, and add latex_language
8633
8634         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
8635         collapsible insets.
8636
8637 2001-08-10  Juergen Vigna  <jug@sad.it>
8638
8639         * text.C (prepareToPrint): fixed hfill-width in draw!
8640
8641         * BufferView2.C (selectLastWord): save the selection cursor as this
8642         now is cleared in the function LyXText::clearSelection!
8643
8644 2001-08-08  Juergen Vigna  <jug@sad.it>
8645
8646         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
8647         BACKSPACE type functions.
8648
8649         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
8650         is only cutted from the document but not put in the cut-buffer, where
8651         still the old stuff should be.
8652
8653         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
8654
8655         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
8656
8657         * tabular.C (SetWidthOfCell): fixed special case where the width
8658         was not updated!
8659         (LeftLine): handle '|' in align_special.
8660         (RightLine): ditto
8661         (LeftAlreadyDrawed): ditto
8662         (SetWidthOfCell): ditto
8663
8664 2001-08-07  Juergen Vigna  <jug@sad.it>
8665
8666         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
8667
8668 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8669
8670         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
8671         * lyxlex.[hC]: ditto
8672
8673 2001-08-06  Juergen Vigna  <jug@sad.it>
8674
8675         * text.C (getVisibleRow): fix up row clearing a bit.
8676
8677 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8678
8679         * minibuffer.C: make sure the X server sees the changes in the input.
8680
8681 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8682
8683         * paragraph.C (getFont): split into...
8684         (getLabelFont): this
8685         (getLayoutFont): and this
8686         * paragraph_pimpl.C (realizeFont): calling this
8687
8688         * text2.C (getFont): split into...
8689         (getLayoutFont): this
8690         (getLabelFont): and this
8691         (realizeFont): all three calling this
8692
8693         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
8694         files where used.
8695
8696 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8697
8698         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
8699
8700 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
8701
8702         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
8703         layouts from the Quote inset insertion.
8704
8705 2001-08-03  Juergen Vigna  <jug@sad.it>
8706
8707         * BufferView_pimpl.C (update): do the fitCursor only at the end!
8708
8709         * screen.C (drawFromTo): don't call fitcursor here and do the loop
8710         only if status not is already CHANGED_IN_DRAW (second level).
8711
8712         * text.C (draw): don't set the need_break_row when inside an
8713         InsetText LyXText.
8714
8715 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8716
8717         * buffer.C (parseSingleLyXformat2Token): handle more latex
8718         conversion cases.
8719
8720         * bufferview_funcs.[hC]: change function names to
8721         begin with small char, adjust other files.
8722
8723 2001-08-02  André Pönitz <poenitz@gmx.net>
8724
8725         * lyxfunc.C:
8726         BufferView_pimpl.C: remove broken special code for math-greek
8727
8728 2001-08-02  Juergen Vigna  <jug@sad.it>
8729
8730         * BufferView_pimpl.C (update): redone this function so that we
8731         update the text again if there was a CHANGE_IN_DRAW.
8732
8733         * screen.C (cursorToggle): removed LyXText parameter and recoded.
8734         (drawFromTo): added a new internal bool which is used by draw() and
8735         redraw() function.
8736         (general): some cursor drawing problems fixed.
8737
8738 2001-08-01  Juergen Vigna  <jug@sad.it>
8739
8740         * lyxfind.C (LyXFind): fixed
8741         (SearchForward): ditto
8742         (SearchBackward): ditto
8743
8744         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
8745         spurius drawing of the cursor in the main area.
8746
8747         * text2.C (status): small fix which could lead to a segfault!
8748         (clearSelection): remove unneeded BufferView param.
8749
8750 2001-08-01  André Pönitz <poenitz@gmx.net>
8751
8752         * lyxfunc.C: small change due to changed mathed interface
8753
8754 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8755
8756         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
8757
8758 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
8759
8760         * lyxfunc.c: fail gracefully if file doesn't exist
8761
8762         * LyXSendto.C:
8763         * buffer.C:
8764         * lyxfunc.C:
8765         * BufferView_pimpl.C: IsDirWriteable() proto changed
8766
8767         * LyXView.C: fix updateWindowTitle() to store the last title
8768
8769 2001-07-31  Juergen Vigna  <jug@sad.it>
8770
8771         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
8772         the font (wrong since using of Paragraph::highestFontInRange).
8773
8774         * paragraph.C (highestFontInRange): added a default_size parameter.
8775
8776         * text.C (getVisibleRow): minor clear row changes (still not perfect).
8777         (setHeightOfRow): reformat
8778
8779 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8780
8781         * converter.[hC] + affected files: move to (inital-char)lowercase
8782         function names.
8783
8784         * ParagraphParameters.C (ParagraphParameters): remove commented code
8785
8786         * PainterBase.[Ch]: remove commented code
8787
8788         * LaTeXFeatures.h: add "bool floats" for float.sty
8789
8790         * LaTeXFeatures.C (LaTeXFeatures): init floats
8791         (require): handle float
8792         (getPackages): do it with floats
8793
8794 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8795
8796         * BufferView_pimpl.C (Dispatch): improve handling of
8797         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
8798
8799         * commandtags.h: #include lyxfont.h here temporarily to avoid
8800         keybinding bug.
8801
8802         * bufferlist.h: include LString.h here.
8803
8804 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8805
8806         * text2.C (getStringToIndex): new method.
8807
8808 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
8809
8810         * *: Reduced header file dependencies all over.
8811
8812 2001-07-30  Baruch Even  <baruch@lyx.org>
8813
8814         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
8815
8816 2001-07-29  Baruch Even  <baruch@lyx.org>
8817
8818         * buffer.C (readInset): Changed GRAPHICS to Graphics.
8819
8820 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8821
8822         * ParameterStruct.h (endif): add a default constructor to make
8823         sure that all variables is initialized.
8824
8825         * ParagraphParameters.C (ParagraphParameters): adjust
8826
8827 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8828
8829         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
8830         index; also, check that there is something to index, and that it
8831         does not span over several paragraphs.
8832         (doubleClick): use WHOLE_WORD_STRICT for double click.
8833
8834         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
8835
8836         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
8837         scheme.
8838
8839 2001-07-26  Baruch Even  <baruch@lyx.org>
8840
8841         * buffer.C (readInset): Changed to call up InsetGraphics when reading
8842         an InsetFig figure, backwards compatible reading of old figure code.
8843
8844 2001-07-27  Juergen Vigna  <jug@sad.it>
8845
8846         * text2.C: font.realize function adaption.
8847
8848         * text.C (draw): add a warnings lyxerr text if needed.
8849
8850         * layout.C: font.realize function adaption.
8851
8852         * language.C: add inherit_language and implement it's handlings
8853
8854         * bufferview_funcs.C (StyleReset): remove language parameter from
8855         font creation (should be language_inherit now).
8856
8857         * bufferparams.C (writeFile): handle ignore_language.
8858
8859         * paragraph.C (getFontSettings): the language has to be resolved
8860         otherwise we have problems in LyXFont!
8861
8862         * lyxfont.C (lyxWriteChanges): added document_language parameter
8863         (update): removed unneeded language parameter
8864
8865         * paragraph.C (validate): fixed wrong output of color-package when
8866         using interface colors for certain fonts in certain environments,
8867         which should not seen as that on the final output.
8868
8869 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
8870
8871         * BufferView_pimpl.C:
8872         * Thesaurus.h:
8873         * Thesaurus.C:
8874         * Makefile.am:
8875         * commandtags.h:
8876         * LyXAction.C: add thesaurus support
8877
8878         * lyxfind.h:
8879         * lyxfind.C: add "once" parameter, for thesaurus, to not
8880           move to the next match
8881
8882 2001-07-26  Juergen Vigna  <jug@sad.it>
8883
8884         * lyxfont.C (realize): honor ignore_language too!
8885         (resolved): ditto.
8886
8887         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
8888
8889         * text.C (draw): one place more for ignore_language to not draw
8890         itself!
8891
8892 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
8893
8894         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
8895
8896 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8897
8898         * buffer.C (parseSingleLyXformat2Token): a more general fix for
8899         the minipage conversion problem.
8900
8901 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8902
8903         * buffer.C (parseSingleLyXformat2Token): check minipage if we
8904         insert an inset.
8905
8906 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8907
8908         * BufferView.h: don't forward declare WorkArea
8909
8910         * BufferView.C: don't include WorkArea.h
8911
8912 2001-07-25  André Pönitz <poenitz@gmx.net>
8913
8914         * commandtags.h:
8915         * LyXAction.C:
8916         * lyxfunc.C:  new LFUN 'math-space'
8917
8918         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
8919
8920 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8921
8922         * text2.C (toggleInset): call open/close
8923
8924 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8925
8926         * lyxfunc.C (dispatch): add debug for the disabled case
8927
8928         * font.C (buttonText): make similar to rectText
8929
8930         * buffer.C (readInset): comment out parsing of insetlist and
8931         insttheorem
8932
8933         * PainterBase.C (rectText): small correction
8934
8935         * BufferView_pimpl.C: comment out insettheorem and insetlist
8936         * LyXAction.C: ditto
8937         * commandtags.h: ditto
8938
8939 2001-07-24  Juergen Vigna  <jug@sad.it>
8940
8941         * text.C (draw): honor the ignore_language.
8942
8943         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
8944
8945 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
8946
8947         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
8948         char inset.
8949
8950 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
8951
8952         * lyxtext.h: remove unused (and unimplemented) methods
8953
8954 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
8955
8956         * text.C (getVisibleRow): honor background color
8957
8958         * PainterBase.h:
8959         * Painter.h: remove default color argument for fillRectangle
8960
8961         * text.C (backgroundColor): new method
8962
8963 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
8964
8965         * text.C (getVisibleRow): adjust
8966
8967         * font.[Ch] (rectText): new method, metrics
8968         (buttonText): new method, metrics
8969
8970         * PainterBase.[hC]: make rectText and buttonText always draw and take
8971         fewer paramteres.
8972
8973 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
8974
8975         * ToolbarDefaults.C (read):
8976         * MenuBackend.C (read): allow escaping in all strings
8977
8978         * BufferView_pimpl.C (insertAndEditInset): new method.
8979         (Dispatch): use insertAndEditInset whenever appropriate.
8980
8981         * BufferView_pimpl.C (insertNote): removed
8982
8983         * BufferView_pimpl.C (smartQuote): new method, moved from
8984         BufferView; if an insetquote cannot be inserted, insert a '"'
8985         character instead.
8986
8987         * BufferView2.C: remove insertCorrectQuote();
8988
8989         * lyxfunc.C (getStatus): Add support for all remaingin
8990         inset-insert lfuns.
8991
8992         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
8993
8994         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
8995         command (necessary to pass " as parameter of self-insert.
8996
8997         * text.C (selectWordWhenUnderCursor):
8998         (selectWord): add word_location parameter
8999         (selectWordWhenUnderCursor): same + remove special code for word
9000         boundary.
9001         (selectNextWord): use kind() to guess type of insetspecialchar,
9002         not latex().
9003
9004         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
9005         (insertErtContents): create ert insets as collapsed.
9006         (readInset): better compatibility code for Info inset.
9007
9008 2001-07-20  Juergen Vigna  <jug@sad.it>
9009
9010         * lyxfunc.C (dispatch): use always LyXFind now!
9011
9012         * text2.C (init): add a reinit flag so that the LyXText can be
9013         reinited instead of deleted and reallocated (used in InsetText).
9014
9015         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
9016
9017         * text.C: ditto
9018
9019         * text2.C: ditto
9020
9021 2001-07-18  Juergen Vigna  <jug@sad.it>
9022
9023         * text.C (selectNextWord): handle insets inside inset by calling
9024         always the bv->text functions so that we can go up the_locking_inset!
9025
9026         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
9027         in strange locations when inside an inset!
9028
9029         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
9030         handling to include insets.
9031
9032         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
9033
9034 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9035
9036         * LyXAction.C (init):
9037         * commandtags.h:
9038         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
9039         LIGATURE_BREAK, since the name is so stupid.
9040
9041 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
9042
9043         * buffer.C (readInset): enable reading of new InsetNotes as well as old
9044         InsetInfos.
9045
9046         * FontLoader.C: remove FORMS_H_LOCATION cruft.
9047
9048         * sp_form.[Ch]: remove.
9049
9050         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
9051
9052         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
9053         InsetInfo.
9054
9055         * src/buffer.C (readInset): ditto.
9056
9057 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
9058
9059         * BufferView_pimpl.C (specialChar): new method. Obsoletes
9060         menuSeparator(), endOfSentenceDot(), ldots() and
9061         hyphenationPoint(), which are therefore removed.
9062         (Dispatch): handle LFUN_HYPHENATION_BREAK.
9063
9064         * LyXAction.C (init):
9065         * commandtags.h: add LFUN_HYPHENATION_BREAK.
9066
9067         * paragraph.C (getWord): removed.
9068
9069         * BufferView_pimpl.C (Dispatch): use last word or selection for
9070         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
9071
9072         * lyx_main.C (queryUserLyXDir): do not ask before creating
9073         user_dir, except if it has been named explicitely.
9074
9075 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
9076
9077         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
9078         a document of zero size.
9079
9080 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
9081
9082         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
9083         approriately in the c-tor and in require().
9084         (getPackages): output the appropriate LaTeX for natbib support.
9085
9086         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
9087         variables "use_natbib" and "use_numerical_citations" when reading the
9088         LyX file.
9089         (readInset): read the various natbib cite commands.
9090         (validate): white-space change.
9091
9092         * bufferparams.[Ch]: new variables "bool use_natbib" and
9093         "bool use_numerical_citations".
9094         (writeFile): output them in the LyX file.
9095
9096 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
9097
9098         * lyxfunc.C (getStatus): add support for all the inset insertion
9099         commands.
9100
9101         * text2.C (insertInset):
9102         * paragraph.C (insetAllowed):
9103         * BufferView_pimpl.C (insertInset): update to take in account the
9104         renaming of insertInsetAllowed
9105
9106         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
9107
9108         * text2.C (getInset): new method. returns inset at cursor position.
9109
9110         * BufferView_pimpl.C (Dispatch): changes because of this.
9111
9112         * LyXAction.C (init): rename open-stuff to inset-toggle.
9113
9114         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
9115
9116         * text2.C (toggleInset): renamed from openStuff; use
9117         Inset::open().
9118
9119 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
9120
9121         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
9122
9123         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
9124
9125 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
9126
9127         * buffer.C (readLyXformat2): Add filename to the error dialog
9128
9129 2001-07-18  Juergen Vigna  <jug@sad.it>
9130
9131         * tabular.C (GetCellNumber): put an assert here instead of the check!
9132
9133 2001-07-17  Juergen Vigna  <jug@sad.it>
9134
9135         * BufferView_pimpl.C (toggleSelection): adapted too.
9136
9137         * text.C (selectNextWord): adapted for use with insets.
9138         (selectSelectedWord): ditto
9139
9140 2001-07-17  Juergen Vigna  <jug@sad.it>
9141
9142         * sp_spell.C (PSpell): fix initialitation order.
9143
9144 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9145
9146         * paragraph.C: spacing
9147
9148 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
9149
9150         * sp_spell.C: repair language selection for pspell
9151
9152 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9153
9154         * lyxfunc.h: change more methods to begin with lower char.
9155
9156 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
9157
9158         * buffer.C (parseSingleLyXformat2Token): Generate error insets
9159         for unknown layouts.
9160
9161 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
9162
9163         * buffer.C (readLyXformat2): Generate an error dialog if there are
9164         unknown layouts.
9165
9166 2001-07-16  Juergen Vigna  <jug@sad.it>
9167
9168         * sp_spell.C: always compile ISpell part.
9169
9170         * lyxrc.C: added use_pspell entry and it's handling.
9171
9172 2001-07-13  Juergen Vigna  <jug@sad.it>
9173
9174         * sp_spell.C: removed double includes.
9175
9176 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
9177
9178         Consistent use of Lsstream.h:
9179         * Lsstream.h: added using std::stringstream for consistencies sake.
9180
9181         * buffer.C: removed using std::stringstream
9182
9183         * lyxfont.C (stateText):
9184         * paragraph.C (asString):
9185         * text.C (selectNextWord, selectSelectedWord):
9186         * text2.C (setCounter):
9187         * vspace.C (asString, asLatexString):
9188         std::ostringstream -> ostringstream.
9189
9190 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
9191
9192         * LyXAction.C: add LFUN_HELP_ABOUTLYX
9193         * commandtags.h: add LFUN_HELP_ABOUTLYX
9194         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
9195
9196 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
9197
9198         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
9199         cursorToggle()
9200         * lyx_gui_misc.C: remove spellchecker
9201         * lyxfunc.C: showSpellchecker
9202         * sp_base.h: added
9203         * sp_ispell.h: added
9204         * sp_pspell.h: added
9205         * sp_spell.C: added
9206         * sp_form.[Ch]: removed
9207         * spellchecker.[Ch]: removed
9208
9209 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
9210
9211         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
9212         is set.
9213         (simpleTeXSpecialChars): Simply print the input character without
9214         any special translation if pass_thru is set.
9215
9216         * layout.h: Added bool pass_thru to layout class for being able to
9217         implement pass through of a paragraph for Literate Programming.
9218
9219         * layout.C: add LT_PASS_THRU to LayoutTags enum.
9220         * layout.C (LyXLayout): set pass_thru to flase in constructor.
9221         * layout.C (Read): add "passthru" to list of layout tags and add
9222         code to set the pass_thru boolean when it is read.
9223
9224 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9225
9226         * trans_decl.h: remove allowed from KmodInfo
9227
9228         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
9229         remove allowed code
9230         (Load): adjust
9231
9232         * paragraph_pimpl.C (erase): use boost::prior
9233
9234         * Painter.C (text): use data() instead of c_str() when length is
9235         also provided.
9236         * WorkArea.C (putClipboard): ditto
9237         * font.h (width): ditto
9238
9239         * BufferView2.C: use it-> instead of (*it). for iterators
9240         * texrow.C: ditto
9241         * paragraph_pimpl.C: ditto
9242         * paragraph.C: ditto
9243         * minibuffer.C: ditto
9244         * language.C: ditto
9245         * kbmap.C: ditto
9246         * encoding.C: ditto
9247         * counters.C: ditto
9248         * converter.C: ditto
9249         * chset.C: ditto
9250         * Variables.C: ditto
9251         * TextCache.C: ditto
9252         * MenuBackend.C: ditto
9253         * LyXAction.C: ditto
9254         * LColor.C: ditto
9255         * FloatList.C: ditto
9256         * DepTable.C: ditto
9257         * ColorHandler.C (LyXColorHandler): ditto
9258
9259 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9260
9261         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
9262
9263         * text2.C (openStuff): reintroduce this method (which had been
9264         nuked in NEW_INSETS frenzy).
9265
9266         * lyxfunc.C (Dispatch): when an action has not been handled, use
9267         its name in the error message, not its number.
9268
9269         * paragraph.C (inInset): change method name to begin with lowercase.
9270
9271         * undo_funcs.C:
9272         * text2.C: updates because of this.
9273
9274 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9275
9276         * ToolbarDefaults.C (add): add spaces in error message
9277
9278 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9279
9280         * buffer.C (readLyXformat2): initialize the ert comp. variables.
9281         (readLyXformat2): rename return_par to first_par, use lyxlex's
9282         pushToken and remove the manual push handling.
9283         (parseSingleLyXformat2Token): add another ert comp. variable:
9284         in_tabular, rename return_par to first_par. handle newlines better
9285
9286 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9287
9288         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
9289
9290 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9291
9292         * text2.C (getParFromID): removed
9293
9294         * buffer.C (getParFromID): new method moved form lyxtext.
9295         * BufferView2.C (insertErrors): adjust
9296         (setCursorFromRow): adjust
9297         * BufferView_pimpl.C (restorePosition): adjust
9298         * lyxfunc.C (Dispatch): adjust
9299         * undo_funcs.C (textUndo): adjust
9300         (textRedo): adjust
9301         (textHandleUndo): adjust
9302         (textHandleUndo): adjust
9303
9304 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9305
9306         * buffer.C: up' the LYX_FORMAT
9307
9308         * lyxfont.h: turn NO_LATEX on as default
9309
9310         * buffer.C (insertErtContents): new methods of tex style compability.
9311         (parseSingleLyXformat2Token): use it several places.
9312         * tabular.C (OldFormatRead): and here
9313
9314 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9315
9316         * text2.C: remove some commented code.
9317         reindent file.
9318
9319         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
9320         * trans.C: changes because of the above.
9321
9322 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
9323
9324         * text2.C (setCounter): Fix counters bug with bibliography layout.
9325
9326 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9327
9328         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
9329         own member functions
9330         (simpleTeXSpecialChars): ditto
9331
9332 2001-07-06  Juergen Vigna  <jug@sad.it>
9333
9334         * a lot of files: changed the access to LyXText::status and the
9335         call of undo-functions.
9336
9337         * undo.[Ch]: added a inset_id to the undo informations.
9338
9339         * undo_funcs.[Ch]: added and moved here all undo functions.
9340
9341         * lyxtext.h: give the status enum a weight, made status_ a private
9342         variable and made accessor functions for it, removed the whole bunch
9343         of undo-functions as they are now in their own file, make some
9344         functions publically available. Added function ownerParagraph with
9345         int parameter.
9346
9347         * paragraph.[Ch]: added "bool same_ids" to the constructor,
9348         made InInset() a const function, added getParFromID() function.
9349
9350         * buffer.[Ch]: added const version for inset_iterator functions,
9351         added getInsetFromID() function.
9352
9353         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
9354         changed undo functions for new version.
9355
9356 2001-07-05  Juergen Vigna  <jug@sad.it>
9357
9358         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
9359         unknow mechanism does not call the proper constructor but only this
9360         one also if I request the other!?
9361
9362 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9363
9364         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
9365
9366         * text2.C (LyXText): use initialization lists.
9367
9368         * lyxtext.h (Selection): initialize set_ and mark_
9369         (init): remove method
9370
9371 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
9372
9373         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
9374
9375 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9376
9377         * screen.[Ch]: change method names to begin with lowercase
9378
9379         * BufferView_pimpl.C (updateScrollbar): simplify further and
9380         hopefully make it a bit faster.
9381
9382 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9383
9384         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
9385         calling directly xforms functions.
9386
9387         * Painter.C (Painter):
9388         * lyx_cb.C (MenuWrite):
9389         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
9390         fl_display.
9391
9392         * lyx_gui.C: remove bogus guiruntime extern declaration.
9393
9394 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9395
9396         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
9397         in NEW_INSETS
9398         (redoDrawingOfParagraph): ditto
9399         (redoParagraphs): ditto
9400         (cutSelection): don't create a object for CutAndPaste use the
9401         static method directly
9402         (pasteSelection): ditto
9403
9404         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
9405         LyXview (+ rename)
9406
9407 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9408
9409         * modifications to some other files because of this.
9410
9411         * Makefile.am (lyx_SOURCES): add XFormsView
9412
9413         * XFormsView.[Ch]: new files
9414
9415         * LyXView.[Ch]: make LyXView a base class for the gui handling for
9416         the main window. Move the gui dependent stuff to XFormsView
9417
9418 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9419
9420         * tabular.C (GetCellInset): update cur_cell also in the row/col
9421         version of this function.
9422
9423         * lyxfunc.C: no need to include figure_form.h here.
9424
9425         * FontLoader.h:
9426         * lyxfunc.h:
9427         * lyxscreen.h:
9428         * text2.C:
9429         * lyxvc.C: no need to include forms.h here.
9430
9431 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9432
9433         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
9434
9435         * lyxfunc.C (Dispatch):
9436         * Spacing.C (set):
9437         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
9438         constructor argument.
9439
9440 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9441
9442         * paragraph.C (Paragraph): dont't clear, and just set layout.
9443         (makeSameLayout): use params's copy contructor.
9444
9445         * ParagraphParameters.[Ch] (makeSame): delete method
9446
9447 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
9448
9449         * Variables.[Ch]: fix indentation, rename set to isSet
9450
9451 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9452
9453         * lyxfunc.C (Dispatch): fix typo
9454
9455 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9456
9457         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
9458         upper_bound.
9459
9460         * bufferlist.C: include assert.h for emergencyWrite().
9461
9462 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
9463
9464         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
9465           give up at last (bug #425202) !
9466
9467 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
9468
9469         * lyx_gui_misc.C:
9470         * sp_form.h:
9471         * sp_form.C:
9472         * spellchecker.h:
9473         * spellchecker.C: strip spellchecker options and bring up
9474           preferences tab instead
9475
9476 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9477
9478         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
9479         the istringstream constructor
9480
9481 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9482
9483         * paragraph.C (getLayout): fix return value
9484
9485         * paragraph.h: do not declare getLayout as inline.
9486
9487         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
9488
9489 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9490
9491         * lyxcursor.h (operator<): new func
9492         (operator>): new func
9493         (operator>=): new func
9494         (operator<=): new func
9495
9496         * text.C (changeCase): use selection.start and selection.end
9497         (changeRegionCase): require from to be <= to. Require par to be a
9498         valid paragraph.
9499
9500         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
9501
9502 2001-06-27  Juergen Vigna  <jug@sad.it>
9503
9504         * text.C (cursorLeftOneWord): changed to return the cursor and added
9505         overlay with BufferView * parameter which calls this one.
9506         (getWord): added
9507         (selectWord): use new getWord function.
9508         (changeCase): renamed from changeWordCase as and extended to work
9509         also on selections.
9510
9511         * lyxtext.h: added enum word_location
9512
9513         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
9514         changeCase as this operates now also on selections.
9515
9516 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
9517
9518         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
9519
9520         * many files: send debug output to Debug::INFO instead of
9521         Debug::ANY.
9522
9523         * converter.C (View):
9524         (Convert):
9525         (Move): send debug output to Debug::FILES instead of console.
9526
9527 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
9528
9529         * lyxfunc.C (getStatus): use func_status
9530
9531         * func_status.h: new header, describing the results of
9532         LyXFunc::getStatus;
9533
9534         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
9535         LFUN_MATH_HALIGN.
9536
9537 2001-06-25  The LyX Project  <jug@sad.it>
9538
9539         * buffer.C (sgmlOpenTag):
9540         (sgmlCloseTag):
9541         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
9542
9543 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9544
9545         * text2.C: remove some dead code
9546
9547         * tabular.C (GetCellInset): store the last cell checked (gotten)
9548
9549         * tabular.h: add the helper for the speedup
9550
9551         * lyxtext.h: remove some dead code
9552
9553 2001-06-26  The LyX Project  <Asger>
9554
9555         * paragraph.C: Change export to LaTeX of alignment to
9556         \begin{center} and family for better roundtrip work with reLyX.
9557
9558         * Tune the math drawing a bit.
9559
9560 2001-06-25  The LyX Project  <Asger>
9561
9562         * LColor.C (LColor): New color for math background. New color
9563         for buttons.
9564
9565 2001-06-25  The LyX Project  <jug@sad.it>
9566
9567         * lyxfunc.C (MenuNew): remove extra check for .lyx file
9568
9569         * lyxfunc.C (Open):
9570         * bufferlist.C (newFile): do not restrict to files ending with
9571         .lyx
9572
9573         * BufferView_pimpl.C (MenuInsertLyXFile):
9574
9575 2001-06-24  The LyX Project  <jug@sad.it>
9576
9577         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
9578         of compare_no_case
9579
9580 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9581
9582         * lyxtext.h: rename most methods to begin with a small char.
9583         Lots of changes because of this.
9584
9585         * paragraph.C (Paragraph): do not call fitToSize
9586         (erase): call Pimpl::erase
9587         (insertChar): call Pimpl::insertChar
9588         (insertInset): call Pipl::insertInset
9589         (breakParagraph): do not call fitToSize
9590         (breakParagraphConservative): do not call fitToSize
9591         (fitToSize): remove method
9592
9593         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
9594
9595 2001-06-24  The LyX Project  <Asger>
9596
9597         * Fix Qt compilation^2
9598
9599 2001-06-24  The LyX Project  <jug@sad.it>
9600
9601         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
9602         depthHook(getDepth()-1).
9603
9604         * paragraph.h:
9605         * ParagraphParameters.h:
9606         * ParameterStruct.h: change type of depth to unsigned int ==
9607         depth_type. Many adaptations to other files before of that.
9608
9609 2001-06-24  The LyX Project  <Asger>
9610
9611         * Fix Qt compilation.
9612
9613 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9614
9615         * paragraph.h: renamed several methods to begin with small letter.
9616         several changes to many parts of the code because of this.
9617
9618 2001-06-23  The LyX Project  <jug@sad.it>
9619
9620         * text2.C (InsertStringAsLines): renamed from InsertStringA;
9621         rewritten to discard all double spaces when KeepEmpty is off
9622         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
9623         to only handle newlines but not fiddle with spaces and friends.
9624
9625         * lyxfunc.C (MenuNew): when doing 'new from template', use
9626         template_path as default directory
9627
9628 2001-06-23  The LyX Project  <Asger>
9629
9630         * Clean-up of header file includes all over
9631         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
9632
9633 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9634
9635         * paragraph.h: renamed from lyxparagraph.h
9636
9637 2001-06-23  Asger  <lyx@violet.home.sad.it>
9638
9639         * Buffer.h: Removed Buffer::resize
9640         * BufferList.h: Removed BufferList::resize
9641         * LyXView.h: Added LyXView::resize. This way, we will only reflow
9642         the document lazily when we change the width, or the font settings.
9643
9644 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
9645
9646         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
9647
9648 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
9649
9650         * buffer.h: remove out of date comment
9651
9652 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
9653
9654         * lyxscreen.h:
9655         * screen.C: fix "theoretical" GC leak
9656
9657 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9658
9659         * LaTeX.C (scanAuxFile):
9660         (deplog): remove trailing \r when reading stream (useful under
9661         win32)
9662
9663 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
9664
9665         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
9666         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
9667         and BufferView::theLockingInset(Inset*), so should use them and not
9668         access bv_->text->the_locking_inset directly.
9669
9670         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
9671
9672 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
9673
9674         * Makefile.am:
9675         * tex-defs.h: remove old unused file
9676
9677 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
9678
9679         * BufferView_pimpl.C: fix typo, remove minibuffer message
9680           when buffer has loaded
9681
9682 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9683
9684         * lyxfunc.C (Dispatch): use stringstream
9685         (MenuNew): use stringstream
9686         (Open): use stringstream
9687
9688         * importer.C (Import): use stringstream
9689
9690         * bufferview_funcs.C (CurrentState): use stringstream
9691
9692         * LaTeX.C (run): use stringstream
9693
9694         * BufferView_pimpl.C (savePosition): use stringstream
9695         (restorePosition): use stringstream
9696         (MenuInsertLyXFile): use stringstream
9697
9698 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
9699
9700         * BufferView.C:
9701         * Bullet.C:
9702         * ColorHandler.C:
9703         * FontInfo.C:
9704         * FontLoader.C:
9705         * LColor.C:
9706         * LaTeXFeatures.C:
9707         * Painter.C:
9708         * gettext.C:
9709         * lyx_gui_misc.C:
9710         * lyxserver.C:
9711         * vspace.C: removed // -*- C++ -*- as first line.
9712
9713         * lyxfind.h:
9714         * version.h: added // -*- C++ -*- as first line.
9715
9716 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9717
9718         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
9719
9720         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
9721         of string
9722
9723 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9724
9725         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
9726         of floats.
9727
9728 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9729
9730         * gettext.C: include LString.h even when --disable-nls is on.
9731
9732 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
9733
9734         * converter.h (Get): changed argument type from int to
9735         FormatList::size_type to avoid unnecessary conversion.
9736
9737         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
9738         before using it.
9739
9740 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9741
9742         * gettext.h: include LString.h even when --disable-nls is on.
9743
9744 2001-06-07  Juergen Vigna  <jug@sad.it>
9745
9746         * text.C (BreakAgain): subst spaces with tabs.
9747
9748         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
9749         (resizeInsetsLyXText): set force on resizeLyXText.
9750
9751 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9752
9753         * gettext.h (gettext_init):
9754         (locale_init): use a real definition instead of a macro
9755
9756 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
9757
9758         * Bufferview_pimpl.C:
9759         * LColor.h:
9760         * LColor.C: further lcolor tidies
9761
9762 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9763
9764         * BufferView_pimpl.C (updateScrollbar): simplify.
9765
9766         * BufferView2.C: don't include insets/insetinfo.h, change
9767         prototype for insertInset and call the Pimpl version. let
9768         updateInset call Pimpl version.
9769
9770         * BufferView.h: move inset_slept to BufferView::Pimpl, move
9771         gotoInset to BufferView::Pimpl
9772
9773 2001-06-01  Juergen Vigna  <jug@sad.it>
9774
9775         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
9776         inside a LockingInset (is the update needed at all?).
9777
9778 2001-05-31  Juergen Vigna  <jug@sad.it>
9779
9780         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
9781         here not the old one otherwise how should we compare it afterwards
9782         if it's the same!
9783
9784 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9785
9786         * lyxfont.C:
9787         * tabular.C:
9788         * tabular-old.C:
9789         * FontInfo.C: bring C functions into global namespace when
9790         necessary
9791
9792 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9793
9794         * LString.h: make sure config.h has been loaded before LString.h.
9795
9796         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
9797         (one for each char read by EatLine!).
9798
9799         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
9800         variables.
9801
9802 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9803
9804         * paragraph.C (BreakParagraph): set the inset_owner in the new par
9805         to the same as the par we break from
9806
9807 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9808
9809         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
9810
9811         * MenuBackend.C (expand): also create menu entries for wide
9812         versions of the floats.
9813
9814         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
9815
9816         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
9817
9818         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
9819         frontends/Makefile.am
9820
9821         * text2.C: adjust
9822         * text.C: adjust
9823
9824
9825         * tabular.C (getTokenValue): add std::
9826
9827         * tabular-old.C (getTokenValue): add std::
9828         (getTokenValue): ditto
9829         (getTokenValue): ditto
9830
9831         * screen.C (ToggleSelection): adjust
9832
9833         * lyxtext.h: put selection cursors inside a Selection struct.
9834
9835         * lyxfunc.C (moveCursorUpdate): adjust
9836
9837         * lyxfont.C (latexWriteStartChanges): add std::
9838
9839         * lyxfind.C: adjust
9840
9841         * font.h: delete with(char const *, LyXFont const &)
9842
9843         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
9844
9845         * FontInfo.C (getFontname): add std::
9846
9847         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
9848         (workAreaButtonPress): adjust
9849         (tripleClick): adjust
9850         (update): adjust
9851         (moveCursorUpdate): adjust
9852         (Dispatch): adjust
9853
9854         * BufferView2.C (gotoInset): adjust
9855
9856 2001-05-30  Juergen Vigna  <jug@sad.it>
9857
9858         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
9859         to check pspell I add this as default as I now have new pspell
9860         libraries and they seem to use this.
9861
9862 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9863
9864         * text2.C (CutSelection): make the cursor valid before the call to
9865         ClearSelection.
9866
9867 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9868
9869         * kbsequence.C (parse): de-uglify a bit the parsing code, which
9870         relied on 0 terminated strings and other horrors. Bug found due to
9871         the new assert in lyxstring!
9872
9873         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
9874         KP_ keys.
9875
9876 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9877
9878         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
9879         to latinkeys.bind.
9880
9881         * lyxfunc.C (processKeySym): change method of getting to the
9882         self-insert char.
9883
9884         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
9885         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
9886         * BufferView_pimpl.[Ch]: here as private methods.
9887
9888 2001-05-28  Juergen Vigna  <jug@sad.it>
9889
9890         * text.C (SetHeightOfRow): added the update() call again as it is
9891         needed to initialize inset dimensions!
9892
9893 2001-05-16  Juergen Vigna  <jug@sad.it>
9894
9895         * text2.C (SetCharFont): Add new function with BufferView * and
9896         bool toggleall parameters for setting insets internal fonts.
9897         (SetFont): Freeze the undo as we may change fonts in Insets and
9898         all this change should be inside only one Undo!
9899
9900         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
9901         setting font's in insets as for them we have the SetFont function!
9902
9903 2001-05-15  Juergen Vigna  <jug@sad.it>
9904
9905         * text2.C (ClearSelection): to be sure we REALLY don't have any
9906         selection anymore!
9907
9908         * tabular.C (TeXCellPreamble): fixed the left border problem for
9909         multicolumn cells.
9910
9911 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
9912
9913         * LaTeX.C (deplog): Make sure that the main .tex file is in the
9914         dependancy file
9915
9916 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9917
9918         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
9919         LFUN_BREAKPARAGRAPH.
9920
9921         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
9922         help test to "internal only", similar for LFUN_INSERT_URL
9923
9924         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
9925         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
9926         auto_region_delete and deadkeys.
9927
9928 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
9929
9930         * LColor.h:
9931         * LColor.C: remove some dead entries, tidy a little
9932
9933 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9934
9935         * lyxfunc.C (processKeySym): comment the Escape handling, remove
9936         commented code.
9937         (Dispatch): implement LFUN_ESCAPE
9938
9939         * commandtags.h: add LFUN_ESCAPE
9940
9941         * LyXAction.C (init): add entry for LFUN_ESCAPE
9942
9943         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
9944         Remove commented code.
9945         (insertNote): moved here
9946         (open_new_inset): moved here
9947
9948         * BufferView[2].[Ch]: move insertNote and open_new_inset to
9949         BufferView_pimpl
9950
9951 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9952
9953         * kbmap.C (findbinding): clean it up and make it work correctly.
9954
9955         * lyx_main.C (init): do not pass argc and argv as parameters
9956
9957 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
9958
9959         * buffer.C: fix path for OS/2 & Win32
9960
9961         * lyx_gui.C:
9962         * lyx_main:
9963         * lyx_main.C: Added os:: class.
9964
9965         * os2_defines.h: update
9966
9967 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9968
9969         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
9970         better by trying again with reduced state.
9971
9972 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9973
9974         * lyxrc.C (read): print error about invalid key sequence only when
9975         debugging (because not all latinX keysyms are known to some X
9976         servers)
9977
9978         * kbsequence.C (getiso): add a few std:: qualifiers
9979         (getiso): comment out extra return statement.
9980
9981 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9982
9983         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
9984         handling.
9985         (Dispatch): enhance the accent inset a bit. (not perfect)
9986
9987 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9988
9989         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
9990
9991 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
9992
9993         * bufferlist.C (emergencyWrite): fix assert() call
9994
9995 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
9996
9997         * text.C (InsertChar): Added trivial patch to only send the "you
9998         can not do multiple spaces this way" message once during a
9999         session.
10000
10001 2001-05-08  Baruch Even  <baruch@lyx.org>
10002
10003         * Makefile.am: Changed order of libraries to get LyX to link properly
10004         with the gnome frontend.
10005
10006 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10007
10008         * LaTeXFeatures.h: add a std:: qualifier
10009
10010 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10011
10012         * paragraph.C (String): use stringstream
10013
10014 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10015
10016         * paragraph.C (writeFile): remove footflag arg
10017
10018         * buffer.C (makeLaTeXFile): use stringstream
10019         (latexParagraphs): remove footnot gurba
10020
10021         * LaTeXFeatures.C (getPackages): use stringstream
10022         (getMacros): likewise
10023         (getTClassPreamble): likewise
10024         (getFloatDefinitions): new method
10025
10026         * paragraph.C (writeFile): reindent
10027         (Erase): reindent
10028
10029         * WorkArea.h: revert the xpos + etc changes.
10030
10031         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
10032
10033         * lyxparagraph.[Ch]: add copy constructor, remove Clone
10034
10035         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
10036         (pasteSelection): likewise
10037         * text2.C (CreateUndo): likewise
10038
10039 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10040
10041         * minibuffer.C (peek_event): temporarily reduce the functionality
10042         of the minibuffer (to allow args on lfuns)
10043
10044         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
10045         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
10046
10047         * buffer.C (readInset): add compability reading of old float
10048         lists, add reading of new style float list.
10049         (readInset): avoid reevaluation of inscmd.getCmdName()
10050         (getLists): reindent
10051
10052         * MenuBackend.C (MenuItem): implement parsing of
10053         md_floatlistinsert and md_floatinsert.
10054         (expand::LastFiles): move initalizaton of iterators out of loop,
10055         avoid reevaluation.
10056         (expand::Documents): introduce typdedef vector<string> Strings,
10057         and use it.
10058         (expand::ExportFormats): introduce typedef vector<Format const *>
10059         Formats, and use it.
10060         (expand): implement FloatListInsert and FloatInsert.
10061
10062         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
10063         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
10064         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
10065
10066         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
10067         handling.
10068         (Dispatch::LFUN_FLOAT_LIST): implement
10069
10070 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
10071
10072         * LaTeX.C (run): Fix problem with --export code.
10073
10074 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
10075
10076         * BufferView.[Ch] (workarea): removed.
10077         (getClipboard) new method; wrapper for workarea()->getClipboard()
10078
10079         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
10080         bug.
10081
10082         * WorkArea.h (width, height, xpos, ypos): These methods all
10083         returned the dimensions of the work_area sub-area of WorkArea,
10084         resulting in a position error if the WorkArea were resized. Now
10085         return the dimensions of the entire WorkArea.
10086
10087         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
10088
10089 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10090
10091         * LaTeX.C (deplog): correct the syntax of regex reg1
10092
10093 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10094
10095         * undo.C: remove !NEW_INSETS cruft
10096
10097 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10098
10099         * text2.C: remove !NEW_INSETS cruft
10100
10101         * text.C: remove !NEW_INSETS cruft
10102
10103         * tabular.C: remove !NEW_INSETS cruft
10104
10105         * spellchecker.C: remove !NEW_INSETS cruft
10106
10107         * lyxtext.h: remove !NEW_INSETS cruft
10108
10109         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
10110
10111         * lyxfunc.C: remove !NEW_INSETS cruft
10112
10113         * lyxfind.C: remove !NEW_INSETS cruft
10114
10115         * lyx_cb.C: remove !NEW_INSETS cruft
10116
10117         * figureForm.C: remove  !NEW_INSETS cruft
10118
10119         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
10120
10121         * buffer.[Ch]: remove !NEW_INSETS cruft
10122
10123         * ToolbarDefaults.C: remove !NEW_INSETS cruft
10124
10125         * CutAndPaste.C: remove !NEW_INSETS cruft
10126
10127         * BufferView_pimpl.C: remove !NEW_INSETS cruft
10128
10129         * BufferView2.C: remove !NEW_INSETS cruft
10130
10131         * BufferView.h: remove !NEW_INSETS cruft
10132
10133 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10134
10135         * Lsstream.h: include LString.h before the sstream headers to
10136         fix problem with gcc 2.95.3 and lyxstring
10137
10138 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10139
10140         * lyx_main.C: add using directives when needed for C functions
10141         declared in std:: namespace.
10142
10143 2001-04-27  Juergen Vigna  <jug@sad.it>
10144
10145         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
10146         (SetHeightOfRow): comment out the update call should not be needed!
10147
10148 2001-04-13  Juergen Vigna  <jug@sad.it>
10149
10150         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
10151         (LyXTabular): tried to minimize operator= operations (and realized
10152         hopfully Lars wish).
10153
10154 2001-04-27  Juergen Vigna  <jug@sad.it>
10155
10156         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
10157
10158 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10159
10160         * lyxfunc.C (Dispatch): hack to make listof algorithm work
10161
10162         * buffer.C (readInset): hack to make listof algorithm work
10163
10164         * BufferView_pimpl.C: hack to make listof algorithm work
10165
10166 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10167
10168         * LyXAction.C: removed all !NEW_INSETS cruft
10169         (init): moved lfun_item in method
10170
10171         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
10172
10173 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
10174
10175         * BufferView2.C (theLockingInset): white space.
10176
10177 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10178
10179         * minibuffer.C: include <iostream>
10180
10181         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
10182
10183         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
10184
10185         * commandtags.h: add LFUN_TRANSPOSE_CHARS
10186
10187         * text.[Ch] (TransposeChars): new method
10188
10189 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10190
10191         * call message directly through LyXView instead of through LyXFunc
10192         * BufferView2.C: adjust
10193         * BufferView_pimpl.C: adjust
10194         * FontLoader.C: adjust
10195         * buffer.C: adjust
10196         * bufferview_funcs.C: adjust
10197         * converter.C: adjust
10198         * figureForm.C: adjust
10199         * importer.C: adjust
10200         * lyx_cb.C: adjust
10201         * lyx_gui_misc.C: adjust
10202         * lyxfunc.C: adjust
10203         * lyxvc.C: adjust
10204         * text2.C: adjust
10205         + more files in subdirs
10206
10207         * lyxparagraph.h (size): move up int file
10208         (GetLayout): ditto
10209
10210         * adjust all uses of Assert to lyx::Assert.
10211
10212         * BufferView2.C (ChangeCitationsIfUnique): adjust for
10213         lyxfunctional in namespace lyx
10214         * layout.C (hasLayout): ditto
10215         (GetLayout): ditto
10216         (GetLayout): ditto
10217         (delete_layout): ditto
10218         (NumberOfClass): ditto
10219         * converter.C (GetFormat): ditto
10220         (GetNumber): ditto
10221         (Add): ditto
10222         (Delete): ditto
10223         (SetViewer): ditto
10224         * bufferlist.C (getFileNames): ditto
10225         (emergencyWriteAll): ditto
10226         (exists): ditto
10227         (getBuffer): ditto
10228         * MenuBackend.C (hasSubmenu): ditto
10229         (hasMenu): ditto
10230         (getMenu): ditto
10231         * BufferView_pimpl.C (getInsetByCode): ditto
10232
10233 2001-04-18  Juergen Vigna  <jug@sad.it>
10234
10235         * vspace.C (asLatexString): fixed the 100% problem.
10236
10237 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10238
10239         * lyxfunc.C (Dispatch):
10240         * minibuffer.C:
10241         * minibuffer.h: add a few std:: qualifiers
10242
10243 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10244
10245         * minibuffer.[Ch]: reimplement so that commands is initiated and
10246         run from lyxfunc, simplified som handling, and made the completion
10247         and history code for complete. wip.
10248
10249         * lyxfunc.C (processKeySym): call message
10250         (miniDispatch): new temporary method
10251         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
10252         (LFUN_MESSAGE): implement
10253         (LFUN_MESSAGE_PUSH): implement
10254         (LFUN_MESSAGE_POP): implement
10255         (initMiniBuffer): the initial/defualt minibuffer message.
10256
10257         * lyxfont.[Ch]: inline some more getters
10258
10259         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
10260
10261         * lyx_gui_misc.[Ch] (WriteStatus): remove method
10262
10263         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
10264         (AutoSave): use LFUN_MESSAGE
10265         (Reconfigure): ditto
10266
10267         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
10268
10269         * figureForm.C: use LFUN_MESSAGE
10270
10271         * converter.C (runLaTeX): use LFUN_MESSAGE
10272
10273         * bufferview_funcs.C: use LFUN_MESSAGE
10274         (Melt): ditto
10275         (changeDepth): ditto
10276
10277         * bufferparams.h: use boost::
10278
10279         * bufferlist.h: inherit privately from noncopyable
10280
10281         * bufferlist.C (loadLyXFile): remove some commented code.
10282
10283         * buffer.C (runChktex): use LFUN_MESSAGE
10284
10285         * ShareContainer.h: inherit privately from noncopyable
10286
10287         * ParagraphParameters.[hC] (depth): inline it.
10288
10289         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
10290         methods.
10291         (message): new method
10292         (messagePush): ditto
10293         (messagePop): ditto
10294         (show): init minibuffer
10295         (showState): direct call
10296
10297         * LaTeX.[Ch]: inherit privately from noncopyable
10298         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
10299         instead of WriteStatus.
10300
10301         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
10302
10303         * BufferView_pimpl.C (buffer): don't init minibuffer
10304         (workAreaButtonPress): use LFUN_MESSAGE
10305         (workAreaButtonRelease): ditto
10306         (savePosition): ditto
10307         (restorePosition): ditto
10308         (MenuInsertLyXFile): ditto
10309         (workAreaExpose): don't init minibuffer
10310         (update): remove commented code, simplify
10311
10312         * BufferView2.C (openStuff): use LFUN_MESSAGE
10313         (toggleFloat): ditto
10314         (menuUndo): ditto
10315         (menuRedo): ditto
10316         (copyEnvironment): ditto
10317         (pasteEnvironment): ditto
10318         (copy): ditto
10319         (cut): ditto
10320         (paste): ditto
10321         (gotoInset): ditto
10322         (updateInset): remove some commented code
10323
10324         * lastfiles.h: inherit privately from noncopyable
10325         * layout.h: ditto
10326         * lyx_gui.h: ditto
10327         * lyx_main.h: ditto
10328         * lyxlex.h: ditto
10329         * lyxlex_pimpl.h: ditto
10330
10331         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
10332         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
10333         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
10334
10335         * LyXAction.h: inherit privately from noncopyable, add methods
10336         func_begin, func_end, returning iterators to the func map.
10337
10338         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
10339         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
10340         (func_begin): new method
10341         (func_end): new method
10342
10343         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
10344         and not)
10345         (copySelection): ditto
10346         (pasteSelection): ditto
10347
10348         * BufferView.C: whitespace change
10349         * BufferView.h: inherit privately from noncopyable
10350
10351 2001-04-16  Allan Rae  <rae@lyx.org>
10352
10353         * tabular-old.C (l_getline):
10354         * spellchecker.C (sc_check_word):
10355         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
10356         an unrecognised preprocessor directive.  So ensure they're wrapped.
10357
10358 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
10359
10360         * src/exporter.C (Export): Give an error message when path to file
10361         contains spaces.
10362
10363 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
10364
10365         * LaTeX.C (deplog): Always check that foundfile exists.
10366
10367 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10368
10369         * lyx_main.h:
10370         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
10371
10372 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10373
10374         * tabular.[Ch] (getLabelList): implement new method
10375
10376         * minibuffer.h: comment ouf setTiimer
10377
10378         * minibuffer.C (ExecutingCB): constify res
10379         (peek_event): constify s
10380         (Set): constify ntext
10381         (Init): constify nicename
10382
10383         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
10384
10385         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
10386         (savePosition): use two params to Minibuffer::Set
10387         (restorePosition): ditto
10388
10389 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10390
10391         * lyx_main.C: include language.h
10392
10393         * Makefile.am (lyx_main.o): add language.h
10394
10395 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10396
10397         * exporter.C:
10398         * paragraph.C:
10399         * screen.C:
10400         * tabular.C:
10401         * CutAndPaste.C: include gettext.h
10402
10403         * lyxfont.h: remove old hack with ON and OFF.
10404
10405         * lyxparagraph.h:
10406         * lyxfont.h: do not include language.h...
10407
10408         * BufferView2.C:
10409         * LaTeXFeatures.C:
10410         * Painter.C:
10411         * bufferview_funcs.C:
10412         * font.C:
10413         * lyxfont.C:
10414         * text.C:
10415         * text2.C:
10416         * trans_mgr.C:
10417         * paragraph.C: ... but do it here instead
10418
10419 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10420
10421         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
10422
10423         * tabular.C: small reformat
10424
10425         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
10426         NEW_INSETS version
10427         (GetChar): ditto
10428         (BreakParagraph): ditto
10429         (SetOnlyLayout): ditto
10430         (SetLayout): ditto
10431
10432         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
10433         with one arg less.
10434
10435         * lastfiles.C: removed most using decl, add std:: where needed
10436
10437         * buffer.C: ws changes
10438
10439         * MenuBackend.C (class compare_format): put into anon namespace
10440         (expand): constify label, names, action, action2
10441         (expand):
10442
10443         * text.C (SingleWidth): constify font
10444         (IsBoundary): constify rtl2
10445         (GetVisibleRow): constify ww
10446
10447         * LaTeX.C (deplog): constify logfile
10448
10449         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
10450         start_x, end_x
10451         (workAreaExpose): constify widthChange, heightChange
10452
10453         * lyxrow.C (par): moved
10454         (height): moved
10455         (next): moved
10456         * lyxrow.h: as inlines here
10457
10458         * lyxfont.h (shape): moved from lyxfont.C
10459         (emph): moved from lyxfont.C
10460
10461         * lyxfont.C (LyXFont): use initialization list for all
10462         constructors
10463         (shape): move to lyxfont.h as inline
10464         (emph): move to lyxfont.h as inline
10465
10466
10467 2001-04-04  Juergen Vigna  <jug@sad.it>
10468
10469         * vspace.C: had to include stdio.h for use of sscanf
10470
10471 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
10472
10473         * BufferView.h:
10474         * BufferView_pimpl.h: remove xforms cruft. Both classes are
10475         independent of xforms.
10476
10477 2001-04-02  Juergen Vigna  <jug@sad.it>
10478
10479         * spellchecker.C: fixed namespace placing!
10480
10481 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
10482
10483         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
10484         the LyXParagraph * is 0.
10485
10486 2001-03-29  Juergen Vigna  <jug@sad.it>
10487
10488         * vspace.C: added support for %, c%, p%, l%.
10489         (stringFromUnit): added helper function.
10490         (asLatexString): changed to give right results for the %-values.
10491
10492         * buffer.C: convert the widthp in a width%.
10493
10494 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
10495
10496         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
10497         figureForm.[Ch].
10498
10499         * figureForm.[Ch]: stripped the FD_from_figure manipulation
10500         code out of lux_cb.[Ch], ready for its (imminent?) removal.
10501
10502         * lyx_cb.[Ch]: see above.
10503
10504         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
10505         form1.[Ch].
10506
10507         * form1.[Ch]:
10508         * lyx.[Ch]: replaced by figure_form.[Ch].
10509
10510         * lyx_gui.C:
10511         * lyx_gui_misc.C:
10512         * lyxfunc.C: changed headers associated with above changes.
10513
10514 2001-03-27  Juergen Vigna  <jug@sad.it>
10515
10516         * BufferView_pimpl.C: set the temporary cursor right!
10517
10518 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
10519
10520         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
10521
10522 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
10523
10524         * LString.h: removed "using std::getline"!
10525
10526         * BufferView_pimpl.C (Dispatch): changes due to changes in
10527         InsetInclude::Params.
10528
10529         * buffer.C (tag_name): removed redundant break statements as they were
10530         producing lots of warnings with my compiler.
10531
10532 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10533
10534         * LString.h: add "using std::getline" when using the real <string>.
10535
10536 2001-03-23  José Abílio Matos  <jamatos@fep.up.pt>
10537
10538         * buffer.C: removed bitset usage.
10539         PAR_TAG moved to an anonymous name space.
10540         (tag_name): new funtion, also in the anonymous namespace.
10541         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
10542         (makeDocBookFile): clean code. Completed transition from string arrays
10543         to string vectors.
10544         (SimpleDocBookOnePar): code clean.
10545
10546 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
10547
10548         * tabular.C: add some comments.
10549
10550 2001-03-22  Juergen Vigna  <jug@sad.it>
10551
10552         * buffer.C (parseSingleLyXformat2Token): redone the minipage
10553         compatibility read a bit and fixed bug with minipage in different
10554         depth.
10555
10556 2001-03-21  José Abílio Matos  <jamatos@fep.up.pt>
10557
10558         * buffer.C (pop_tag): removed.
10559         (push_tag): removed.
10560         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
10561         array replaced with vector. Added support for CDATA sections.
10562         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
10563         at any nest level.
10564         (makeDocBookFile): XML conformant declaration of CDATA section,
10565         fixed bug related to <emphasis> in the first paragraph char.
10566         (sgmlOpenTag): exclude empty tags.
10567         (sgmlCloseTag): ditto.
10568
10569         * buffer.h (pop_tag): removed.
10570         (push_tag): removed.
10571
10572 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
10573
10574         * language.h (Languages): added size_type and size().
10575
10576 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
10577
10578         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
10579         response on compability reading of minipages. One probliem is that
10580         the old usage of minipages was «flertydig»
10581
10582         * several files here and in subdirs: don't use static at file
10583         scope use anon namespaces instead.
10584
10585 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
10586
10587         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
10588         LaTeX output. This is necessary for Literate document
10589         processing.
10590
10591 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
10592
10593         * buffer.C: insert hfill when needed.
10594
10595         * tabular.C (l_getline): use string::erase, small whitespace change.
10596
10597         * BufferView_pimpl.C: try the anon namespace.
10598         * WorkArea.C: ditto
10599
10600 2001-03-16  Juergen Vigna  <jug@sad.it>
10601
10602         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
10603         otherwise it won't open options-dialogs.
10604
10605         * buffer.C: honor pextraWidth(p) on converting minipages.
10606
10607         * tabular.C (l_getline): changed the functions to strip trailing \r.
10608
10609 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
10610
10611         * BufferView_pimpl.C:
10612         * minibuffer..C: added "using SigC::slot" declaration.
10613
10614 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
10615
10616         * lyxlex_pimpl.h: noncopyable is in namespace boost.
10617
10618         * text2.C: ditto
10619
10620         * text.C: ditto
10621
10622         * paragraph.C: ditto
10623
10624         * lyxtext.h: NO_PEXTRA
10625
10626         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
10627
10628         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
10629         * ParameterStruct.h: ditto
10630         * ParagraphParameters.h: ditto
10631         * lyxparagraph.h: ditto
10632
10633 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
10634
10635         * buffer.C: add compability for minipage alignment.
10636         (latexParagraphs): remove unwanted pextra check.
10637
10638         * several files: remove CXX_WORKING_NAMESPACES
10639
10640         * buffer.C (pop_tag): tie is in namespace boost
10641
10642         * BufferView.h: noncopyable is in namespace boost
10643         * lyxlex.h: ditto
10644         * lyx_main.h: ditto
10645         * lyx_gui.h: ditto
10646         * layout.h: ditto
10647         * lastfiles.h: ditto
10648         * bufferlist.h: ditto
10649         * ShareContainer.h: ditto
10650         * LyXView.h: ditto
10651         * LyXAction.h: ditto
10652         * LaTeX.h: ditto
10653
10654 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
10655
10656         * Merging changes from BRANCH_MVC back into HEAD.
10657
10658         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
10659
10660 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
10661
10662         * BufferView_pimpl.C: change from intl.C
10663
10664         * combox.h:
10665         * combox.C:
10666         * Makefile.am: move combox.*
10667
10668         * form1.h:
10669         * form1.C:
10670         * lyx_gui.C:
10671         * intl.h:
10672         * intl.C: remove dialog (covered by prefs)
10673
10674 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
10675
10676         * lyxfunc.C (Dispatch): removed redundant break statement.
10677
10678 2001-03-14  Juergen Vigna  <jug@sad.it>
10679
10680         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
10681
10682 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
10683
10684         * buffer.C: add hack to fix compability reading of minipages.
10685
10686 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
10687
10688         * buffer.C (getLists): Cleanup.
10689
10690 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10691
10692         * lyxfont.C (update): don't honor toggleall on font size.
10693
10694 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
10695
10696         * bmtable.c:
10697         * bmtable.h:
10698         * Makefile.am: moved to frontends/xforms/
10699
10700         * lyx_gui_misc.C:
10701         * lyxfunc.C:
10702         * BufferView_pimpl.C: changes for moved mathpanel
10703
10704 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
10705
10706         * gettext.h: fix gettext_init() in --disable-nls
10707
10708 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10709
10710         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
10711
10712 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
10713
10714         * lyx.C:
10715         * lyx.h: strip external form
10716
10717 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
10718
10719         * BufferView_pimpl.C: add comment, destroySplash()
10720
10721 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
10722
10723         * BufferView_pimpl.C:
10724         * LyXAction.C:
10725         * buffer.C:
10726         * commandtags.h:
10727         * lyxfunc.C: use re-worked insetinclude
10728
10729 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
10730
10731         * buffer.C: add using std::stringstream.
10732
10733         * lyx_cb.C: readd using std::ios.
10734
10735         * buffer.C: add using std::map.
10736
10737         * BufferView_pimpl.C: add using std::vector.
10738
10739         * ShareContainer.h: add std:: to swap.
10740
10741         * buffer.h: add some typedefs
10742         * buffer.C (getLists): use them
10743         (getLists): renamed from getTocList.
10744         add a counter for the different float types and use it in the
10745         generated string.
10746         (getLists): use the same counter for the NEW_INSETS and the "non"
10747         NEW_INSETS
10748
10749         * lyx_cb.h: remove unused items, includes, using etc.
10750
10751         * ShareContainer.h: remove some commented code, add more comments
10752         and "documentation".
10753
10754 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
10755
10756         * buffer.C (getTocList): make the list also when NEW_INSETS is
10757         defined.
10758
10759         * buffer.h: remove TocType
10760
10761         * buffer.C (getTocList): change to return a map<string,
10762         vector<TocItem> >, implement for dynamic number of list.
10763
10764         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
10765         * text2.C (PasteSelection): adjust
10766         * CutAndPaste.C (pasteSelection): adjust
10767
10768         * FloatList.C (FloatList): update from the new_insets branch.
10769         * Floating.[Ch]: ditto
10770         * LaTeXFeatures.C: ditto
10771         * buffer.C: ditto
10772         * lyxlex_pimpl.C: ditto
10773
10774         * paragraph.C (Last): remove when NEW_INSETS is defined.
10775
10776         * other file: changes because of the above.
10777
10778 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
10779
10780         * lyxparagraph.h: rename next to next_, previous to previous_,
10781         make them private for NEW_INSETS. Rename Next() to next(),
10782         Previous() to previous().
10783
10784         * other files: changes because of the above.
10785
10786 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
10787
10788         * BufferView.h:
10789         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
10790         problem.
10791
10792 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10793
10794         * main.C (main): pass lyx_localedir to gettext_init().
10795
10796         * gettext.h: remove locale_init and gettext_init macros
10797
10798         * gettext.C (locale_init): new function
10799         (gettext_init): new function
10800
10801         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
10802         setlocale().
10803
10804 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
10805
10806         * Moved credits to frontends:
10807         * credits.[Ch]: removed
10808         * credits_form.[Ch]: removed
10809         * lyx_gui_misc.C: remove credits stuff
10810         * Makefile.am:
10811
10812 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
10813
10814         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
10815
10816         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
10817         unneeded destructor.
10818
10819         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
10820         a standalone pointer again.
10821
10822         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
10823
10824 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
10825
10826         * Makefile.am:
10827         * filedlg.h:
10828         * filedlg.C:
10829         * LyXAction.C:
10830         * ToolbarDefaults.C:
10831         * bufferlist.C:
10832         * commandtags.h:
10833         * form1.C:
10834         * form1.h:
10835         * lyx_cb.C:
10836         * lyx_cb.h:
10837         * lyxfunc.h:
10838         * lyxfunc.C:
10839         * BufferView_pimpl.C: use new file dialog in GUII
10840
10841         * lyx_cb.h:
10842         * lyx_cb.C: remove LayoutsCB to Toolbar
10843
10844 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10845
10846         * ShareContainer.h (get): add std:: qualifier
10847
10848 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10849
10850         * ShareContainer.h: define a proper ShareContainer::value_type
10851         type (and use typename to please compaq cxx)
10852
10853 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
10854
10855         * lyxparagraph.h: move serveral local vars to
10856         ParameterStruct/ParagraphParameters., use ShareContainer in
10857         FontTable., make vars in FontTable private and add getter and
10858         setter.
10859
10860         * paragraph.C: changes because of the above.
10861
10862         * lyxfont.h: remove copy constructor and copy assignment. (the
10863         default ones is ok), move number inside FontBits. move inlines to
10864         lyxfont.C
10865
10866         * lyxfont.C: add number to initializaton of statics, move several
10867         inlines here. constify several local vars. some whitespace
10868         cleanup. Dont hide outerscope variables.
10869
10870         * Spacing.h: add two new constructors to match the set methods.
10871
10872         * ShareContainer.h: new file, will perhaps be moved to support
10873
10874         * ParameterStruct.h: new file
10875
10876         * ParagraphParameters.h: new file
10877
10878         * ParagraphParameters.C: new file
10879
10880         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
10881         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
10882
10883         * BufferView_pimpl.C: ParagraphParameter changes.
10884         * buffer.C: Likewise.
10885         * bufferview_funcs.C: Likewise.
10886         * text.C: Likewise.
10887         * text2.C: Likewise.
10888
10889 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10890
10891         * lyxfind.C (LyXReplace): do not redefine default argument in
10892         implementation.
10893         (IsStringInText): ditto
10894         (SearchForward): ditto
10895         (SearchBackward): ditto
10896
10897 2001-03-06  Juergen Vigna  <jug@sad.it>
10898
10899         * lyxfind.C (IsStringInText): put parentes around expressions.
10900
10901 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
10902
10903         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
10904
10905 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
10906
10907         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
10908
10909         * stl_string_fwd.h: add comment
10910
10911         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
10912
10913         * tabular.h:
10914         * tabular.C: remove unused DocBook methods
10915
10916         * intl.C:
10917         * language.C:
10918         * paragraph.C:
10919         * buffer.C:
10920         killed DO_USE_DEFAULT_LANGUAGE
10921
10922 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10923
10924         * lyx_gui.C: do not include language.h.
10925
10926         * bufferview_funcs.C (ToggleAndShow): do not provide optional
10927         arguments in function implementation.
10928
10929 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
10930
10931         * BufferView_pimpl.C: add <ctime>
10932
10933 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
10934
10935         * BufferView_pimpl.C: add using std::find_if
10936
10937 2001-02-27  José Matos  <jamatos@fep.up.pt>
10938
10939         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
10940         by OnlyPath.
10941
10942 2001-02-11  José Matos  <jamatos@fep.up.pt>
10943
10944         * buffer.C (makeDocBookFile): command styles now have a parameter as
10945         "title" by default.
10946
10947 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
10948
10949         * layout_forms.[Ch]: removed
10950         * lyx_cb.[Ch]: out character
10951         * lyx_gui.C: out character
10952         * lyx_gui_misc.C: out character
10953         * bufferview_funcs.C: : out character,
10954         added toggleall as parameter in ToggleAndShow
10955
10956 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
10957
10958         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
10959
10960         * text2.C (SetCurrentFont): Disable number property at boundary.
10961
10962 2001-02-26  Juergen Vigna  <jug@sad.it>
10963
10964         * lyxfunc.C (getStatus): added a string argument override function so
10965         that this is correctly called from LyXFunc::Dispatch if it contains a
10966         do_not_use_argument which is used!
10967         (Dispatch): added check for "custom" export and call appropriate func.
10968
10969 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
10970
10971         * lyxrc.C: Add language_command_local, language_use_babel and
10972         language_global_options.
10973
10974         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
10975
10976         * buffer.C (makeLaTeXFile): Use language_use_babel and
10977         language_global_options.
10978
10979 2001-02-23  Juergen Vigna  <jug@sad.it>
10980
10981         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
10982         which works with LyXText and putted it inside BufferView. Here now we
10983         only call for that part the BufferView::Dispatch() function.
10984
10985         * BufferView.C (Dispatch): added.
10986
10987         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
10988         functions which needs to use a LyXText over from LyXFunc.
10989         (MenuInsertLyXFile): added
10990         (getInsetByCode): added
10991         (moveCursorUpdate): added
10992         (static TEXT): added
10993
10994 2001-02-22  Juergen Vigna  <jug@sad.it>
10995
10996         * BufferView_pimpl.C (update): call a status update to see if LyXText
10997         needs it.
10998
10999 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
11000
11001         * vc-backend.C (revert): implement for CVS
11002         (getLog): implement for CVS
11003
11004 2001-02-20  Juergen Vigna  <jug@sad.it>
11005
11006         * text2.C (ClearSelection): added BufferView param for inset_owner call
11007
11008         * lyxfunc.C (TEXT): added this function and use it instead of
11009         directly owner->view()-text of getLyXText().
11010
11011 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
11012
11013         * src/layout_forms.C: out preamble
11014         * src/layout_forms.h: out preamble
11015         * src/lyx_cb.C: out preamble
11016         * src/lyx_cb.h: out preamble
11017         * src/lyx_gui.C: out preamble
11018         * src/lyx_gui_misc.C: out preamble
11019         * src/lyxfunc.C: connect with guii preamble
11020
11021 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
11022
11023         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
11024
11025 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
11026
11027         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
11028         whether to run bibtex.
11029
11030 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
11031
11032         * Makefile.am (lyx_SOURCES): Remove BackStack.h
11033
11034 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
11035
11036         * Makefile.am (lyx_SOURCES): removed bibforms.h
11037
11038         * vspace.h: doxygen
11039
11040         * text.C (GetVisibleRow): make several local vars const
11041
11042         * tabular.C: small cleanup.
11043
11044         * lyxserver.C (callback): use compare instead of strncmp
11045
11046         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
11047         inlines to after class or to paragraph.C
11048
11049         * lyxfont.h: remove friend operator!=
11050
11051         * converter.h: move friend bool operator< to non friend and after
11052         class def.
11053
11054         * combox.h: small cleanup
11055
11056         * buffer.h: doxygen, remove unused constructor, move inclas inlies
11057         to inlines after class def.
11058
11059         * buffer.C (pop_tag): use string operations instead of strcmp
11060
11061         * bmtable.c: doxygen, small cleanup
11062
11063         * LaTeX.h: remove friend operator==
11064
11065 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
11066
11067         * screen.C:
11068         * lyxrc.[Ch]:
11069         * lyxfunc.C:
11070         * lyxfont.[Ch]:
11071         * lyx_cb.C:
11072         * intl.[Ch]:
11073         * commandtags.h:
11074         * buffer.C:
11075         * WorkArea.[Ch]:
11076         * LyXAction.C:
11077         * BufferView_pimpl.C:
11078         * BufferView.[Ch]: remove cruft
11079
11080 2001-02-14  Juergen Vigna  <jug@sad.it>
11081
11082         * lyxfunc.C: removed #if 0 unused code
11083
11084         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
11085
11086         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
11087
11088         * text2.C (SetSelection): added a BufferView * parameter
11089
11090 2001-02-13  Juergen Vigna  <jug@sad.it>
11091
11092         * lyxfunc.C (Dispatch): fixed protected blank problem.
11093         * BufferView2.C (protectedBlank): added LyxText * parameter.
11094
11095         * tabular.C (AppendRow): forgot to set row_info of newly added row.
11096         (AppendColumn): same as above for column_info.
11097
11098         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
11099         (moveCursorUpdate): use a LyXText param for support of InsetText.
11100
11101         * BufferView_pimpl.C (doubleClick): added support for InsetText.
11102         (tripleClick): ditto
11103
11104         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
11105
11106         * BufferView_pimpl.C (update): added LyXText param to honor insets.
11107
11108         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
11109
11110         * text2.C (SetSelection): set correct update status if inset_owner
11111         (ToggleFree): ditto
11112
11113 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
11114
11115         * tabular.C: remove some commented code.
11116
11117 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
11118
11119         * BufferView_pimpl.C: call hideSplash()
11120
11121         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
11122
11123         * include_form.h:
11124         * bibforms.h: remove
11125
11126         * lyxfunc.C:
11127         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
11128           add LFUN_CHILD_CREATE
11129
11130         * counters.h: fix tiny typo
11131
11132         * lyx_cb.C:
11133         * lyx.h:
11134         * lyx_gui.C:
11135         * lyx.C: move splash to frontends/xforms/
11136
11137         * lyx_gui_misc.C: move Include and Bibform to frontends
11138
11139         * lyxvc.h: clarify comment
11140
11141         * vspace.C: tiny housekeeping
11142
11143 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
11144
11145         * text.C (PrepareToPrint): RTL Fix.
11146
11147         * paragraph.C (GetUChar): New method.
11148         (String):  Use GetUChar.
11149
11150         * buffer.C (asciiParagraph): Use GetUChar.
11151
11152 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
11153
11154         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
11155
11156 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
11157
11158         * buffer.h:
11159         * buffer.C: rename to getLogName(), handle
11160           build log / latex log nicely
11161
11162 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11163
11164         * MenuBackend.C:
11165         * MenuBackend.h: remove support for reference menuitem type.
11166
11167 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
11168
11169         * BufferView_pimpl.C: housekeeping
11170         * BufferView_pimpl.h:
11171         * LyXView.h:
11172         * Makefile.am:
11173         * Timeout.C:
11174         * Timeout.h:
11175         * minibuffer.h: move Timeout GUI-I
11176
11177 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
11178
11179         * lyxrc.C (read): Update converters data-structures.
11180
11181 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
11182
11183         * LaTeX.h (operator!=): add operator != for Aux_Info
11184
11185 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
11186
11187         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
11188
11189         * LaTeXLog.C: deleted, useful code moved to Buffer
11190
11191         * buffer.h:
11192         * buffer.C: new function getLatexLogName()
11193
11194         * lyx_gui_misc.C:
11195         * lyx_gui.C:
11196         * lyxvc.C:
11197         * lyxvc.h:
11198         * lyxfunc.C: use frontends for LaTeX and VC logs
11199
11200 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11201
11202         * LaTeX.h: yet another std:: that Allan forgot.
11203
11204         * Variables.C (set): renamed from isset(), because this clashes
11205         with some HP-UX macros (grr).
11206
11207 2001-02-06  Allan Rae  <rae@lyx.org>
11208
11209         * LaTeX.h: Another bug fix.  Missing std:: this time.
11210
11211 2001-02-04  Allan Rae  <rae@lyx.org>
11212
11213         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
11214         floats problem. I've left it commented out because it's not quite
11215         correct.  It should also test that the current object is a table or
11216         figure inset.  But I haven't gotten around to figuring out how to do
11217         that.  I *think* it'll be something like: "table" == inset.type()
11218
11219         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
11220         bool.
11221
11222 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
11223
11224         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
11225         all the citation/databases/styles in the auxilary file.
11226         (run): Rerun latex if there was a babel language error.
11227
11228 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
11229
11230         * text.C (Backspace): Preserve the font when changing newline char
11231         with a space.
11232         (BreakParagraph): If the cursor is before a space, delete the space.
11233
11234         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
11235
11236 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
11237
11238         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
11239         new argument (code).
11240         (ChangeCitationsIfUnique): New method.
11241
11242         * paragraph.C (GetPositionOfInset): Handle bibkey.
11243
11244 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11245
11246         * BufferView_pimpl.h: change type of Position::par_pos to
11247         LyXParagraph::size_type.
11248
11249 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
11250
11251         * BufferView_pimpl.C (savePosition, restorePosition): Write
11252         messages to minibuffer.
11253
11254 2001-01-28  José Matos  <jamatos@fep.up.pt>
11255
11256         * buffer.C (makeDocBookFile): adds support for document language.
11257         A silly restriction on the name of LatexCommand types where removed.
11258         Added support for CDATA sections, allows to chars unescaped, used
11259         among others in code, to avoid escape < and >.
11260
11261 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
11262
11263         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
11264         saved positions instrad of a stack. Furthermore, a position is
11265         stored using paragraph id/paragraph position.
11266
11267         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
11268         Remove LFUN_REF_BACK.
11269
11270 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
11271
11272         * converter.C (dvipdfm_options): New method.
11273
11274 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
11275
11276         * vspace.C (isValidLength): Fix for empty input string.
11277
11278 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11279
11280         * LyXAction.C (init): change description of LFUN_FIGURE to
11281         "Insert Graphics"
11282
11283 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11284
11285         * LaTeX.C: add using directive
11286
11287 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
11288
11289         * MenuBackend.C (expand): Fix the sorting of the formats.
11290
11291 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
11292
11293         * lyx_main.C: tiny error message fix
11294
11295 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11296
11297         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
11298         calling fl_initialize(). This fixes the problem with ',' as
11299         decimal separator in text files.
11300
11301 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
11302
11303         * trans.C (process): Fix the keymap bug.
11304
11305 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
11306
11307         * LaTeX.C (scanAuxFiles): New method. Provides support for
11308         multiple bibliographies (when using the bibtopic/bibunits pacakges).
11309         (scanLogFile) Scan for "run BibTeX" messages.
11310
11311         * buffer.C (makeLaTeXFile): Do not load the ae package when using
11312         OT1 font encoding. Also, load the aecompl package if the ae
11313         package is loaded.
11314
11315         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
11316
11317 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11318
11319         * texrow.C (increasePos): turn two error messages into debug
11320         messages.
11321
11322 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
11323
11324         * LaTeX.C (scanAux): Handle the \@input macro.
11325         (runBibTeX): Use scanAux().
11326
11327         * language.C (latex_options_): New field.
11328
11329         * LaTeXFeatures.C (getMacros): Add language macros.
11330
11331         * buffer.C (makeLaTeXFile): Small fix.
11332
11333 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
11334
11335         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
11336
11337         * text2.C: add a using directive.
11338
11339 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
11340
11341         * BufferView2.C:
11342         * lyx_gui_misc.h:
11343         * lyxfr1.C:
11344         * lyxfunc.C: kill LyXBell.
11345
11346 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
11347
11348         * text.C (IsBoundary): Remove the error message
11349
11350         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
11351
11352         * lyxrc.C (setDefaults): Correct initialization value for
11353         font_norm_type.
11354
11355 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
11356
11357         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
11358         gotoError().
11359
11360         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
11361         and GotoNextNote().
11362
11363         * src/LyXAction.C: Added reference-next.
11364
11365         * text.C (InsertChar): Use contains instead of strchr.
11366
11367         * lyx_cb.C (MenuInsertLabel): Enable default value code.
11368
11369 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
11370
11371         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
11372         alignment commands (when needed).
11373
11374         * text.C (InsertChar): Add ':' to number separator chars.