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