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