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