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