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