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