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