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