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