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