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