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