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