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