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