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