]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
03a11a005f329f850ae1eefbd0c9548788cabe97
[lyx.git] / src / ChangeLog
1 2005-12-01  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2
3         * rowpainter.C (paintFirst): fix centering of
4         LABEL_CENTERED_TOP_ENVIRONMENT. 
5
6 2005-11-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7
8         * BufferView.C (mouseSetCursor): new method. Calls
9         deleteEmptyParagraphMechanism if necessary.
10
11         * lyxtext.h: make deleteEmptyParagraphMechanism public.
12
13         * text3.C (dispatch/LFUN_MOUSE_PRESS): use
14         BufferView::mouseSetCursor (bug 2109).
15         (dispatch/LFUN_PASTE): remove #warning that is now irrelevant.
16
17 2005-11-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>  
18
19         * text3.C (dispatch/LFUN_INDEX_INSERT): when a selection is set,
20         do not remove it (this inset behaves differently from the others).
21
22 2005-11-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
23
24         Fix bug 2096.
25         
26         * BufferView_pimpl.C (getStatus): it is only possible to insert a
27         file in a text inset.
28
29         * buffer.C (readDocument): remove pit argument and code releated
30         to it; set the inset owner correctly (unrelated, but useful).
31         (readFile): get rid of pit argument.
32
33         * CutAndPaste.C (pasteSelectionHelper): use a ParagraphList and a
34         textclass instead of a selection index.
35         (pasteParagraphList): new function.
36         (pasteSelection): make it a wrapper around pasteParagraphList.
37
38         * BufferView_pimpl.C (MenuInsertLyXFile): use
39         cap::pasteParagraphList to insert a file.
40
41 2005-11-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
42
43         * buffer_funcs.C (bufferErrors): prevent endless loop (bug 2121)
44
45 2005-11-17  Michael Gerz  <michael.gerz@teststep.org>
46
47         * exporter.C: fix typo in text message
48
49 2005-11-28  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
50
51         * text2.C (setLayout): move recUndo call to other setLayout method
52         * tabular.C (toggleFixedWidth): new, handle cell width changes
53         * tabular.C (setColumnPWidth): move some code from insettabular.C here
54         and use toggleFixedWidth
55         * tabular.C (setMColumnPWidth): ditto
56
57 2005-11-25  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
58
59         * paragraph.C (asString): use new inset->textString method (fix
60         bug 2089) 
61
62 2005-11-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
63
64         * CutAndPaste.C (numberOfSelections): new helper function.
65
66         * lyxfunc.C (getStatus): remove support for LFUN_COPY and LFUN_CUT.
67
68         * text3.C (getStatus): move code for LFUN_CUT and LFUN_COPY from
69         LyXFunc::getStatus; implement LFUN_PASTE.
70
71 2005-11-17  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
72
73         * dociterator.[Ch]: new member realInset() that returns the cell
74         for tabulars and the inset for the rest (bug 1952).
75         * undo.C (textUndoOrRedo): use realInset when resetting insetOwner
76         (bug 1952).
77
78 2005-11-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
79
80         * text.C (leftMargin): honor the NextNoIndent tag in layouts.
81
82 2005-11-17  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
83
84         * lyxfunc.C:
85         * paragraph.C:
86         * text3.C: InsetBase::forceDefaultParagraphs now takes a cell as
87         argument.
88
89 2005-11-07  Martin Vermeer  <martin.vermeer@hut.fi>
90
91         * text.C (redoParagraph): Fix bug 1966: cursor doesn't go to next
92         line after typing ctrl-enter
93
94 2005-11-10  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
95
96         * bufferview_funcs.C (coordOffset): fix the fix for bug 2094, as
97         math insets do not return a proper editable() state yet (bug 2124).
98
99 2005-11-07  Martin Vermeer  <martin.vermeer@hut.fi>
100
101         * BufferView_pimpl.[Ch]: Fix bug 1814: better scroll behaviour for 
102         docs containing very large paragraphs.
103
104 2005-11-07  Martin Vermeer  <martin.vermeer@hut.fi>
105
106         * cursor.C (selectionBegin, selectionEnd):
107         * text.C (drawSelection): Fix bug 2115: assertion when anchor and 
108         cursor at different depths.
109
110 2005-11-03  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
111
112         * bufferview_funcs.C (coordOffset): do not call cursorPos
113         for collapsed collapsables (fix bug 2094).
114
115 2005-11-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
116
117         * paragraph.C (fontSpan): make sure that the FontSpan does not
118         span across beginOfBody (bug 1947).
119
120 2005-11-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
121
122         * lyxlength.h: undefine macros that clash with solaris/x86 (bug 992)
123
124 2005-11-03  Michael Gerz  <michael.gerz@teststep.org>
125
126         * messages.C: fix crash and localization on MinGW/Windows platform
127
128 2005-11-02  Angus Leeming  <leeming@lyx.org>
129
130         * Bidi.C:
131         * lyxtextclass.C: trivial fixes to some MSVS warnings.
132
133 2005-10-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
134
135         * text3.C (getStatus): re-enable disabled code. (bug 2081)
136
137         * BranchList.h (empty): constify.
138
139 2005-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
140
141         * text3.C (getStatus): 
142         * MenuBackend.C (expandBranches): take the branch list from the
143         master document (bug 2092).
144         
145         * MenuBackend.C (expandBranches): 
146         * bufferparams.C (writeFile): use BranchList type.
147
148 2005-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
149
150         * text3.C (dispatch, getStatus): 
151         * LyXAction.C (init): 
152         * lfuns.h: get rid of LFUN_KEYMAP_TOGGLE
153
154 2005-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
155
156         * toc.C (getTocList): skip paragraphs which toclevel is NOT_IN_TOC.
157
158 2005-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
159
160         * text.C (insertChar): do not reset boundary (bug 2061)
161
162 2005-10-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
163
164         * dociterator.C (updateInsets): new method. Updates the inset_
165         cache of all the slices of the iterator.
166
167         * text2.C (deleteEmptyParagraphMechanism): compare also containing
168         insets when comparing pit/pos; pass the right cursor to
169         recordUndo; when a paragraph has been deleted, compare `old.top()' to
170         the right cursor slice of `cur'; use updateInsets on cur to make
171         sure that the inset caches are correct; general cleanup.
172
173 2005-10-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
174
175         * text3.C (dispatch): LFUN_NEXT_INSET_TOGGLE: first try to
176         dispatch LFUN_INSET_TOGGLE to inset at cursor, and then to
177         containg inset. If this does not work, the same command will be
178         sent to other insets down the queue by LCursor::dispatch. (bug 2066)
179
180         * lyxfunc.C (dispatch): make sure the cursor is correct when doing
181         a dispatch.
182
183 2005-10-20  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
184
185         * lyxtextclass.C (Read): convert layout file if the format is wrong
186         * lyxtextclass.C (layout2layout): new, needed for the above
187
188 2005-10-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
189
190         * messages.C: do not forget to include <cerrno>.
191
192 2005-10-12  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
193
194         * dociterator.h (StableDocIterator): add access to pos().
195         * undo.C (samePar): new method to check if two
196         iterators are in the same paragraph
197         * undo.C (recordUndo): check for samePar instead of cell identity
198         (which includes pos() and is too strict) (fixes bug 2097)
199
200 2005-10-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
201
202         * text.C (setCursorFromCoordinates): return a bool telling whether
203         dEPM triggered.
204
205         * text3.C (cursorPrevious): update if needed after
206         setCursorFromCoordinates (when dEPM triggered).
207
208         * text2.C (cursorDown, cursorUp): make sure to reset the anchor
209         (otherwise the anchor may be completely wrong and make dEPM assert).
210
211 2005-10-12  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
212
213         * buffer.C: version upgrade to 245.
214         * bufferparams.C: remove \quotes_times (bug 2090).
215         * text3.C (doDispatch): LFUN_QUOTE_INSERT has to output double
216         quotation marks as default.
217
218 2005-10-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
219
220         * CutAndPaste.C (nrOfParagraphs): remove (unused)
221         * CutAndPaste.C (cutSelection): Remove debug message
222         * CutAndPaste.C (cutSelection): Use the real cursor in mathed, record
223         undo information and only copy if this is a real cut
224         * CutAndPaste.C (pasteSelection): remove superflous cur.resetAnchor()
225         call
226         * CutAndPaste.C (pasteSelection): remove now superflous mathed warning
227         (bug 2059)
228         * CutAndPaste.C (eraseSelection): prevent cursor corruption
229         * CutAndPaste.C (grabAndEraseSelection, selDel): remove now
230         superflous cur.selection() setting
231         * CutAndPaste.[Ch] (grabSelection): take a const cursor
232         * cursor.C (selectionAsString): implement mathed case ((bug 2059)
233
234 2005-10-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
235
236         * text3.C (mathDispatch, dispatch): Dont' record undo steps that don't
237         change anything.
238
239 2005-10-11  Martin Vermeer  <martin.vermeer@hut.fi>
240
241         * BufferView_pimpl.C: comment layout change
242
243 2005-10-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
244
245         * LyXAction.C:
246         * lfuns.h:
247         * lyxfunc.C: reimplement LFUN_INSERT_CITATION, which is needed
248         by bibliography managers (bug 2071).
249
250 2005-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
251
252         * BufferView_pimpl.C (update): choose arguments to update call so
253         that single-par update works most times
254         * text3.C (dispatch): carefully tune updating separately for
255         whole-screen and current-paragraph
256         * rowpainter.C (paintText): 1) replace painting by caching for
257         the two extra paragraphs, because we can;
258         2) suppress greying out of areas below/above drawn area in case of
259         single-par refresh
260         * lyxfunc.C (dispatch): remove superfluous update
261         * LyXAction.[Ch]: introduce SingleParUpdate
262
263 2005-10-05  Angus Leeming  <leeming@lyx.org>
264
265         * BufferView_pimpl.C (loadLyXFile): ensure that a pointer is
266         always initialised before use.
267
268         * text.C (setHeightOfRow): squash warning about comparison
269         of signed and unsigned types.
270
271 2005-10-03  Martin Vermeer  <martin.vermeer@hut.fi>
272
273         * text.C (cursorX): two fixes involving RtL text drawing
274
275 2005-10-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
276
277         * cursor.C (erase): fix 'clever' UI hack. It was activated for all
278         items, not only large ones (part of bug 2057)
279
280 2005-10-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
281
282         * text3.C (dispatch): when invoking LFUN_MATH_MACRO with no type
283         argument, use "newcommand".
284
285 2005-09-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
286
287         * cursor.C (setSelection): do not open collapsable insets;
288         the insets do by themselves now (autoopen).
289
290 2005-09-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
291
292         * buffer.C: format is up to 244.
293
294 2005-09-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
295
296         * text.C (redoParagraph): fix calcultation of inset width wrt 
297         leftMargin (bug 1957).
298
299         * text3.C (dispatch): leave inset to the right when hitting ESC 
300         (bug 2034).
301
302 2005-09-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
303
304         * text2.C: 
305         * text.C: 
306         * factory.C:
307         * messages.C: include <boost/current_function.hpp> 
308
309 2005-09-12  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
310
311         * lyxfunc.C (sendDispatchMessage): do not update menubar/toolbar
312         when command is internal. (bug 1941)
313
314 2005-09-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
315
316         * text2.C (cursorRight): do not honor boundary when at the end of
317         a paragraph. (bug 2010 again)
318
319 2005-09-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
320
321         * cursor.C (paste): do nothing if `data' is empty. (bug 2033)
322
323 2005-09-19  Martin Vermeer  <martin.vermeer@hut.fi>
324
325         * rowpainter.C (paintText): fix RtL space width display bug (2029)
326
327 2005-09-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
328
329         * text2.C (setCursor): remove the unused 'boundary' parameter for
330         the CursorSlice version; adapt the LCursor version.
331
332         * lyxrc.C (write): 
333         * paragraph_pimpl.C (markErased): 
334         * cursor.C (bruteFind2, bruteFond3): fix warnings.
335
336 2005-09-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
337
338         * rowpainter.C (paintFirst): use a 'labeladdon' for TOP_* labels,
339         as is already done for "chapter".
340
341 2005-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
342
343         * lyxfunc.C (dispatch): LFUN_TEXTCLASS_APPLY: actually set the
344         textclass; do not record undo if nothing is changed.
345
346 2005-09-16  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
347
348         * text3.C (dispatch): recordUndo in LFUN_PASTESELECTION (#2011).
349
350 2005-09-14  Michael Gerz  <michael.gerz@teststep.org>
351
352         * lyxfunc.C: update display after LFUN_ALL_INSETS_TOGGLE
353
354 2005-09-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
355
356         * BufferView_pimpl.C (setBuffer): when one wants to set the layout
357         combox, it is necessary to search for the topmost paragraph in the
358         cursor stack (bug 1926)
359
360 2005-09-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
361
362         * text2.C (cursorEnd, cursorRight): do not set boundary to true at
363         end of paragraph. (bug 2010)
364
365 2005-09-10  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
366
367         * text.C (leftMargin): check for inInset == 0
368
369 2005-09-10  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
370
371         * text.C (leftMargin): test for insetbase's new neverIndent()
372         bool instead of listing each and every inset that does not
373         wish par indendation.
374
375 2005-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
376
377         * buffer_funcs.C (setCounter): put the code to compute enum label
378         here (where it belongs).
379
380         * counters.C (enumLabel): move code to buffer_funcs.C.
381
382 2005-09-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
383
384         * outputparams.[Ch]: store local_font instead of local_language
385         * paragraph.C (simpleTeXOnePar): adapt to the change above
386
387 2005-09-08  Martin Vermeer  <martin.vermeer@hut.fi>
388
389         * buffer_funcs.C:
390         * counters.[Ch]: clean up special code for Hebrew.
391
392 2005-09-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
393
394         * lyxfunc.C (lookupChange): fix code when cursor depth is greater
395         than 2.
396
397 2005-09-08  Angus Leeming  <leeming@lyx.org>
398
399         * ispell.C:
400         * lyxrc.C: correct grammar describing invocation of the
401         spellchecker.
402
403 2005-08-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
404
405         * text.C (read): remove unused variable.
406         (readParToken): remove static Change variable (never good in
407         recursive settings...); add it as a parameter instead.
408
409         * paragraph_pimpl.C (acceptChange): make debug info conditional.
410
411         * metricsinfo.C (PainterInfo): add new member erased_.
412
413         * rowpainter.C (RowPainter): add erased_ member, initialized from
414         PainterInfo. 
415         (paintInset): pass erased_ to Inset::draw.
416
417         * lyxfunc.C (lookupChange): new function. Tells whether change 
418         tracking is disabled at a given postion.
419         (getStatus): disable some actions when in deleted text with change
420         tracking. 
421
422 2005-08-03  John Levon  <levon@movementarian.org>
423         
424         * tabular.C (appendColumn, setMultiColumn): adapt to change to
425         InsetText::clear().
426
427         * paragraph_pimpl.C (markErased): add bool argument and handle it.
428         Also make sure to mark insets recursively.
429         (rejectChange, erase): be recursive
430
431         * paragraph.C (markErased): add bool argument.
432 2005-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
433
434         * lyxfind.C (findNextChange): tiny cleanup.
435
436         * BufferView_pimpl.C (trackChanges): avoid crash when stopping
437         change tracking with the cursor in an inset; make sure the first
438         change is not skipped.
439
440 2005-09-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
441
442         * CutAndPaste.[Ch]: new methods dirtyTabularStack and 
443         tabularStackDirty to work around bug 1919 (tabular needs
444         to know whether its own cell paste buffer or the one of 
445         texted is newer.
446         * CutAndPaste.C: mark tabular_stack_ clean after copy.
447
448 2005-08-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
449
450         * text2.C (cursorEnd): check for empty text (fixes bug 1998)
451
452 2005-08-19  Lars Gullik Bjønnes  <larsbj@gullik.net>
453
454         * CutAndPaste.C (eraseSelectionHelper): fix bug 1920
455         use old deleteion algorithm when changetracking is on.
456
457 2005-08-18  Martin Vermeer  <martin.vermeer@hut.fi>
458
459         * messages.C (get): add debug output.
460
461 2005-08-02  Martin Vermeer  <martin.vermeer@hut.fi>
462
463         * text.C (cursorX): fix bug 1965: cursor movement at
464         line end broken in RtL.
465         (drawSelection): fix bug 1970: drawing of single-line 
466         selection broken for RtL.
467
468 2005-07-31  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
469
470         bug 465.
471
472         * dociterator.h (clear, push_back, pop_back): change from
473         protected to public.
474
475         * buffer_funcs.C (getItemDepth): renamed from incrementItemDepth
476         and changed to just return the value of the item depth; take a
477         ParIterator as argument; take the itemdepth at outer nesting level
478         in account if necessary; cleanup and comment the code.
479         (resetEnumCounterNeeded): renamed from resetEnumCounterIfNeeded
480         and changed to just return true if reset is needed; take a
481         ParIterator as argument; cleanup and comment the code.
482         (setCounter): adapt to above changes.
483
484 2005-07-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
485
486         * text3.C (dispatch): make debug message optional
487
488 2005-08-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
489
490         * lyxfunc.C (dispatch): use InsetIncludeMailer for the include
491         inset. (bug 1963)
492
493 2005-08-02  Martin Vermeer  <martin.vermeer@hut.fi>
494
495         * BufferView_pimpl.C (updateScrollbar): scrollbar fixes
496
497 2005-07-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
498
499         * text.C (insertChar):
500         * text2.C (deleteEmptyParagraphMechanism): take care whether 
501         a blank has been deleted (in change tracking mode) (bug 1254).
502
503 2005-07-20  John Levon  <levon@movementarian.org>
504
505         * text2.C (insertStringAsLines): remove old dubious code,
506         fixing bug 1939.
507
508 2005-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
509
510         * MenuBackend.C (expandToc): use Floating::listName() as title of
511         the floats submenus.
512
513 2005-07-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
514
515         * toc.[Ch]: Do not use translatable strings (bug 1870).
516
517 2005-07-20  John Levon  <levon@movementarian.org>
518
519         * tabular.C: fix 1748 - setting multicolumn adds
520           left line to the first cell
521
522 2005-07-19  Lars Gullik Bjønnes  <larsbj@lyx.org>
523
524         bug 1920
525         * CutAndPaste.C (eraseSelectionHelper): erase all the "middle"
526         pars in one go.
527
528 2005-07-18  Lars Gullik Bjønnes  <larsbj@lyx.org>
529
530         * messages.C: supress some lyxerr messages
531
532 2005-07-18  Juergen Vigna  <jug@lyx.org>
533
534         * text.C (drawSelection): honor boundary when asking for cursorX.
535
536 2005-07-17  José Matos  <jamatos@fc.up.pt>
537
538         * tabular.C (recalculateMulticolumns): fix handling of one column
539         tables.
540
541 2005-07-17  Juergen Vigna  <jug@lyx.org>
542
543         * text.C (Delete, backspace): fixed so that paragraph with the
544         same layout can be merged by Delete/Backspace.
545
546 2005-07-17  Michael Schmitt  <michael.schmitt@teststep.org>
547
548         * text.C (readParToken): fix spelling.
549
550 2005-07-17  Martin Vermeer  <martin.vermeer@hut.fi>
551
552         * text2.C: fix counter update for DEPM problem reported by
553         Georg Baum
554
555 2005-07-17  Juergen Vigna  <jug@lyx.org>
556
557         * BufferView_pimpl.C (setBuffer): save/restore the
558         cursor/selection when switching buffers
559
560         * buffer.h: 
561         * buffer.C (saveCursor): add saveDocumentIterators to save the
562         cursor when switching buffer.
563
564 2005-07-17  Michael Schmitt  <michqel.schmitt@teststep.org>
565
566         * debug.C: fix typo
567         * buffer.C: clarify message
568         
569 2005-07-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
570
571         * dociterator.C (DocIterator): fix initialization order
572
573 2005-07-17  Juergen Vigna  <jug@lyx.org>
574
575         * text2.C (cursorHome): 
576         * text.C (drawSelection, cursorX): 
577         * dociterator.C (textRow): add boundary to getRow() call
578
579         * paragraph.C (getRow): implementation of below
580
581         * paragraph.h: add parameter boundary for getRow() function
582
583 2005-07-17  José Matos  <jamatos@fc.up.pt>
584
585         * buffer.C:
586         * bufferparams.[Ch]:
587         * tex-strings.[Ch]: new file format, remove support for a4.sty,
588         a4wide.sty and a4widemargins.
589
590 2005-07-17  Juergen Vigna  <jug@lyx.org>
591
592         * text2.C (cursorLeft): fix one of error
593
594 2005-07-17  Juergen Vigna  <jug@lyx.org>
595
596         * text2.C (getColumnNearX, cursorRight, cursorLeft, cursorHome,
597                    cursorEnd):
598         more fixes for boundary handling
599
600         * text3.C (dispatch): don't reset cursor if boundary has changed
601         on cursor movement.
602
603 2005-07-16  Juergen Vigna  <jug@lyx.org>
604
605         * text2.C (getColumnNearX): hopefully got it right now,
606         check if we are on column 0 for special case.
607
608 2005-07-16  Juergen Vigna  <jug@lyx.org>
609
610         * text2.C (getColumnNearX): handle special case Newline Inset
611
612         * text.C (singleWidth): Just remove bogus check
613
614 2005-07-16  Michael Schmitt  <michael.schmitt@teststep.org>
615
616         * funcrequest.C (split): avoid reading uninitialized char c
617
618 2005-07-16  José Matos  <jamatos@fc.up.pt>
619
620         * buffer.C:
621         * converter.C:
622         * lyxrc.C:
623         * paper.h:
624         * bufferparams.[Ch] (setPaperStuff): remove setPaperStuff and use a
625         single papersize variable.
626
627 2005-07-16  Juergen Vigna  <jug@lyx.org>
628
629         * text3.C (dispatch): honor boundary when checking if a cursor
630         movement has been done
631
632         * text2.C (cursorRight, cursorLeft, cursorUp, cursorDown) 
633         (setCursor, setCursorIntern): fix cursor movement with boundary
634
635 2005-07-16  Juergen Vigna  <jug@lyx.org>
636
637         * text.C (currentState): output the actual Boundary
638
639 2005-07-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
640
641         * factory.C (createInset): fix bad logic for tabular creation
642
643 2005-07-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
644
645         * lyx_main.C (init): change some reLyX reference to tex2lyx
646
647 2005-07-16  Juergen Vigna  <jug@lyx.org>
648
649         * dociterator.C (DocIterator): initialize boundary
650
651 2005-07-16  Juergen Vigna  <jug@lyx.org>
652
653         * text2.C (getColumnNearX): Consider rows without trailing blank.  
654
655 2005-07-16  André Pönitz  <poenitz@gmx.net>
656
657         * lyxfont.h: Change order of declarations to give the compiler
658         a better chance to inline things
659
660         * lyx_cb.[Ch]: Add 'force' argument to QuitLyX suppressing
661         questions on unsaved docs for better scritability
662
663 2005-07-16  André Pönitz  <poenitz@gmx.net>
664
665         * paragraph.h (getChar): remove asserts as the same kind of security
666         can be achieved by using a suitable standard library implementation
667         and the function was in the critical path (25.9% in profiler)
668
669 2005-07-16  Juergen Vigna  <jug@lyx.org>
670
671         * cursor.C (bruteFind2):
672         * bufferview_funcs.C (coordOffset): 
673         * text.C (cursorX,cursorY): Handle cursor position after last char
674         in row before a inset which uses a whole row.
675
676 2005-07-15  José Matos <jamatos@lyx.org>
677
678         * output_plaintext.[Ch] (writeFileAscii): control reference title
679         printing.
680         (asciiParagraph): noparbreak was already deal and was incorrectly
681         used.
682
683 2005-07-15  Juergen Vigna <jug@lyx.org>
684
685         * lyxfunc.C (dispatch): save and restore the cursor after a
686         textclass switch.
687
688 2005-07-15  Lars Gullik Bjønnes <lgb@tandberg.net>
689
690         * text.C (backspace): bug 806 for empty keepempty paragraphs we
691         change the layout to default before letting DEPM do its thing.
692
693         * paragraph_funcs.C (breakParagraph): dont reset the layout on
694         keepEmpty paragraphs
695
696         * text.C (setCursorFromCoordinates): add a debug statement
697
698         * text2.C (getColumnNearX): bug 1825 make sure that we don't
699         return a pos that is not on the row
700
701         * output_latex.C (TeXDeeper): get rid of potential dereferencing
702         of past the end iterator
703
704 2005-07-14  André Pönitz  <poenitz@gmx.net>
705
706         * undo.C (recordUndoFullBuffer): implement undo for
707         textclass switches
708
709 2005-07-14  André Pönitz  <poenitz@gmx.net>
710
711         * cursor.C (setSelection): open insets when selection is set there
712         to avoid crashs with cold coord cache
713
714 2005-07-14  André Pönitz  <poenitz@gmx.net>
715
716         * trans_mgr.C (insert): move cursor to the right after inserting
717         a char.
718
719 2005-07-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
720
721         * BufferView_pimpl.C (update): dampen some of the debug blabbering
722         * factory.C (readInset): ditto
723         * text.C, text2.C: ditto
724
725 2005-06-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
726
727         * buffer.C: format incremented to 242. There is no file format per
728         se, but the "frenchb" language has been removed from lib/language
729         and has to be translated to "french" by lyx2lyx.
730
731 2005-07-06  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
732
733         * cursor_slice.h, dociterator.h: add some documentation
734         * cursor_slice.h, dociterator.h (idxSave, idxLoad): remove
735
736 2005-07-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
737
738         * text.C (leftMargin): do not add identation to display() style
739         insets, because they are always centered (bug 1293).
740
741 2005-07-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
742
743         * text3.C (doDispatch): rewrite LFUN_DATE_INSERT using the brandnew
744         formatted_time methods in support/lyxtime.
745
746 2005-07-04  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
747
748         * toc.[Ch]: new method getGuiName, which is used by the frontends 
749         to set the toc combo (fixes bug 1870). Make TOC string translatable.
750
751 2005-07-01  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
752
753         * dociterator.[Ch]: implement operator==(StableDocIterator const &, 
754         StableDocIterator const &)
755         * undo.C (recordUndo): use the above instead of cell.size() comparison
756         (fixes bug 1808; instructed by Andr�.
757
758 2005-06-29  Martin Vermeer  <martin.vermeer@hut.fi>
759
760         * cursor_slice.h: 
761         * dociterator.h: Fix the assert when copying rows/cols in math
762
763 2005-06-25  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
764
765         * BufferView_pimpl.C:
766         * LyXAction.C:
767         * lfuns.h: reintroduce LFUN_BIBDB_ADD and LFUN_BIBDB_DEL (bug 961)
768
769         * bufferview_funcs.[Ch] (gotoNextInset): rename to findNextInset;
770         (findInset): new functions, refactored from goto Inset that return 
771         the position of a certain inset without setting the buffer's cursor
772         (by Jean-Marc); 
773         (gotoInset): rewrite to call findInset and then set the cursor
774         (by Jean-Marc).
775
776 2005-06-16  Angus Leeming  <leeming@lyx.org>
777
778         * lyxrc.C (output, read): wrap all input and output of paths with
779         calls to os::internal_path and os::external_path, respectively.
780         (output): wrap bind_file inside quotes.
781
782         * format.C (view): enable the viewer to use the '$$s' placeholder.
783
784 2005-06-16  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
785
786         * LColor.[Ch] (getFromLaTeXName): new
787
788 2005-06-16  Martin Vermeer  <martin.vermeer@hut.fi>
789
790         * text.C (readParagraph): fix bug 1904 (GUI affects LaTeX)
791
792 2005-06-14  Angus Leeming  <leeming@lyx.org>
793
794         * lyx_main.C (init): ensure that the LyX binary dir is the first
795         element in the PATH on non-POSIX builds.
796
797 2005-06-11  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
798
799         * LaTeXFeatures.C (getPackages): solve amsmath-wasysym conflict
800
801 2005-06-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
802
803         * rowpainter.C (paintInset, paintHebrewComposeChar)
804         (paintArabicComposeChar, paintChars): add a LyXFont argument.
805         (paintChars): use getFontSpan to reduce calls to getFont to a
806         minimum; use Paragraph::lookupChange instead of isXXXText.
807         (paintForeignMark): rename LyXFont argument.
808         (paintFromPos): pass a LyXFont object to the various paintXXX
809         methods.
810
811         * FontIterator.C (FontIterator, operator++): use
812         Paragraph::getFontSpan
813
814         * paragraph.C (getFontSpan): replace getEndOfFontSpan with a
815         version that returns the font span as a pair.
816
817 2005-06-09  Angus Leeming  <leeming@lyx.org>
818
819         * converter.C (convert): Don't forget "outfile = real_outfile" as
820         the final step in a conversion where the input and output file names
821         are the same. Otherwise, future conversion steps won't work...
822
823 2005-06-09  Angus Leeming  <leeming@lyx.org>
824
825         * lyxsocket.C: remove stub code as it isn't needed by
826         MinGW/MinSYS anyway. Let's see if the MSVC people scream...
827
828 2005-06-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
829
830         * lyx_main.C (parse_execute): Fix last fix: is_gui = false
831         effectively disabled -x
832
833 2005-06-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
834
835         * BufferView_pimpl.C (getStatus): enable LFUN_GOTO_NOTE only
836         when it actually makes sense.
837
838 2005-06-06  Martin Vermeer  <martin.vermeer@hut.fi>
839
840         * BufferView_pimpl.C: revert to showCursor in connection with
841         Lars's front-end stack
842
843 2005-06-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
844
845         * text.C (redoParagraph): move cursor right after a bibitem
846         has been inserted.
847
848         * text3.C: disable LFUN_BIBITEM_INSERT outside Bibliography.
849
850 2005-06-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
851
852         * buffer_funcs.C (bufferErrors): fix computation of the end of an
853         error range.
854
855 2005-05-31  Martin Vermeer  <martin.vermeer@hut.fi>
856
857         * BufferView.[Ch] (update):
858         * BufferView_pimpl.[Ch] (update, metrics):
859         * dimension.h (operator==):
860         * lyxfunc.C (dispatch):
861         * metricsinfo.h (ViewMetricsInfo):
862         * rowpainter.C (paintText):
863         * lyxtext.h:
864         * text.C (redoParagraph):
865         * text3.C (dispatch): Make LyX only repaint current paragraph in
866         case of character insert --> speedup. Also fix cursor draw
867         artifacts
868
869 2005-05-31  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
870
871         * bufferview_funcs.C (gotoInset): fix the wrap-around code to
872         avoid a crash (bug 1891)
873
874 2005-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
875
876         Fix bug 1892:
877
878         * text2.C (getStringToIndex): constify cur argument.
879
880         * factory.C (createInset/LFUN_TABULAR_INSERT): return 0 if no
881         argument has been given
882         (createInset/LFUN_INDEX_INSERT): just return a new inset (do not
883         try to invoke LFUN_INSET_APPLY).
884
885         * text3.C (dispatch/LFUN_TABULAR_INSERT): open the tabular dialog
886         if no inset was created by doInsertInset
887         (doInsertInset): return true if an inset has been inserted.
888
889 2005-05-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
890
891         * vspace.C (asGUIName): new method. A version of the space
892         suitable for showing on screen.
893
894 2005-05-20  Michael Schmitt  <michael.schmitt@teststep.org>
895
896         * MenuBackend.C:
897         * lyxrc.C: rename "ASCII" to "Plain Text"
898
899 2005-05-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
900
901         * buffer_funcs.C (expandLabel): take a Buffer as argument;
902         translate the labelstring.
903         (setCounter): translate labelstring as needed.
904
905         * output_docbook.C (makeCommand): fix expandLabel invokation
906
907 2005-05-14  Michael Schmitt  <michael.schmitt@teststep.org>
908
909         * BufferView.C: fix dialog title
910
911 2005-05-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
912
913         * lyx_main.C (priv_exec): fix logic error with help from Angus
914         * lyx_main.C (parse_execute): set is_gui = false and remove now
915         obsolete comment about a segfault
916
917 2005-05-18  Angus Leeming  <leeming@lyx.org>
918
919         * buffer.C (readFile): Quote all file names passed to lyx2lyx.
920
921 2005-05-12  Martin Vermeer  <martin.vermeer@hut.fi>
922
923         * tabular.[hC]: added setCellInset to fix tabular paste.
924
925 2005-05-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
926
927         * buffer.C (save): check if destination is writable before trying
928         to copy a file
929
930 2005-05-11  Martin Vermeer  <martin.vermeer@hut.fi>
931
932         * BufferView_pimpl.C (update): fix processEvents -caused update
933         recursion bug
934
935 2005-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
936
937         * buffer_funcs.C (setCounter): fix test for numbering of
938         environments.
939
940         * toc.C (getTocList): use LyXTextClass:min_toclevel to set toc
941         depth correctly; use optional argument when it exists
942
943         * lyxtextclass.C: remove unused MaxCounterTags enum
944         (Read): compute min_toclevel_ and max_toclevel_ after reading class.
945         (max_toclevel, min_toclevel): new methods.
946
947         * MenuBackend.C (expandToc2): fix case where depth is smaller than
948         the smallest depth in toc.
949
950         * lyxlayout.[Ch]: add special NOT_IN_TOC toclevel value for
951         layouts that should not appear in a table of contents.
952
953 2005-05-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
954
955         * cursor.h (undispatched, noUpdate): add comments from Andr�
956 2005-05-07  Michael Schmitt  <michael.schmitt@teststep.org>
957
958         * lfuns.h:
959         * LyXAction.C:
960         * BufferView_pimpl.C: rename LFUN_REF_GOTO to LFUN_LABEL_GOTO
961
962 2005-05-07  André Pönitz  <poenitz@gmx.net>
963
964         * cursor.[Ch] (leaveInset): new function
965
966 2005-05-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
967
968         * lyxfunc.C (dispatch): set update flag for LFUN_INSET_APPLY.
969
970 2005-05-04  Angus Leeming  <leeming@lyx.org>
971
972         * lyxfunc.C (getStatus): disable the spell checker dialog if
973         none of USE_[AIP]SPELL are defined.
974
975 2005-05-05  Martin Vermeer  <martin.vermeer@hut.fi>
976
977         * tabular.C (setWidthOfCell): remove obsolete comment
978
979 2005-05-05  Martin Vermeer  <martin.vermeer@hut.fi>
980
981         * paragraph.C (bibitem):
982         * buffer_funcs.C (setCounter):
983         * src/text.C (redoParagraph): Ungoose bibliography (bug 940)
984
985 2005-05-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
986
987         * text3.C (getStatus): immediately return after setOnOff
988
989         * rowpainter.C: fix drawing of appendix start
990
991 2005-05-03  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
992
993         * CutAndPaste.[Ch] (SwitchLayoutsBetweenClasses): rename to
994         SwitchBetweenClasses and remove the unused return value.
995         Handle character styles, too
996
997 2005-05-03  Martin Vermeer  <martin.vermeer@hut.fi>
998
999         * factory.C (createInset): handle undefined character styles
1000
1001 2005-05-02  Angus Leeming  <leeming@lyx.org>
1002
1003         * buffer.C: protect the #include of utime.h with a preprocessor
1004         guard.
1005
1006 2005-05-02  Angus Leeming  <leeming@lyx.org>
1007
1008         * lyx_cb.C: artificially define fork() on Windows as a no-op failing
1009         function so that auto-saving works, albeit in a blocking manner.
1010
1011         * Makefile.am: make compilation of the client sub directory, of
1012         aspell.C, aspell_local.h, pspell.[Ch] and ispell.[Ch] dependent
1013         on conditionals set at configure time.
1014
1015         * SpellBase.[Ch]: no longer an abstract base class. Instead,
1016         it can be compiled in its own right but has no-op functionality.
1017
1018         * aspell.C, pspell.C: remove preprocessor guards. The files should
1019         be compiled only if the necessary functionality exists.
1020
1021         * lyxserver.C, lyxsocket.C: disable on Windows.
1022
1023 2005-05-01  Martin Vermeer  <martin.vermeer@hut.fi>
1024
1025         * text.C (leftMargin): Fix the parindent use bug (1764)
1026         by dirty trick
1027
1028 2005-04-28  Michael Schmitt  <michael.schmitt@teststep.org>
1029
1030         * lyxlayout.C (Read): transform underscores to spaces in CopyStyle
1031         argument.
1032
1033 2005-04-25  Angus Leeming  <leeming@lyx.org>
1034
1035         * Bidi.[Ch]:
1036         * coordcache.[Ch]:
1037         * ispell.C:
1038         * lyxserver.C:
1039         * mover.C:
1040         * pch.h:
1041         include <config.h> in .C files, not .h ones.
1042         add licence blurb.
1043         protect headers inside preprocessor guards.
1044
1045 2005-04-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1046
1047         * FuncStatus.h (StatusCodes): document
1048
1049 2005-04-21  André Pönitz  <poenitz@gmx.net>
1050
1051         * FuncStatus.h (enabled, onoff): document
1052
1053 2005-04-19  Angus Leeming  <leeming@lyx.org>
1054
1055         * BufferView_pimpl.C (cursorToggle): no longer test whether
1056         any child processes have been reaped before calling
1057         handleCompletedProcesses().
1058
1059 2005-04-19  Martin Vermeer  <martin.vermeer@hut.fi>
1060
1061         * text3.C (dispatch): fix, finally fix, the language problem in
1062         new lyxtexts, without disabling on-the-fly font changes (Helge's
1063         bug report)
1064
1065 2005-04-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1066
1067         * text3.C (dispatch): set cursor on double/triple click events
1068         (bug 1811)
1069
1070 2005-04-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1071
1072         * lyxfunc.C (actOnUpdatedPrefs): avoid warning
1073         (dispatch): update counters and screen after LFUN_TEXTCLASS_APPLY.
1074
1075         * rowpainter.C (paintFirst): simplify the code a little bit. In
1076         particular, remove the test for secnumdepth.
1077         * text.C (setHeightOfRow): only allocate space for chapter number
1078         when updateCounters provided an actual label, instead of looking
1079         at secnumdepth directly.
1080
1081         * lyxlayout.C (LyXLayout): set toclevel to -2 by default.
1082
1083         * buffer_funcs.C (setCounter): only number LABEL_COUNTER
1084         paragraphs when secnumdepth is large enough or, for environments,
1085         when they are not the first in a sequence.
1086
1087 2005-04-17  Angus Leeming  <leeming@lyx.org>
1088
1089         * buffer.C (makeLaTeXFile): replace code to manipulate a path
1090         containing space and '~' characters with a call to latex_path().
1091
1092 2005-04-17  Angus Leeming  <leeming@lyx.org>
1093
1094         * converter.C (convert): protect all args of convertDefault.sh
1095         script with quotes.
1096
1097 2005-04-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1098
1099         * text3.C (dispatch): change the layout to "Caption" after inserting
1100         a float.
1101
1102 2005-04-12  Martin Vermeer  <martin.vermeer@hut.fi>
1103
1104         * text3.C (dispatch): fix language problem in newly created
1105         textinsets (and main text) in non-english docs
1106
1107 2005-04-13  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1108
1109         * lyxfunc.C (getStatus, dispatch): handle LFUN_INSET_APPLY
1110         * text3.C (getStatus, dispatch): don't handle LFUN_INSET_APPLY anymore
1111         * text3.C (getStatus): disable LFUN_INSET_MODIFY
1112
1113 2005-04-12  Martin Vermeer  <martin.vermeer@hut.fi>
1114
1115         * lyxtext.h:
1116         * text.C (metrics):
1117         * text2.C (getFont):
1118         * rowpainter.C (getFont): Fix metrics bug introduced by inset
1119         fonts fix
1120
1121 2005-04-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1122
1123         * paragraph.C (simpleTeXOnePar): add missing '}' in LaTeX
1124         output of \item arguments without trailing text.
1125
1126 2005-04-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1127
1128         * FontIterator.C (operator*): avoid a copy of the font.
1129
1130 2005-04-10  Martin Vermeer  <martin.vermeer@hut.fi>
1131
1132         * rowpainter.C (getFont): fix language bug from previous fix
1133
1134 2005-04-10  Martin Vermeer  <martin.vermeer@hut.fi>
1135
1136         * rowpainter.C (RowPainter, getFont): fix font inside inset
1137         (bugs 1766, 1809)
1138
1139 2005-04-06  Martin Vermeer  <martin.vermeer@hut.fi>
1140
1141         * CutAndPaste.C (eraseSelection): more precise fix for bug 1654,
1142         preventing inserted font, deco, delim insets jumping to start of
1143         surrounding inset.
1144
1145 2005-03-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1146
1147         * lyxfunc.C (dispatch): translate message before sending it to the
1148         minibuffer.
1149
1150 2005-03-29  Angus Leeming  <leeming@lyx.org>
1151
1152         * lyx_main.C (priv_exec): call os::internal_path on each file passed
1153         to LyX on the command line.
1154
1155 2005-03-25  Stephan Witt  <stephan.witt@beusen.de>
1156
1157         * vc-backend.C: use QuoteName to protect file names wherever
1158         necessary.
1159
1160 2005-03-27  Martin Vermeer  <martin.vermeer@hut.fi>
1161
1162         * buffer.[Ch]:
1163         * BranchList.h: fix bugs 1844,1845: document settings don't
1164         stick
1165
1166 2005-03-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1167
1168         * lyxrc.C (setDefaults, read, output, getDescription): add support
1169         for tex_allows_spaces.
1170
1171         * exporter.C (Export): allows files in directory containing spaces
1172         if tex_allows_spaces is true.
1173
1174         * buffer.C (makeLaTeXFile): if the document path contains spaces,
1175         output it in double quotes.
1176
1177 2005-03-22  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1178
1179         * rowpainter.C: use default text height for drawing change tracker
1180         strikeout lines.
1181
1182 2005-03-21  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1183
1184         * lyx_main.C: fix binding of tabulator key (especially S-Tab).
1185
1186 2005-03-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1187
1188         * lyx_main.C (queryUserLyXDir): fix logic when LyX support
1189         directory is missing.
1190
1191 2005-03-11  Martin Vermeer  <martin.vermeer@hut.fi>
1192
1193         * text2.C: fixed the fix, extended to other case.
1194
1195 2005-03-08  Martin Vermeer  <martin.vermeer@hut.fi>
1196
1197         * text2.C: fix for cursor up/down stuck in math [bug 1792]
1198
1199 2005-03-07  Alfredo Braunstein  <abraunst@lyx.org>
1200
1201         * text2.C (cursorUp): get rid of a crash
1202         * text.C (x2pos): add an assert
1203
1204 2005-03-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1205
1206         * lyxfunc.C (getStatus): fix warning when assertions are disabled
1207
1208         * text3.C:
1209         * lyxfunc.C:
1210         * dociterator.C: include <boost/current_function.hpp>, which is
1211         needed when assertions are disabled.
1212
1213 2005-03-05  Johnathan Burchill  <jkerrb@users.sourceforge.net>
1214
1215         * text2.C: fix for stuck cursor when traversing two
1216         consecutive spaces. [bug 1255] (pars_[old.pit()].setChange)
1217
1218 2005-02-25  Andreas Vox  <avox@arcor.de>
1219
1220         * output_docbook.C (makeParagraph): suppress trailing newline
1221         after a run of paragraphs
1222
1223 2005-02-28  Johnathan Burchill  <jkerrb@users.sourceforge.net>
1224
1225         * paragraph.C: fix for confused change tracker when pasting
1226         text that begins with a lineseparator. [bug 1827]
1227         (setChange(0, Change::INSERTED);)
1228
1229         * paragraph_funcs.C: fix for lost changes on triple-paste
1230         in change tracking mode [bug 1827] (par.setChange()).
1231
1232 2005-02-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1233
1234         * text2.C (updateCounters, setCounter, expandLabel): move to
1235         buffer_funcs.
1236
1237         * buffer_funcs.C (updateCounters): turn into a free standing
1238         function and add a buffer parameter. Remove dead code for tracking
1239         labelstring change.
1240         (setCounter): change into a free-standing function which gets a
1241         dociterator as argument. Use this iterator to fix captions in a
1242         simple way. When no float is found above the caption, use the
1243         labelstring of the caption layout as default.
1244
1245         * text.C (breakParagraph, backspace):
1246         * text2.C (init, setLayout, changeDepth):
1247         * text3.C (dispatch):
1248         * CutAndPaste.C (cutSelection, pasteSelection): pass a buffer to
1249         updateCounters.
1250
1251         * dociterator.C (forwardPar): make it much faster by calling
1252         forwardPos() only when really necessary.
1253
1254         * output_docbook.C (makeCommand): adapt to expandLabel move.
1255
1256         * cursor.C: remove unused variable
1257
1258 2005-02-24  Johnathan Burchill  <jkerrb@users.sourceforge.net>
1259
1260         * paragraph_funcs.C: fix crash when pasting insets in change
1261         tracking mode [bug 1277] (honour change type in moveItem).
1262
1263 2005-02-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1264
1265         * LaTeX.C (scanLogFile): recognize pdfTeX warnings
1266
1267 2005-02-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1268
1269         * BufferView.C (setCursor): change to use a DocIterator.
1270         (gotoLabel): use BufferView::setCursor (other part of bug 781).
1271         (putSelectionAt): adapt to BufferView::setCursor change.
1272
1273         * bufferview_funcs.C (gotoNextInset, gotoInset): new functions,
1274         moved here from LyXText and rewritten to use proper cursor
1275         methods. Fixes bug 1787, 616 and 835.
1276
1277         * BufferView_pimpl.C (restorePosition): set the cursor correctly
1278         when inside an inset (part of bug 781).
1279         (dispatch): adapt to change of BufferView::setCursor.
1280         (getStatus, dispatch): handle LFUN_GOTOERROR,
1281         LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
1282
1283         * text3.C (getStatus, dispatch): do not handle LFUN_GOTOERROR,
1284         LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
1285         * text3.C (gotoNextInset, gotoInset): removed.
1286
1287 2005-02-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1288
1289         * lyx_main.C (queryUserLyXDir): fix test for rerunning configure
1290
1291 2005-02-15  Angus Leeming  <leeming@lyx.org>
1292
1293         * rowpainter.C (paintText): Ensure that "paragraphs().size() - 1"
1294         can be used meaningfully in a comparison.
1295
1296 2005-02-13  André Pönitz  <poenitz@gmx.net>
1297
1298         * bufferview_funcs.C (coordOffset): improve cursor drawing
1299
1300 2005-02-13  André Pönitz  <poenitz@gmx.net>
1301
1302         * Cursor.[Ch] (fixIfBroken): new method, try to fix a broken cursor
1303         * Cursor.C (dispatch): use fixIfBroken
1304         * lyxfunc.C (getStatus): use fixIfBroken
1305
1306 2005-02-15  Angus Leeming  <leeming@lyx.org>
1307
1308         * lyx_main.C (error_handler):
1309         * lyxfunc.C:
1310         * lyxrc.C (setDefaults):
1311         s/GetEnv/getEnv/.
1312         #include "environment.h".
1313
1314         * lyxsocket.C (LyXServerSocket): s/putenv/setEnv/.
1315
1316 2005-02-15  Angus Leeming  <leeming@lyx.org>
1317
1318         * lyxserver.C (startPipe): squash MSVC warning "local variable
1319         'fd' used without having been initialized".
1320
1321 2005-02-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1322
1323         * BufferView_pimpl.C: revert accidental commit.
1324
1325 2005-02-14  André Pönitz  <poenitz@gmx.net>
1326
1327         * dociterator.[Ch]: new member forwardPosNoDescent(),
1328         which doesn't enter nested insets.
1329         * text2.C (setFont): use forwardPosNoDescent() instead
1330         of ForwardPos() (fixes crash on font change).
1331
1332 2005-02-13  Angus Leeming  <leeming@lyx.org>
1333
1334         * lyx_main.C (init): invoke prependEnvPath to adjust the PATH
1335         only if lyxrc.path_prefix is not empty.
1336
1337 2005-02-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1338
1339         * bufferparams.C (readGraphicsDriver): prevent crash
1340
1341 2005-02-10  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1342
1343         * text2.C (setCounter): check for inInset() == 0
1344
1345 2005-02-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1346
1347         * BufferView_pimpl.C (dispatch): handle LFUN_GOTO_PARAGRAPH here,
1348         but use update() to get correct screen display; use convert
1349         instead of istringstream.
1350         (getStatus): handle LFUN_GOTO_PARAGRAPH
1351
1352         * lyxfunc.C (dispatch, getStatus): do not handle
1353         LFUN_GOTO_PARAGRAPH here.
1354
1355 2005-02-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
1356
1357         * text3.C (dispatch): size() -> depth()
1358
1359         * text2.C: remove some debug output
1360
1361         * paragraph.C: ws changes only
1362
1363         * lyxfunc.C (getStatus): size() -> depth()
1364
1365         * dociterator.h (clear, push_back, pop_back, internalData,
1366         operator[], resize, empty): new functions
1367         Make StableDocIterator and operator== be friends. Don't inherit
1368         from std::vector use a privat class variable slices_ instead.
1369         Modify to fit.
1370
1371         * dociterator.C: update because of not inheriting from std::vector
1372         anymore. Call explictly to slices_ instead. Use depth() instead of
1373         size() and top() instead of back()
1374
1375         * cursor.C: chagne size() -> depth and back() -> top(). Also
1376         remove some direct operator[](i) calls in favour of foo[i]
1377         (getFont): remove some dead code
1378
1379         * bufferview_funcs.C (coordOffset): size() -> depth()
1380
1381         * buffer.C: ws changes only
1382
1383         * CutAndPaste.C (eraseSelection): back() -> top()
1384
1385         * BufferView_pimpl.C (selectionRequested): back() -> top()
1386
1387         * BufferView.C (setCursor): size() -> depth()
1388
1389 2005-02-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
1390
1391         * text3.C (cursorPrevious): return true if depm changed something
1392         (cursorNext): ditto
1393         (dispatch): rename sl to oldTopSlice, remove moving use the new
1394         NoUpdate func attrib instead. Make sure that needsUpdate is set
1395         for function that have NoUpdate, but where depm might have changed
1396         the buffer anyway.
1397
1398         * text2.C (cursorLeft): make us return true if depm changed
1399         something
1400         (cursorRight): ditto
1401         (cursorUpParagraph): ditto
1402         (curosrDownParagraph): ditto
1403         (cursorUp, cursorDown): ditto, make sure to read comments in code
1404         (deleteEmptyParagraphMechanism): remove an assert, also return
1405         true if just a single char was deleted.
1406
1407         * text.C (cursorRightOneWord, cursorLeftOneWord): use a temp
1408         cursor that we modify, to avoid modifying an active cursor before
1409         we call setCursor. This allows depm to run. Also return true if
1410         depm deleted something.
1411
1412         * lyxtext.h: Make cursorUp, cursorDown, cursorLeft, cursorRight,
1413         cursorLeftOneWord, cursorRightOneWord, cursorUpParagraph,
1414         cursorDownParagraph, cursorPrevious and cursorNext, return true if
1415         something was changed in the buffer because of them (ie. depm run)
1416
1417         * lyxfunc.C (processKeySym): add BOOST_CURRENT_FUNCTION to some
1418         debug messages. Make update by default be false. Make sure that
1419         the result of update is retained throught several calls down to
1420         dispatch.
1421
1422         * LyXAction.h: add a new func_attrib: NoUpdate
1423
1424         * LyXAction.C (init): add noupdate to LFUN_LEFT, LFUN_RIGHT,
1425         LFUN_DOWN, LFUN_HOME, LFUN_END, LFUN_DOWN_PARAGRAPH,
1426         LFUN_UP_PARAGRAPH, LFUN_NEXT, LFUN_PRIOR, LFUN_UP, LFUN_WORDRIGHT
1427         and LFUN_WORDLEFT
1428         (init): add missing lfuns: LFUN_FINISHED_*, LFUN_MOUSE_*
1429
1430 2005-02-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1431
1432         * BufferView_pimpl.C: replace all occurences of bv_->cursor(),
1433         bv_->owner(), bv_->buffer() by direct references to the private
1434         members.
1435         (MenuInsertLyXFile): replace bv_->resize() with resizeCurrentBuffer.
1436         (getStatus): isSavedPosition() is in BufferView::Pimpl.
1437         (fitCursor): center() is in BufferView::Pimpl.
1438         (getStatus, trackChanges, dispatch): no need for a temporary buf
1439         variable
1440         (fitCursor, workAreaDispatch): use workarea().workheight()
1441
1442 2005-02-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1443
1444         * CutAndPaste.C (pasteSelectionHelper): fix a crash
1445
1446 2005-02-03  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1447
1448         * buffer.C: format up to 241.
1449         * CutAndPaste.C (pasteSelectionHelper): convert newline to paragraph
1450         break if pasting into ERT
1451         * lyxfunc.C (getStatus): suppress mathpanel and
1452         LFUN_DIALOG_SHOW_NEW_INSET in ERT
1453
1454 2005-02-01  Angus Leeming  <leeming@lyx.org>
1455
1456         * lyxrc.C (getDescription): add a description for RC_PATH_PREFIX.
1457
1458 2005-02-01  Angus Leeming  <leeming@lyx.org>
1459
1460         * lyx_main.C (init, queryUserLyXDir): use fs::exists() before
1461         calling fs::is_directory().
1462
1463 2005-01-31  Angus Leeming  <leeming@lyx.org>
1464
1465         * lyx_main.C (priv_exec): specify explicitly the relative location
1466         of the top level build directory when run in-place.
1467
1468 2005-01-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1469
1470         * BufferView_pimpl.C (MenuInsertLyXFile): do breakParagraph on the
1471         LyXText containing the cursor, not the top-level one.
1472
1473         * buffer.C (Impl): make sure the toplevel insettext has AutoBreak_
1474         true.
1475         (insertStringAsLines): rename par to pit; use temporary variable
1476         par to hold a Paragraph; do not store par.layout() in a variable,
1477         since the pointer may die when breaking paragraphs; pass pars to
1478         breakParagraph() instead of Buffer::paragraphs().
1479
1480 2005-01-31  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1481
1482         * lyxlex_pimpl.h: #include <fstream>.
1483
1484         * BufferView.[Ch] (getLyXText): add a const version.
1485
1486         * BufferView_pimpl.C: add debug aids.
1487
1488         * RowList_fwd.h:
1489         * buffer.h:
1490         * lyxrow.h:
1491         * paragraph_funcs.h: add commentary explaining what the class does.
1492
1493
1494         * coordcache.[Ch]: add lots of commentary.
1495         (startUpdating, doneUpdating): debug aids.
1496         (arrays, insets, parPos, getParPos): accessors to private data.
1497
1498         * cursor_slice.[Ch] (text): add a const version.
1499         * dociterator.[Ch] (text, innerText): add const versions.
1500
1501         * lyxtext.h (breakParagraph): change the keep_layout arg to a
1502         bool.
1503
1504         * paragraph.C (getRow, pos2ros): add asserts.
1505
1506         * paragraph.h: add commentary. Lots of.
1507
1508         * paragraph.[Ch] (metrucs, draw): removed.
1509
1510         * cursor.C:
1511         * rowpainter.[Ch]: const-correct changes.
1512
1513         * text.C: various obvious clean-ups. Removal of ancient cruft.
1514         Bug fixes, even.
1515
1516 2005-01-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
1517
1518         * vc-backend.C (find_file): rewrite to use boost.filesystem
1519         (scanMaster): ditto
1520
1521         * main.C (main): set default name check for boost.filesystem to
1522         no check
1523
1524         * lyxfunc.C (menuNew): rewrite to use boost.filesystem
1525         (open): ditto
1526         (doImport): ditto
1527         (actOnUpdatedPrefs): ditto
1528
1529         * lyx_main.C (init): rewrite to use boost.filesystem
1530         (queryUserLyXDir): ditto
1531
1532         * lyx_cb.C (WriteAs): rewrite to use boost.filesystem
1533         (getContentsOfAsciiFile): ditto
1534
1535         * lastfiles.C (readFile): rewrite to use boost.filesystem
1536
1537         * exporter.C (checkOverwrite): rewrite to use boost.filesystem
1538
1539         * buffer_funcs.C (readFile): rewrite to use boost.filesystem
1540         (loadLyXFile): ditto
1541
1542         * buffer.C (Buffer): adjust for destroydir
1543         (getLogName): rewrite to use boost.filesystem
1544         (setFileName): ditto
1545         (save): use fs::copy_file (from fs_extras)
1546
1547         * Makefile.am (BOOST_LIBS): add BOOST_FILESYSTEM
1548
1549         * LaTeX.C (run): rewrite to use boost.filesystem
1550         (scanAuxFiles): ditto
1551         (handleFoundFile): ditto
1552
1553 2005-01-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1554
1555         * LaTeXFeatures.C (getAvailable): always clear packages_ list.
1556
1557         * lyx_cb.C (Reconfigure): call LaTeXFeatures::getAvailable()
1558
1559 2005-01-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
1560
1561         * lyxlayout.[Ch]: change some vars from float to double
1562
1563         * buffer.C (readFile): make a local var const
1564
1565         * Several files: use convert<> instead of atoi,strToXXX and friends
1566
1567 2005-01-24  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1568
1569         * LaTeXFeatures.[Ch]: Add a static list packages_ that
1570         holds the contents of packages.lst. New functions getAvailable
1571         and isAvailable to parse and check that list, resp.
1572
1573         * LyXAction.C:
1574         * lfuns.h:
1575         * BufferView_pimpl.C: new LFUN_OUTPUT_CHANGES.
1576
1577         * bufferparams.[Ch]: new param output_changes.
1578
1579         * Buffer.C: increase file format to 240.
1580         Use output_changes and isVailable.
1581
1582         * changes.[Ch]:
1583         * paragraph.C:
1584         * paragraph_pimpl.C: Use output_changes and isVailable.
1585
1586 2005-01-23  Angus Leeming  <leeming@lyx.org>
1587
1588         * output_latex.C: #include "insetbibitem.h", rather than
1589         forward declare function bibitemWidest.
1590
1591 2005-01-21  Andreas Vox  <vox@isp.uni-luebeck.de>
1592
1593         * lyx_main.C (init): make it compile on the Mac.
1594
1595 2005-01-20  Angus Leeming  <leeming@lyx.org>
1596
1597         * lyxfont.C (setLyXFamily, setLyXSeries, setLyXShape, setLyXSize)
1598         (setLyXMisc): (char string literal) != (char string literal) is
1599         performing a comparison on the addresses. Convert one operand
1600         explicitly to string to guarantee expected behaviour.
1601         From MSVC warning.
1602
1603 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1604
1605         * buffer.C:
1606         * lyxlex_pimpl.[Ch]: use USE_COMPRESSION guard.
1607
1608         * output_plaintext.C: remove unneeded #include gzstream.h.
1609
1610 2005-01-20  Angus Leeming  <leeming@lyx.org>
1611
1612         * SpellBase.h: rename some of the elements of the Result enum.
1613
1614         * aspell_local.h:
1615         * ispell.h:
1616         * pspell.h:
1617         * aspell.C (check):
1618         * ispell.C (check):
1619         * pspell.C (check): ditto
1620
1621 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1622
1623         * buffer.C: add #include <fstream>.
1624
1625         * lyx_main.C (init): Compile fix.
1626
1627         * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
1628
1629 2005-01-20  Angus Leeming  <leeming@lyx.org>
1630
1631         * mover.h: change commentary to reflect the changed meaning of
1632         the $$s placeholder.
1633
1634 2005-01-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1635
1636         * output_linuxdoc.C (linuxdocParagraphs): silence warning
1637
1638         * lyxfind.C (MatchString::operator()): remove bogus semicolon
1639
1640 2005-01-20  Angus Leeming  <leeming@lyx.org>
1641
1642         * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
1643         printing diagnostic data by not dereferecing an iterator past the
1644         end.
1645
1646 2005-01-19  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1647
1648         * buffer.C (readHeader): use "&&" rather than "and".
1649
1650         * lyxserver.h (inPipeName, outPipeName): make these const.
1651
1652 2005-01-19  Angus Leeming  <leeming@lyx.org>
1653
1654         * lyx_main.C (error_handler, init): protect SIGHUP with
1655         #ifdef SIGHUP guards.
1656
1657 2005-01-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1658
1659         * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
1660
1661 2005-01-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1662
1663         * text.C (setHeightOfRow): add a margin at the top and bottom of
1664         the document (bug 1761)
1665
1666 2005-01-17  Angus Leeming  <leeming@lyx.org>
1667
1668         * buffer.C (readFile): prepend the name of the "lyx2lyx" script
1669         with "python ". Workaround for a brain-dead Windows.
1670
1671 2005-01-16  Angus Leeming  <leeming@lyx.org>
1672
1673         * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
1674         for MacOSX and Windows to use prependEnvPath.
1675         Strip out the hard-coded block to add elements to the PATH for
1676         MacOSX and replace it with a call to prependEnvPath using the
1677         contents of LyXRC::path_prefix.
1678         (queryUserLyXDir): strip out the code to run reconfigure, instead
1679         returning a boolean indicating the necessity to do so.
1680         (reconfigureUserLyXDir): contains the code to reconfigure the
1681         user support directory. Is now called after the various LyXRC data
1682         files have been read.
1683
1684         * lyxrc.[Ch]: add path_prefix var and code to read/write it.
1685
1686 2005-01-14  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1687
1688         * converter.[Ch] (convert): take a new parameter try_default. Use
1689         a default converter (imagemagick) if try_default is true.
1690
1691 2005-01-13  Angus Leeming  <leeming@lyx.org>
1692
1693         * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
1694         os::cygwin_path_fix.
1695         (write): output LyXRC::cygwin_path_fix as necessary.
1696
1697 2005-01-02  Kayvan Sylvan  <kayvan@sylvan.com>
1698
1699         * lyxrc.h:
1700         * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
1701
1702 2005-01-12  Angus Leeming  <leeming@lyx.org>
1703
1704         * lyx_main.C (init): set the PATH variable to include the
1705         directory containing the LyX binary when running on Mac or Windows.
1706
1707 2005-01-12  Angus Leeming  <leeming@lyx.org>
1708
1709         * lyx_main.C (init): remove cruft that purports to set the locale
1710         dir. It doesn't and is not needed anyway.
1711
1712 2005-01-10  Angus Leeming  <leeming@lyx.org>
1713
1714         * Makefile.am: remove the lyx_main.C special casing.
1715
1716         * BufferView_pimpl.C:
1717         * bufferlist.C:
1718         * exporter.C:
1719         * lyx_cb.C:
1720         * lyx_main.C:
1721         * lyxfunc.C:
1722         * messages.C: use support/package.h to provide the paths to the
1723         various directories used by LyX.
1724
1725 2005-01-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1726
1727         * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
1728         layout if pasting into an empty paragraph)
1729
1730 2005-01-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
1731
1732         * tex-accent.C: add <string>
1733
1734 2005-01-06  José Matos  <jamatos@lyx.org>
1735
1736         * ParagraphParameters.C (write): put every parameter in its own line.
1737         * paragraph.C (write): reduce number of consecutive empty lines exported.
1738         * buffer.C (LYX_FORMAT): increase file format to 239.
1739
1740 2005-01-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
1741
1742         * everywhere: change support/tostr.h -> support/convert.h
1743
1744         * tabular.C: make all write_attributes templates, tostr -> convert
1745
1746         * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
1747         (emptyTag): and -> &&, and fix type for ret from getChar
1748         (getFirstWord): fix type for ret from getChar
1749         (onlyText): and -> &&
1750         (simpleDocBookOnePar): and not -> && !, fix type for ret from
1751         getChar
1752
1753         * toc.C (goTo, action):
1754         * text3.C (dispatch):
1755         * text.C (currentState):
1756         * tex-accent.C (DoAccent):
1757         * sgml.C:
1758         * lyxrc.C:
1759         * lyxfunc.C (menuNew):
1760         * lyxfinc.C (replace):
1761         * counters.C (laberItem):
1762         * bufferview_funcs.C (font2string):
1763         * bufferparams.C (writeFile):
1764         * buffer.C (readFile):
1765         * Spacing.C (set):
1766         * MenuBackend.C: tostr -> convert
1767
1768         * LaTeX.C (runMessage): fix format
1769         (scanAuxFiles): tostr -> convert
1770
1771         * BufferView_pimpl.C (savePosition): fix format
1772         (restorePosition): ditto
1773         (dispatch): ditto
1774
1775 2005-01-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1776
1777         * Spacing.[Ch]: New method getValueAsString().
1778
1779         * Spacing.[Ch]:
1780         * bufferparams.C:
1781         * ParagraphParameters.C:
1782         * lyxlayout.C:
1783         * text.C:
1784         * text3.C: store/read spacing value as string.
1785
1786         * rowpainter.C: change float value (spacing_val) to double.
1787
1788         * bufferparams.C: add Spacing::Other to spacetranslator (fixes
1789         broken custom document spacing).
1790
1791 2005-01-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
1792
1793         * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
1794         namespace, also more use of temp references and const
1795
1796         * cursor.[Ch] (getStatus): move to lyxfunc.C
1797
1798         * bufferparams.C: reformat slightly
1799
1800         * bufferview_funcs.C (font2string): constify arg
1801
1802         * changes.C:
1803         * converter.C:
1804         * counters.C:
1805         * bufferlist.C:
1806         * buffer_funcs.C: (many funcs): constify arg on function
1807         definitions, also make more local vars const, also add ASSERTS on
1808         pointer args.
1809
1810         * buffer.C (LYX_FORMAT): put const in correct place
1811         (many funcs): constify arg on function definitions, also make
1812         more local vars const
1813
1814         * aspell_local.h: remove "struct" from typdef setup
1815
1816         * aspell.C (check): make word_ok const
1817         (nextMiss): simplify slightly
1818         (error): ditto
1819
1820 2005-01-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1821
1822         * lyxrc.[Ch]: store all float values as strings.
1823         use int (not float) for lyxrc.dpi.
1824
1825 2005-01-04  Angus Leeming  <leeming@lyx.org>
1826
1827         * lyx_cb.C (Reconfigure):
1828         * lyx_main.C (queryUserLyXDir):
1829         to run the <system_lyxdir>/configure correctly on Windows, prefix
1830         the path to the script with "sh " when generating the string that
1831         is passed to system().
1832
1833 2005-01-04  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1834
1835         * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
1836
1837 2004-12-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1838
1839         * lyxlength.C (asLatexString): get rid of setprecision
1840
1841 2004-12-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1842
1843         * text2.C (setLayout): remove unused variable endpit.
1844         (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
1845
1846         * paragraph.C (onlyText): remove unused variable style.
1847
1848         * cursor.C (bruteFind): remove unused variables beg and end.
1849
1850         * Makefile.am (dist_noinset_DATA): not needed anymore
1851
1852         * cheaders/*: remove.
1853
1854 2004-12-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1855
1856         * text3.C: fix LFUN_MATH_MODE.
1857
1858 2004-12-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1859
1860         * buffer_funcs.C (countWords): new function. Counts words between
1861         two iterators.
1862
1863         * BufferView_pimpl.C (getStatus, dispatch): handle
1864         LFUN_WORDS_COUNT.
1865
1866         * LyXAction.C (init):
1867         * lfuns.h: add LFUN_WORDS_COUNT.
1868
1869 2004-12-19  Angus Leeming  <leeming@lyx.org>
1870
1871         * buffer.C (save): s/slashify_path/internal_path/.
1872
1873 2004-12-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1874
1875         * lyxfind.C (findChange): do not search for end of pars, because
1876         the change tracker cannot handle this (fixes bug 1719).
1877
1878 2004-12-17  Alfredo Braunstein  <abraunst@lyx.org>
1879
1880         * paragraph.[Ch] (autoBreakRows): remove
1881
1882         * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
1883
1884         * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
1885         avoid using the paragraph one
1886
1887         * text2.C (LyXText, insertStringAsLines): adjust
1888
1889 2004-12-16  Angus Leeming  <leeming@lyx.org>
1890
1891         * bufferlist.C:
1892         * lyx_main.C:
1893         * messages.C: remove redundant "using lyx::support::GetEnvPath;"
1894
1895 2004-12-14  Angus Leeming  <leeming@lyx.org>
1896
1897         * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
1898
1899         * bufferlist.C (emergencyWrite):
1900         * lyx_main.C (queryUserLyXDir): use os::homepath(), not
1901         GetEnvPath("HOME").
1902
1903 2004-12-14  Angus Leeming  <leeming@lyx.org>
1904
1905         * main.C: (main): no longer pass pointers to os::init.
1906
1907 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
1908
1909         * undo.C (textUndoOrRedo): simplify logic, fix a crash
1910         (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
1911
1912 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
1913
1914         * lyxfunc.C:
1915         * text3.C: remove selection_possible global flag
1916
1917 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
1918
1919         * text2.C (getSelectionSpan): remove
1920         (changeDepth, changeDepthAllowed): adjust
1921
1922 2004-12-05  Lars Gullik Bjønnes  <larsbj@lyx.org>
1923
1924         * Makefile.am (BOOST_LIBS): use boost variables
1925
1926 2004-12-03  José Matos  <jamatos@lyx.org>
1927
1928         * buffer.C: format up to 238.
1929
1930 2004-12-03  José Matos  <jamatos@lyx.org>
1931
1932         * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
1933
1934 2004-12-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
1935
1936         * cursor.C (goUpDown): remove call to idxUpDown2
1937
1938 2004-12-02  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1939
1940         * tabular.[Ch]: use size_t-like types for cell, row and column
1941         indices
1942
1943 2004-12-01  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1944
1945         * lyxfunc.C (getStatus): do not lose previous information when
1946         calling BufferView::getStatus; do not set a default "Command
1947         disabled" message at the beginning, but just before returning.
1948
1949 2004-11-30  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1950
1951         * cursor.h (getStatus): add better comment from src/cursor.C
1952
1953 2004-11-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1954
1955         * text3.C (getStatus): return false when the lfun is not handled
1956
1957 2004-11-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1958
1959         * broken_headers.h: remove
1960
1961         * Makefile.am (lyx_SOURCES): remove broken_headers.h
1962
1963 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
1964
1965         * BufferView.[Ch]: remove top_y, introduce anchor_ref,
1966         offset_ref accessors
1967
1968         * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
1969         top_y_, merge fitcursor with update
1970         (updateScrollbar, scrollDocView, fitCursor, center, update): new
1971         coord scheme
1972         (metrics): introduce
1973         (workAreaDispatch): adapt to new coord scheme
1974         (redoCurrentBuffer): remove
1975
1976         * FontIterator.[Ch]: Use Paragraph & instead of pit_type
1977
1978         * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
1979         CurStatus enum.
1980
1981         * coordcache.[Ch]: add paragraph cache and helpers
1982
1983         * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
1984         adjust everywhere
1985
1986         * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
1987         (targetX, setTargetX): introduce
1988
1989         * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
1990         baseline -> ascent, as the rest of lyx
1991
1992         * lyxtext.h: remove redoParagraphs, updateParPositions,
1993         fullRebreak, redoParagraphInternal. move dist to anon namespace in
1994         tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
1995         have ascent/descent (ascent is ascent of first par)
1996
1997         * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
1998         step of BufferView
1999
2000         * paragraph.[Ch]: unify dimension handling with the rest of lyx
2001
2002         * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
2003
2004         * pariterator.C: fix infinite loop introduced in par->pit renaming
2005
2006         * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
2007         in insets and LyXText, draw two off-screen paragraphs using
2008         NullPainter, and adapt to new coord scheme
2009
2010         * text.C:
2011         * text2.C:
2012         * text3.C: adapt lfun handlers to the new coord scheme, which
2013         means: there's only guaranteed coord information for onscreen pars
2014         plus one above and one below. This implies that one can do search
2015         from y coordinates in the range [-1,workHeight]
2016
2017 2004-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2018
2019         * rename a lot of InsetOld to InsetBase
2020
2021 2004-11-25  Angus Leeming  <leeming@lyx.org>
2022
2023         * BufferView_pimpl.C:
2024         * lyx_cb.C:
2025         * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
2026
2027 2004-11-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2028
2029         * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
2030         call BufferView::getStatus if LCursor::getStatus did nothing
2031         (setStatusMessage, getStatusMessage): removed.
2032
2033         * FuncStatus.C (message): new methods. Used to provide an error
2034         message indicating why a command is disabled.
2035         (clear, |=, FuncStatus): update for message.
2036
2037 2004-11-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2038
2039         * lyxfunc.C (dispatch): always call sendDispatchMessage
2040
2041 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
2042
2043         * BufferView.C:
2044         * BufferView_pimpl.C:
2045         * CutAndPaste.C:
2046         * FontIterator.C:
2047         * buffer.C:
2048         * cursor.C:
2049         * cursor_slice.[Ch]:
2050         * dociterator.[Ch]:
2051         * lyxfind.C:
2052         * paragraph_funcs.C:
2053         * pariterator.C:
2054         * rowpainter.C:
2055         * text.C:
2056         * text2.C:
2057         * text3.C:
2058         * undo.C: par->pit renaming
2059
2060 2004-11-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
2061
2062         * tabular.C (cellstruct): use initialization, store a shared_ptr
2063         to insettext instead of the insettext directly, adjust to fit.
2064         (operator=):  new function
2065         (swap): new function
2066         (rowstruct): use initialization
2067         (columnstruct): use initialization
2068         (ltType): use initialization
2069
2070
2071         * lyxlength.h (swap): new function
2072
2073         * LColor.[Ch] (operator=): use the common semantics
2074
2075 2004-11-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2076
2077         * lyxfind.C (findNextChange): update the bufferview after setting
2078         the selection.
2079
2080 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2081
2082         * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
2083         number of InsetOptArgs has already been inserted.
2084
2085         * output_latex.C (latexOptArgInsets): new method. This outputs all
2086         the optarg insets, up to the limit defined in the layout file.
2087         (optArgInset): removed
2088         (TeXOnePar): call latexOptArgInsets; correctly update texrow
2089
2090 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2091
2092         * paragraph.C (isLetter): remove special spellchecker-related
2093         code; return true also for digits
2094         (isWord, isKomma): remove
2095
2096         * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
2097         * lyxfind.C (MatchString()): use isLetter instead of isWord
2098
2099 2004-11-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
2100
2101         * pariterator.h (operatir=): comment out un-implemented member
2102         function.
2103
2104         * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
2105         static cast.
2106
2107 2004-11-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
2108
2109         * lyxfont.h: include LColor.h to satisfy concept checks.
2110
2111 2004-11-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2112
2113         * pariterator.h: add typdefs for value_type, difference_type,
2114         pointer and reference to satisfy concept checks. Also add default
2115         constructor for same reason.
2116
2117         * pariterator.C (operator++): add post-increment operator to
2118         satisfy concept checks.
2119
2120         * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
2121         checks.
2122
2123         * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
2124
2125         * ParagraphList_fwd.h: include paragraph.h to satisfy concept
2126         checks. Also rename base_type to BaseType to follow naming
2127         standard better.
2128
2129         * FloatList.h: include Floating.h to satisfy concept checks.
2130
2131 2004-11-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2132
2133         * lyxfunc.C (getStatus): when the origin of the request is menu or
2134         toolbar, and the LyXView does not have focus, do as if there was
2135         no buffer (bug 1720)
2136
2137         * lyxfunc.C (getStatus, dispatch): propagate the origin of a
2138         FuncRequest to individual entries of LFUN_SEQUENCE
2139
2140 2004-11-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2141
2142         * output_latex.C (TeXOnePar): override runparams.moving_arg
2143         according to the needprotect value of the current paragraph (bug
2144         1739)
2145
2146         * paragraph.C (simpleTeXOnePar): no need to override
2147         runparams.moving_args here
2148
2149 2004-11-14  John Spray  <spray_john@users.sourceforge.net>
2150
2151         * vspace.C: fix off-by-one-error, related to fix #1682
2152
2153 2004-11-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2154
2155         * lengthcommon.C: a more general fix for bug 1682
2156
2157 2004-11-11  Alfredo Braunstein  <abraunst@lyx.org>
2158
2159         * text.C (backspace): fix crash
2160
2161 2004-11-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2162
2163         * format.[Ch] (getFormatFromFile): new method
2164         * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
2165
2166 2004-11-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2167
2168         * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
2169
2170 2004-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2171
2172         * lyxfunc.C (dispatch): remove the verbose argument
2173         (sendDispatchMessage): ditto. Use the origin of the FuncRequest
2174         instead
2175
2176         * kbmap.C (defkey): set the origin of func to KEYBOARD
2177
2178         * MenuBackend.C (MenuItem):
2179         * ToolbarBackend.C (add): set the origin of func to UI
2180
2181         * funcrequest.[Ch]: add origin member, which indicates which part
2182         of LyX requests an action
2183
2184 2004-11-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2185
2186         * converter.C (move): don't lie in the error message
2187         * converter.h (isReachable, move): document
2188
2189 2004-11-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
2190
2191         * buffer.C: remove unused using lyx::support::atoi
2192         * paragraph_funcs.C: ditto
2193
2194 2004-11-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
2195
2196         * bufferlist.C (exists): use bind and equal_to instead of
2197         compare_memfun
2198         (getBuffer): ditto
2199         * lyxtextclasslist.C (NumberOfClass): ditto
2200
2201         * cursor.C (insert): use for_each instead of explicit for loop
2202
2203         * bufferlist.C (getFileNames): use std::transform and
2204         std::back_inserter instead of std::copy and lyx::back_inserter_fun.
2205
2206         * buffer_funcs.C (bufferErrors): use for_each instead of explicit
2207         for loop
2208
2209         * buffer.C (changeLanguage): use for_each instead of explicit for
2210         loop
2211         (hasParWithID): implement using getParFromID
2212
2213         * LaTeXFeatures.C: ws change only
2214
2215         * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
2216         to cleanup a bit.
2217
2218         * BufferView_pimpl.C (trackChanges): use for_each instead of
2219         expilicit for loop
2220
2221 2004-11-04  André Pönitz  <poenitz@gmx.net>
2222
2223         * undo.h:
2224         * undo.C (textUndoOrRedo): fix crash when creating undo information.
2225
2226         * dociterator.C (asDocIterator): use hard assert again.
2227
2228 2004-11-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2229
2230         * lyxlength.C (asLatexString): rewrite so that it does not use
2231         snprintf anymore
2232
2233 2004-11-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2234
2235         * text3.C (specialChar, dispatch): make sure cursor moves to the
2236         right after inserting an inset
2237
2238 2004-11-02  José Matos  <jamatos@lyx.org>
2239
2240         * output_docbook.C (docbook):
2241         * paragraph.C (getID):
2242         * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
2243         garantee that the output is always legal.
2244
2245         * tabular.C (docbook):
2246         * outputprams.[Ch]: remove mixed contents.
2247
2248 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2249
2250         * text2.C (setCounter): prevent endless loop
2251
2252 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2253
2254         * exporter.C (copyFile): use the mover instead of support::copy()
2255         * exporter.C (Export): pass format and latex name to copyFile()
2256         * exporter.h (addExternalFile): document
2257         * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
2258
2259 2004-10-31  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2260
2261         * text.C (leftMargin): do not indent paragraphs in charstyle insets.
2262
2263 2004-10-30  José Matos  <jamatos@lyx.org>
2264
2265         * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
2266         text and no inset or font change. This allows to use CDATA
2267         sections just for the whole paragraph.
2268
2269 2004-10-30  José Matos  <jamatos@lyx.org>
2270
2271         * paragraph.C (getFirstWord): remove unused variable.
2272
2273 2004-10-30  José Matos  <jamatos@lyx.org>
2274
2275         * paragraph.C (getFirstWord): the content should always be escaped
2276         there.
2277         (simpleDocBookOnePar):
2278         * output_docbook.C (makeEnvironment): replace reference to CDATA
2279         to style pass_thru.
2280
2281 2004-10-30  José Matos  <jamatos@lyx.org>
2282
2283         * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
2284
2285 2004-10-30  José Matos  <jamatos@lyx.org>
2286
2287         * output_docbook.C (makeParagraphs):
2288         * paragraph.[Ch] (emptyTag): for docbook and company, if the
2289         standard paragraph has only a given type of content drop the wrapper.
2290
2291 2004-10-29  José Matos  <jamatos@lyx.org>
2292
2293         * output_docbook.C (makeEnvironment):
2294         * sgml.C (openTag):
2295         * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
2296
2297 2004-10-29 Andreas Vox  <vox@isp.uni-luebeck.de>
2298
2299         * sgml.[Ch] (uniqueID): returns a unique id for a given label.
2300         (cleanID): sanitize any id.
2301
2302 2004-10-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2303
2304         * buffer.C, lyxlex_pimpl.C:
2305         * lyxlex_pimpl.C (setFile):
2306         s/getExtFromContents/getFormatFromContents/
2307
2308 2004-10-28  José Matos  <jamatos@lyx.org>
2309
2310         * output_docbook.C (makeEnvironment): move id to broadest possible
2311         scope.
2312
2313         * sgml.C (openTag): apply substitution of <> for all attributes.
2314
2315 2004-10-28  José Matos  <jamatos@lyx.org>
2316
2317         * buffer.C (makeLinuxDocFile, makeDocBookFile):
2318         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2319         * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
2320
2321         * sgml.[Ch]: new version for open and closeTag for paragraph and
2322         for strings. Now they handle the ids of paragraphs.
2323
2324 2004-10-26  Angus Leeming  <leeming@lyx.org>
2325
2326         * Makefile.am: add mover.[Ch].
2327
2328         * converter.C (convert, move): use the new Movers to move external
2329         files to the temp directory.
2330
2331         * lyx_main.C (init): ensure that the global system_movers data
2332         is initialised.
2333
2334         * lyxrc.[Ch]: code to read and write 'copiers' from/to the
2335         preferences file.
2336
2337         * mover.[Ch]: new files, defining a Mover as a utility to move an
2338         external file between directories and, if necessary, manipulate this
2339         file using a helper script.
2340
2341 2004-10-25  José Matos  <jamatos@lyx.org>
2342
2343         * output_docbook.C (makeCommand): merge two if's that tested the
2344         same condition.
2345
2346 2004-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2347
2348         * sgml.C (escapeString): fix warning in a better way
2349
2350 2004-10-25  José Matos  <jamatos@lyx.org>
2351
2352         * sgml.C (escapeString): import the require boosts header file for
2353         tie, and avoid a signed unsigned comparison.
2354
2355 2004-10-25  José Matos  <jamatos@lyx.org>
2356
2357         * sgml.h: add #include <string>
2358
2359 2004-10-25  José Matos  <jamatos@lyx.org>
2360
2361         * sgml.[Ch] (escapeString): new function to escape all the string.
2362
2363 2004-10-24  José Matos  <jamatos@lyx.org>
2364
2365         * paragraph.[Ch] (getFirstWord): new function to get the first
2366         word. Useful for description.
2367         (simpleDocBookOnePar): remove depth argument, add another that
2368         says where to start the paragraph.
2369
2370         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2371         use the new functions to fix cleanly the support for descriptions.
2372
2373 2004-10-24  José Matos  <jamatos@lyx.org>
2374
2375         * buffer.C (makeLinuxDocFile, makeDocBookFile):
2376         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2377         * output_linuxdoc.C (linuxdocParagraphs):
2378         * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
2379         add buffer as argument.
2380
2381 2004-10-24  José Matos  <jamatos@lyx.org>
2382
2383         * output_docbook.C (makeEnvironment, searchEnvironment): place
2384         CDATA inside paragraphs and fix scope for listitems.
2385
2386 2004-10-24  José Matos  <jamatos@lyx.org>
2387
2388         * output_docbook.C: remove using statement for stack.
2389
2390 2004-10-23  José Matos  <jamatos@lyx.org>
2391
2392         * buffer.C (makeDocBookFile): reorganize the comments about lyx.
2393         * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
2394         docbook. The new scheme is recursive and makes use of iterators, the
2395         same as latex export works.
2396         * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
2397         directly with the paragraph contents. This code was moved up to
2398         output_docbook.C (docbookParagraphs).
2399         * sgml.C (openTag, closeTag): removed unneeded newlines.
2400         (closeEnvTags) removed.
2401
2402 2004-10-23  André Pönitz  <poenitz@gmx.net>
2403
2404         * undo.C (textUndoOrRedo):
2405         * dociterator.C (asDocIterator): work around crash
2406
2407         * cursor.C (getStatus): replace ASSERT by more verbose error message
2408           and manual correction of the problem. Should increase stability
2409           while providing more sensible information.
2410
2411 2004-10-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2412
2413         * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
2414
2415         * bufferlist.C (previous, next): new methods
2416
2417         * lfuns.h:
2418         * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
2419
2420 2004-10-18  Andreas Vox  <vox@isp.uni-luebeck.de>
2421
2422         * buffer.C (makeDocBookFile): add dsssl stylesheet control
2423         entities to preamble.
2424
2425 2004-10-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2426
2427         * messages.C (Pimpl): strip off translation context information
2428
2429 2004-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2430
2431         * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
2432         the cursor is correct (bug 1694)
2433
2434 2004-10-13  José Matos  <jamatos@lyx.org>
2435
2436         * output_docbook.C (docbookParagraphs): fix closing tags in the
2437         end of the document.
2438
2439 2004-10-09  José Matos  <jamatos@lyx.org>
2440
2441         * buffer.C: format up to 237.
2442         * bufferparams.C (write): use tostr to convert booleans to strings.
2443
2444 2004-10-08  Martin Vermeer  <martin.vermeer@hut.fi>
2445
2446         * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
2447
2448 2004-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
2449
2450         * LaTeX.C: implement use of babel language in xindy.
2451
2452 2004-10-05  José Matos  <jamatos@lyx.org>
2453
2454         * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
2455         Add new translators to help reading and writing the lyx file.
2456
2457 2004-10-05  José Matos  <jamatos@lyx.org>
2458
2459         * ParagraphParameters.C (read):
2460         * text.C (readParToken): replace nexToken by more appropriate lex
2461         methods.
2462
2463 2004-10-05  Hartmut Haase  <hha4491@atomstromfrei.de>
2464
2465         * LaTeX.C (runMakeIndex):
2466         * lyxrc.[Ch] (read, write, getDescription): make the indexing command
2467         (usually 'makeindex') configurable.
2468
2469         * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
2470         with a variable rather than with a number.
2471
2472 2004-09-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2473
2474         * output_latex.C (TeXOnePar): make sure font setting is the first
2475         thing that gets output (and the last at the end). Should fix bug
2476         1404.
2477
2478 2004-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
2479
2480         * pch.h: use proper signal include
2481
2482         * LaTeX.h: Use preferred calling of Boost.Signal
2483         * buffer.h: ditto
2484
2485 2004-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
2486
2487         * pch.h: dont include <boost/function/function0.hpp>
2488
2489         * Makefile.am (lyx_SOURCES): remove ShareContainer.h
2490
2491         * paragraph_pimpl.h: remove usage of ShareContainer
2492
2493         * paragraph_pimpl.C: remove initialization of ShareContainer.
2494
2495 2004-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2496
2497         Fix bug #1666
2498
2499         * BufferView.C (putSelectionAt): change the semantics when
2500         backwards == true: now, this just swaps cursor and anchor wrt the
2501         forward case
2502
2503         * BufferView.h (putSelectionAt): add some documentation
2504
2505         * lyxfind.C (findBackwards): rewrite using while(). In particular,
2506         make sure backwardChar is done at least once (to avoid getting
2507         stuck)
2508         (findNextChange): use putSelectionAt in the forward direction
2509         (operator()): use Paragraph::isWord
2510
2511 2004-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2512
2513         * Spacing.C (set): c_str fix
2514
2515 2004-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2516
2517         * lyx_cb.C (Reconfigure): quote the name of configure script in
2518         case it contains spaces
2519
2520 2004-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
2521
2522         * client: new dir
2523
2524         * Makefile.am (SUBDIRS): change order of subdirs and add client dir
2525         (BOOST_LIBS): use top_buildir when looking for the file
2526
2527 2004-08-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
2528
2529         * pch.h: do not use include boost/format.hpp, multiple symbols
2530                 will result (gcc bug)
2531
2532
2533 2004-08-23  José Matos  <jamatos@lyx.org>
2534
2535         * bufferparams.C (readToken): fix reading of the author field.
2536
2537 2004-08-20  José Matos  <jamatos@lyx.org>
2538
2539         * lyxrc.C: remove support/translator.h inclusion since it is not used.
2540
2541 2004-08-20  José Matos  <jamatos@lyx.org>
2542
2543         * lyxlex.[Ch] (findToken): remove function.
2544
2545         * ParagraphParameters.C (findToken):
2546         * bufferparams.C (findToken): replace call for previous function
2547         with local copy. This local function has one more argument, the
2548         read string argument.
2549
2550 2004-08-16  José Matos  <jamatos@lyx.org>
2551
2552         * ParagraphParameters.C (write):
2553         * Spacing.C (writeFile):
2554         * bufferparams.C (writeLaTeX):
2555         * lyx_cb.C (Reconfigure):
2556         * paragraph.C (write):
2557         * tabular.C (write): remove unnecessary space at end of line.
2558
2559
2560 2004-08-16  José Matos  <jamatos@lyx.org>
2561
2562         * text.C (readParagraph): remove debug message.
2563
2564 2004-08-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2565
2566         * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
2567         crash
2568
2569         * output_plaintext.C (asciiParagraph): set depth correctly
2570
2571         * outputparams.h: add member depth
2572
2573         * paragraph_funcs.C (ownerPar): remove.
2574
2575         * text2.C (setCounter): remove first_pit; comment out some
2576         non-working code that uses ownerPar
2577
2578         * BufferView.C (getParentLanguage): remove. Not used anymore, and
2579         uses ownerPar
2580
2581 2004-08-16  José Matos  <jamatos@lyx.org>
2582
2583         * text.C (readParToken, readParagraph, read): report all unknown tokens.
2584         For the same level of importance use the same chanel to report problems.
2585         (read): add code to deal with \begin_body and \end_body.
2586
2587
2588 2004-08-15  José Matos  <jamatos@lyx.org>
2589
2590         * lyxlex.C (getString): fix comment, buffer::readBody is now
2591         buffer:readDocument.
2592
2593         * tex-strings.C (string_papersize): Default -> default,
2594         Custom -> custom, for consistency with other options.
2595
2596 2004-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
2597
2598         * pch.h: new file
2599
2600         * Makefile.am: support pch
2601
2602 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2603
2604         * text.C (readParToken): remove the static LyXFont variable and
2605         pass it as a parameter instead. This fixes a nasty bug where an
2606         inset will be inserted with a bad font in some situations
2607         (readParagraph): adapt
2608
2609         * text2.C (setCounter): reduce number of calls to pars_[pit]
2610
2611         * text.C (singleWidth): add an assert, fix a test
2612
2613         * rowpainter.C (paintText): reduce number of calls to singleWidth
2614
2615         * paragraph.C (isHfill):
2616         (isNewline): ws only
2617
2618 2004-08-14  André Pönitz  <poenitz@gmx.net>
2619
2620         * text.C:
2621         * text2.C:
2622         * rowpainter.C:
2623         * lyxtext.h (several functions): use a Paragraph & argument
2624         instead of par_type
2625
2626 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2627
2628         * metricsinfo.h: add a new field ltr_pos to PainterInfo
2629
2630         * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
2631
2632         * text.C (singleWidth): remove useless test
2633
2634 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2635
2636         * tabular.h: remove bogus comments
2637
2638         * tabular.C (getDescentOfRow):
2639         (isPartOfMultiColumn): add assertions
2640
2641         * lyxlength.C (inPixels): remove #warning
2642
2643 2004-08-14  André Pönitz  <poenitz@gmx.net>
2644
2645         * paragraph.h: inline getChar()
2646
2647         * BufferView.h: remove unused declarations
2648
2649 2004-08-14  José Matos  <jamatos@lyx.org>
2650
2651         * Buffer.[Ch] (readDocument): new name for old readBody.
2652         * Buffer.C: new file format, new keywords: \begin_document,
2653         \begin_header, \begin_body, \end_body.
2654
2655         * bufferparams.C (readToken): replace all calls to lex.nextToken
2656         by lex.next(). Do the same to eatLine except where really needed.
2657
2658         * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
2659         line when writing to the lyx file.
2660
2661         * output_plaintext.C (asciiParagraph): fix Bibliography style
2662         handling.
2663
2664         * text.C (read): fix end of file handling.
2665
2666 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2667
2668         * MenuBackend.C (Menu::operator[]): new method to access
2669         individual menu items
2670         (Menu::hasFunc): new method. search for an item that corresponds
2671         to a given func
2672         (MenuBackend::specialMenu): new method
2673         (MenuBackend::expand): if a special menu has been set, skip
2674         entries whose func() appears in this menu
2675
2676 2004-08-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
2677
2678         * text3.C: use Debug::DEBUG a bit more
2679
2680         * text.C (leftMargin): try to simplify a tiny bit change var x to
2681         l_margin. Dont output the wide margins always.
2682         (rightMargin): no margin in inner texts
2683
2684         * rowpainter.h (nestMargin): new func
2685         (changebarMargin): new func
2686         (rightMargin): new func
2687
2688         * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
2689         now functions.
2690         (paintLast): ditto
2691
2692         * factory.C (createInset): modify setDrawFrame
2693
2694         * cursor.C: use Debug::DEBUG a bit more
2695
2696 2004-08-14  André Pönitz  <poenitz@gmx.net>
2697
2698         * coordcache.[Ch]:
2699         * Makefile.am: new files to accomodate an 'external' (x,y)-position
2700         cache for all insets in (at least partially) visible (top-level)
2701         paragraphs.
2702
2703         * BufferView_pimpl.C: reset external coord cache before every update.
2704         This means the coord cache only contains valid entries.
2705
2706 2004-08-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
2707
2708         bug 1096
2709         * BufferView_pimpl.C (getInsetByCode): move function out of class
2710         and change in to a template in anon namespace. Also fix to do what
2711         suits us better.
2712
2713 2004-08-13  Lars Gullik Bjønnes  <larsbj@lyx.org>
2714
2715         bug 1305
2716         * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
2717         of char
2718         (breakParagraph): rename par to par_offset and use a local
2719         reference. Add code to keep the language over a rebreak.
2720         (breakParagraphConservative): rename par to par_offset, use a
2721         local reference
2722         (mergeParagraph): ditto
2723         (outerHook): ditto
2724         (isFirstInSequence): ditto
2725         (outerFont): rename pit to par_offset
2726
2727         * paragraph.C: ws change
2728         * paragraph.h: ditto
2729         * text3.C: ditto
2730         * text.C: ditto
2731
2732 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2733
2734         * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
2735         treatment for ']'
2736
2737         * paragraph.C (simpleTeXOnePar): when we have a \item with
2738         optional argument, enclose the argument with curly brackets (in
2739         case it contains a closing square bracket)
2740
2741         * text2.C (editXY):
2742         * text2.C (editXY):
2743         * text3.C (checkInsetHit): constify
2744
2745 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2746
2747         * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
2748         documents (bug 1629)
2749
2750 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2751
2752         Fix toggling of collapsable insets with the mouse (bug 1558)
2753
2754         * lyxfunc.C (dispatch): adapt to LCursor changes
2755
2756         * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
2757         make sure that dispatch is not invoked twice
2758
2759         * cursor.C (needsUpdate): new method
2760         (dispatch): return void
2761         (result): new method, to access the DispatchResult of the cursor.
2762
2763 2004-08-13  José Matos  <jamatos@lyx.org>
2764
2765         * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
2766
2767 2004-08-13  André Pönitz  <poenitz@gmx.net>
2768
2769         * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
2770
2771         * CutAndPaste.C (eraseSelection): fix cursor position after erasing
2772           multiple cells
2773
2774 2004-08-12  André Pönitz  <poenitz@gmx.net>
2775
2776         * text3.C: take out the 'cursor right' form insertInset and only
2777         do it in those places when it is really needed. Fixes crash on
2778         C-m...
2779
2780 2004-08-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2781
2782         * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
2783
2784         * BufferView_pimpl.C (setBuffer): initialize the current font of
2785         the underlying LyXText
2786
2787 2004-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2788
2789         * kbsequence.C (print): use UI native formatting for menu
2790         shortcuts
2791
2792         * text.C (insertChar): call Paragraph::insertChar with a font
2793         argument (cosmetic)
2794
2795         * paragraph.C (insertInset, insertChar): the version that takes a
2796         LyXFont argument is now a wrapper around the other one (the
2797         opposite used to be true).
2798
2799         * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
2800         argument. Font setting is done in Paragraph now.
2801
2802 2004-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2803
2804         * outputparams.h: add new members intitle and lang.
2805
2806         * paragraph.C (simpleTeXOnePar): initialize rp.lang and
2807         rp.intitle. Actually use rp in call to simpleTeXSpecialChars
2808
2809 2004-08-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2810
2811         * text3.C (dispatch): remove special handling of button 4 and 5,
2812         it is now taken care of in the frontend code.
2813
2814 2004-07-25  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2815
2816         * Spacing.h: add <string> (STLPort compile fix)
2817
2818 2004-08-02  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2819
2820         * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
2821
2822 2004-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2823
2824         * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
2825         to bool.
2826
2827         * converter.C (showMessage): inherit from unary_function, make
2828         operator() const.
2829
2830         * buffer.C (writeFile): initialize retval
2831
2832         * InsetList.h: rename private variable list to list_
2833         * InsetList.[Ch]: adjust accordingly.
2834
2835 2004-07-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
2836
2837         * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
2838         * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
2839         * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
2840         * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
2841         * ParagraphParameters.C, LaTeXFeatures.C: replace
2842         "support/std_sstream.h" with <sstream>
2843
2844 2004-07-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
2845
2846         * lyxserver.C (startPipe): use this (pointer) not *this (reference)
2847         * lyxsocket.C (LyXServerSocket): ditto
2848         (serverCallback): ditto
2849
2850 2004-07-23  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2851
2852         * LaTeXFeatures.C: check release date when loading jurabib.
2853
2854 2004-07-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
2855
2856         * lyxserver.C (startPipe): call register_socket_callback
2857         (endPipe): call unregister_socket_callback
2858
2859 2004-07-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
2860
2861         * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
2862         (LyXServerSocket): register the callback
2863         (LyXServerSocket): unregister the callback
2864         (fd): delete function
2865         (serverCallback): improve error checking and setup the callbacks.
2866         (dataCallback): change arg to fd.
2867         (writeln): new func (copied fro the client socket) used for server
2868         write to client.
2869         (LyXDataSocket): simplify
2870         (~LyXDataSocket): close ann unregiser callback
2871         (server): delete function
2872         (fd): delete function
2873         (readln): small changes, improve some std::string usage
2874         (writeln): constify a bit
2875
2876 2004-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2877
2878         * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
2879         Qt frontend
2880
2881 2004-07-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2882
2883         * BufferView_pimpl.C (setBuffer): set the layout combox value only
2884         after it has been populated
2885
2886 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2887
2888         * text2.C (insertInset): move cursor when inserting inset.
2889
2890 2004-06-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2891
2892         * kbmap.C (findbindings): a couple of new methods. returns a
2893         container of kb_sequence objects. The real work is done by the
2894         private recursive version
2895         (printbindings): uses findbindings to print out a bracketed list
2896         of bindings (renamed from findbinding).
2897
2898         * MenuBackend.C (binding): use kb_keymap::findbindings
2899
2900         * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
2901
2902 2004-07-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2903
2904         * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
2905
2906 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2907
2908         * paragraph.C (isWord): return true on insets that report
2909         isLetter().
2910
2911         * text.C (getWord): use Paragraph::isWord to decide what is in a
2912         word and what is not; fix bug 1609.
2913
2914 2004-06-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2915
2916         * tex-strings.C: add "none" to string_paperpackages[], fixes
2917         off-by-one-error in the paperpackage selection.
2918
2919         * lyxlex.[Ch]:
2920         * tex-strings.[Ch]: char const * string[n]
2921         -> char const * const string[]
2922
2923 2004-06-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2924
2925         * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
2926         command, return early.
2927
2928 2004-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
2929
2930         * debug.h: add DEBUG to enum and fix size of ANY.
2931
2932         * debug.C: add support for Debug::DEBUG
2933         (showTags): cast errorTags.level to unsigned int
2934
2935         * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
2936         (redoCurrentBuffer): ditto
2937         (updateScrollbar): ditto
2938         * cursor.C (dispatch): ditto
2939         * text2.C (setLayout): ditto
2940         (setFont): ditto
2941         (updateCounters): ditto
2942         (editXY): ditto
2943         (deleteEmptyParagraphMechanism): ditto
2944
2945 2004-06-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
2946
2947         * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
2948         annotations to cleanup the Makefile slightly.
2949
2950 2004-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2951
2952         * lyxrc.C: do not set user_email to a default value but use empty
2953         instead. The entry used to be translated, which does not work
2954         since at the point where lyxrc is constructed there is no
2955         translation service available
2956
2957         * messages.C (getLocaleDir): remove and use directly
2958         lyx_localedir() instead
2959
2960 2004-06-02  Angus Leeming  <leeming@lyx.org>
2961
2962         Fix crash caused by dereferencing null pointer 'exportdata' in
2963         OutputParams by creating a new ExportData variable on the heap,
2964         storing it in a boost::shared_ptr.
2965         The crash was triggered when generating an Instant Preview
2966         of an external inset.
2967
2968         * Makefile.am: add outputparams.C
2969
2970         * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
2971         (c-tor): allocate memory to it.
2972
2973         * exporter.C (c-tor): associated changes.
2974
2975 2004-06-01  Angus Leeming  <leeming@lyx.org>
2976
2977         * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
2978         contains data before calling isInset(0). (Bug 1513.)
2979
2980 2004-06-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2981
2982         * exporter.C (checkOverwrite): new method
2983         * exporter.C (copyFile): new method
2984         * exporter.C (Export): copy referenced files to the document dir
2985         * exporter.[Ch]: new class ExportedFile
2986         * exporter.[Ch]: new class ExportData. Contains currently the
2987         names of referenced external files
2988         * outputparams.h: add exportdata member.
2989
2990 2004-05-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
2991
2992         * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
2993         version.C-tmp
2994
2995 2004-05-19  Angus Leeming  <leeming@lyx.org>
2996
2997         * LaTeXFeatures.C:
2998         * ToolbarBackend.C:
2999         * bufferparams.C:
3000         * lyxfunc.C: small changes due to the introduction of namespace
3001         lyx::frontend and the moving of namespace biblio to lyx::biblio.
3002
3003 2004-05-18  Alfredo Braunstein  <abraunst@lyx.org>
3004
3005         * text3.C (dispatch): supress update when only moving the cursor
3006         * cursor.C (selHandle): remove commented code
3007
3008 2004-05-17  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3009
3010         * paragraph.C (startTeXParParams): correct column count
3011         * CutAndPaste.C (pasteSelection): remove const_cast
3012         * output_docbook.C (docbookParagraphs): remove const_cast
3013         * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
3014         const_cast and return ParagraphList::const_iterator
3015         * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
3016         * output_plaintext.C (writeFileAscii): remove const_cast
3017         * paragraph.[Ch] (simpleTeXOnePar): make const
3018         * paragraph_funcs.C (outerPar): use const iterators
3019         * paragraph_pimpl.C (validate): use const iterators
3020         * text.C (setHeightOfRow): use const iterators
3021
3022 2004-05-17  Angus Leeming  <leeming@lyx.org>
3023
3024         * lfuns.h:
3025         * LyXAction.C (init): new LFUN_INSET_REFRESH.
3026
3027         * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
3028         over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
3029         if the citation engine has changed.
3030
3031 2004-05-14  José Matos  <jamatos@lyx.org>
3032
3033         * buffer.C (makeDocBookFile): add a default Formal Public Identifier
3034         if the textclass does not provide it. Have it different for sgml and
3035         xml.
3036         support the language of document.
3037         * output_docbook.C (docbookParagraphs):
3038         * paragraph.[Ch] (getDocbookId): new function that gets the id of the
3039         first anchor as the id of the paragraph, remove special case code.
3040         * sgml.C (escapeChar): escape only < & >.
3041
3042 2004-05-14  Angus Leeming  <leeming@lyx.org>
3043
3044         * bufferparams.h: move biblio::CiteEngine enum here to minimize
3045         dependencies on src/frontends/controllers/biblio.h. Define a
3046         CiteEngine_enum wrapper class to enable the enum to be forward
3047         declared.
3048
3049 2004-05-12  Angus Leeming  <leeming@lyx.org>
3050
3051         * buffer.C: up LYX_FORMAT to 234.
3052         * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
3053         use_numerical_citations with a single biblio::CiteEngine cite_engine
3054         variable.
3055         * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
3056
3057 2004-05-13  José Matos  <jamatos@lyx.org>
3058
3059         * converter.h:
3060         * converter.C (Converter, readFlags): add xml member.
3061         * outputparams.h: add XML flavor.
3062         * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
3063
3064 2004-05-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3065
3066         * lyxfunc.C (dispatch):
3067         (getStatus): fix handling of LFUN_SEQUENCE
3068
3069 2004-04-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3070
3071         * debug.C (showLevel): do not forget the end-of-line marker
3072
3073 2004-04-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3074
3075         * kbmap.C (read): do not stop parsing a bind file when an error
3076         occurs (bug 1575)
3077
3078 2004-04-29  Angus Leeming  <leeming@lyx.org>
3079
3080         * cursor.C:
3081         * factory.C:
3082         * pariterator.C:
3083         * text2.C: wrap a bunch of #warning statements
3084         inside #ifdef WITH_WARNINGS blocks.
3085
3086 2004-04-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3087
3088         * buffer.C: increment format to 233.
3089
3090 2004-04-28  Angus Leeming  <leeming@lyx.org>
3091
3092         * BufferView_pimpl.C:
3093         * lyxfunc.C:
3094         * text3.C:
3095         s/updateToolbar()/updateToolbars()/
3096         s/Toolbar.h/Toolbars.h/
3097
3098 2004-04-28  Angus Leeming  <leeming@lyx.org>
3099
3100         * BufferView.[Ch] (c-tor):
3101         * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
3102         No longer passes these data to the WorkArea generator.
3103
3104 2004-04-28  Angus Leeming  <leeming@lyx.org>
3105
3106         * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
3107
3108 2004-04-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3109
3110         * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
3111
3112 2003-09-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3113
3114         * output_latex.C (TeXEnvironment): make sure that there is a line
3115         break before \end{foo} for the last paragraph of a document
3116         (TeXOnePar): if the paragraph is at the end of the document (or
3117         inset) and the language has to be reset, then make sure that the
3118         line break is _before_ the language command, not after (fixes bug
3119         1225); also make sure that the language reset command is the first
3120         thing after the paragraph (to ensure proper nesting of
3121         environments and thus fix bug 1404)
3122
3123 2004-04-21  John Levon  <levon@movementarian.org>
3124
3125         * ToolbarBackend.h:
3126         * ToolbarBackend.C: make "name" be a programmatic name
3127         and a gui_name field.
3128
3129         * lyxfunc.C: display the minibuffer on M-x
3130
3131 2004-04-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3132
3133         * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
3134         (bug 1526)
3135
3136 2004-04-19  Angus Leeming  <leeming@lyx.org>
3137
3138         * BufferView_pimpl.C (setBuffer): changed preview interface.
3139
3140         * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
3141         possible values.
3142
3143 2004-04-19  John Levon  <levon@movementarian.org>
3144
3145         * BufferView_pimpl.C:
3146         * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
3147
3148 2004-04-05  Angus Leeming  <leeming@lyx.org>
3149
3150         * text.C (redoParagraphs): add call to updateCounters(), thereby
3151         fixing the missing "Figure #:" label from the caption of a
3152         figure float.
3153
3154 2004-04-13  Angus Leeming  <leeming@lyx.org>
3155
3156         * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
3157         cursor is clicked out of an inset.
3158
3159 2004-04-13  Angus Leeming  <leeming@lyx.org>
3160
3161         * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
3162         than an InsetOld one.
3163
3164 2004-04-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3165
3166         * format.[Ch]: add editor to Format
3167         * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
3168         * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
3169
3170 2004-04-08  André Pönitz  <poenitz@gmx.net>
3171
3172         * metricsinfo.h: remove PainterInfo::width member
3173
3174 2004-04-08  Angus Leeming  <leeming@lyx.org>
3175
3176         * lyx_sty.C (boldsymbol_def): modify so that it outputs
3177         "\providecommand" rather than "\newcommand", thereby preventing
3178         clashes with packages that define "\boldsymbol" themselves.
3179         Eg, beamer.
3180
3181 2004-04-08  Angus Leeming  <leeming@lyx.org>
3182
3183         * lyxrc.C (read): don't try to set the color of none, inherit, ignore
3184         thereby squashing an unnecessary warning.
3185
3186 2004-04-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3187
3188         * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
3189         setBuffer()
3190
3191 2004-04-07  Alfredo Braunstein  <abraunst@lyx.org>
3192
3193         * BufferView.C (setCursor): call redoParagraph (some insets could
3194         have been opened)
3195         (putSelectionAt): remove the 'double update' trick
3196
3197         * BufferView_pimpl.C (fitCursor): call refreshPar
3198         (workAreaDispatch): remove an uneeded update call
3199         (dispatch): remove some manual update calls
3200
3201         * cursor.[Ch]: remove cached_y_, updatePos
3202         (selHandle): set noUpdate when appropriate
3203
3204         * lyxfunc.C (dispatch): track if we need an update
3205
3206         * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
3207
3208         * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
3209         (paintSelection): cheap optimization, do not call cursorX when not
3210         needed
3211         (paintPars): change signature
3212         (refreshPar): add
3213         (paintText): adjust
3214         (paintTextInset): adjust
3215
3216         * text.C: adjust
3217
3218 2004-04-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3219
3220         * lengthcommon.C: compilation fix: remove explicit array size from
3221         unit_name[] and friends
3222
3223 2004-04-05  Angus Leeming  <leeming@lyx.org>
3224
3225         * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
3226
3227         * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
3228         present only for the preferences dialog.
3229         (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
3230
3231 2004-04-05  Angus Leeming  <leeming@lyx.org>
3232
3233         * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
3234         to enable the frontends to export changes to lyxrc correctly.
3235
3236         * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
3237
3238 2004-04-07  André Pönitz  <poenitz@gmx.net>
3239
3240         * cursor.[Ch] (selClear, adjust): remove math
3241
3242         * cursor_slice.C: more agressive assert
3243
3244         * lyxfunc.C:
3245         * BufferView_pimpl.C: rework mouse event dispatch
3246
3247         * dociterator.C:
3248         * paragraph.C:
3249         * text2.C:
3250         * text3.C: adjust
3251
3252 2004-04-05  André Pönitz  <poenitz@gmx.net>
3253
3254         * cursor.[Ch] (valign, halign...): remove unneeded functions
3255
3256 2004-04-05  Angus Leeming  <leeming@lyx.org>
3257
3258         * lyxlength.[Ch] (unit_name et al.): const-correct.
3259
3260 2004-04-05  Angus Leeming  <leeming@lyx.org>
3261
3262         * BufferView_pimpl.C:
3263         * buffer.C:
3264         * counters.C:
3265         * cursor.C:
3266         * lyxfunc.C
3267         * paragraph.C:
3268         * pariterator.C:
3269         * text.C:
3270         * text2.C:
3271         * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
3272
3273 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
3274
3275         * text3.C (getStatus): add LFUN_BEGINNINGBUF
3276
3277 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
3278
3279         * lyxfind.C: add a couple of inTexted() tests + other small fixes
3280         * BufferView_pimpl.[Ch] (getStatus)
3281         * BufferView.[Ch] (getStatus): add
3282         * lyxfunc.C (getStatus): move lfuns handled in
3283         BufferView::dispatch to te function above
3284         * Cursor.C (setSelection): set selection() = true
3285
3286 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
3287
3288         * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
3289
3290 2004-03-31  Angus Leeming  <leeming@lyx.org>
3291
3292         * lyxfunc.C (dispatch): Fall through to the generic
3293         Dialogs::show("preamble").
3294
3295 2004-03-31  Angus Leeming  <leeming@lyx.org>
3296
3297         * lyxfunc.C (dispatch): Fall through to the generic
3298         Dialogs::show("spellchecker").
3299
3300 2004-03-31  Angus Leeming  <leeming@lyx.org>
3301
3302         * lyxfunc.C (getStatus, dispatch): changed invocation of the
3303         preferences dialog.
3304
3305 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
3306
3307         * BufferView.C
3308         * cursor.[Ch]
3309         * dociterator.[Ch]:
3310         * insetiterator.[Ch]:
3311         * lyxfind.C:
3312         * lyxfunc.C:
3313         * pariterator.[Ch]:
3314         * text2.C:
3315         * undo.[Ch]: s/DocumentIterator/DocIterator/g
3316
3317 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
3318
3319         * BufferView.C (setCursor, putSelectionAt): call edit to open the
3320         insets where we are putting the cursor.
3321
3322 2004-03-31  Angus Leeming  <leeming@lyx.org>
3323
3324         * lfuns.h:
3325         * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
3326
3327         * lyxrc.[Ch] (read, write): overloaded member functions taking
3328         a std::[io]stream arguments.
3329
3330         * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
3331
3332 2004-03-31  Angus Leeming  <leeming@lyx.org>
3333
3334         * lyxfunc.C (loadTextclass): new helper function, invoked by two of
3335         dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
3336
3337         * lyxtextclass.C (load): if the text class couldn't be loaded, then
3338         don't overwrite 'loaded_ = false' with 'loaded_ = true' !
3339
3340 2004-03-31  Angus Leeming  <leeming@lyx.org>
3341
3342         * lyxfunc.C (dispatch): remove the cursor-manipulation code from
3343         the LFUN_ALL_INSETS_TOGGLE code.
3344
3345 2004-03-30  Angus Leeming  <leeming@lyx.org>
3346
3347         * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
3348         has died. Fall through to the generic Dialogs::show("document").
3349
3350 2004-03-30  Angus Leeming  <leeming@lyx.org>
3351
3352         * lfuns.h:
3353         * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
3354         LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
3355
3356         * lyxfunc.C (getStatus, dispatch): define the actions for these
3357         lfuns. Little more than a cut and pste job from ControlDocument.C
3358
3359         * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
3360
3361 2004-03-30  Angus Leeming  <leeming@lyx.org>
3362
3363         * lfuns.h:
3364         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
3365         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
3366
3367         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
3368         open/closed state of ollapsable insets. Usage:
3369
3370         all-inset-toggle <state> <name>, where
3371         <state> == "open" || "closed" || "toggle" and
3372         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
3373
3374         * lyxtext.h, text2.C (toggleInset): removed.
3375
3376         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
3377         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
3378         now passes LFUN_INSET_TOGGLE to the found inset.
3379
3380         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
3381         is now invoked as "all-insets-toggle toggle branch".
3382
3383 2004-03-30  Angus Leeming  <leeming@lyx.org>
3384
3385         * dociterator.C:
3386         * insetiterator.C:
3387         * pariterator.[Ch]: added/corrected header blurb.
3388
3389 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
3390
3391         * dociterator.[Ch]: add an inset_ member
3392         (backwardPos): implemented
3393         (backwardPos, forwardPos): use inset_ when the stack is empty.
3394         (doc_iterator_begin, doc_iterator_end): implemented
3395         * pariterator.[Ch]: adjust, add begin, end
3396         * insetiterator.[Ch]: adjust, add begin, end
3397         * cursor.C:
3398         * document.C:
3399         * BufferView.C:
3400         * BufferView_pimpl.C:
3401         * CutAndPaste.C: adjust
3402
3403 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3404
3405         * buffer.C: increment file format to 232.
3406         * LaTeXFeatures.C: add bibtopic package.
3407         * bufferparams.[Ch]: param \use_bibtopic.
3408
3409         * lyxrc.[Ch]: add lyxrc bibtex_command
3410         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
3411
3412         * buffer.C: increment file format to 231.
3413
3414 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
3415
3416         * dociterator.C: implement forwardPar
3417         * iterators.[Ch]: remove, replaced by
3418         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
3419         * BufferView.C:
3420         * BufferView_pimpl.C:
3421         * CutAndPaste.C:
3422         * buffer.C:
3423         * bufferview_funcs.C:
3424         * cursor.C:
3425         * lyxfind.C
3426         * lyxfunc.C
3427         * paragraph_funcs.C
3428         * toc.C:
3429         * Makefile.am: adjust
3430
3431 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
3432
3433         * CutAndPaste.C (pasteSelection): fix 2 crashes
3434         (eraseSelection): fix a crash
3435         * paragraph_funcs.C: remove a warning
3436
3437 2004-03-28  Angus Leeming  <leeming@lyx.org>
3438
3439         * lfuns.h:
3440         * LyXAction.C (init): new LFUN_PRINT.
3441
3442         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
3443
3444 2004-03-27  Angus Leeming  <leeming@lyx.org>
3445
3446         * lfuns.h:
3447         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
3448
3449         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
3450
3451 2004-03-27  Angus Leeming  <leeming@lyx.org>
3452
3453         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
3454         insetlist always contains non-null pointers to insets.
3455
3456 2004-03-26  Angus Leeming  <leeming@lyx.org>
3457
3458         * src/BufferView_pimpl.C:
3459         * src/CutAndPaste.C:
3460         * src/buffer.C:
3461         * src/iterators.C:
3462         * src/output_plaintext.C:
3463         * src/outputparams.h:
3464         * src/paragraph_funcs.C:
3465         * src/rowpainter.C:
3466         * src/text.C:
3467         * src/text2.C:
3468         * src/frontends/controllers/ControlErrorList.C:
3469         * src/frontends/gtk/FileDialogPrivate.C:
3470         * src/frontends/gtk/GPainter.C:
3471         * src/frontends/gtk/GToolbar.C:
3472         * src/frontends/qt2/QRef.C:
3473         * src/mathed/math_scriptinset.C: squash compiler warnings.
3474
3475 2004-03-26  Angus Leeming  <leeming@lyx.org>
3476
3477         * ispell.C (LaunchIspell::start):
3478         * lyx_cb.C (AutoSaveBuffer::start):
3479         invoke run(DontWait) rather than runNonBlocking().
3480
3481 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
3482
3483         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
3484
3485 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3486
3487         * kbsequence.C (print): adjust
3488
3489         * kbmap.C (printKeySym): rename and change signature
3490         (printKey): use LyXKeySym::print()
3491
3492 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
3493
3494         * undo.C: add using std::advance to compile for stlport
3495
3496 2004-03-24  Angus Leeming  <leeming@lyx.org>
3497
3498         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
3499         it leads to a crash when no buffer is present.
3500
3501 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3502             Martin Vermeer  <martin.vermeer@hut.fi>
3503
3504         * lyxfunc.C (dispatch):
3505         * bufferparams.C (readToken): use the new LColor::setColor
3506
3507         * LColor.[Ch] (setColor): new version that takes two strings as
3508         argument and creates a new color entry if necessary
3509
3510 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3511
3512         * buffer.C (makeLaTeXFile): if the main latex file that is
3513         processed is usually a subdocument of some master, then pretend
3514         for a while that it is actually the master
3515
3516 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3517
3518         * buffer.C (getLabelList):
3519         (getBibkeyList): use getMasterBuffer()
3520         (getMasterBuffer): new method. Returns the main document in the
3521         case where one is using included documents.
3522
3523 2004-03-25  André Pönitz  <poenitz@gmx.net>
3524
3525         * Makefile.am:
3526         * iterators.[Ch]:
3527         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
3528
3529         * ParagraphList_fwd.h: change ParagraphList to a std::vector
3530
3531         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
3532         text*.C over here. Rename namespace CutAndPaste to lyx::cap
3533
3534         * ParameterStruct.h: merge with ParagraphParameters
3535
3536         * lyxtext.h: remove LyXText::parOffset() and getPar()
3537
3538         * text3.C: Remove all 'manual' update calls. We do now one per user
3539         interaction which is completely sufficient.
3540
3541         * Bidi.C:
3542         * BufferView.[Ch]:
3543         * BufferView_pimpl.C:
3544         * FontIterator.[Ch]:
3545         * MenuBackend.C:
3546         * ParagraphParameters.[Ch]:
3547         * buffer.C:
3548         * buffer.h:
3549         * bufferlist.C:
3550         * cursor.[Ch]:
3551         * cursor_slice.[Ch]:
3552         * dociterator.[Ch]:
3553         * errorlist.[Ch]:
3554         * factory.C:
3555         * lfuns.h:
3556         * lyxfind.C:
3557         * lyxfunc.C:
3558         * output_docbook.[Ch]:
3559         * output_latex.[Ch]:
3560         * output_linuxdoc.[Ch]:
3561         * output_plaintext.[Ch]:
3562         * paragraph.[Ch]:
3563         * paragraph_funcs.[Ch]:
3564         * paragraph_pimpl.[Ch]:
3565         * rowpainter.C:
3566         * tabular.[Ch]:
3567         * text.C:
3568         * text2.C:
3569         * toc.C:
3570         * undo.[Ch]: adjust
3571
3572         * frontends/controllers/ControlDocument.C:
3573         * frontends/controllers/ControlErrorList.C:
3574         * frontends/controllers/ControlSpellchecker.C:
3575         * insets/inset.C:
3576         * insets/inset.h:
3577         * insets/insetbase.h:
3578         * insets/insetbibitem.C:
3579         * insets/insetbox.C:
3580         * insets/insetbranch.C:
3581         * insets/insetcaption.C:
3582         * insets/insetcharstyle.C:
3583         * insets/insetcharstyle.h:
3584         * insets/insetcollapsable.C:
3585         * insets/insetcollapsable.h:
3586         * insets/insetert.C:
3587         * insets/insetfloat.C:
3588         * insets/insetfoot.C:
3589         * insets/insetmarginal.C:
3590         * insets/insetnote.C:
3591         * insets/insetoptarg.C:
3592         * insets/insettabular.C:
3593         * insets/insettext.C:
3594         * insets/insettext.h:
3595         * insets/insetwrap.C:
3596         * mathed/math_mboxinset.C:
3597         * mathed/math_nestinset.C:
3598         * mathed/math_scriptinset.C:
3599         * mathed/math_scriptinset.h:
3600         * support/types.h:
3601
3602 2004-03-24  Angus Leeming  <leeming@lyx.org>
3603
3604         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
3605         deal with any child processes that have finished but are waiting to
3606         communicate this fact to the rest of LyX.
3607
3608 2004-03-24  Angus Leeming  <leeming@lyx.org>
3609
3610         64-bit compile fixes.
3611
3612         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
3613         (c-tor): pass lyx::pos_types rather than ints.
3614
3615         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
3616         lyx::pos_type.
3617
3618         * text.C (Delete): compile fix.
3619         (getPar): ensure that function declaration is the same as that in
3620         the header file.
3621
3622 2004-03-23  Angus Leeming  <leeming@lyx.org>
3623
3624         * ispell.C (LaunchIspell):
3625         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
3626         a boost::shred_ptr rather than a std::auto_ptr.
3627
3628 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3629
3630         * lyxfunc.C (getStatus): handle read-only buffers correctly;
3631         handle LFUN_FILE_INSERT_*
3632
3633         * lyxrc.C (setDefaults, getDescription, output, read):
3634         * lyxrc.h: remove ps_command
3635
3636 2004-03-22  Angus Leeming  <leeming@lyx.org>
3637
3638         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
3639         Ensure that error_handler is processed once only and that all data
3640         is saved before attempting to output any warning messages.
3641
3642         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
3643
3644 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
3645
3646         * tabular.C (TeXRow): crash fix (from Kayvan and Andr�
3647
3648 2004-03-19  André Pönitz  <poenitz@gmx.net>
3649
3650         * cursor.[Ch] (reset): take main text inset as argument
3651
3652         * BufferView: adjust
3653         * BufferView_pimpl.C: adjust
3654
3655         * paragraph.[Ch]: fix completely broken operator=()
3656
3657 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3658
3659         * LColor.C (getFromLyXName): make sure that the color name is used
3660         as lowercase.
3661
3662 2004-03-17  Angus Leeming  <leeming@lyx.org>
3663
3664         * lfuns.h:
3665         * LyXAction.C (init): remove LFUN_FORKS_KILL.
3666
3667         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
3668         dialog and to kill a forked process.
3669
3670 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
3671
3672         * text2.C (setCursorFromCoordinates): fix font problem
3673
3674 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
3675
3676         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
3677         bogus "rebuild cursor" code
3678
3679 2004-03-11  André Pönitz  <poenitz@gmx.net>
3680
3681         * buffer.[Ch]: use InsetText instead of LyXText as container for
3682         the main lyx text.
3683
3684         * dociterator.[Ch]: drop the BufferView * member which is not needed
3685         anymore after the change to buffer.C
3686
3687         * paragraph_funcs.C:
3688         * text.C:
3689         * text2.C:
3690         * BufferView.[Ch]:
3691         * BufferView_pimpl.[Ch]:
3692         * cursor.[Ch]:
3693         * cursor_slice.[Ch]: adjust
3694
3695         * text3.C: fix bug in mathDispatch
3696
3697 2004-03-08  André Pönitz  <poenitz@gmx.net>
3698
3699         * undo.[Ch]: use 'StableDocumentIterator' as base for
3700         the Undo struct.
3701
3702 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3703
3704         * LaTeXFeatures.C:
3705         * bufferparams.[Ch]: add jurabib support and param.
3706
3707         * LaTeX.C: add FIXME/comment.
3708
3709 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3710
3711         * buffer.C: increment file format to 230.
3712
3713 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
3714
3715         * cursor.C (dispatch): avoid infinite loops
3716
3717 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3718
3719         * rowpainter.C (paintSelection): fix x coordinates
3720
3721 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3722
3723         * text.C (rowBreakPoint): fix breaking before displayed insets
3724
3725 2004-03-01  André Pönitz  <poenitz@gmx.net>
3726
3727         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
3728
3729         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
3730
3731         * Makefile.am:
3732         * BufferView.C:
3733         * BufferView_pimpl.C:
3734         * buffer.C:
3735         * lyxfind.C:
3736         * lyxfunc.C:
3737         * text.C:
3738         * text2.C:
3739         * text3.C: adjust
3740
3741 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3742
3743         * lyxtext.h:
3744         * text.C:
3745         * text2.C:
3746         * rowpainter.C:
3747         * BufferView_pimpl.C: rename textwidth -> maxwidth,
3748         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
3749
3750 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3751
3752         * Bidi.[Ch] (computeTables): const correctness
3753         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
3754         fill_hfill, fill_label_hfill and x from Row
3755         * lyxtext.h: prepareToPrint returns a RowMetrics
3756         * rowPainter.C: adjust
3757         * text.C (prepareToPrint): use width, not textWidth. adjust
3758         (redoParagraphInternal, cursorX): adjust
3759         * text2.C (getColumnNearX): adjust
3760         (init): put a default value to the top LyXText::width
3761
3762 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3763
3764         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
3765
3766 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3767
3768         * lyxtext.h: add FontIterator class
3769
3770         * text.C (FontIterator, operator*, operator->, operator++): add
3771         (rowBreakPoint, setRowWidth): adjust (fixing a
3772         rebreaking bug)
3773
3774 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3775
3776         * BufferView_pimpl.C (workAreaDispatch): allow also
3777         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
3778
3779 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
3780
3781         * text.C (rowBreakPoint): fix a bug showing with very large insets
3782
3783 2004-02-25  André Pönitz  <poenitz@gmx.net>
3784
3785         * text3.C:
3786         * cursor.[Ch]: move some mathed specific code to mathed
3787
3788 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3789
3790         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
3791         use_tempdir in preferences
3792         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
3793         tempfile creation
3794         * lyx_main.C: ensure that tempdir is valid
3795         * lyxlex.h: correct typo
3796         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
3797         * paragraph.[Ch] (isMultiLingual): make const
3798         * cursor.[Ch] (openable): make const
3799
3800 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3801
3802         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
3803
3804 2004-02-20  André Pönitz  <poenitz@gmx.net>
3805
3806         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
3807
3808         * cursor.[Ch]: prepare for localized getStatus()
3809
3810         * lyxtext.h:
3811         * tabular.C:
3812         * text.C:
3813         * text2.C:
3814         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
3815
3816 2004-02-20  André Pönitz  <poenitz@gmx.net>
3817
3818         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
3819
3820 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
3821
3822         * text2.C (setCursorFromCoordinates): switch to absolute coords
3823         (cursorUp): adjust
3824         (cursorDown): adjust
3825         * text3.C (dispatch): adjust
3826
3827 2004-02-16  André Pönitz  <poenitz@gmx.net>
3828
3829         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
3830           insets/ChangeLog)
3831
3832         * cursor_slice.[Ch]: remove unneeded acessor function
3833
3834         * lyxtext.h: rename rtl() to isRTL()
3835
3836         * rowpainter.C:
3837         * tabular.C:
3838         * text.C:
3839         * text2.C:
3840         * text3.C: adjust
3841
3842 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
3843
3844         * rowpainter.C (paintSelection): coord fix
3845
3846 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
3847
3848         * Spacing.C: compile fix
3849
3850 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
3851
3852         * cursor.C (dispatch): restore current_ before returning
3853
3854 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
3855
3856         * text2.C (cursorUp, cursorDown): fix coords
3857         (moveUp): fix crash
3858
3859 2004-02-12  André Pönitz  <poenitz@gmx.net>
3860
3861         * lyxtext.h:
3862         * text.C:
3863         * text2.C:
3864         * text3.C: add LCursor & parameter to most cursor movement functions
3865           remove usage of LyXText::cursorRow() and cursorPar()
3866
3867         * cursor.[Ch]: add textRow() needed members
3868
3869         * BufferView.C:
3870         * BufferView_pimpl.C:
3871         * paragraph.[Ch]:
3872         * BufferView.C:
3873         * BufferView_pimpl.C: adjust
3874
3875 2004-02-11  André Pönitz  <poenitz@gmx.net>
3876
3877         * lyxfunc.C:
3878         * BufferView.[Ch]:
3879         * BufferView_pimpl.C: shift undo/redo handling
3880
3881         * cursor.[Ch]: fix mathed crash
3882
3883         * lyxfind.C:
3884         * lyxtext.h: move selectionAsText to LCursor
3885
3886         * output_latex.C:
3887         * paragraph.C:
3888         * text.C:
3889         * text2.C:
3890         * text3.C: adjust
3891
3892         * rowpainter.C: fix excessive drawing
3893
3894 2004-02-06  André Pönitz  <poenitz@gmx.net>
3895
3896         * BufferView.[Ch]:
3897         * BufferView_pimpl.[Ch]:
3898         * text3.C: move some text specific LFUN handling
3899
3900 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
3901
3902         * text3.C (checkInsetHit): adjust coords
3903         * text2.C (getColumnNearX): adjust coords
3904         (edit): adjust coords
3905         * text.C (getRowNearY): add two asserts
3906
3907 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
3908
3909         * converter.C:
3910         * format.C: add using std::distance to compile on gcc 2.95/stlport
3911
3912 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
3913
3914         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
3915
3916 2004-02-04  André Pönitz  <poenitz@gmx.net>
3917
3918         * BufferView.[Ch] (insertInset):
3919         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
3920
3921         * text2.C:
3922         * text3.C: adjust
3923
3924 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
3925
3926         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
3927         on the default clause of the switch
3928         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
3929         wasn't catched by LCursor::dispatch
3930
3931 2004-02-03  André Pönitz  <poenitz@gmx.net>
3932
3933         * BufferView.C:
3934         * cursor.[Ch]: some additional asserts
3935
3936         * undo.[Ch]: remove LyXText dependency in interface
3937
3938         * lyxfunc.C: adjust
3939
3940         * lyxtext.h (firstPar, lastPar): remove dead functions
3941
3942         * text.C:
3943         * text2.C:
3944         * text3.C:
3945         * paragraph.[Ch]: adjust
3946
3947 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
3948
3949         * lyxfind.C (find): fix argument order in call to ::find
3950
3951 2004-02-02  André Pönitz  <poenitz@gmx.net>
3952
3953         * cursor.[Ch]: remove direct access to anchor
3954
3955         * text.C: remove findText() hack
3956
3957 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
3958
3959         * iterators.[Ch] (lockPath): remove in favour of...
3960         * BufferView.[Ch] (setCursor): this addition
3961         * BufferView.C (putSelectionAt): adjust
3962         * undo.C (performUndoOrRedo): adjust
3963         * lyxfunc.C (dispatch): adjust
3964
3965 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
3966
3967         * iterators.C (lockPath): add a missing slice
3968         * undo.C (performUndoOrRedo): remove redundant positioning code
3969
3970 2004-02-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
3971
3972         * vc-backend.C (scanMaster): ";" -> ';'
3973
3974 2004-01-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
3975
3976         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
3977         std::binary_function
3978
3979         * lyxtextclass.C (compare_name): rename to...
3980         (LayoutNamesEqual): ...this
3981
3982         * lyxlex_pimpl.C (compare_tags): inherit from
3983         std::binary_function, put back into anon namespace
3984
3985         * lyxfind.C (MatchString): inherig from std::binary_function
3986         (findChange): use empty() istead of !size()
3987
3988         * format.C (FormatNamesEqual): new functor
3989         (getFormat): use it
3990         (getNumber): use it
3991         (add): use it
3992         (erase): use it
3993         (setViewer): use it
3994
3995         * converter.C (compare_Converter): rename to...
3996         (ConverterEqual): ...this, and fixup a bit.
3997         (getConverter): use it, and make function const
3998         (getNumber): use it, and make function const
3999         (add): use it
4000         (erase): use it:
4001
4002         * bufferlist.C: add using boost::bind
4003
4004         * MenuBackend.C (MenuNamesEqual): new functor
4005         (hasMenu): use it, and make function const
4006         (hasSubmenu): use nested bind to get rid of compare_memfun.
4007
4008 2004-01-30  André Pönitz  <poenitz@gmx.net>
4009
4010         * BufferView_pimpl.C:
4011         * cursor.C:
4012         * cursor.h:
4013         * cursor_slice.[Ch]:
4014         * lyxfunc.C:
4015         * lyxtext.h:
4016         * paragraph_funcs.C:
4017         * paragraph_funcs.h:
4018         * rowpainter.C:
4019         * text.C:
4020         * text2.C:
4021         * text3.C: move some of the edit(x,y) handling to the insets
4022         some coordinate changes.
4023
4024 2004-01-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4025
4026         * text.C: add using statements for std::advance and std::distance
4027
4028         * paragraph.C: add using statement for std::distance
4029
4030         * lyxfind.C: add using statement for std::advance
4031
4032         * cursor.C (region): remove std:: from swap
4033         (openable): use nucleus in stead of operator->
4034
4035         * BufferView.C: add using statements for std::distance and std::swap
4036
4037 2004-01-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4038
4039         * iterators.C: Remove the pimple, move the needed structures to
4040         the header file. Create accessor for the positions stack.
4041         (asPosIterator): remove function
4042
4043         * PosIterator.C (PosIterator): move constructors to top of file
4044         (PosIterator): reimplement the constructor taking a ParIterator in
4045         terms of setFrom.
4046         (setFrom): new function
4047         (operator!=): inline it
4048
4049 2004-01-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
4050
4051         * lyxfind.C (replaceAll): use std::advance
4052
4053         * iterators.h: inherit from std::iterator.
4054
4055         * PosIterator.C (advance, distance): remove
4056         * PosIterator.h: interit from std::iterator.
4057
4058 2004-01-26  André Pönitz  <poenitz@gmx.net>
4059
4060         * BufferView.[Ch]:
4061         * BufferView_pimpl.[Ch]:
4062         * InsetList.[Ch]:
4063         * PosIterator.[Ch]:
4064         * buffer.h:
4065         * bufferview_funcs.C:
4066         * cursor.[Ch]:
4067         * cursor_slice.h:
4068         * factory.[Ch]:
4069         * iterators.[Ch]:
4070         * lyxfind.C:
4071         * lyxfunc.C:
4072         * lyxtext.h:
4073         * output_docbook.C:
4074         * output_latex.C:
4075         * output_linuxdoc.C:
4076         * output_plaintext.C:
4077         * paragraph.[Ch]:
4078         * paragraph_funcs.[Ch]:
4079         * paragraph_pimpl.[Ch]:
4080         * rowpainter.C:
4081         * tabular.C:
4082         * tabular.h:
4083         * text.C:
4084         * text2.C:
4085         * text3.C: more IU:  dumps most of the rest of the mathcursor
4086     implementation into cursor.[Ch]; "globalize" a bit of it.
4087
4088 2004-01-25  Angus Leeming  <leeming@lyx.org>
4089
4090         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
4091
4092 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
4093
4094         * LaTeXFeatures.h: add nice_ and nice() const
4095         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
4096
4097 2004-01-20  André Pönitz  <poenitz@gmx.net>
4098
4099         * BufferView.[Ch]:
4100         * BufferView_pimpl.C:
4101         * PosIterator.C:
4102         * bufferview_funcs.C:
4103         * cursor.[Ch]:
4104         * cursor_slice.[Ch]:
4105         * factory.C:
4106         * iterators.C:
4107         * lyx_cb.C:
4108         * lyxfind.C:
4109         * lyxfunc.C:
4110         * lyxtext.h:
4111         * rowpainter.C:
4112         * text.C:
4113         * text2.C:
4114         * text3.C:
4115         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
4116           LCursor and mathcursor parts to LCursor and InsetBase.
4117
4118 2004-01-15  André Pönitz  <poenitz@gmx.net>
4119
4120         * cursor_slice.[Ch]: add a few covienience functions
4121
4122         * funcrequest.[Ch]: remove BufferView * member
4123
4124         * BufferView_pimpl.C:
4125         * cursor.C:
4126         * factory.[Ch]:
4127         * lyxfind.[Ch]:
4128         * lyxfunc.C:
4129         * lyxtext.h:
4130         * text3.C:
4131         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
4132
4133 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
4134
4135         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
4136         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
4137
4138 2004-01-13  André Pönitz  <poenitz@gmx.net>
4139
4140         * textcursor.[Ch]:
4141         * lyxtext.h: hide cursor and selection anchor behind accessor function
4142
4143         * BufferView.C:
4144         * BufferView_pimpl.[Ch]:
4145         * PosIterator.C:
4146         * bufferview_funcs.C:
4147         * cursor.h:
4148         * lyxfind.C:
4149         * lyxfunc.C:
4150         * text.C:
4151         * text2.C:
4152         * text3.C:
4153         * undo.C: adjust
4154
4155         * cursor.h:
4156         * cursor_slice.[Ch]: some integer type changes for inset unification
4157
4158         * lyxcursor.[hC]: remove, it's CursorSlice now.
4159
4160         * Makefile.am:
4161         * BufferView_pimpl.[Ch]:
4162         * bufferview_funcs.C:
4163         * cursor_slice.C:
4164         * lyxtext.h:
4165         * text.C:
4166         * text2.C:
4167         * text3.C:
4168         * textcursor.[Ch]: adjust
4169
4170 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
4171
4172         * text2.C (undoSpan): add and use
4173         * text.C (breakParagraph): use undoSpan (fix bug 578)
4174         * lyxtext.h: adjust
4175
4176 2004-01-08  Angus Leeming  <leeming@lyx.org>
4177
4178         * BufferView_pimpl.C (MenuInsertLyXFile):
4179         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
4180         * lyxfunc.C (menuNew, open, doImport):
4181         FileFilterList change to the FileDialog open and save functions.
4182
4183 2004-01-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
4184
4185         * ShareContainer.h: make isEqual and isUnique adaptable
4186
4187         * CutAndPaste.C: make resetOwnerAndChanges adaptable
4188
4189 2004-01-07  Angus Leeming  <leeming@lyx.org>
4190
4191         * LyXAction.C:
4192         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
4193
4194         * BufferView_pimpl.C (dispatch): act on these LFUNs.
4195
4196         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
4197         functions replacing find, replace and replaceAll.
4198
4199         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
4200         LFUN_WORDFIND(FORWARD|BACKWARD).
4201
4202 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
4203
4204         * text.C (breakParagraph): remove an outdated #warning
4205
4206 2004-01-07  André Pönitz  <poenitz@gmx.net>
4207
4208         * lyxfind.C: somewhat clearer logic
4209
4210         * text.C: prevent crash in cursorX on unitialized row cache
4211
4212 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
4213
4214         * lyxcursor.[Ch] (operator>): add
4215         * textcursor.C (selStart, selEnd): use std::min and std::max
4216
4217 2004-01-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4218
4219         * Chktex.C: include boost/format.hpp
4220
4221 2004-01-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
4222
4223         * InsetList.C: replace functor MathcIt with adaptable functor
4224         InsetTablePosLess
4225         (insetIterator): modify accordingly
4226
4227         * BranchList.h: move the BranchNamesEqual functor here from...
4228         * BranchList.C: ... to here
4229
4230         * BranchList.C: new BranchListEqual fuctor, use it. Remove
4231         SameName and match.
4232         (add): replace a finding loop with std::find_if.
4233
4234 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
4235
4236         * output_docbook.C: moving LatexParam functionality into
4237         .layout files
4238
4239 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
4240
4241         * buffer.C: increment format to 229.
4242
4243 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
4244
4245         * LaTeXFeatures.C:
4246         * lyx_sty.[Ch]: remove minipageindent_def
4247
4248         * LyXAction.C:
4249         * factory.C:
4250         * lfuns.h:
4251         * lyxfunc.C:
4252         * text3.C: remove LFUN_INSET_MINIPAGE
4253
4254 2003-12-28  Angus Leeming  <leeming@lyx.org>
4255
4256         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
4257
4258 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
4259
4260         * text2.C (setParagraph): fix off-by-one crash
4261
4262 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
4263
4264         * output_docbook.C: header stuff for AGU
4265
4266 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
4267
4268         * text2.C (redoCursor): remove
4269         * text.C:
4270         * text3.C:
4271         * BufferView_pimpl.C: remove calls to redoCursor and
4272         setCursor(cursor.par(), cursor.pos()) all around
4273
4274 2003-12-15  Angus Leeming  <leeming@lyx.org>
4275
4276         * buffer.C: up the format to 228.
4277
4278 2003-12-15  André Pönitz  <poenitz@gmx.net>
4279
4280         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
4281         slices
4282
4283         * Makefile.am:
4284
4285         * BufferView_pimpl.C:
4286         * cursor.[Ch]:
4287         * lyxcursor.[Ch]:
4288         * rowpainter.[Ch]:
4289         * lyxtext.h:
4290         * text.C:
4291         * text2.C:
4292         * text3.C: adjust
4293
4294 2003-12-15  Angus Leeming  <leeming@lyx.org>
4295
4296         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
4297         than getFromGUIName to manipulate the color.
4298
4299 2003-12-14  Angus Leeming  <leeming@lyx.org>
4300
4301         * BranchList.[Ch]: minimize the API.
4302         (Branch::getBranch, getColor): now return a 'const &'.
4303         (Branch::setSelected) now returns a bool set to true if the
4304         selection status changes.
4305         (BranchList::clear, size, getColor, setColor, setSelected,
4306         allBranches, allSelected, separator): removed.
4307         (BranchList::find): new functions, returning the Branch with
4308         the given name.
4309         (BranchList::add, remove): return a bool indicating that
4310         the operation was successful.
4311
4312         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
4313         new InsetBranch::isBranchSlected member function.
4314
4315         * LColor.[Ch]: mimimize the API.
4316         (fill): renamed as addColor and made private.
4317         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
4318         versions of these functions taking a string arg have been removed.
4319
4320         * bufferparams.C (readToken):
4321         * lyxfunc.C (dispatch):
4322         * lyxrc.C (read): changes due to the altered BranchList and
4323         LColor APIs.
4324
4325         * factory.C (createInset, readInset): changes due to altered
4326         InsetBranch c-tor.
4327
4328 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
4329
4330         * factory.C:
4331         * lyxfunc.C: remove insetminipage. "minipage-insert"
4332         now produces a frameless minipage box inset.
4333
4334 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
4335
4336         * textcursor.[Ch] (selStart,selEnd): add new methods
4337         remove selection::start, end, use LyXCursor::operator<
4338         * lyxcursor.[Ch] (operator<): add
4339         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
4340         * BufferView.[Ch] (unsetXSel): add
4341         * text2.C (clearSelection): use unsetXSel,adjust
4342         * text.C: adjust
4343         * text3.C: adjust
4344         * rowpainter.C: adjust
4345         * bufferview_funcs.C (put_selection_at): adjust
4346
4347 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
4348
4349         * BufferView_pimpl.C: small coord. correction
4350
4351 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
4352
4353         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
4354         dragging over the splash screen.
4355
4356 2003-12-11  Angus Leeming  <leeming@lyx.org>
4357
4358         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
4359         as it is now handled in LyXText::dispatch.
4360
4361         * text3.C (doInsertInset): remove a level of nesting.
4362
4363 2003-12-11  Angus Leeming  <leeming@lyx.org>
4364
4365         * factory.C (createInset): changes due to the changed interface to
4366         InsetCommandMailer::string2params.
4367
4368 2003-12-10  Angus Leeming  <leeming@lyx.org>
4369
4370         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
4371         'dialog-show-new-inset <inset name>'
4372
4373 2003-12-10  Angus Leeming  <leeming@lyx.org>
4374
4375         * buffer.C: up the format to 227.
4376
4377         * factory.C: the box inset is now identified simply by 'Box'.
4378
4379 2003-12-10  Angus Leeming  <leeming@lyx.org>
4380
4381         * buffer.C: up the format to 226.
4382
4383         * factory.C: the note inset is now identified simply by 'Note'.
4384
4385 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
4386
4387         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
4388         when a pit is enough. Standarize a couple of loops.
4389
4390 2003-12-05  Angus Leeming  <leeming@lyx.org>
4391
4392         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
4393         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
4394         data to the re-worked "log" dialog.
4395
4396 2003-12-03  André Pönitz  <poenitz@gmx.net>
4397
4398         * PosIterator.C:
4399         * iterators.C:
4400         * lyxtext.h:
4401         * output_latex.C:
4402         * paragraph_funcs.C:
4403         * text.C:
4404         * text2.C: use Inset::getText instead of Inset::getParagraph
4405
4406 2003-12-03  André Pönitz  <poenitz@gmx.net>
4407
4408         * buffer.[Ch]:
4409         * lyxtext.h:
4410         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
4411         InsetText::read() as LyXText::read()
4412
4413 2003-12-02  Angus Leeming  <leeming@lyx.org>
4414
4415         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
4416         type. Add a comment in the implementation that the function uses
4417         the stream's bad() function rather than fail() as the std::streams
4418         would do.
4419
4420 2003-12-02  André Pönitz  <poenitz@gmx.net>
4421
4422         * lyxlex.[Ch]: make interface more similar to std::stream
4423
4424         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
4425
4426 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
4427
4428         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
4429
4430 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
4431
4432         * vspace.[Ch]: remove VSpace::NONE
4433
4434 2003-12-01  André Pönitz  <poenitz@gmx.net>
4435
4436         * buffer.[Ch]:
4437         * lyxtext.h: move ParagraphList member to LyXText
4438         rename LyXText::ownerParagraphs to LyXText::paragraph
4439
4440         * CutAndPaste.C:
4441         * bufferview_funcs.C:
4442         * iterators.[Ch]:
4443         * lyx_cb.C:
4444         * paragraph.C:
4445         * rowpainter.C:
4446         * tabular.C:
4447         * text.C:
4448         * text2.C:
4449         * text3.C: adjust
4450
4451         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
4452
4453         * undo.C: fix cursor positioning
4454
4455 2003-12-01  John Levon  <levon@movementarian.org>
4456
4457         * BufferView_pimpl.C: fix a crash on exit with
4458         a buffer open
4459
4460 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
4461
4462         * BranchList.C: fix setSelected() method.
4463
4464 2003-11-28  André Pönitz  <poenitz@gmx.net>
4465
4466         * ParagraphParameters.[Ch]:
4467         * ParameterStruct.h: remove space above/below from Paragraph to
4468          InsetVSpace
4469
4470         * BufferView_pimpl.C:
4471         * factory.C:
4472         * lyxfunc.C:
4473         * lyxtext.h:
4474         * output_latex.C:
4475         * paragraph.C:
4476         * paragraph_funcs.C:
4477         * rowpainter.[Ch]:
4478         * text.C:
4479         * text2.C:
4480         * text3.C: adjust
4481
4482 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
4483
4484         * factory.C: Syntax change for CharStyles
4485
4486 2003-11-28  André Pönitz  <poenitz@gmx.net>
4487
4488         * BufferView.[Ch]:
4489         * BufferView.[Ch]:
4490         * buffer.[Ch]:
4491         * buffer.[Ch]: move LyXText member
4492
4493 2003-11-28  André Pönitz  <poenitz@gmx.net>
4494
4495         * BufferView.[Ch]: make LyXText * text a private member
4496
4497         * BufferView_pimpl.C:
4498         * cursor.C:
4499         * iterators.C:
4500         * lyx_cb.C:
4501         * lyxfind.C:
4502         * lyxtext.h:
4503         * rowpainter.[Ch]:
4504         * text.C:
4505         * text2.C:
4506         * undo.C: adjust
4507
4508         * output_plaintext.C: cleanup
4509
4510 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
4511
4512         * buffer.C:
4513         * lyxtextclass.[Ch]: parametrize SGML document header
4514
4515 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
4516
4517         * converter.[Ch]:
4518         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
4519         getFlavor().
4520
4521 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
4522
4523         * text2.C (setFont): rework using PosIterator (no more recursive)
4524         (setCharFont): no more needed
4525         (setLayout): no more selection cursors fiddling (done by redoCursor)
4526         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
4527         destroy remaining ones)
4528
4529 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
4530
4531         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
4532         * lyxtext.h: ditto
4533         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
4534         selection cursors
4535         * lyxfunc.C: adjust
4536         * text3.C: adjust + re-allow multi par depth changes
4537         * textcursor.C: simplify a bit
4538
4539 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
4540
4541         * src/buffer.C:
4542         * src/lyxlayout.C:
4543         * src/lyxlayout.h:
4544         * src/lyxtext.h:
4545         * src/output_docbook.C:
4546         * src/output_latex.C:
4547         * src/paragraph.C:
4548         * src/paragraph.h:
4549         * src/sgml.C:
4550         * src/sgml.h:
4551         * src/text2.C: Introducing a number of tags parametrizing various
4552         XML formats that we may want to support
4553
4554 2003-11-25  André Pönitz  <poenitz@gmx.net>
4555
4556         * InsetList.[Ch] (begein, end): inline as suggested by profiler
4557
4558         * lyxtext.h (leftMargin/rightMargin): simplify interface
4559
4560         * rowpainter.C:
4561         * text.C:
4562         * text2.C:
4563         * text3.C: adjust
4564
4565 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
4566
4567         * lyxfunc.C (dispatch): propogate the bibtex databases from the
4568         master file to any child files. Fixes bug 546.
4569
4570 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
4571
4572         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
4573
4574 2003-11-24  André Pönitz  <poenitz@gmx.net>
4575
4576         * rowpainter.C: simplification
4577
4578         * text2.C (updateCounters): remove call to redoParagraph on
4579         changed labels as this is far too expensive.
4580
4581 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
4582
4583         * converter.C (convert): fix a crash: this function gets
4584         called with buffer == 0 from importer code.
4585
4586 2003-11-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4587
4588         * text3.C (cursorPrevious): make sure that we do not compare
4589         iterators form different containers.
4590         (cursorNext): ditto
4591
4592         * rowpainter.C (paintSelection): make sure that we do not compare
4593         iterators from different containers.
4594
4595         * text3.C (dispatch): [PRIOR] make sure that we do not compare
4596         iterators from different ParagraphList containers.
4597         [NEXT] ditto
4598
4599         * text2.C (LyXText): change order of initialization slightly
4600         (operator=): new function. copy all variables except cache_par_
4601         (moveUp): make sure that we do not compare iterators from
4602         different ParagraphList constainers.
4603         (moveDown): ditto
4604
4605         * text.C (firstPar): new function
4606         (lastPar): new function
4607         (endPar): new function
4608
4609         * lyxtext.h: move things around and group public functions, public
4610         variables, private functions, private variables
4611
4612 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
4613
4614         * factory.C: change call to InsetERT constructor to avoid
4615         additional invocation of method status
4616         * text2.C (toggleInset): remove redundant update() call
4617         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
4618         instead of a Bufferview pointer
4619
4620 2003-11-21  André Pönitz  <poenitz@gmx.net>
4621
4622         * rowpainter.C: simplification
4623
4624 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
4625
4626         * text3.C (dispatch): make possible to extend a word/row selection
4627         with the mouse
4628
4629 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
4630
4631         * lyxtext.h: x0_,y0_ -> xo_,yo_
4632         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
4633         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
4634         * rowpainter.C (paintRows): paint full paragraphs
4635
4636 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
4637
4638         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
4639         screen coordinates)
4640
4641 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
4642
4643         * lyxtext.h: add x0_, y0_
4644         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
4645         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
4646
4647 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
4648
4649         * text2.C (setCursorIntern): move the x_target update here *
4650         * text3.C: change some bv() to true/false in calls to
4651         cursorUp/Down/Right/Left
4652         * cursor.C: use helper function.
4653
4654 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
4655
4656         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
4657         * paragraph_funcs.[Ch]: correct comment
4658         * rowpainter.C: do not paint selections away from bv->cursor()
4659         Fix a long standing selection painting bug.
4660         * text3.C: generalize mouse-selection code to LyXTexts other that
4661         top one
4662         * textcursor.C: do not use y coords if we can use par offsets
4663
4664 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
4665
4666         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
4667         cursor position after e.g. inset insert)
4668
4669 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
4670
4671         * lyxfind.C (replace): adjust to locking removal + some
4672         code simplification
4673
4674 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
4675
4676         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
4677         of the path
4678
4679 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
4680
4681         * lyxlayout.[Ch]:
4682         * output_docbook.C: XML sanitation: new layout
4683         parameters InnerTag and CommandDepth
4684
4685 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
4686
4687         * BufferView_pimpl.C:
4688         * factory.C:
4689         * text3.C: Fix the insertion and modification of button-style
4690         insets
4691
4692 2003-11-13  André Pönitz  <poenitz@gmx.net>
4693
4694         * InsetList.[Ch]: remove deleteLyXText
4695
4696         * paragraph.[Ch]: cache beginOfBody position
4697
4698         * Bidi.C:
4699         * text.C:
4700         * text2.C:
4701         * text3.C: remove superfluous update() calls
4702
4703         * vspace.C: cleanup
4704
4705 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
4706
4707         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
4708         * BufferView.C (fitLockedInsetCursor): remove
4709         * cursor.[Ch] (getDim): add
4710         * text.C (getRowNearY): add faster version
4711         * text3.C: remove some update calls
4712
4713 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
4714
4715         * LaTeXFeatures.C:
4716         * LyXAction.C:
4717         * MenuBackend.C:
4718         * MenuBackend.h:
4719         * dispatchresult.h:
4720         * factory.C:
4721         * lfuns.h:
4722         * lyxfunc.C:
4723         * lyxtextclass.C:
4724         * lyxtextclass.h:
4725         * text3.C: The Character Style /XML short element patch.
4726
4727 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
4728
4729         * text3.C:
4730         * factory.C: Small step to solving 'unable to insert some insets'
4731         problem
4732
4733 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
4734
4735         * cursor.[Ch] (updatePos): new function for updating the y
4736         position of the tip inset
4737         * bufferview_funcs.C (put_selection_at):
4738         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
4739
4740 2003-11-11  André Pönitz  <poenitz@gmx.net>
4741
4742         * text.C: remove big comment on invalid Paragraph pointers as it is
4743         not valid anymore
4744
4745 2003-11-11  André Pönitz  <poenitz@gmx.net>
4746
4747         * text_funcs.[Ch]: merge with ...
4748
4749         * text.C: ... this
4750
4751         * lyxtext.h:
4752         * text2.C:
4753         * text3.C: adjust
4754
4755         * Makefile.am: remove text_funcs.[Ch]
4756
4757 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
4758
4759         * cursor.C (getPos): return absolute cached y coord
4760
4761         * BufferView_pimpl.C (fitCursor): new simplistic code
4762         (workAreaDispatch): add a fitCursor call
4763
4764 2003-11-10  André Pönitz  <poenitz@gmx.net>
4765
4766         * BufferView.[Ch]:
4767         * BufferView_pimpl.[Ch]: merge update() and updateInset()
4768
4769 2003-11-10  André Pönitz  <poenitz@gmx.net>
4770
4771         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
4772         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
4773         indicate that the cursor needs to leave an inset
4774
4775         * lyxtext.h: remove inset locking
4776
4777         * cursor.[Ch]: re-implement functionality provided by inset locking
4778
4779         * BufferView.[Ch]:
4780         * BufferView_pimpl.[Ch]:
4781         * LyXAction.C:
4782         * bufferview_funcs.[Ch]:
4783         * factory.C:
4784         * funcrequest.[Ch]:
4785         * iterators.C:
4786         * lyx_cb.C:
4787         * lyxfind.C:
4788         * lyxfunc.C:
4789         * text.C:
4790         * text2.C:
4791         * text3.C:
4792         * undo.C: adjust
4793
4794 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
4795
4796         * PosIterator.[Ch]: replace the stack with a vector, add inset
4797         accesor
4798         * iterators.[C]: adjust
4799
4800 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
4801
4802         * lyxfind.C (replaceAll): mark the buffer dirty if something was
4803         replaced
4804         * paragraph_funcs.C (readParToken): put the correct id in the
4805         error item, not the id of the top paragraph
4806
4807 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
4808
4809         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
4810         * bufferview_funcs.C (put_selection_at): use the above
4811
4812 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
4813
4814         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
4815
4816 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4817
4818         * output_linuxdoc.h:
4819         * output_plaintext.h:
4820         * output.h:
4821         * output_docbook.h: add #include statements
4822
4823 2003-11-05  José Matos  <jamatos@lyx.org>
4824
4825         * output_docbook.[Ch]:
4826         * output_latex.[Ch]:
4827         * output_linuxdoc.[Ch]:
4828         * output_plaintext.[Ch]: New files for output formats.
4829         * output.[Ch]: New file for helper functions.
4830
4831         * buffer.[Ch]:
4832         * paragraph_funcs.[Ch]: output functions moved to new files.
4833
4834         * outputparams.h: rename of latexrunparams.h
4835
4836         * LaTeX.[Ch]:
4837         * buffer.[Ch]:
4838         * bufferlist.[Ch]:
4839         * converter.[Ch]:
4840         * exporter.C:
4841         * paragraph.[Ch]:
4842         * paragraph_funcs.[Ch]:
4843         * paragraph_pimpl.[Ch]:
4844         * tabular.[Ch]: rename ascii to plaintext
4845         and LatexRunParams to OutputParams.
4846
4847 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
4848
4849         * iterators.[Ch] (text): require bv argument
4850         * undo.C (recordUndo):
4851         * lyxfunc.C (dispatch):
4852         * bufferview_funcs.C (put_selection_at): adjust
4853
4854 2003-11-05  Jo� Luis M. Assirati  <assirati@fma.if.usp.br>
4855
4856         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
4857
4858 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
4859
4860         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
4861         nestings
4862
4863 2003-11-04  André Pönitz  <poenitz@gmx.net>
4864
4865         * cursor.[Ch]: restructure
4866
4867         * BufferView.[Ch]:
4868         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
4869
4870         * iterators.[Ch] (asCursor): remove
4871
4872         * lfuns.h: remove LFUN_INSET_EDIT
4873
4874         * lyxfunc.C:
4875         * tabular.C:
4876         * text.C:
4877         * text2.C:
4878         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
4879
4880 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4881
4882         * lyxfind.[Ch]: complete overhaul
4883         * BufferView_pimpl.C:
4884         * lyxfunc.C: adjust
4885         * paragraph.[Ch] (insert): add
4886
4887 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4888
4889         * BufferView.[Ch]:
4890         * lyxtext.h:
4891         * text.C: remove dead spellcheck code
4892
4893 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
4894
4895         * dispatchresult.h: add a val setter
4896
4897         * cursor.C (dispatch): use a tempvar for data_[i]
4898
4899 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4900
4901         * PosIterator.[Ch]: compile fix
4902
4903 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4904
4905         * text.C (cursorPar): deactivate the cursor cache
4906
4907 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
4908
4909         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
4910
4911 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4912
4913         * text3.C (dispatch): adjust for new DisptchResult semantics.
4914
4915         * lyxfunc.C (dispatch): handle update when return from
4916         Cursor::dispatch, adjust for new DispatchResult semantics.
4917
4918         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
4919         DispatchResult(true) mean to not update. Add class functions for
4920         setting dispatched and update, as well as reading.
4921
4922         * cursor.C (dispatch): don't handle update here
4923
4924 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4925
4926         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
4927         * trans_mgr.C: adjust
4928
4929         * paragraph_funcs.C (readParToken): exception safety
4930
4931         * lyxvc.h: store the vcs pointer in a scoped_ptr
4932         * lyxvc.C: adjust
4933
4934         * lyxsocket.C (serverCallback): exception safety
4935
4936         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
4937
4938         * ispell.C (clone): make it return a auto_ptr
4939
4940         * factory.C (createInset): exception safety
4941         (readInset): exception safety
4942
4943         * bufferlist.C (newBuffer): exception safety
4944
4945         * Thesaurus.C (Thesaurus): use initialization for aik_
4946
4947         * MenuBackend.C (expandToc): exception safety.
4948
4949 2003-11-03  André Pönitz  <poenitz@gmx.net>
4950
4951         * buffer.C:
4952         * buffer.h:
4953         * bufferview_funcs.C: remove getInsetFromId()
4954
4955         * lyxcursor.[Ch]:
4956         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
4957
4958         * lyxfunc.C:
4959         * text2.C:
4960         * text3.C: adjust
4961
4962 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
4963
4964         * PosIterator.C (distance, advance): new
4965         * bufferview_funcs.[Ch] (put_selection_at): new
4966         * iterators.[Ch] (lockPath): new
4967
4968 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
4969
4970         * iterators.[Ch] (asPosIterator): added
4971         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
4972         * PosIterator.[Ch]: added
4973
4974 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4975
4976         * text3.C:
4977         * lyxfunc.C:
4978         * cursor.C (dispatch):
4979         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
4980
4981         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
4982         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
4983         contructor, add a class function dispatched. Remove operator>=
4984
4985 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4986
4987         * debug.C: only use the default constructor for debugstream
4988         (lyxerr) here.
4989
4990         * main.C (main): include debug.h and setup the lyxerr streambuf
4991         here.
4992
4993 2003-10-31  José Matos  <jamatos@lyx.org>
4994
4995         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
4996
4997         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
4998         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
4999         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
5000         * paragraph_pimpl.C (simpleTeXSpecialC):
5001         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
5002         add LatexRunParams argument.
5003
5004         * exporter.C (Export): change call accordingly.
5005
5006         * latexrunparams.h: add new member to take care of the other backends.
5007 2003-10-30  José Matos  <jamatos@lyx.org>
5008
5009         * buffer.C (makeLinuxDocFile, makeDocBookFile):
5010         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
5011         factorise code for paragraph output.
5012         * buffer.[Ch]:
5013         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
5014         move functions.
5015
5016 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5017
5018         * text3.C (dispatch):
5019         * lyxfunc.C (dispatch):
5020         * cursor.C (dispatch):
5021         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
5022
5023         * dispatchresult.h: make the dispatch_result_t ctor explicit
5024
5025 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
5026
5027         * sgml.[Ch]:
5028         * buffer.C: small refactoring of docbook stuff
5029
5030 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5031
5032         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
5033         meaning.
5034
5035 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5036
5037         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
5038         operator dispatch_result_t, and operators for == != and >=
5039
5040         * cursor.C (dispatch): adjust for operator dispatch_result_t
5041         removal. comment out call to update
5042
5043         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
5044
5045 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5046
5047         * text3.C:
5048         * text2.C:
5049         * text.C:
5050         * lyxtext.h:
5051         * lyxfunc.C:
5052         * cursor.C:
5053         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
5054         (dispatch):
5055
5056         * dispatchresult.h: new file, DispatchResult broken out of
5057         insets/insetbase.h
5058
5059         * Makefile.am (lyx_SOURCES): add dispatchresult.h
5060
5061 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
5062
5063         * text.C (rowBreakPoint): put a hack inside #if 0
5064
5065 2003-10-28  André Pönitz  <poenitz@gmx.net>
5066
5067         * lyxtext.h:
5068         * metricsinfo.C:
5069         * paragraph_funcs.C:
5070         * rowpainter.C:
5071         * text.C:
5072         * text2.C: general cleanup (lots of small stuff)
5073
5074 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
5075
5076         * text2.C (cursorEnd): simple fix to the "end key goes to one
5077         before the end on last row" bug
5078
5079 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
5080
5081         * text.C (backspace): fix the "zombie characters"
5082
5083 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
5084
5085         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
5086
5087 2003-10-27  André Pönitz  <poenitz@gmx.net>
5088
5089         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
5090
5091         * factory.C: handle new InsetPagebreak, InsetLine
5092
5093         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
5094         and move handling into new InsetPagebreak, InsetLine
5095
5096         * BufferView_pimpl.C:
5097         * LyXAction.C:
5098         * ParagraphParameters.C:
5099         * ParameterStruct.h:
5100         * lyxfunc.C:
5101         * lyxtext.h:
5102         * paragraph.C:
5103         * paragraph.h:
5104         * paragraph_funcs.C:
5105         * paragraph_pimpl.C:
5106         * rowpainter.C:
5107         * text.C:
5108         * text2.C:
5109         * text3.C: adjust
5110
5111 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
5112
5113         * text.C:
5114         * lyxrow_funcs.[Ch]:
5115         * Bidi.C:
5116         * paragraph.C:
5117         * lyxtext.h:
5118         * rowpainter.C:
5119         * text2.C:
5120         * text3.C: remove lastPos uses in favour of Row::endpos
5121
5122 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
5123
5124         * undo.C (performUndoOrRedo): fix two crashes by setting a
5125         cursor by hand and reordering some calls. Use bv->lockInset instead
5126         of inset->edit because the latter loses cursor information
5127
5128 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
5129
5130         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
5131         by Martin
5132         (rowBreakPoint): fix width. change point to point + 1.
5133         Add a missing check.
5134
5135 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
5136
5137         * MenuBackend.C:
5138         * lyxfunc.C: fix (at least partly) the problems
5139         with the Nav menu and headers inside branch insets
5140         reported by Kayvan
5141
5142 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
5143
5144         * paragraph.C (getChar): add strong asserts
5145
5146         * lyxrow_funcs.C (lastPos): remove hideous hack
5147
5148         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
5149         (fill): adjust to that (avoid an infinite loop)
5150
5151 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
5152
5153         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
5154
5155 2003-10-23  André Pönitz  <poenitz@gmx.net>
5156
5157         * RowList_fwd.h: change list<> to vector<> to gain speed
5158         after suggestion from Alfredo
5159
5160 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
5161
5162         * lyxtext.h: move the bidi stuff from here...
5163         * text.C: and here
5164         * text2.C: and here
5165         * Bidi.[Ch]: ... to here
5166
5167 2003-10-23  André Pönitz  <poenitz@gmx.net>
5168
5169         * lyxtext.h:
5170         * text.C (isLastRow, isFirstRow): new functions
5171
5172         * paragraph.h: new width cache member
5173
5174         * rowpainter.C: replace RowList::iterator with Row & where possible
5175
5176         * lyxfunc.C: replace several view()->text with a single call
5177
5178         * toc.C: fix 'unused' warning
5179
5180 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
5181
5182         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
5183         when woring with stream::pos_type
5184         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
5185
5186 2003-10-22  André Pönitz  <poenitz@gmx.net>
5187
5188         * lyxtext.h:
5189         * text.C: use Row & instead of RowList::iterator
5190
5191         * lyxrow.h: rename end() to endpos()
5192
5193         * rowpainter.C:
5194         * text.C:
5195         * text2.C: adjust
5196
5197 2003-10-22  Angus Leeming  <leeming@lyx.org>
5198
5199         * buffer.[Ch] (fully_loaded): new member function, returning true
5200         only when the file has been loaded fully.
5201         Used to prevent the premature generation of previews and by the
5202         citation inset to prevent computation of the natbib-style label.
5203
5204         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
5205         templates are all set up.
5206
5207         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
5208
5209 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
5210
5211         * text.C: fixed an "oops" in the "is a bit silly"
5212         bug fix
5213
5214 2003-10-21  André Pönitz  <poenitz@gmx.net>
5215
5216         * FuncStatus.[Ch]: small stuff, whitespace
5217
5218         * lyxfont.[Ch]: operator<<() for debug reasons
5219
5220         * lyxfunc.C:
5221         * lyxrow_funcs.C:
5222         * lyxtext.h: whitespace, spelling
5223
5224         * paragraph.C: naming of variables
5225
5226         * text.C:
5227         * text2.C: small stuff
5228
5229
5230 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
5231
5232         * text.C: (1) finish off the inset display() work;
5233         (2) fix the "is a bit silly" bug (accessing char
5234         past end of par).
5235
5236 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
5237
5238         * text.C: re-introduce display() for insets, fixing the
5239         various bugs (stretch of line above, math inset
5240         positioning, ...)
5241
5242 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5243
5244         * text.C (rightMargin): remove spurious semicolon
5245
5246         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
5247         1415)
5248
5249 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
5250
5251         * text3.C: fix one crash due to wrong cursor def
5252
5253 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
5254
5255         * vc-backend.C (scanMaster): make the regex static
5256
5257         * LaTeX.C (scanAuxFile): make the regexs static
5258
5259         * text3.C (doInsertInset, dispatch, dispatch):
5260         * text2.C (cursorUp, cursorDown):
5261         * text.C (selectNextWordToSpellcheck):
5262         * BufferView_pimpl.C (dispatch):
5263         * lyxfunc.C (dispatch):  localDispatch -> dispatch
5264
5265 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5266
5267         * lyxsocket.C: include <cerrno>
5268
5269 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
5270
5271         * lyxfunc.C (dispatch): remove textcache stuff
5272
5273         * bufferlist.C (release): remove textcache stuff
5274         (closeAll): ditto
5275
5276         * TextCache.C: delete file
5277         * TextCache.h: delete file
5278
5279         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
5280
5281         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
5282         delete of the bv_->text.
5283         (resizeCurrentBuffer): remove texcache stuff
5284         (workAreaResize): ditto
5285
5286 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5287
5288         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
5289         action.
5290
5291 2003-10-16  André Pönitz  <poenitz@gmx.net>
5292
5293         * lyxrow.[Ch]:
5294         * paragraph.h:
5295         * rowpainter.C:
5296         * text.C:
5297         * text2.C:
5298         * text3.C: speed up by storing y positions per paragraph plus per-row
5299         offset instead of having a 'full' y position in the row.
5300
5301 2003-10-15  André Pönitz  <poenitz@gmx.net>
5302
5303         * iterators.[Ch]:
5304         * iterators.[Ch]:
5305         * undo.[Ch]: make undo aware of inner insets
5306
5307 2003-10-14  Angus Leeming  <leeming@lyx.org>
5308
5309         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
5310         static member functions LyX::ref() and LyX::cref.
5311         (lastfiles): new accessor functions for the new lastfiles_ member var.
5312         (addLyXView, views_): add a new LyXView to the list of views_.
5313         (updateInset): loop over all LyXViews to call their own updateInset
5314         member function, returning a pointer to the Buffer owning the inset.
5315
5316         * BufferView_pimpl.C (loadLyXFile):
5317         * MenuBackend.C (expandLastfiles):
5318         * bufferlist.C (MenuWrite, QuitLyX):
5319         lastfiles is no longer a global variable.
5320         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
5321
5322         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
5323         static function. Access through LyX::cref().emergencyCleanup().
5324
5325 2003-10-14  André Pönitz  <poenitz@gmx.net>
5326
5327         * iterators.[Ch]: new direct access to innermost LyXText and Inset
5328
5329         * undo.[Ch]: restoring part of 'undo in insets'
5330
5331         * Makefile.am:
5332         * undo_funcs.[Ch]: merge with undo.[Ch]
5333
5334         * tabular.C: small cleansing stuff
5335
5336 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
5337
5338         * paragraph_funcs.C (readParToken): report unknown insets as error
5339         boxes. Use the outer paragraph as location (also for unknown
5340         tokens).
5341
5342         * factory.C (readInset): do not abort on reading an unknown inset.
5343         Eat it and return 0.
5344
5345 2003-10-13  Angus Leeming  <leeming@lyx.org>
5346
5347         * lyx_main.C (LyX): remove call to setDisplayTranslator().
5348
5349         * lyxrc.C: displayTranslator is now a function,
5350         declared in GraphicsTypes.h.
5351
5352 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
5353
5354         * format.C: new placeholder $$a to pass the socket address.
5355
5356         * bufferlist.[Ch]: new function getBufferFromTmp.
5357
5358         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
5359           files in the temporary dir.
5360
5361 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
5362
5363         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
5364
5365         * Makefile.am: add lyxsocket.[Ch].
5366
5367         * lyx_main.C (error_handler): handle SIGPIPE.
5368
5369 2003-10-13  André Pönitz  <poenitz@gmx.net>
5370
5371         * BufferView_pimpl.C:
5372         * lyxtext.h:
5373         * text.C:
5374         * text2.C:
5375         * text3.C:
5376         * undo_funcs.[Ch]: use paroffset_type instead of
5377           ParagraphList::iterators to prevent multiple conversion
5378           (and get a more robust interface)
5379
5380 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5381
5382         * lyxfunc.C (dispatch): RESULT -> dispatch_result
5383         * lyxtext.h: ditto
5384         * text3.C (dispatch): ditto
5385
5386 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5387
5388         * LaTeX.C (handleFoundFile): move the static to smaller scope,
5389         move the onlyfile, use onlyfile instead of foundfile in a couple
5390         of places.
5391
5392         * DepTable.C (update): flush the error stream a bit more
5393
5394 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5395
5396         * lyxserver.C (callback): adjust
5397
5398         * lyxfunc.C (getStatus): add a missing brace in commented code
5399         (ensureBufferClean): reindent
5400         (dispatch): delete version taking a string
5401
5402 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
5403
5404         * LaTeX.C (deplog): move found file handlig from here...
5405         (handleFoundFile): .. to new function here.
5406         (deplog): make sure to discover several files mentioned on the
5407         same log line.
5408
5409 2003-10-10  André Pönitz  <poenitz@gmx.net>
5410
5411         * lyxfunc.C:
5412         * lyxtext.h:
5413         * tabular.C:
5414         * text.C:
5415         * text2.C:
5416         * text3.C: fix some of the tabular crashes
5417
5418 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
5419
5420         * MenuBackend.C (binding): put debug message into Debug::KBMAP
5421
5422         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
5423
5424 2003-10-09  André Pönitz  <poenitz@gmx.net>
5425
5426         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
5427
5428         * BufferView.C:
5429         * BufferView_pimpl.C:
5430         * bufferview_funcs.C:
5431         * lyx_cb.C:
5432         * lyxcursor.C:
5433         * lyxfind.C:
5434         * lyxfunc.C:
5435         * lyxtext.h:
5436         * text.C:
5437         * text2.C:
5438         * text3.C:
5439         * text_funcs.[Ch]:
5440         * textcursor.[Ch]:
5441         * undo_funcs.C: adjust
5442
5443 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5444
5445         * text2.C (incrementItemDepth): new function, use a backtracking
5446         algorithm to discover the correct item depth.
5447         (resetEnumCounterIfNeeded): new function, use a backtracking
5448         algorithm to discover if counter reset is needed.
5449         (setCounter): use them. Simplify a bit. Add different labels for
5450         different item depths for itemize.
5451
5452         * paragraph.C (Paragraph): remove initialization of enumdepth
5453         (operator=): ditto
5454
5455         * paragraph.h: get rid of enumdepth, and use itemdepth both for
5456         enumerate and itemize. Change the type of itemdepth to signed char.
5457
5458 2003-10-08  André Pönitz  <poenitz@gmx.net>
5459
5460         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
5461           thing assignable.
5462         * text.C:
5463         * text2.C: adjust
5464
5465         * tabular.[Ch]: fix crash after 'row-insert'
5466
5467 2003-10-08  Angus Leeming  <leeming@lyx.org>
5468
5469         Fix doxygen warnings.
5470
5471         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
5472         Remove CutAndPaste:: prefix from header file declaration.
5473
5474         * LColor.h (fill): remove LColor:: prefix from declaration.
5475
5476         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
5477         use lyx::depth_type rather than Paragraph::depth_type so that
5478         header file and .C file match.
5479
5480         * converter.h (intToFormat): remove Converters:: prefix from declaration.
5481
5482         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
5483         * aspell.C: \file aspell_local.C -> \file aspell.C
5484         * gettext.C: \file gettext.C -> \file src/gettext.C
5485         * gettext.h: \file gettext.h -> \file src/gettext.h
5486         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
5487         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
5488         * text.C: \file text.C -> \file src/text.C
5489
5490         * toc.C: move comment so that doxygen is not confused.
5491
5492 2003-10-07  Angus Leeming  <leeming@lyx.org>
5493
5494         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
5495
5496 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
5497
5498         * aspell.C:
5499         * aspell_local.h: add forgotten std::string's.
5500
5501 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
5502
5503         * LaTeXFeatures.C:
5504         * LyXAction.C:
5505         * factory.C:
5506         * lfuns.h:
5507         * lyxfunc.C:
5508         * text3.C: The Box patch. Fancybox support, minipage, parbox
5509
5510 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
5511
5512         * CutAndPaste.h:
5513         * DepTable.h:
5514         * FloatList.h:
5515         * LaTeXFeatures.h:
5516         * ParagraphParameters.h:
5517         * TextCache.h:
5518         * Thesaurus.h:
5519         * bufferlist.h:
5520         * exporter.h:
5521         * importer.h:
5522         * lastfiles.h:
5523         * lyxfind.h:
5524         * lyxfont.h:
5525         * lyxlex.h:
5526         * lyxtextclasslist.h:
5527         * messages.h:
5528         * paragraph.h:
5529         * paragraph_pimpl.C:
5530         * textcursor.h: add <string> and other small fixes to make Lars'
5531         std::string patch compile with STLport.
5532
5533 2003-10-06  Angus Leeming  <leeming@lyx.org>
5534
5535         * LColor.h: Add missing #include <string>.
5536
5537 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5538
5539         * All most all file in all subdirs: Make <string> be the prefered
5540         way of getting to std::string, add using declarations.
5541
5542 2003-10-06  André Pönitz  <poenitz@gmx.net>
5543
5544         * metricsinfo.C: initialize LyXFont before changing attribute.
5545         (fixes the 'math in \emph is upright' bug)
5546
5547 2003-10-06  André Pönitz  <poenitz@gmx.net>
5548
5549         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
5550
5551 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
5552
5553         * graph.C:
5554         * paragraph_pimpl.C: Small fixes to build using STLport
5555
5556 2003-10-02  André Pönitz  <poenitz@gmx.net>
5557
5558         * lyxfunc.C:
5559         * text3.C: move handling of LFUN_DEPTH *; fix #1360
5560
5561 2003-10-01  André Pönitz  <poenitz@gmx.net>
5562
5563         * factory.C: assert early
5564
5565 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
5566
5567         * lyx_main.C: remove the global debug object
5568
5569         * debug.h: adjust for new debugstream
5570
5571         * debug.C: adjust for new debugstream and keep the global debug
5572         object here.
5573
5574 2003-09-22  Angus Leeming  <leeming@lyx.org>
5575
5576         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
5577         of g++ which otherwise complain that the scoped_ptr destructor can't delete
5578         an incomplete class LyXFont.
5579
5580 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
5581
5582         * factory.C: bug fix in branches
5583
5584 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5585
5586         * lyxfunc.C (processKeySym): adjust
5587         (dispatch): adjust
5588         (dispatch): change arg name from ev to func, adjust
5589         (sendDispatchMessage): ditto
5590
5591         * lyx_main.C (defaultKeyBindings): adjust keybindings
5592         (deadKeyBindings): ditto
5593
5594         * kbsequence.C (addkey): return a FuncRequest
5595
5596         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
5597
5598         * kbmap.C (bind): take a FuncRequest as arg, adjust
5599         (read): adjust
5600         (lookup): adjust
5601         (defkey): change to take a FuncRequest as arg, adjust
5602         (findbinding): take a FuncRequest as arg, adjust.
5603
5604         * funcrequest.h (operator=): added
5605
5606         * funcrequest.C (FuncRequest): default kb_action changed from
5607         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
5608
5609         * buffer.C (dispatch): simplify
5610         (dispatch): adjust to take a FuncRequest as arg, adjust
5611
5612         * boost.C (assertion_failed): change assertion message slightly
5613
5614         * ToolbarBackend.C (read): simplify
5615
5616         * MenuBackend.C (binding): adjust call to findbinding, add a
5617         message if no binding is found.
5618         (read): simplify
5619         (expandToc): correct by adding a empty FuncRequest
5620
5621         * LyXAction.C: include <boost/assert.hpp>
5622         (isPseudoAction): delete function
5623         (LookupFunc): change name to...
5624         (lookupFunc): this. change return type to FuncRequest.
5625         (getActionName): take kb_action as arg, simplify
5626         (funcHasFlag): add an assert, simplify.
5627
5628 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
5629
5630         * toc.C (action): return a FuncRequest, simplify
5631
5632         * lyxfunc.C (processKeySym): adjust
5633         (getStatus): delete version that takes an int.
5634         (getStatus): adjust
5635         (dispatch): delete version that takes action as int
5636         (dispatch): adjust
5637         (sendDispatchMessage): simplify and adjust
5638
5639         * funcrequest.C (getArg): take unsigned int as arg
5640
5641         * ToolbarBackend.C (read): adjust
5642         (add): delete version that takes func as a string.
5643         (getIton): take a FuncRequest as arg
5644
5645         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
5646         action.
5647
5648         * MenuBackend.C (MenuItem): add a new construct that only takes a
5649         Kind, simplify the constructor use for submenus.
5650         (add): adjust
5651         (expandLastfiles): adjust
5652         (expandDocuments): adjust
5653         (expandFormats): adjust
5654         (expandFloatListInsert): adjust
5655         (expandFloatInsert): adjust
5656         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
5657
5658         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
5659         Remove class variables lyx_pseudo_map and lyx_arg_map
5660
5661         * LyXAction.C (searchActionArg): delete function
5662         (getPseudoAction): delete function
5663         (retrieveActionArg): delete function
5664         (LookupFunc): make it return kb_action, simplify.
5665         (getActionName): simplify
5666
5667         * factory.C (createInset): fix new bug
5668
5669 2003-09-19  Angus Leeming  <leeming@lyx.org>
5670
5671         * CutAndPaste.C (pasteSelection): remove fudge used to set the
5672         masterFilename_ parameter in the include inset.
5673
5674         * factory.C (createInset): changes due to the changes to InsetInclude.
5675
5676 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5677
5678         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
5679
5680 2003-09-18  Angus Leeming  <leeming@lyx.org>
5681
5682         * buffer.C:
5683         * BufferView.C: pass the buffer when calling Inset::getLabelList,
5684         Inset::fillWithBibKeys.
5685         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
5686
5687 2003-09-18  Angus Leeming  <leeming@lyx.org>
5688
5689         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
5690         variables.
5691         (ctor): pass and store a 'Buffer const &'
5692         (buffer): new member function.
5693
5694         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
5695         '*this' to the LaTeXFeatures ctor.
5696
5697 2003-09-18  Angus Leeming  <leeming@lyx.org>
5698
5699         * LColor.h:
5700         * lyxfont.C:
5701         * lyxfont.h:
5702         * lyxtext.h:
5703         * text.C: rename EnumLColor as LColor_color.
5704
5705 2003-09-18  Angus Leeming  <leeming@lyx.org>
5706
5707         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
5708         remove #include "insets/insetbase.h" from cursor.h.
5709
5710 2003-09-18  Angus Leeming  <leeming@lyx.org>
5711
5712         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
5713         InsetOld_code to remove #include "inset.h".
5714
5715         * iterators.C: add #include "insets/inset.h"
5716
5717 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
5718
5719         * BufferView.C: remove more locking stuff that apparently doesn't
5720         do anything sensible.
5721
5722 2003-09-16  André Pönitz  <poenitz@gmx.net>
5723
5724         * paragraph.[Ch]:
5725         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
5726           performance boost.
5727
5728 2003-09-16  Angus Leeming  <leeming@lyx.org>
5729
5730         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
5731
5732         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
5733         arg/return type.
5734
5735         * paragraph.h: remove #include "lyxfont.h". Forward declare
5736         LyXFont_size.
5737
5738 2003-09-16  Angus Leeming  <leeming@lyx.org>
5739
5740         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
5741         of support/textutils.h.
5742         (isWord): move the contents of support/textutils.h's IsWordChar here.
5743
5744         * buffer.C:
5745         * lyxfind.C:
5746         * rowpainter.C:
5747         * text.C:
5748         * text2.C: add #include "paragraph.h".
5749
5750         * rowpainter.C:
5751         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
5752
5753 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5754
5755         * main.C:
5756         * lyx_main.C:
5757         * lyx_cb.C:
5758         * buffer.C:
5759         * LaTeX.C: use namespace alias for lyx::support::os
5760
5761 2003-09-16  Angus Leeming  <leeming@lyx.org>
5762
5763         * bufferparams.C:
5764         * bufferview_funcs.C:
5765         * factory.C:
5766         * lyxfunc.C:
5767         * paragraph_pimpl.C:
5768         * rowpainter.C:
5769         * text.C: add #include "LColor.h".
5770
5771 2003-09-16  Angus Leeming  <leeming@lyx.org>
5772
5773         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
5774         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
5775         return LyXFont &.
5776         Store the FontBits::color variable as an int rather than as an
5777         LColor::colorso that we can move LColor.h out of the lyxfont.h header
5778         file.
5779
5780         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
5781         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
5782         string calls together.
5783
5784         * lyxrc.C: add #include "LColor.h".
5785
5786 2003-09-15  Angus Leeming  <leeming@lyx.org>
5787
5788         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
5789         a cow_ptr.
5790
5791 2003-09-15  Angus Leeming  <leeming@lyx.org>
5792
5793         * LColor.h: add an EnumLColor wrapper for LColor::color.
5794
5795         * lyxfont.[Ch] (color, setColor, realColor):
5796         * lyxtext.h, text.C (backgroundColor):
5797         pass EnumLColor args to/from the functions, rather than LColor::color
5798         ones.
5799
5800         * lyxfont.h:
5801         * lyxtext.h: forward declare EnumLColor.
5802
5803         * lyx_main.C: add #include "LColor.h".
5804
5805 2003-09-15  Angus Leeming  <leeming@lyx.org>
5806
5807         * .cvsignore: add lyx-gtk.
5808
5809 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5810
5811         * Chktex.C
5812         * LaTeX.C
5813         * LaTeXFeatures.C
5814         * ParagraphParameters.C
5815         * Spacing.C
5816         * buffer.C
5817         * bufferparams.C
5818         * bufferview_funcs.C
5819         * chset.C
5820         * counters.C
5821         * funcrequest.C
5822         * lyxfont.C
5823         * lyxgluelength.C
5824         * lyxlength.C
5825         * paragraph.C
5826         * paragraph_funcs.C
5827         * text3.C
5828         * vc-backend.C: remove usage of STRCONV
5829
5830 2003-09-15  Angus Leeming  <leeming@lyx.org>
5831
5832         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
5833         explicitly define the color passed to the painter.
5834
5835 2003-09-15  Angus Leeming  <leeming@lyx.org>
5836
5837         * bufferparams.C (BufferParams): reorder member initializers to avoid
5838         compiler warning.
5839
5840 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
5841
5842         * CutAndPaste.C (pasteSelection): remove an outdated #warning
5843         * text.C (updateRowPositions): remove an unusual nop
5844
5845 2003-09-12  André Pönitz  <poenitz@gmx.net>
5846
5847         * BufferView_pimpl.C:
5848         * Bullet.C:
5849         * layout.h:
5850         * lyxfunc.C:
5851         * lyxlayout.[Ch]:
5852         * lyxtextclass.C:
5853         * rowpainter.C:
5854         * text.C:
5855         * text2.C:
5856         * Counters.[Ch]: finish the 'automatic counters' job
5857
5858 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5859
5860         * aspell.C: include <boost/assert.cpp> (compile fix)
5861
5862 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
5863
5864         * boost.C (assertion_failed): use lyx::support::abort instead of
5865         assert.
5866
5867 2003-09-10  Angus Leeming  <leeming@lyx.org>
5868
5869         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
5870         with their _fwd progeny.
5871
5872 2003-09-09  Angus Leeming  <leeming@lyx.org>
5873
5874         134 files throughtout the source tree: replace 'using namespace abc;'
5875         directives with the appropriate 'using abc::xyz;' declarations.
5876
5877 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
5878
5879         * boost.C (emergencyCleanup): moved here from LAssert.c
5880         (assertion_failed): new function, called by BOOST_ASSERT
5881
5882         * several files: change Assert to BOOST_ASSERT
5883
5884 2003-09-09  Angus Leeming  <leeming@lyx.org>
5885
5886         * buffer.[Ch]: Add an Impl class and move Buffer's member
5887         variables into it. As a result move several header files out of
5888         buffer.h.
5889
5890         Add header files to lots of .C files all over the tree as a result.
5891
5892 2003-09-09  Angus Leeming  <leeming@lyx.org>
5893
5894         * buffer.[Ch]: make Buffer's member variables private. Add
5895         accessor functions.
5896
5897         Lots of changes all over the tree as a result.
5898
5899 2003-09-08  Angus Leeming  <leeming@lyx.org>
5900
5901         * graph.C: #include <config.h>.
5902
5903 2003-09-08  Angus Leeming  <leeming@lyx.org>
5904
5905         * BranchList.C:
5906         * BufferView.C:
5907         * BufferView_pimpl.C:
5908         * CutAndPaste.C:
5909         * DepTable.C:
5910         * LaTeX.C:
5911         * LaTeXFeatures.C:
5912         * LyXAction.C:
5913         * MenuBackend.C:
5914         * TextCache.C:
5915         * aspell.C:
5916         * buffer.C:
5917         * bufferlist.C:
5918         * changes.C:
5919         * chset.C:
5920         * converter.C:
5921         * counters.C:
5922         * debug.C:
5923         * graph.C:
5924         * ispell.C:
5925         * lyx_cb.C:
5926         * lyxfind.C:
5927         * lyxfunc.C:
5928         * lyxlex_pimpl.C:
5929         * lyxrc.C:
5930         * lyxrow.C:
5931         * paragraph.C:
5932         * rowpainter.C:
5933         * texrow.C:
5934         * text.C:
5935         * text2.C:
5936         * toc.C: remove redundant using directives.
5937
5938 2003-09-07  Angus Leeming  <leeming@lyx.org>
5939
5940         * LaTeXFeatures.h: remove #include "support/types.h".
5941         * ToolbarBackend.h: remove #include <algorithm>.
5942         * changes.h: remove #include <ctime>.
5943         * debug.h: remove #include <iosfwd>.
5944         * graph.h: remove #include "support/std_string.h".
5945         * lyx_main.h: remove #include <csignal>.
5946         * lyxlex_pimpl.h: remove #include <fstream>.
5947         * sgml.h: remove #include <algorithm>, <utility>.
5948         * toc.h: remove #include "support/std_ostream.h".
5949         Add #include <iosfwd>.
5950
5951 2003-09-07  Angus Leeming  <leeming@lyx.org>
5952
5953         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
5954
5955         * converter.h: forward declare LatexRunParams.
5956         * encoding.h: remove #include "lyxrc.h".
5957         * lyxtext.h: remove #include "LColor.h".
5958         * lyxtextclass.h: remove #include "support/types.h".
5959         * trans.h: remove #include "tex-accent.h".
5960         * trans_mgr.h: remove #include "tex-accent.h".
5961         * insets/inset.h: remove #include "support/types.h", <vector>.
5962         * insets/insetcollapsable.h: remove #include "LColor.h".
5963         * insets/insetinclude.h: remove #include "dimension.h".
5964         * insets/insetlatexaccent.h: remove #include "dimension.h".
5965         * insets/insetoptarg.h:: remove #include "insettext.h".
5966         * insets/insettext.h: remove #include "dimension.h",
5967         <boost/shared_ptr.hpp>
5968
5969         * insets/renderers.h: add #include "dimension.h".
5970         * insets/updatableinset.h: add #include "support/types.h".
5971
5972         * many .C files: Associated changes.
5973
5974 2003-09-06  Angus Leeming  <leeming@lyx.org>
5975
5976         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
5977         one, inside testInvariant.
5978
5979         * PrinterParams.C: new file.
5980         * PrinterParams.[Ch]: move the function bodies out of line.
5981
5982 2003-09-06  Angus Leeming  <leeming@lyx.org>
5983
5984         * ParagraphParameters.h: forward declare ParameterStruct rather than
5985         including its header file.
5986         (depth): moved out-of-line.
5987
5988 2003-09-06  Angus Leeming  <leeming@lyx.org>
5989
5990         * BufferView_pimpl.h:
5991         * kbmap.h:
5992         * kbsequence.h:
5993         * lyxfunc.h: forward declare LyXKeySym rather than
5994         #include "frontends/LyXKeySym.h".
5995
5996         * BufferView_pimpl.C:
5997         * kbmap.C:
5998         * kbsequence.C:
5999         * lyxfunc.C: associated changes.
6000
6001 2003-09-06  Angus Leeming  <leeming@lyx.org>
6002
6003         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
6004         As a result, can remove the #include "insets/inset.h" from BufferView.h
6005
6006 2003-09-06  Angus Leeming  <leeming@lyx.org>
6007
6008         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
6009         As a result, can remove the #include "insets/inset.h" from BufferView.h
6010
6011 2003-09-06  Angus Leeming  <leeming@lyx.org>
6012
6013         * buffer_funcs.C:
6014         * buffer.h:
6015         * bufferlist.C:
6016         * BufferView.C:
6017         * bufferview_funcs.C:
6018         * BufferView_pimpl.C:
6019         * CutAndPaste.C:
6020         * lyx_cb.C:
6021         * lyxfunc.C:
6022         * paragraph.h:
6023         * ParagraphParameters.C:
6024         * tabular.C:
6025         * text3.C:
6026         * toc.C:
6027         * undo_funcs.C:
6028         * frontends/controllers/ControlDocument.C:
6029         * insets/insetcaption.C: rearrange the #includes into some sort of
6030         coherent order.
6031
6032         * buffer.h: remove #includes ErrorList.h, undo.h
6033
6034 2003-09-06  Angus Leeming  <leeming@lyx.org>
6035
6036         * support/types.h: add a 'depth_type' typedef, used to store the
6037         nesting depth of a paragraph.
6038
6039         * paragraph.h:
6040         * ParameterStruct.h: use this lyx::depth_type typedef rather than
6041         defining explicitly.
6042
6043         * buffer.h:
6044         * paragraph_funcs.h:
6045         * ParagraphParameters.h:
6046         * sgml.h: use lyx::depth_type rather than Paragraph or
6047         ParameterStruct's depth_type.
6048
6049         * buffer.h
6050         * paragraph_funcs.h: no need to #include paragraph.h anymore.
6051
6052         * BufferView.C:
6053         * BufferView_pimpl.C:
6054         * CutAndPaste.C:
6055         * ParagraphParameters.C:
6056         * buffer_funcs.C:
6057         * bufferlist.C:
6058         * bufferview_funcs.C:
6059         * lyx_cb.C:
6060         * lyxfunc.C:
6061         * tabular.C:
6062         * text3.C:
6063         * toc.C:
6064         * undo_funcs.C:
6065         * frontends/LyXView.C:
6066         * frontends/controllers/ControlDocument.C:
6067         * frontends/controllers/ControlErrorList.C:
6068         * insets/insetbibitem.C:
6069         * insets/insetbranch.C:
6070         * insets/insetcaption.C:
6071         * insets/insetcollapsable.C:
6072         * insets/insetenv.C:
6073         * insets/insetert.C:
6074         * insets/insetfloat.C:
6075         * insets/insetfoot.C:
6076         * insets/insetfootlike.C:
6077         * insets/insetnewline.C:
6078         * insets/insetquotes.C:
6079         * insets/insettabular.C:
6080         * insets/insettext.C:
6081         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
6082
6083         * frontends/controllers/ControlChanges.C: #include "changes.h".
6084
6085 2003-09-06  Angus Leeming  <leeming@lyx.org>
6086
6087         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
6088         than #including paragraph.h.
6089
6090         * ParagraphList.h:
6091         * RowList.h: deleted. Superfluous.
6092
6093         * CutAndPaste.h:
6094         * iterators.h:
6095         * lyxcursor.h:
6096         * lyxtext.h:
6097         * text_funcs.h:
6098         * undo.h:
6099         * undo_funcs.h:
6100         * insets/inset.h:
6101         * insets/insettext.h: use ParagraphList_fwd.h rather than
6102         ParagraphList.h.
6103
6104         * paragraph.h: don't forward declare ParagraphList.
6105
6106         * buffer.h:
6107         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
6108         rather than ParagraphList.h. paragraph.h is still needed for the
6109         Paragraph::depth_type parameters.
6110
6111         * textcursor.h: enable it to compile stand-alone in light of the
6112         above changes.
6113
6114         * bufferview_funcs.C:
6115         * iterators.C:
6116         * lyxfunc.C:
6117         * lyxrow_funcs.C:
6118         * paragraph.C:
6119         * rowpainter.C:
6120         * text.C:
6121         * text2.C:
6122         * text3.C:
6123         * text_funcs.C:
6124         * textcursor.C:
6125         * undo.C:
6126         * frontends/controllers/ControlParagraph.C:
6127         * frontends/controllers/ControlTabular.C:
6128         * insets/insetmarginal.C:
6129         * insets/insetminipage.C:
6130         * insets/insetnote.C:
6131         * insets/insetoptarg.C: add header files needed to compile again.
6132
6133 2003-09-06  Angus Leeming  <leeming@lyx.org>
6134
6135         * RowList_fwd.h: new file, forward-declaring Row rather than
6136         #including lyxrow.h.
6137
6138         * lyxrow_funcs.h:
6139         * lyxtext.h:
6140         * paragraph.h:
6141         * insets/insettext.h: use it instead of RowList.h
6142
6143         * bufferview_funcs.C:
6144         * lyxfunc.C:
6145         * lyxrow_funcs.C:
6146         * paragraph.C:
6147         * rowpainter.C:
6148         * text.C:
6149         * text2.C:
6150         * text3.C: #include "RowList.h".
6151
6152 2003-09-05  Angus Leeming  <leeming@lyx.org>
6153
6154         * factory.C (createInset):
6155         * vspace.C (c-tor): replace sscanf call with an istringstream.
6156         * ispell.C: re-add missing HP/UX headers.
6157         * lyxserver.C: re-add missing  os2 headers.
6158
6159 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
6160
6161         * BranchList.C:
6162         * graph.C:
6163         * ispell.C:
6164         * lastfiles.C:
6165         * lyx_cb.C:
6166         * lyxserver.C:
6167         * texrow.C:
6168         * text3.C: re-add missing system headers, needed for 2.95.2.
6169
6170 2003-09-05  Angus Leeming  <leeming@lyx.org>
6171
6172         Changes most place everywhere due to the removal of using directives
6173         from support/std_sstream.h.
6174
6175 2003-09-05  Angus Leeming  <leeming@lyx.org>
6176
6177         Replace LString.h with support/std_string.h,
6178         Lsstream.h with support/std_sstream.h,
6179         support/LIstream.h with support/std_istream.h,
6180         support/LOstream.h with support/std_ostream.h.
6181
6182         Changes resulting throughout the tree.
6183
6184 2003-09-05  Angus Leeming  <leeming@lyx.org>
6185
6186         * sgml.h: ensure that the header file can be compiled stand-alone.
6187         * *.C: strip out redundant #includes. (320 in total.)
6188
6189 2003-09-04  Angus Leeming  <leeming@lyx.org>
6190
6191         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
6192         here (from getPackages).
6193
6194         * debug.[Ch]: add a new EXTERNAL tag.
6195
6196 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
6197
6198         * text2.C (cursorEnd): simplify
6199         (setCursor): adjust
6200         (getColumnNearX): adjust
6201
6202         * text.C (computeBidiTables): adjust
6203         (fill): adjust
6204
6205         * rowpainter.C (paintChars): adjust
6206         (paintSelection): adjust
6207         (paintChangeBar): adjust
6208         (paintText): adjust
6209
6210         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
6211         lastPos instead.
6212         (numberOfSeparators): adjust
6213
6214 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
6215
6216         * LyXAction.C:
6217         * box.[Ch]:
6218         * lfuns.h:
6219         * lyxfunc.C:
6220         * text3.C: Restricts the mouse click functionality
6221         of insets like bibtex, include, toc and floatlist to the visible
6222         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
6223         up the dialogs. Cursor has to be in front of the inset (i.e.
6224         start of row) for this to function.
6225
6226 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
6227
6228         * bufferview_funcs.C (currentState): output row information
6229
6230 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
6231
6232         * bufferview_funcs.C (currentState): output paragraph position
6233
6234 2003-09-04  Angus Leeming  <leeming@lyx.org>
6235
6236         * FloatList.h: move out #include "Floating.h".
6237         * LaTeX.h: move out #include "DepTable.h".
6238         * LyXAction.h: move out #include "funcrequest.h".
6239         * buffer.h: move out #include "author.h", "iterators.h".
6240         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
6241         * lyx_main.h: move out #include "errorlist.h".
6242         * lyxfunc.h: move out #include "FuncStatus.h".
6243         * lyxtext: move out #include "lyxcursor.h".
6244         * paragraph_pimpl.h: move out #include "counters.h".
6245
6246 2003-09-03  Angus Leeming  <leeming@lyx.org>
6247
6248         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
6249         preamble_snippets list, enabling us to add snippets to the preamble
6250         only if the snippet was not there already.
6251
6252 2003-09-04  Angus Leeming  <leeming@lyx.org>
6253
6254         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
6255
6256 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
6257
6258         * lyxfunc.C (dispatch): if fitCursor did something be sure to
6259         update
6260
6261 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
6262
6263         * BranchList.C: point fix, earlier forgotten
6264
6265 2003-09-02  Angus Leeming  <leeming@lyx.org>
6266
6267         * box.C (contains): renamed from 'contained' after a fantastic
6268         amount of hot air.
6269
6270 2003-09-02  John Levon  <levon@movementarian.org>
6271
6272         * BufferView.C:
6273         * lyxcursor.h:
6274         * lyxcursor.C:
6275         * lyxfunc.C:
6276         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
6277
6278 2003-09-02  John Levon  <levon@movementarian.org>
6279
6280         * text2.C: simplification of cursorEnd(), including partial
6281         fix for bug 1376
6282
6283 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6284
6285         * buffer.C (readFile): add a space
6286
6287 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
6288
6289         * BufferView_pimpl.C (update): remove bogus fitCursor() call
6290
6291 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6292
6293         * buffer.C (readFile): new function, take a filename and a
6294         ParagraphList::iterator
6295         (readFile): adjust
6296         (readFile): adjust, make it private. don't use setStream, make
6297         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
6298         always contain the filename.
6299
6300         * BufferView.C (insertLyXFile): simplify and make it work for
6301         gzipped files.
6302
6303 2003-08-30  John Levon  <levon@movementarian.org>
6304
6305         * Makefile.am: fix dist (from Kayvan)
6306
6307 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6308
6309         * most files: change to use const Buffer refs
6310
6311 2003-08-27  André Pönitz  <poenitz@gmx.net>
6312
6313         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
6314         on top of ownerPar().
6315
6316 2003-08-27  John Levon  <levon@movementarian.org>
6317
6318         * funcrequest.C: properly initialise POD members
6319
6320 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
6321
6322         * lyxtext.h (top_y): move top_y from here
6323         * text.C:
6324         * text2.C:
6325         * text3.C:
6326         * BufferView.[Ch]:
6327         * BufferView_pimpl.[Ch]: to here
6328         * frontends/screen.C:
6329         * insets/insettabular.C:
6330         * insets/insettext.C: adjust
6331         * rowpainter.[Ch] (paintRows): remove LyXText & argument
6332
6333 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
6334
6335         * BufferView.[Ch]:
6336         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
6337
6338 2003-08-26  André Pönitz  <poenitz@gmx.net>
6339
6340         * paragraph_func.[Ch] (outerPar): new function
6341
6342         * paragraph.C:
6343         * paragraph_funcs.C:
6344         * paragraph_funcs.h:
6345         * paragraph_pimpl.C:
6346         * text2.C: remove Inset::par_owner
6347
6348 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
6349
6350         * lyxrow_funcs.C:
6351         * lyxtext.h:
6352         * text.C:
6353         * text2.C: eliminates the needFullRow/display() stuff
6354         altogether, putting the logic in metrics/draw in the insets.
6355
6356 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
6357
6358         * text2.C (redoParagraphInternal, redoParagraphs):
6359         * text.C (redoParagraph): add a call to updateRowPositions at the
6360         end of each 'metrics-like' call. Remove all others.
6361         (getRow): remove the 'y-computing' version.
6362         (getRowNearY): do not compute nor return the real y. Solve the
6363         'y < 0' problem and simplify.
6364
6365 2003-08-22  Angus Leeming  <leeming@lyx.org>
6366
6367         * *.[Ch]: clean-up of licence and author blurbs.
6368         Also move config.h out of a few .h files and into a few .C files.
6369
6370 2003-08-22  André Pönitz  <poenitz@gmx.net>
6371
6372         * lyxrow.[Ch]: add x_ and *fill_ members
6373
6374         * lyxtext.h:
6375         * text.C:
6376         * rowpainter.C:
6377         * text2.C: adjust/remove prepareToPrint() calls
6378
6379 2003-08-22  André Pönitz  <poenitz@gmx.net>
6380
6381         * lyxrow.[Ch]: add  end_ member
6382
6383         * lyxrow_funcs.C: use LyXRow::end_
6384
6385         * lyxtext.h (singleWidth): add LyXFont parameter
6386
6387         * rowpainter.C:
6388         * text2.C: adjust LyXText::singleWidth() calls
6389
6390         * text.C (redoParagraph): simplify row breaking logic
6391
6392
6393 2003-08-19  André Pönitz  <poenitz@gmx.net>
6394
6395         * funcrequest.C: initialize button_ member
6396
6397         * text3.C:
6398         * rowpainter.[Ch]: interface consolidation
6399
6400 2003-08-18  André Pönitz  <poenitz@gmx.net>
6401
6402         * BufferView.C:
6403         * BufferView_pimpl.C:
6404         * lyxfind.C:
6405         * paragraph_funcs.C:
6406         * rowpainter.C:
6407         * text3.C: remove LyXScreen::draw() and fitCursor calls
6408
6409         * BranchList.h: remove spurious semicolons
6410
6411         * MenuBackend.C: fix branchlist related crash
6412
6413 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
6414
6415         * BranchList.[Ch]:
6416         * InsetList.[Ch]:
6417         * LColor.[Ch]:
6418         * LyXAction.C:
6419         * Makefile.am:
6420         * MenuBackend.[Ch]:
6421         * bufferparams.[Ch]:
6422         * factory.C:
6423         * lfuns.h:
6424         * lyxfunc.C:
6425         * text3.C: implements the 'branch inset'
6426         idea. This allows the output of various versions of a document
6427         from a single source version, selectively outputing or suppressing
6428         output of parts of the text.
6429         This implementation contains a 'branch list editor' in a separate
6430         tab of the document settings dialog. Branches are user definable
6431         and have a "display colour" to distinguish them on-screen.
6432
6433         ColorHandler was somewhat cleaned up.
6434         (1) make possible a dynamically growing LColor list by allowing
6435         the graphic context cache to grow along (vector);
6436         (2) eliminate an IMHO unnecessary step in colour allocation.
6437
6438 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
6439
6440         * BufferView_pimpl.C: compile fix
6441
6442 2003-08-15  André Pönitz  <poenitz@gmx.net>
6443
6444         * rowpainter.C: remove extra metrics calls
6445
6446         * lyxtext.h: merge the two constructors into a single one,
6447           pass reference to owner's par list
6448
6449         * BufferView_pimpl.C:
6450         * text.C:
6451         * text2.C: adjust
6452
6453 2003-08-15  André Pönitz  <poenitz@gmx.net>
6454
6455         * lyxrow_funcs.[Ch]:
6456         * lyxtext.h:
6457         * paragraph.h:
6458         * paragraph_funcs.C:
6459         * rowpainter.C:
6460         * text.C:
6461         * text2.C:
6462         * text3.C:
6463         * text_funcs.C: split LyXText::rowlist_ into individual
6464         Paragraph::rows_ chunks
6465
6466         * BufferView.[Ch]:
6467         * BufferView_pimpl.[Ch]:
6468         * lyxfind.C:
6469         * lyxtext.h:
6470         * text3.C: remove toggleSelection()
6471
6472 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
6473
6474         * bufferlist.C: beautify two alerts (shorter text of buttons)
6475         * buffer.C: Remove redundant ' ' from message
6476         * tabular.h:
6477         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
6478         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
6479         rename VALIGN_CENTER to VALIGN_MIDDLE
6480
6481 2003-08-11  André Pönitz  <poenitz@gmx.net>
6482
6483         * lyxtext.h (getPar):
6484         * text.C: new function
6485
6486 2003-08-11  André Pönitz  <poenitz@gmx.net>
6487
6488         * Makefile.am:
6489         * tracer.[Ch]: remove unneeded files
6490
6491         * InsetList.[Ch]: remove resizeInsetsLyXText()
6492
6493         * lyxtext.h:
6494         * text.C:
6495         * text2.C:
6496         * text3.C: merge insertParagraphs() and appendParagraph()
6497         remove breakAgain(), update()
6498
6499         * BufferView_pimpl.[Ch]:
6500         * bufferview_funcs.[Ch]:
6501         * lyxfunc.C:
6502         * paragraph.[Ch]:
6503         * rowpainter.C:
6504         * tabular.C: adjust after text & InsetList changes.
6505
6506 2003-08-08  André Pönitz  <poenitz@gmx.net>
6507
6508         * text.C (insertChar, backspace): replace rowlist fiddling
6509         with rebreak of full par
6510
6511         * lyxtext.h:
6512         * text.C (breakAgainOneRow, redoHeightOfParagraph,
6513         checkParagraph, updateInset): removed
6514
6515 2003-08-07  André Pönitz  <poenitz@gmx.net>
6516
6517         * paragraph.C:
6518         * text3.C: merge some LFUN handlers, remove dead code
6519
6520 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6521
6522         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
6523
6524 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
6525
6526         * text2.C (DEPM): fix part of bug 1255 and 1256
6527
6528 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6529
6530         * BufferView_pimpl.C (workAreaDispatch): change to use
6531         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
6532         that are no mouse related.
6533
6534 2003-08-05  André Pönitz  <poenitz@gmx.net>
6535
6536         * BufferView.[Ch]:
6537         * BufferView_pimpl.[Ch]:
6538         * bufferview_funcs.C:
6539         * text2.C:
6540         * text3.C: rip out "deep update"
6541
6542         * textcursor.[Ch] (last_sel_cursor): remove unused member
6543
6544 2003-08-04  André Pönitz  <poenitz@gmx.net>
6545
6546         * BufferView.[Ch]:
6547         * BufferView_pimpl.[Ch]:
6548         * ParagraphParameters.C:
6549         * bufferview_funcs.C:
6550         * lyx_cb.C:
6551         * lyxfind.C:
6552         * lyxfunc.C:
6553         * text.C:
6554         * text2.C:
6555         * text3.C: replace "complicated" BufferView::update(...) calls with
6556         simpler ones.
6557
6558         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
6559
6560 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
6561
6562         * Makefile.am (lyx_SOURCES): add paper.h
6563
6564 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6565
6566         * Makefile.am: move things around so that both lyx-qt and
6567         lyx-xforms can be built (according to --with-frontend). Then lyx
6568         is a symbolic link to lyx-[firstfrontend]
6569
6570 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
6571
6572         * Always use std::endl with lyxerr
6573
6574 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
6575
6576         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
6577
6578 2003-08-01  André Pönitz  <poenitz@gmx.net>
6579
6580         * BufferView.[Ch]:
6581         * BufferView_pimpl.[Ch]:
6582         * lyxfunc.C:
6583         * text3.C: merge BufferView::repaint() and BufferView::update()
6584
6585 2003-08-01  José Matos  <jamatos@lyx.org>
6586
6587         * buffer.[Ch]: file_format is no longer a buffer data element.
6588
6589 2003-08-01  André Pönitz  <poenitz@gmx.net>
6590
6591         * BufferView.C:
6592         * lyxtext.h:
6593         * text.C:
6594         * text2.C: make redoParagraph more independent of current cursor
6595
6596         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
6597         * text.C:
6598         * text2.C: remove unneeded members
6599
6600 2003-07-30  André Pönitz  <poenitz@gmx.net>
6601
6602         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
6603
6604         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
6605           create a single function...
6606
6607         * paragraph_funcs.C (moveItem): ... here.
6608
6609         * text.C:
6610           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
6611
6612 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
6613
6614         * LColor.[Ch]: Add comment and greyedout logical colors.
6615
6616 2003-07-30  André Pönitz  <poenitz@gmx.net>
6617
6618         * tabular.C: don't use Assert too heavily. This crashes where it
6619           shouldn't
6620
6621 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
6622
6623         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
6624         is disabled (bug 1232)
6625
6626 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
6627
6628         * factory.C: limited 'arg' scope
6629
6630 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
6631
6632         * factory.C: fixed Note submenu issues
6633
6634 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
6635
6636         * factory.C: submenu for Note/Comment/Greyedout
6637
6638 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
6639
6640         * lyx_main.C (LyX):
6641         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
6642
6643 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
6644
6645         * LaTeXFeatures.C:
6646         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
6647         greyedout. Patch provided by Jürgen Spitzmüller.
6648
6649 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6650
6651         * kbmap.C (read): fix error message when reading bind files
6652
6653 2003-07-29  Angus Leeming  <leeming@lyx.org>
6654
6655         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
6656         certainly does not do what it purports to do. I am doing it, and
6657         us, a favour by killing it.
6658
6659 2003-07-28  José Matos  <jamatos@lyx.org>
6660
6661         * buffer.C (readBody, do_writeFile):
6662         * paragraph.C(readParagraph): \end_document replaces \the_end.
6663
6664 2003-07-29  André Pönitz  <poenitz@gmx.net>
6665
6666         * BufferView.[Ch]:
6667         * BufferView_pimpl.[Ch]:
6668         * lyxfunc.C:
6669         * text2.C:
6670         * text3.C:
6671         * textcursor.[Ch]: remove toggleToggle & Co
6672
6673 2003-07-28  José Matos  <jamatos@fep.up.pt>
6674
6675         * buffer.C (readParagraph):
6676         * params_func (readParToken, readParagraph):
6677         * paragraph.C (write): \layout -> \begin_layout.
6678
6679 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6680
6681         * lyxlex_pimpl.C (setFile): clean up slightly.
6682
6683         * bufferparams.h: add compressed var
6684
6685         * buffer_funcs.C (readFile): adjust for LyXLex change
6686         (newFile): ditto + simplify
6687
6688         * buffer.C (writeFile): handle writing of compressed files
6689
6690         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
6691         Check if the file is compressed and set a bufferparm if so.
6692
6693         * Makefile.am (lyx_LDADD): remove explicit -lz
6694
6695 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6696
6697         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
6698         makeDocBookFile): put the real LyX version in the first line of
6699         the file
6700
6701         * version.h:
6702         * version.C.in: remove lyx_docversion
6703
6704         * tabular.C (write_attribute): add a template-based version to
6705         write enums properly
6706
6707 2003-07-28  André Pönitz  <poenitz@gmx.net>
6708
6709         * lyxtext.h:
6710         * text.C:
6711         * text2.C:
6712         * text3.C: use doubles again for x-coordinates. They are needed.
6713
6714 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6715
6716         * messages.C (getLocaleDir): use lyx_localedir()
6717
6718         * lyxlex_pimpl.C (setFile): compress stuff
6719
6720         * buffer.C (writeFile): add some compression stuff
6721         (do_writeFile): new func, dont call expliti close... will this
6722         breake anything?
6723
6724         * Makefile.am (lyx_LDADD): add -lz
6725
6726 2003-07-28  José Matos  <jamatos@fep.up.pt>
6727
6728         * buffer.C: increment file format.
6729         * paragraph_funcs (readParagraph, readParToken):
6730         * paragraph.C (readParagraph): add \end_layout.
6731
6732 2003-07-27  Angus Leeming  <leeming@lyx.org>
6733
6734         * Makefile.am: remove special casing for configure-time setting of
6735         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
6736
6737         * lyx_main.C (init): remove all Jean-Marc's magic setting of
6738         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
6739
6740 2003-07-26  André Pönitz  <poenitz@gmx.net>
6741
6742         * paragraph_func.[Ch]:
6743         * paragraph.C (realizeFont): inline it whereever it is used
6744
6745         * rowpainter.C:
6746         * text.C:
6747         * text2.C:
6748         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
6749
6750
6751 2003-07-26  André Pönitz  <poenitz@gmx.net>
6752
6753         *       lyxtext.h:
6754         * text.C:
6755         * text2.C: get rid of LyXText::need_break_row
6756
6757 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6758
6759         * toc.[Ch]: put namespace toc inside namespace lyx
6760
6761         * MenuBackend.C (expandToc2): adjust for lyx::toc
6762         (expandToc): ditto
6763
6764         * lyxfunc.C (dispatch): adjust for lyx::find
6765
6766         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
6767         lyx::find instead. Reorganize a bit.
6768         (LyXReplace): rename to replace
6769         (LyXFind): rename to find
6770
6771         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
6772         (dispatch): ditto
6773
6774 2003-07-26  André Pönitz  <poenitz@gmx.net>
6775
6776         * text.C (setHeightOfRow): restrict scope of temporary variable
6777
6778         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
6779           code (never has been used?)
6780
6781 2003-07-27  Asger Alstrup  <alstrup@local>
6782
6783         * text.C (fill): Optimise algorithm to exploit that we can reuse
6784         the LyXFont for many characters.
6785         (setHeightOfRow): Same thing.
6786         (rowBreakPoint): Same thing.
6787
6788 2003-07-26  Asger Alstrup  <alstrup@local>
6789
6790         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
6791
6792         * text.C (singleWidth): Spurious font copying in hot-spot
6793         singleWidth avoided. Reorder tests for arabic for efficiency.
6794
6795         * text.C (fill): handle empty paragraphs better.
6796
6797 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6798
6799         * ispell.C:
6800         * encoding.h: add includes
6801
6802         * lyxrc.C: remove reading of bind files
6803
6804         * lyx_main.C (init): setup bindings and menus only if we have a
6805         gui.
6806
6807         * kbmap.C (read): new method. Do the actual reading of bind
6808         files.
6809
6810         * converter.C (dvipdfm_options):
6811         * bufferparams.C:
6812         * lyxrc.C (read):
6813         (output): adapt PAPER_* enums.
6814
6815         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
6816
6817         * bufferparams.h: remove paper-related enums from there
6818
6819         * paper.h: New file. A trivial header file to hold paper-related
6820         enums. It should later expand to contain many paper-related
6821         horrors access.
6822
6823         * lyxrc.C: declare extern displayTranslator
6824
6825 2003-07-27  José Matos  <jamatos@fep.up.pt>
6826
6827         * tabular.[Ch] (linuxdoc): add support for tables and figures
6828         (linuxdoc).
6829
6830 2003-07-27  José Matos  <jamatos@fep.up.pt>
6831
6832         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
6833         consistency in both functions.
6834         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
6835
6836 2003-07-26  Asger Alstrup  <alstrup@local>
6837
6838         * rowpainter.C (paintRows): Change algorithm to work directly on
6839         the insets rather than asking every character in the document
6840         whether its an inset.
6841
6842 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
6843
6844         * buffer.C (openFileWrite): factorize some code
6845
6846 2003-07-26  Angus Leeming  <leeming@lyx.org>
6847
6848         * lyx_cb.C:
6849         * lyx_main.[Ch]: replace occurances of system_tempdir with
6850         os::getTmpDir().
6851
6852 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6853
6854         * rename Inset to InsetOld
6855
6856 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
6857
6858         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
6859         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
6860         which I think is a bit clearer. EDIT is gone, since it was
6861         premature optimisation, and broken for mathed anyway.
6862         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
6863         with cursor positioning in insets as well (math insets still do not
6864         work, but that's a different story anyway.) It mysteriously
6865         crashes sometimes with undo in the first paragraph, but I'm fairly
6866         confident that this is a compiler bug.
6867
6868 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6869
6870         * paragraph.C (Paragraph): adjust for new clone return type
6871         (operator==): ditto
6872         (copyIntoMinibuffer): ditto
6873
6874 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
6875
6876         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
6877         by not having a special case, and always doing a full rebreak of
6878         the document after undo.
6879
6880 2003-07-23  Angus Leeming  <leeming@lyx.org>
6881
6882         * factory.C (createInset): InsetExternal::setParams now takes a
6883         Buffer const * arg.
6884
6885 2003-07-23  Angus Leeming  <leeming@lyx.org>
6886
6887         * factory.C (createInset): changed interface to the external and
6888         graphics mailers' string2params functions.
6889
6890 2003-07-23  Angus Leeming  <leeming@lyx.org>
6891
6892         * factory.C (createInset): pass a
6893         Buffer const * parameter to InsetExternalMailer's string2params.
6894
6895 2003-07-22  John Levon  <levon@movementarian.org>
6896
6897         * Thesaurus.h: include the right aiksaurus header
6898
6899 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6900
6901         * MenuBackend.C (expand): check menu shortcuts unconditionally
6902
6903 2003-07-21  Angus Leeming  <leeming@lyx.org>
6904
6905         * factory.C (createInset): pass a
6906         buffer_path parameter to InsetGraphicsMailer's string2params.
6907
6908 2003-07-21  Angus Leeming  <leeming@lyx.org>
6909
6910         * BufferView_pimpl.C (buffer):
6911         * buffer.C (d-tor):
6912         * lyx_main.C (LyX):
6913         * lyxfunc.C (dispatch):
6914         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
6915         rather than the grfx shortcut.
6916
6917 2003-07-21  André Pönitz  <poenitz@gmx.net>
6918
6919         * rowpainter.C: remove unused variables
6920
6921         * tabular_funcs.C:
6922         * tabular_funcs.h: move to tabular.C
6923         * Makefile.am: adjust
6924
6925         * tabular.[Ch]: basic optical cleaning
6926
6927         * author.h: pass references, not values
6928
6929 2003-07-18  André Pönitz  <poenitz@gmx.net>
6930
6931         * lyxtext.h:
6932         * metricsinfo.C:
6933         * metricsinfo.h:
6934         * rowpainter.C:
6935         * text.C:
6936         * text2.C:
6937         * text3.C: two-phase drawing for InsetText and InsetTabular
6938         some float -> int changes.
6939
6940 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
6941
6942         * lyx_main.C: fix the fix
6943
6944 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
6945
6946         * lyx_main.C: fix a crash in batch mode if no files specified
6947         * converter.C: ws
6948
6949 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
6950
6951         * format.[Ch] (papersize): moved to BufferParams
6952         * converter.[Ch] (dvips_options): moved to BufferParams
6953         (dvipdfm_options): moved to anon namespace
6954         * bufferparams.[Ch]: added above functions.
6955
6956 2003-07-17  André Pönitz  <poenitz@gmx.net>
6957
6958         * lyxtext.h:
6959         * rowpainter.C:
6960         * text2.C: don't call inset->update() anymore
6961
6962         * metricsinfo.[Ch]: add convenience constructor
6963
6964 2003-07-16  André Pönitz  <poenitz@gmx.net>
6965
6966         * lyxcursor.[Ch]:
6967         * lyxfunc.[Ch]:
6968         * text.C:
6969         * text2.C: replace the LyXCursor::irow_ member with
6970          on-demand computation of the value
6971
6972 2003-07-16  John Levon  <levon@movementarian.org>
6973
6974         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
6975
6976 2003-07-15  André Pönitz  <poenitz@gmx.net>
6977
6978         * text.C:
6979         * text2.C: remove no more needed refresh_row
6980
6981 2003-07-15  André Pönitz  <poenitz@gmx.net>
6982
6983         * lyxtext.h:
6984         * rowpainter.C:
6985         * text2.C:
6986         * text3.C: refresh_status tristate -> need_update bool
6987
6988 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
6989
6990         * lyxtext.h (init): remove reinit argument (act as if always true)
6991         * text2.C: adjust to that
6992
6993 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
6994
6995         * bufferview_funcs.[Ch]: introduce function replaceSelection()
6996         * text3.C: use it to delete selections in some cases
6997         (bugs 441, 673, 702, 954).
6998
6999 2003-07-14  André Pönitz  <poenitz@gmx.net>
7000
7001         * rowpainter.[Ch]: reduce interface
7002
7003 2003-07-14  André Pönitz  <poenitz@gmx.net>
7004
7005         * BufferView_pimpl.C:
7006         * text2.C: adjust after removing unused BufferView * argument
7007
7008 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
7009
7010         * text2.C (init): fix a crash fired on resize
7011
7012 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
7013
7014         * buffer.[Ch]: added new closing signal
7015         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
7016         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
7017         BufferView::Pimpl via the closing the signal
7018
7019 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
7020
7021         * buffer.[Ch]: take out all bv-related from buffer
7022         * BufferView.C:
7023         * BufferView_pimpl.[Ch]: connect to new signals
7024         * CutAndPaste.C: removed useless asserts
7025         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
7026         * lyxvc.[Ch]:
7027         * vc-backend.[Ch]:
7028         * lyxfunc.C: moved view-related funciontality from vc here
7029         * paragraph.C: removed outdated comments
7030         * text.C: ws
7031
7032 2003-07-10  André Pönitz  <poenitz@gmx.net>
7033
7034         * BufferView_pimpl.C:
7035         * tabular.h:
7036         * tabular_funcs.C:
7037         * text.C:
7038         * text2.C: remove InsetText::InnerCache, clean up consequences
7039
7040 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
7041
7042         * ispell.C: fix two typos in error messages
7043
7044 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
7045
7046         * Extend Note inset to other forms of annotation like Comment
7047         and Greyedout. Right button click gives dialog.
7048
7049         Files modified or added (+):
7050
7051         * insetnote.[Ch]
7052         * FormNote.[Ch]      +
7053         * ControlNote.[Ch]   +
7054         * form_note.fd       +
7055         * Makefile.am in frontends/xforms, frontends/xforms/forms,
7056         frontends/controllers
7057         * xforms/Dialogs.C
7058         * factory.C
7059
7060 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
7061
7062         * aspell.C: add missing namespace lyx::support
7063
7064 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
7065
7066         * BufferView.[Ch] (newFile): Add
7067         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
7068         * LaTeX.[Ch] (message): added this signal and use it
7069         * buffer.[Ch] (busy, message): added these signals and use them
7070         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
7071         * converter.C:
7072         * exporter.C:
7073         * format.C:
7074         * importer.C: use buffer signals instead of direct bv calling
7075         * lyx_cb.[Ch] (ShowMessage): removed
7076         * lyx_main.C:
7077         * lyxfunc.C:
7078         * paragraph_funcs.C:
7079         * text2.C: use buffer signals
7080
7081 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7082
7083         * introduce namespace lyx::graphics
7084
7085 2003-07-02  André Pönitz  <poenitz@gmx.net>
7086
7087         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
7088
7089 2003-07-01  André Pönitz  <poenitz@gmx.net>
7090
7091         * text.C:
7092         * text2.C:
7093         * text3.C:
7094         * text_funcs.[Ch]:
7095         * textcursor.h:
7096         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
7097           text*.C to text_func.C
7098
7099 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7100
7101         * introduce namespace lyx::support
7102
7103 2003-06-30  André Pönitz  <poenitz@gmx.net>
7104
7105         * Chktex.C:
7106         * funcrequest.C:
7107         * lyxtext.h:
7108         * text.C: re-enable --with-included-string
7109
7110 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7111
7112         * textcursor.C: add <config.h>
7113
7114         * text.C (getWord): remove const from word_location arg
7115
7116         * lyxvc.C (getLogFile): fix const type order
7117
7118         * lyxtext.h: remove const from word_location arg, add arg name
7119
7120         * lyxlayout.h: currect type on labeltype.
7121
7122         * importer.C: correct \file
7123
7124         * converter.C (intToFormat): use std:: on ret val, ws changes
7125
7126         * bufferlist.h: correct \file
7127
7128         * buffer.C (makeLinuxDocFile): fix const type order
7129         (makeDocBookFile): ditto
7130         (fillWithBibKeys): use std:: on stdlib args.
7131
7132         * CutAndPaste.C: fix authors.
7133         (availableSelections): use std:: on return vector
7134
7135 2003-06-27  André Pönitz  <poenitz@gmx.net>
7136
7137         * BufferView_pimpl.C:
7138         * bufferview_funcs.C:
7139         * lyxcursor.C:
7140         * lyxcursor.h:
7141         * lyxfunc.C:
7142         * lyxtext.h:
7143         * rowpainter.C:
7144         * text.C:
7145         * text2.C:
7146         * text3.C: remove LyXCursor::row_ member
7147
7148         * lyxtext.h:
7149         * text.C: rename fullRebreak() to partialRebreak() and implement
7150           a fullRebreak() that really bereks fully
7151
7152         * textcursor.h: new struct for cursor-related data
7153
7154 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
7155
7156         * lyx_main.C (LyX): get full path of document loaded on the
7157         command line
7158
7159 2003-06-26  André Pönitz  <poenitz@gmx.net>
7160
7161         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
7162           remove unused/broken operator>,<,>=.
7163
7164         *       text.C: remove only use of broken operator<= in an Assert().
7165
7166 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
7167
7168         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
7169         moved errorlist_.clear to showErrorList
7170
7171 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
7172
7173         * converter.C (scanLog, runLaTeX):
7174         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
7175         move the bv->showErrorList call to the callers
7176         * lyxfunc.C: i.e. here...
7177         * text2.C: and here
7178         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
7179         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
7180         namespace, the second to...
7181         * buffer_funcs (BufferFormat, parseErrors): added
7182         * errorlist.C (ErrorList(TeXErrors const &)): removed
7183
7184 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7185
7186         * ToolbarBackend.C (getIcon): complain when icon cannot be found
7187
7188 2003-06-24  "Garst R. Reese" <reese@isn.net>
7189
7190         * debug.C: fix typo
7191
7192 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7193
7194         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
7195
7196         * version.C.in: change docversion to 1.4
7197
7198 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
7199
7200         * buffer.C: fix a bug just introduced
7201
7202 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
7203
7204         * buffer.[Ch]: added the parseError signal and use it, removed
7205         sgmlError
7206         * BufferView.[Ch] (addError): moved to ...
7207         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
7208         to the Buffer::parseError signal to catch (guess what) parse errors
7209         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
7210
7211 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
7212
7213         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
7214         ability to create a buffer and to return an existing one from
7215         the list. Moved these functions to...
7216         * buffer_funcs.[Ch]: added
7217         * BufferView.[Ch] (loadLyXFile): added
7218         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
7219         job removed from bufferlist::loadLyXFile.
7220         * buffer.C (setReadOnly): make it work without view
7221         (i.e added an if (users))
7222
7223 2003-06-19  Angus Leeming  <leeming@lyx.org>
7224
7225         * lfuns.h:
7226         * LyXAction.C (init):
7227         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
7228         with LFUN_DIALOG_SHOW <name> <data>.
7229
7230 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7231
7232         * CutAndPaste.C (availableSelections): small compilation fix for
7233         ancient (gcc 2.9x) compilers
7234
7235 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
7236
7237         * text3.C (cursorNext): add tmp var
7238
7239         * text2.C (updateCounters): for function calling out of for clause
7240         (replaceSelectionWithString): ditto
7241         (insertStringAsParagraphs): ditto
7242         (getColumnNearX): add tmp var
7243         (setCursorFromCoordinates): add tmp var
7244         (cursorDownParagraph): add tmp var
7245         (deleteEmptyParagraphMechanism): add tmp var
7246
7247         * text.C (insertChar): add tmp var
7248
7249         * rowpainter.C (paintDepthBar): add tmp var
7250
7251         * CutAndPaste.C (availableSelections): potentially check all
7252         paragraphs in a cut to fill the shown strings.
7253
7254 2003-06-18  André Pönitz  <poenitz@gmx.net>
7255
7256         * kbmap.[Ch]: use vector<> instead of list<>
7257
7258 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
7259
7260         * text3.C (dispatch): handle arg to LFUN_PASTE, call
7261         pasteSelection with index
7262
7263         * text2.C (pasteSelection): modify, call pasteSelection with index
7264
7265         * paragraph.C (asString): reimplement version with no interval to
7266         call the one with interval.
7267
7268         * lyxtext.h: add index arg to pasteSelection
7269
7270         * MenuBackend.C (MenuItem): handle PasteRecent
7271         (Menu::read::Menutags): add md_pasterecent
7272         (read): handle it
7273         (expandPasteRecent): new function
7274         (expand): use it
7275
7276         * MenuBackend.h: add PasteRecent to MenuItem::Kind
7277
7278         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
7279         the limited stack
7280         (availableSelections): new function
7281
7282 2003-06-17  Angus Leeming  <leeming@lyx.org>
7283
7284         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
7285
7286 2003-06-17  Angus Leeming  <leeming@lyx.org>
7287
7288         * lfuns.h:
7289         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
7290
7291         * lyxfunc.C (dispatch): invoke it.
7292
7293 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7294
7295         * iterators.C (operator++, ParPosition): reintroduce some
7296         const_cast for the benefit of older compilers.
7297
7298 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7299
7300         * text3.C (dispatch): do not modify clipboard when doing
7301         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
7302         LFUN_DELETE_SKIP on a selection selection
7303
7304 2003-06-16  André Pönitz  <poenitz@gmx.net>
7305
7306         * BufferView.C:
7307         * buffer.C:
7308         * buffer.h:
7309         * paragraph.C:
7310         * tabular.[Ch]: IU of clone() and getLabelList();
7311
7312 2003-06-13  André Pönitz  <poenitz@gmx.net>
7313
7314         * tabular.h: compactification
7315
7316 2003-06-12  André Pönitz  <poenitz@gmx.net>
7317
7318         * tabular.C:
7319         * tabular.h:
7320         * tabular_funcs.h: some renaming plus whitespace
7321
7322 2003-06-12  André Pönitz  <poenitz@gmx.net>
7323
7324         * BufferView.C:
7325         * BufferView_pimpl.C:
7326         * CutAndPaste.C:
7327         * buffer.C:
7328         * iterators.[Ch]:
7329         * lyxfunc.C:
7330         * text.C:
7331         * toc.C: Return a Paragraph & for ParIterator::operator*()
7332
7333 2003-06-11  John Levon  <levon@movementarian.org>
7334
7335         * lyx_main.C:
7336         * ToolbarBackend.h:
7337         * ToolbarBackend.C: add "Toolbars" section and
7338         put the flags there
7339
7340 2003-06-10  Angus Leeming  <leeming@lyx.org>
7341
7342         * lfuns.h:
7343         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
7344
7345         * lyxfunc.C (dispatch): invoke it.
7346
7347 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
7348
7349         * main.C: protect <ios> with HAVE_IOS
7350         (main): protect sync_with_stdio with HAVE_IOS
7351
7352 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
7353
7354         * text2.C (cutSelection): adjust
7355         (pasteSelection): adjust
7356
7357         * messages.C: handle get of empty string
7358
7359         * main.C (main): use sync_with_stdio(false)
7360
7361         * lyxfunc.C (dispatch): adjust
7362
7363         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
7364         (WriteAs): remove unneeded BufferView arg.
7365
7366         * bufferparams.h: use correct types on papersize, papersize2 and
7367         paperpackage.
7368
7369         * bufferparams.C (readToken): adjust for type
7370         (writeLaTeX): add missing cases to switch.
7371
7372         * bufferlist.C (quitWriteBuffer): adjust
7373         (close): adjust
7374
7375         * buffer.C (asciiParagraph): remove some commented code.
7376
7377         * CutAndPaste.C: remove current_view extern variable.
7378         (cutSelection): add BufferParams arg.
7379         (eraseSelection): add BufferParams arg.
7380         (pasteSelection): add Buffer const & arg
7381
7382 2003-06-07  John Levon  <levon@movementarian.org>
7383
7384         * buffer.C:
7385         * paragraph_funcs.C:
7386         * paragraph_pimpl.C:
7387         * text.C:
7388         * text2.C:
7389         * paragraph.h:
7390         * paragraph.C: allow InsetERT to freely space lines,
7391         and some consolidation of code
7392
7393 2003-06-06  José Matos  <jamatos@fep.up.pt>
7394
7395         * buffer.C (makeDocBookFile): fix bug #821
7396
7397 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
7398
7399         * BufferView_pimpl.C (dispatch): use Dialogs::visible
7400
7401 2003-06-04  Angus Leeming  <leeming@lyx.org>
7402
7403         * buffer.C: bump format to 224.
7404
7405 2003-06-05  André Pönitz  <poenitz@gmx.net>
7406
7407         * text2.C (redoParagraphs): remove two const_cast<>
7408
7409 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
7410
7411         * ParagraphList.h: remove last remnants of NO_STD_LIST
7412
7413 2003-06-03  Angus Leeming  <leeming@lyx.org>
7414
7415         * factory.C (createInset): small change to the way InsetExternal's params
7416         are set.
7417
7418 2003-06-04  André Pönitz  <poenitz@gmx.net>
7419
7420         * buffer.h: use Undo directly instead of shared_ptr<Undo>
7421
7422         * paragraph_pimpl.h:
7423         * paragraph.[Ch]: some Inset -> UpdatableInset changes
7424
7425         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
7426
7427         * undo_funcs.C: make some simple cases of undo work again
7428
7429 2003-06-03  John Levon  <levon@movementarian.org>
7430
7431         * ispell.C: HPUX doesn't have sys/select.h
7432         (from Albert Chin)
7433
7434 2003-06-03  John Levon  <levon@movementarian.org>
7435
7436         * CutAndPaste.C: update tabular and include inset
7437         buffer references
7438
7439         * buffer.h:
7440         * paragraph.h:
7441         * paragraph.C: remove owningBuffer(), don't pass Buffer
7442         to clone()
7443
7444         * factory.C: insetGraphicsParams changed
7445
7446 2003-06-02  John Levon  <levon@movementarian.org>
7447
7448         * LyXAction.C:
7449         * factory.C:
7450         * lfuns.h:
7451         * lyxfunc.C:
7452         * text3.C: remove insetparent
7453
7454 2003-06-02  John Levon  <levon@movementarian.org>
7455
7456         * buffer.h:
7457         * buffer.C: fix inset_iterator.end(), move out of line
7458         (bug 1149)
7459
7460 2003-06-01  John Levon  <levon@movementarian.org>
7461
7462         * text3.C: use a proper cut/paste when doing inset
7463         insert (from Jürgen Spitzmüller)
7464
7465 2003-06-01  John Levon  <levon@movementarian.org>
7466
7467         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
7468
7469 2003-05-30  André Pönitz  <poenitz@gmx.net>
7470
7471         * rowpainter.C: unify second drawing phase
7472
7473 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
7474
7475         * trans_mgr.C: remove one case of current_view
7476
7477         * text2.C (cursorBottom): delete NO_STD_LIST stuff
7478
7479         * paragraph_funcs.h: remove paragraph.h include
7480
7481         * paragraph.h: delete NO_STD_LIST stuff
7482
7483         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
7484
7485         * buffer.h: remove paragraph.h include
7486
7487         * ParagraphList.C: delete file
7488
7489         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
7490
7491         * toc.C (getTocList): adjust
7492
7493         * paragraph_pimpl.C (validate): adjust
7494
7495         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
7496
7497         * paragraph.C (Paragraph): adjust
7498         (getPositionOfInset): use const_iterator, adjust
7499         (bibitem): use const_iterator, adjust
7500         (setInsetOwner): adjust
7501
7502         * iterators.C (operator++): adjust
7503
7504         * InsetList.[Ch]: Replace selfmade iterator with standard
7505         vector::iterator also introduce const_iterator. Remove getPos,
7506         getInset and setInset from InsetTable. Adjust accordingly.
7507
7508         * BufferView.C (lockInset): adjust
7509         (ChangeInsets): adjust
7510
7511         * tabular.[Ch]: delete commented same_id functions
7512
7513 2003-05-28  John Levon  <levon@movementarian.org>
7514
7515         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
7516
7517 2003-05-28  André Pönitz  <poenitz@gmx.net>
7518
7519         * metricsinfo.[Ch]: remove 'fullredraw' member
7520
7521 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
7522
7523         * lyxtextclass.C (operator): remove caching.
7524
7525 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7526
7527         * text3.C: adjust
7528
7529         * text2.C (cursorBottom): adjust
7530         (setCounter): use ParagraphList::find, adjust
7531
7532         * text.C (workWidth): use ParagraphList::find, adjust
7533
7534         * lyxcursor.C (LyXCursor): adjust
7535
7536         * buffer.C (inset_iterator): adjust
7537
7538         * ParagraphList.h: make iterator(value_type) private, make
7539         ParagraphList a friend of iterator.
7540
7541         * ParagraphList.C (find): new function
7542
7543         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7544
7545 2003-05-27  André Pönitz  <poenitz@gmx.net>
7546
7547         * dimension.[Ch]: a -> asc, d -> des, w -> wid
7548
7549 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7550
7551         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
7552
7553 2003-05-26  John Levon  <levon@movementarian.org>
7554
7555         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
7556
7557 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
7558
7559         * remove same_id from function signatures, adjust.
7560
7561 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
7562
7563         * undo_funcs.C (createUndo): use the id functions directly, adjust.
7564
7565         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
7566
7567         * paragraph.C (Paragraph): get rid of same_ids parameter
7568
7569         * ParagraphList.C (insert): adjust
7570         (push_back): adjust
7571
7572 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
7573
7574         * paragraph_funcs.C (breakParagraph): adjust
7575         (breakParagraphConservative): adjust
7576
7577         * buffer.C (readParagraph): adjust
7578
7579         * ParagraphList.C (insert): take a reference instead of a pointer
7580         (insert): adjust
7581
7582         * paragraph.[Ch] (id): new function
7583
7584         * bufferlist.C (newFile): adjust
7585
7586         * ParagraphList.C (ParagraphList): adjust
7587         (assign): adjust
7588         (push_back): take a reference instead of a pointer.
7589
7590         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
7591
7592         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
7593         instead.
7594
7595         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
7596         set else use old code.
7597
7598         * ParagraphList.C: remove all NO_NEXT code and only compile this
7599         code of NO_STD_LIST is set.
7600
7601 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
7602
7603         * BufferView_pimpl.C:
7604         * TextCache.C:
7605         * TextCache.h:
7606         * bufferlist.C:
7607         * errorlist.h:
7608         * format.C:
7609         * format.h:
7610         * graph.C:
7611         * lyxfunc.C:
7612         * lyxrc.C:
7613         * graphics/GraphicsConverter.C:
7614         * graphics/PreviewLoader.C: header adjustment
7615
7616 2003-05-23  Angus Leeming  <leeming@lyx.org>
7617
7618         * LaTeXFeatures.[Ch] (useBabel): new method.
7619         * bufferparams.C (writeLaTeX): use it.
7620
7621 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
7622
7623         * ParagraphList.h (set): remove unused function.
7624
7625 2003-05-23  André Pönitz  <poenitz@gmx.net>
7626
7627         * BufferView.C:
7628         * BufferView_pimpl.C:
7629         * buffer.C:
7630         * buffer.h:
7631         * lyxfunc.C:
7632         * undo_funcs.C: setUndo reworked
7633
7634         * iterators.[Ch]: add access to topmost ParagraphList
7635
7636         * lyxtext.[Ch] (workWidth): add a const
7637
7638 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
7639
7640         * texrow.[Ch] (increasePos): remove function
7641         * exporter.C (export): removed unused var and outdated comment
7642
7643 2003-05-23  Angus Leeming  <leeming@lyx.org>
7644
7645         * latexrunparams.h: rename fragile as moving_arg.
7646         * paragraph.C (simpleTeXOnePar): ditto.
7647         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
7648
7649 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
7650
7651         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
7652         (createUndo): ditto
7653         (textUndoOrRedo): comment out a currently unused var.
7654
7655         * paragraph.h (NO_NEXT): enable NO_NEXT
7656
7657         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
7658
7659         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
7660
7661         * exporter.C (Export): adjust for removeAutoInsets removal.
7662
7663         * buffer.C (runChktex): adjust for removeAutoInsets removal.
7664
7665         * LyXAction.C (init): remove LFUN_REMOVEERRORS
7666
7667         * BufferView.[Ch] (removeAutoInsets): delete function
7668
7669 2003-05-22  Angus Leeming  <leeming@lyx.org>
7670
7671         * latexrunparams.h: add a free_spacing variable.
7672
7673         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
7674         to pass moving_arg, as the data is stored in runparams.fragile.
7675
7676         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
7677         to Inset::latexOptional or to simpleTeXOnePar.
7678
7679         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
7680         free_spacing arg to Inset::latexOptional.
7681
7682         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7683         free_spacing arg.
7684
7685 2003-05-22  Angus Leeming  <leeming@lyx.org>
7686
7687         * latexrunparams.h: add fragile and use_babel variables.
7688
7689         * bufferparams.[Ch] (writeLaTeX): return use_babel.
7690         * buffer.C (makeLaTeXFile): store this returned value in
7691         runparams.use_babel, thus passing it to the inset::latex methods.
7692
7693         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
7694         simpleTeXSpecialChars as it is now stored in runparams.fragile.
7695
7696         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
7697         longer has a fragile arg, as it is stored in runparams.fragile.
7698
7699         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
7700         moving_arg parameter as the data is stored in runparams.fragile.
7701
7702         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7703         a fragile parameter as the data is stored in runparams.fragile.
7704
7705 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7706
7707         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
7708
7709 2003-05-22  Angus Leeming  <leeming@lyx.org>
7710
7711         * latexrunparams.h: add a 'bool nice' which defaults to false.
7712
7713         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
7714         now encapsulated within runparams.
7715
7716         * bufferlist.C (updateIncludedTeXfiles):
7717         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
7718
7719 2003-05-22  Angus Leeming  <leeming@lyx.org>
7720
7721         * latexrunparams.h: new file containing struct LatexRunParams.
7722         * Makefile.am: add new file.
7723
7724         * LaTeX.[Ch] (c-tor, run):
7725         * buffer.[Ch] (makeLaTeXFile):
7726         * bufferlist.[Ch] (updateIncludedTeXfiles):
7727         * converter.C (convert, scanLog):
7728         * converter.[Ch] (runLaTeX):
7729         * exporter.C (Export):
7730         * paragraph.[Ch] (simpleTeXOnePar):
7731         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
7732         * paragraph_funcs.[Ch] (latexParagraphs):
7733         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
7734         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
7735         pass around a LatexRunParams parameter.
7736
7737 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7738
7739         * paragraph.[Ch]: remove unused constructor
7740
7741         * ParagraphList.C (erase): new function, taking two iterators
7742
7743 2003-05-22  André Pönitz  <poenitz@gmx.net>
7744
7745         * undo_funcs.C: remove duplicated code
7746
7747         * iterator.[Ch]: operator=
7748
7749 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7750
7751         * tabular.C (SetMultiColumn): ws changes
7752
7753         * rowpainter.C (paintFirst): get rid of a ->previous
7754
7755         * lyx_cb.C (getPossibleLabel): parlist simplification
7756
7757         * BufferView.C (ChangeInsets): simplify slightly.
7758
7759 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
7760
7761         * LyXAction.C: new lfun space-insert, kill protected-space-insert
7762         * lfuns.h: new LFUN_SPACE
7763         * lyxfunc.C: protected space has a new lfun
7764         * paragraph_funcs.C: read new space insets
7765         * text3.C:
7766         * factory.C: handle new space insets
7767
7768 2003-05-22  André Pönitz  <poenitz@gmx.net>
7769
7770         * BufferView.C:
7771         * BufferView_pimpl.C:
7772         * buffer.[Ch]:
7773         * lyxfunc.C:
7774         * undo_funcs.C: return a ParIterator from getParFromID.
7775
7776         * iterators.[Ch]: add two const's
7777
7778 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
7779
7780         * toc.C (getTocList): adjust
7781
7782         * iterators.[Ch]: rework for parlist
7783
7784         * buffer.C (par_iterator_begin): adjust
7785         (par_iterator_end): adjust
7786
7787         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
7788
7789         * BufferView.C (removeAutoInsets): adjust
7790         (ChangeInsets): adjust
7791
7792 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
7793
7794         * text.C (top_y): fix bug 1110
7795
7796 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
7797
7798         * errorlist.[Ch]: added
7799         * buffer.C:
7800         * BufferView.[Ch]:
7801         * BufferView_pimpl.C:
7802         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
7803         instead
7804
7805 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7806
7807         * Makefile.am: ensure that lyx is relinked upon changes to the
7808         various "convenience" libs.
7809
7810 2003-05-20  Angus Leeming  <leeming@lyx.org>
7811
7812         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
7813         files are compiled in alphabetical order again.
7814
7815         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
7816
7817 2003-05-19  Angus Leeming  <leeming@lyx.org>
7818
7819         * gettext.[Ch]: remove "char const * _(char const *)".
7820
7821 2003-05-19  André Pönitz  <poenitz@gmx.net>
7822
7823         * dimension.[Ch]: promote from mathed/dimension.[Ch]
7824
7825         * Makefile.am:
7826         * BufferView.C:
7827         * DepTable.h:
7828         * LaTeXFeatures.C:
7829         * buffer.C:
7830         * lyxfont.C:
7831         * lyxlex.h:
7832         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
7833
7834 2003-05-19  André Pönitz  <poenitz@gmx.net>
7835
7836         * buffer.C:
7837         * lyxlayout.[Ch]:
7838         * lyxtextclass.[Ch]:
7839         * paragraph.C:
7840         * paragraph_funcs.[Ch]:
7841         * text2.C:
7842         * text3.C: more insetenv work
7843
7844 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
7845
7846         * ParagraphParameters.C (params2string): small bug fixed
7847
7848 2003-05-16  André Pönitz  <poenitz@gmx.net>
7849
7850         * debug.C:
7851         * bufferview_funcs.C: patch from Kornel Benko to prevent
7852           crash when _(...) is called twice in a statement
7853
7854 2003-05-16  André Pönitz  <poenitz@gmx.net>
7855
7856         * BufferView.C:
7857         * lyxfunc.C:
7858         * text.C:
7859         * text2.C:
7860         * text3.C:
7861         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
7862
7863 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
7864
7865         * lyx_main.C (init): remove spurious static_cast
7866
7867 2003-05-14  André Pönitz  <poenitz@gmx.net>
7868
7869         * BufferView.C: fix format string
7870
7871 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
7872
7873         * BufferView.[Ch] (insertErrors): removed
7874         * BufferView.[Ch] (showErrorList): added
7875         * buffer.C (runChkTeX):
7876         * converter.C (scanLog): call showErrorList instead of inserterrors
7877
7878 2003-05-13  André Pönitz  <poenitz@gmx.net>
7879
7880         * BufferView_pimpl.C:
7881         * buffer.C:
7882         * bufferview_func.C:
7883         * MenuBackend.C:
7884         * lyxfunc.C:
7885         * lyxrc.C:
7886         * tex-accent.C:
7887         * text3.C:
7888         * toc.C:
7889         * tabular_funcs.h: tostr() from its own header
7890
7891         * ParagraphParameters.C:
7892         * ToolbarBackend.C:
7893         * bufferparams.C:
7894         * format.C:
7895         * lyxlex_pimpl.C:
7896         * text3.C: STRCONV()
7897
7898 2003-05-12  André Pönitz  <poenitz@gmx.net>
7899
7900         * BufferView.C:
7901         * BufferView_pimpl.C:
7902         * CutAndPaste.C:
7903         * LaTeX.C:
7904         * LaTeXFeatures.C:
7905         * ParagraphParameters.C:
7906         * buffer.C:
7907         * bufferlist.C:
7908         * bufferparams.C:
7909         * bufferview_funcs.C:
7910         * converter.C:
7911         * counters.C:
7912         * debug.C:
7913         * exporter.C:
7914         * format.C:
7915         * importer.C:
7916         * lyx_cb.C:
7917         * lyx_main.C:
7918         * lyxfont.C:
7919         * lyxfunc.C:
7920         * lyxvc.C:
7921         * paragraph.C:
7922         * paragraph_funcs.C:
7923         * tabular.C:
7924         * tabular_funcs.C:
7925         * text2.C:
7926         * text3.C:  boost::format -> bformat  all over the place
7927
7928
7929 2003-05-09  André Pönitz  <poenitz@gmx.net>
7930
7931         * LColor.[Ch]: Pimpl the #include <map> away
7932
7933 2003-05-09  John Levon  <levon@movementarian.org>
7934
7935         * bufferlist.C: never remove emergency saves
7936
7937 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7938
7939         * Makefile.am: better lib building
7940
7941 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
7942
7943         * texrow.[Ch]: remove dependency on Paragraph and just store a id
7944         instead.
7945         * paragraph_pimpl.C (simpleTeXBlanks): adjust
7946         (simpleTeXSpecialChars): adjust
7947         (simpleTeXSpecialChars): adjust
7948         * paragraph.C (simpleTeXOnePar): adjust
7949         * buffer.C (makeLaTeXFile): adjust
7950
7951         * Makefile.am (BOOST_LIBS): allow boost as system lib.
7952
7953         * text2.C (changeDepth): parlist cleanup
7954         (getColumnNearX): ditto
7955
7956         * rowpainter.C (getLabelFont): parlist cleanup
7957
7958         * bufferlist.C (newFile): parlist cleanup
7959
7960         * CutAndPaste.C (eraseSelection): parlist cleanup
7961
7962         * BufferView_pimpl.C (trackChanges): parlist cleanup
7963         (dispatch): ditto
7964
7965         * BufferView.C (lockInset): parlist cleanup.
7966         (ChangeInsets): ditto
7967
7968 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
7969
7970         * CutAndPaste.h: Update file header.
7971
7972         * CutAndPaste.C: Update file header.
7973         Store the parts cut out of the Document in a limited_stack.
7974         (copySelection): adjust
7975         (pasteSelection): new function, takes the index in the limited stack.
7976         (nrOfParagraphs): adjust
7977         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
7978         simplify error inset insertion.
7979         (checkPastePossible): adjust
7980
7981 2003-05-06  John Levon  <levon@movementarian.org>
7982
7983         * text2.C: don't cast wrap inset to float
7984
7985 2003-05-05  André Pönitz  <poenitz@gmx.net>
7986
7987         * iterator.C:
7988         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
7989
7990         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
7991           few naked Paragraph *.
7992
7993 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
7994
7995         * bufferparams.C: Output warning if a document with missing
7996         TeX document class is loaded
7997         * exporter.C: Disable TeX exports if the document class is missing
7998         * lyxtextclass.C:
7999         * lyxtextclass.h:
8000         * lyxtextclasslist.C: Handle new textclass.lst format; new method
8001         isTeXClassAvailable()
8002
8003 2003-05-03  John Levon  <levon@movementarian.org>
8004
8005         * BufferView.h:
8006         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
8007         explicit cursor show/hide
8008
8009         * BufferView_pimpl.h:
8010         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
8011         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
8012
8013         * lyxfunc.C: hide cursor before dispatching.
8014
8015         * lyx_cb.C:
8016         * lyxfind.C:
8017         * text.C:
8018         * text3.C: remove explicit cursor hides
8019
8020 2003-05-02  André Pönitz  <poenitz@gmx.net>
8021
8022         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
8023
8024         * undo_funcs.C:
8025         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
8026           linked lists
8027
8028         * text2.C: tiny whitespace
8029
8030 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8031
8032         * undo_funcs.C: almost only ws changes.
8033
8034         * ParagraphList.C (splice): just return if pl is empty.
8035
8036 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8037
8038         * ParagraphList.C (splice): new function.
8039
8040         * CutAndPaste.C (pasteSelection): use it
8041
8042 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8043
8044         * CutAndPaste.C (pasteSelection): remove the last next and
8045         previous from this file.
8046
8047 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8048
8049         * CutAndPaste.C (pasteSelection): more clean up, user proper
8050         ParagraphList functions for pasteing.
8051
8052         * ParagraphList.C (insert): new function, three arg insert
8053
8054 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8055
8056         * ParagraphList.C (insert): new function, three arg insert
8057
8058         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
8059         not on paragraphs.
8060
8061 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8062
8063         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
8064
8065 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8066
8067         * CutAndPaste.C (pasteSelection): remove some unneeded code.
8068
8069 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8070
8071         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
8072         (copySelection): clean up a bit.
8073         (pasteSelection): use make_pair
8074
8075         * ParagraphList.C (ParagraphList): implement copy constructor
8076         (operator=): implement, base on copy constructor.
8077         (assign): new func
8078
8079         * paragraph.C (erase): return a bool
8080
8081         * paragraph_pimpl.C (erasePos): remove function, move contents...
8082         (erase): ... here. Return a bool.
8083         (erase): call erase instead of erasePos.
8084
8085 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
8086
8087         * ParagraphList.h: define PitPosPair
8088         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
8089         ParagraphList, fix a bug on pasting multiple pars
8090         * text2.C: change interface to C&P
8091
8092 2003-04-30  André Pönitz  <poenitz@gmx.net>
8093
8094         * undo_func.C: revert part of yesterday's patch 2
8095
8096 2003-04-30  John Levon  <levon@movementarian.org>
8097
8098         * LColor.C: s/tabular/table/
8099
8100 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
8101
8102         * text3.C (dispatch): do not convert iterator -> pointer
8103         * undo_funcs.C (setCursorParUndo): ditto
8104         * text_funcs.C (transposeChars): ditto
8105
8106         * text2.C (setLayout): ws changes only
8107
8108         * text.C (breakParagraph): do not convert iterator -> pointer
8109         (insertChar): ditto
8110         (acceptChange): ditto
8111         (rejectChange): ditto
8112         (changeCase): ditto
8113         (Delete): ditto
8114         (backspace): ditto
8115
8116         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
8117         pointer
8118
8119 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
8120
8121         * text3.C (gotoInset): YABG (yet another bad getChar)
8122
8123 2003-04-29  André Pönitz  <poenitz@gmx.net>
8124
8125         * paragraph.h: make operator= private unimplemented as long as
8126           it is unusable
8127
8128         * ParagraphList.C: whitespace
8129
8130         * paragraph.[Ch]:
8131         * paragraph_pimpl.[Ch]:
8132         * paragraph_funcs.C:
8133         * CutAndPaste.C:
8134         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
8135
8136         * text2.C:
8137           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
8138
8139 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
8140
8141         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
8142         * paragraph.[Ch] (erase):
8143         * paragraph_pimpl.[Ch] (erase): change return type and value
8144         * text2.C (cutSelection): some rework
8145
8146 2003-04-28  John Levon  <levon@movementarian.org>
8147
8148         * bufferlist.C: changes for unsaved changes dialog
8149
8150 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
8151
8152         * bufferlist.C (newFile): set language (messages_) for new
8153         documents also.
8154
8155         * buffer.C (readFile): ws changes only.
8156
8157 2003-04-28  André Pönitz  <poenitz@gmx.net>
8158
8159         * undo_funcs.C:
8160         * lyxfunc.C:
8161         * buffer.[Ch]:
8162         * BufferView_pimpl.C:
8163         * BufferView.C: getParFromID related ParagraphList::iterator changes
8164
8165 2003-04-28  André Pönitz  <poenitz@gmx.net>
8166
8167         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
8168           Changes
8169
8170 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
8171
8172         * messages.C: remove one more localedir class variable.
8173
8174 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
8175
8176         * messages.C (getLocaleDir): singleton generation function
8177         (Pimpl): use it.
8178         (Messages): add a default constructor.
8179
8180         * main.C (main): do not setup localedir here, do not call
8181         gettext_init.
8182
8183         * gettext.C (_): use it.
8184         (gettext_init): delete funciton
8185
8186 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
8187
8188         * gettext.C (getLyXMessages): new singleton generating function.
8189
8190         * buffer.C (updateDocLang): adjust
8191
8192         * Makefile.am (messages.o): add target
8193         (main.o): remove target
8194
8195 2003-04-27  John Levon  <levon@movementarian.org>
8196
8197         * bufferlist.C:
8198         * lyx_cb.C:
8199         * lyxfunc.C:
8200         * lyxvc.C: specify cancel button in Alert::prompt
8201
8202 2003-04-26  John Levon  <levon@movementarian.org>
8203
8204         * text3.C:
8205         * lyxfunc.C:
8206         * lfuns.h:
8207         * LyXAction.C: add LFUN_INSET_SETTINGS
8208
8209         * lyxfunc.C: don't enable tabular-feature when there's
8210         just any locking inset
8211
8212 2003-04-26  John Levon  <levon@movementarian.org>
8213
8214         * bufferlist.C: re-add Cancel to buffer close question
8215
8216         * lyxfunc.C: fix import UI a bit
8217
8218 2003-04-25  John Levon  <levon@movementarian.org>
8219
8220         * gettext.C: remove the broken asserts for now
8221
8222 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
8223
8224         * messages.C: make case where setlocale cannot comply work better.
8225
8226         * buffer.C (updateDocLang): new function
8227         (changeLanguage): use it
8228         (readFile): use it
8229
8230         * text2.C (setCounter): use B_ a bit.
8231
8232         * lyxlayout.C (Read): be sure to trim the label strings.
8233
8234         * messages.C (Messages): fix typo in comment
8235
8236         * buffer.C (readFile): set message_ after file is loaded.
8237         (makeDocBookFile): remove double return
8238         (changeLanguage): reset message_ upon language change.
8239         (B_): new func, use this to get translated buffer strings.
8240
8241         * main.C: add myself and Jean Marc as authors.
8242
8243 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
8244
8245         * messages.[hC]: pimplify Messages, and three different pimpls to be
8246         used in different circumstances.
8247
8248         * gettext.[Ch]: change for use with new message code.
8249
8250 2003-04-24 André Pönitz <poenitz@gmx.net>
8251
8252         * factory.C: support for eqref
8253
8254 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
8255
8256         * messages.[Ch]: add missing char
8257
8258         * Makefile.am (lyx_SOURCES): add messages.[Ch]
8259
8260         * messages.[Ch]: New files
8261
8262 2003-04-18  John Levon  <levon@movementarian.org>
8263
8264         * BufferView.h:
8265         * BufferView.C:
8266         * BufferView_pimpl.C:
8267         * lfuns.h:
8268         * LyXAction.C:
8269         * lyxtext.h:
8270         * text2.C: remove layout-copy/paste (bug 778)
8271
8272 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
8273
8274         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
8275
8276 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
8277
8278         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
8279         if they succeed. Act accordingly.
8280
8281 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
8282
8283         * text2.C (setCharFont): adjust
8284         (setCounter): adjust
8285         (insertStringAsLines): adjust
8286
8287         * text.C (leftMargin): adjust
8288         (setHeightOfRow): adjust
8289
8290         * rowpainter.C (paintFirst): adjust
8291         (paintLast): adjust
8292
8293         * paragraph_funcs.C (depthHook): ParagraphList::iterators
8294         (outerHook): ditto
8295         (isFirstInSequence): ditto
8296         (getEndLabel): ditto
8297         (outerFont): adjust
8298
8299         * paragraph.C (getParLanguage): comment out some hard stuff.
8300
8301         * buffer.C (insertStringAsLines): take a ParagraphList as arg
8302         (sgmlError): ditto
8303         (simpleDocBookOnePar): ditto
8304         (makeDocBookFile): use ParagraphList::iterator
8305
8306         * CutAndPaste.C (pasteSelection): adjust
8307
8308 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
8309
8310         * text2.C (getFont): adjust
8311         (getLayoutFont): adjust
8312         (getLabelFont): adjust
8313
8314         * paragraph_funcs.C (TeXOnePar): adjust
8315
8316         * buffer.C (simpleLinuxDocOnePar): adjust
8317         (simpleDocBookOnePar): adjust
8318
8319         * CutAndPaste.C (pasteSelection): adjust
8320
8321         * BufferView.C (getEncoding): adjust
8322
8323         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
8324
8325 2003-04-16  John Levon  <levon@movementarian.org>
8326
8327         * lyxfind.C: use parlist stuff for search/changes
8328
8329 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
8330
8331         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
8332
8333         * text2.C (deleteEmptyParagraphMechanism): adjust
8334
8335         * text2.[Ch] (ownerParagraph): delete func (both of them
8336
8337 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8338
8339         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
8340
8341 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8342
8343         * ParagraphList.C: prepare for NO_NEXT
8344
8345 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8346
8347         * text2.C (getFont): adjust
8348         (getLayoutFont): adjust
8349         (getLabelFont): adjust
8350
8351         * paragraph.C (getFont): adjust
8352         (getLabelFont): adjust
8353         (getLayoutFont): adjust
8354
8355         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
8356
8357 2003-04-15  John Levon  <levon@movementarian.org>
8358
8359         From Angus Leeming
8360
8361         * lyx_main.C: handle Include in .ui files
8362
8363 2003-04-15  John Levon  <levon@movementarian.org>
8364
8365         * MenuBackend.C: make the doc files length shorter
8366
8367         * ToolbarBackend.h:
8368         * ToolbarBackend.C: handle toolbar placement flags,
8369         Minibuffer
8370
8371 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8372
8373         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
8374         adjust
8375
8376         * paragraph_funcs.C (TeXOnePar): adjust
8377
8378         * paragraph.C (getLabelFont): add outerfont arg, adjust
8379         (getLayoutFont): ditto
8380         (simpleTeXOnePar): adjust
8381
8382         * paragraph_pimpl.C (realizeFont): delete func
8383
8384 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
8385
8386         * text2.C (beforeFullRowInset): added a bad getchar check, removed
8387         row argument, constify cur argument.
8388
8389 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8390
8391         * text2.C (getFont): adjust
8392         (getLayoutFont): adjust
8393         (getLabelFont): adjust
8394
8395         * paragraph_funcs.C (TeXOnePar): adjust
8396         (outerFont): new func...
8397         (realizeFont): ...moved out from here, changed this to facilitate
8398         transition
8399
8400         * paragraph.C (getFont): take outerfont as arg, adjust
8401         (simpleTeXOnePar): add outerfont arg, adjust
8402
8403         * buffer.C (simpleLinuxDocOnePar): adjust
8404         (simpleDocBookOnePar): adjust
8405
8406         * CutAndPaste.C (pasteSelection): adjust
8407
8408         * BufferView.C (getEncoding): adjust
8409
8410 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8411
8412         * text2.C (setCharFont): adjust
8413         (setCounter): adjust
8414
8415         * text.C (leftMargin): adjust
8416         (setHeightOfRow): adjust
8417
8418         * rowpainter.C (paintFirst): adjust
8419         (paintLast): adjust
8420
8421         * paragraph_pimpl.C (realizeFont): adjust
8422
8423         * paragraph.C (isFirstInSequence): move from here...
8424         * paragraph_funcs.C (isFirstInSequence): ...to here
8425
8426         * paragraph.C (outerHook): move from here...
8427         * paragraph_funcs.C (outerHook): ...to here
8428
8429         * paragraph.C (depthHook): move from here...
8430         * paragraph_funcs.C (depthHook): ...to here
8431
8432         * paragraph.C (getEndLabel): move from here...
8433         * paragraph_funcs.C (getEndLabel): ...to here
8434
8435         * text2.C (realizeFont): move from here...
8436         * paragraph_funcs.C (realizeFont): ...to here
8437
8438 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8439
8440         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
8441
8442 2003-04-14  Angus Leeming  <leeming@lyx.org>
8443
8444         * LColor.[Ch]: scrap LColor mathcursor.
8445
8446 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8447
8448         * lyxlex.[Ch] (text): delete function
8449         * trans.C (Load): adjust
8450         * paragraph_funcs.C (readParToken): adjust
8451
8452 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8453
8454         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
8455         vector<char> instead of a char[].
8456
8457         * lyxlex_pimpl.C (getString): adjust
8458         (next): adjust
8459         (lex): use getString
8460         (eatLine): adjust
8461         (nextToken): adjust
8462
8463         * lyxlex.C (text): use pimpl_->getString()
8464         (getBool): ditto
8465         (findToken): ditto
8466
8467 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8468
8469         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
8470         (makeFontEntriesLayoutSpecific): temp var for par.size()
8471         (setLayout): temp var for ownerParagraphs().end()
8472         (fullRebreak): temp var for rows().end()
8473         (selectionAsString): temp var for boost::next(startpit), realize
8474         that the while really is a regular for loop.
8475         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
8476         setCursor in one place.
8477         (setParagraph): temp vr for ownerParagraphs().end()
8478         (updateCounters): make the while loop a for loop
8479         (cutSelection): temp var for ownerParagraphs().end()
8480         (updateInset): make the do {} while() a regular for loop
8481         (getCursorX): use temp vars
8482         (setCurrentFont): use temp vars
8483         (getColumnNearX): use temp vars
8484
8485 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
8486
8487         * text.C (transformChar): use temp var for getChar
8488         (computeBidiTables): use temp var for row->par()
8489         (fill): move temp vars for row->par() and pit->layout() earlier in
8490         the function.
8491         (labelFill): use temp var for row->par()
8492         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
8493         asc and desc, realize that pit never changes and that firstpit is
8494         just a duplicate and not needed. Exchange rit->par() with pit in a
8495         lot of places.
8496         (breakAgain): use a temp var for boost::next(rit)
8497         (breakAgainOneRow): ditto
8498         (breakParagraph): use a temp var for rows().begin()
8499         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
8500         (cursorRightOneWord): use temp var for cursor.par() and
8501         cursor.pos(), remove usage of tmpcursor.
8502         (cursorLeftOneWord): use temp var for cursor.par() and
8503         cursor.pos() only set cur at end of function.
8504
8505 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
8506
8507         * text.C, text2.C: exchange all usage of Paragraph::next with
8508         boost::next(ParagraphList::iterator)
8509
8510         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
8511
8512         * text2.C (cursorTop): simplify implementation
8513         (cursorBottom): ditto
8514         (setParagraph): use ParagraphList::iterator
8515         (setCurrentFont): adjust
8516         (getColumnNearX): adjust
8517         (cursorRight): adjust
8518         (cursorLeft): remove usage of Paragraph::previous
8519         (cursorUpParagraph): ditto
8520         (deleteEmptyParagraphMechanism): slight cleanup
8521
8522         * text.C (isBoundary): take a Paragraph const & instead of a
8523         pointer as arg.
8524         (addressBreakPoint): ditto
8525         (leftMargin): remove usage of Paragraph::previous.
8526         (setHeightOfRow): ditto
8527         (cursorLeftOneWord): ditto
8528         (selectNextWordToSpellcheck): ditto
8529         (Delete): ditto
8530         (backspace): ditto
8531         (breakParagraph): remove one usage of Paragraph::next
8532         (redoParagraph): ditto
8533         (acceptChange): ditto
8534         (insertChar): adjust
8535         (rowBreakPoint): adjust
8536
8537         * bufferview_funcs.C (toggleAndShow): adjust
8538
8539 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
8540
8541         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
8542         methods to access it.
8543         * lyxtext.h:
8544         * text.C: Added updateRowPositions to compute all row positions.
8545         Make top_y and getRowNearY() to use the cached y position
8546
8547 2003-04-11  John Levon  <levon@movementarian.org>
8548
8549         * text.C (rowBreakPoint): reintroduce the labelEnd
8550         checks, code copied from the row fill stuff. Deep voodoo.
8551
8552         * text.C (fill): add a comment and debugging for the
8553         next poor soul.
8554
8555 2003-04-11  John Levon  <levon@movementarian.org>
8556
8557         * text.C: make sure fullrow insets get wrapped to the next line,
8558         even when they're in a manual label
8559
8560 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
8561
8562         * text2.C (insertParagraph): make it take ParagraphList::iterator
8563         as arg.
8564         (setLayout): make it return ParagraphList::iterator
8565         (redoParagraphs): ditto
8566         (setCounter): ditto
8567         (checkParagraph): ditto
8568
8569         * text.C (getRow): make getrow take ParagraphList::iterator as arg
8570
8571         * text2.C: adjust several funcs.
8572         (realizeFont): take a ParagraphList::iterator as arg.
8573         (getLayoutFont): ditto
8574         (getLabelFont): ditto
8575         (setCharFont): ditto
8576
8577         * text.C: adjust several funcs.
8578
8579 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
8580
8581         * text.C (selectNextWordToSpellcheck): don't accidentally
8582         skip insets
8583
8584 2003-04-10  John Levon  <levon@movementarian.org>
8585
8586         * ToolbarBackend.C (getIcon): special handling for
8587         LFUN_MATH_DELIM
8588
8589 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
8590
8591         * text2.C (cursorRight): a getChar assert fixed
8592
8593 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
8594
8595         * text2.C (getFont): change to take a ParagraphList::iterator
8596         instead of Paragraph*
8597         Adjust several functions.
8598
8599         * text.C (transformChar): change to take a ParagraphList::iterator
8600         instead of Paragraph*
8601         (singleWidth): ditto
8602         Adjust several functions.
8603
8604         * rowpainter.C: adjust several functions
8605         * rowpainter.h:store a ParagraphList::iterator and not a
8606         Paragraph&.
8607
8608
8609 2003-04-09  John Levon  <levon@movementarian.org>
8610
8611         * lyxfunc.C:
8612         * lfuns.h:
8613         * LyXAction.h:
8614         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
8615         and the "help" bits as well
8616
8617 2003-04-09  John Levon  <levon@movementarian.org>
8618
8619         * ToolbarBackend.h:
8620         * ToolbarBackend.C: allow multiple toolbars
8621
8622 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
8623
8624         * undo_funcs.C (setCursorParUndo): adjust
8625
8626         * text_funcs.C (transposeChars): adjust
8627
8628         * text3.C (gotoNextInset): adjust
8629         (dispatch): adjust
8630
8631         * text2.C (setLayout): adjust
8632         (changeDepth): adjust
8633         (setFont): adjust
8634         (redoParagraphs): adjust
8635         (selectionAsString): adjust
8636         (setParagraph): adjust
8637         (insertInset): adjust
8638         (cutSelection): adjust
8639         (copySelection): adjust
8640         (pasteSelection): adjust
8641         (insertStringAsLines): adjust
8642         (updateInset): adjust
8643         (setCursor): change to take a ParagraphList::iterator parameter
8644         (setCursorIntern): change to take a ParagraphList::iterator parameter
8645         (setCurrentFont): adjust
8646         (cursorLeft): adjust
8647         (cursorRight): adjust
8648         (deleteEmptyParagraphMechanism): adjust
8649
8650         * text.C (breakParagraph): adjust
8651         (insertChar): adjust
8652         (acceptChange): adjust
8653         (rejectChange): adjust
8654         (selectNextWordToSpellcheck): adjust
8655         (changeCase): adjust
8656         (Delete): adjust
8657         (backspace): adjust
8658
8659         * lyxfind.C (SearchForward): adjust
8660         (SearchBackward): adjust
8661         (nextChange): adjust
8662
8663         * lyxcursor.C (par): adjust
8664
8665         * lyxcursor.h: store a ParagraphList::iterator instead of a
8666         Paragraph*
8667
8668         * lyx_cb.C (getPossibleLabel): adjust
8669
8670         * bufferview_funcs.C (toggleAndShow): adjust
8671
8672         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
8673         (dispatch): adjust
8674
8675         * BufferView.C (removeAutoInsets): adjust
8676         (lockedInsetStoreUndo): adjust
8677
8678 2003-04-09  John Levon  <levon@movementarian.org>
8679
8680         * ToolbarBackend.C: try icon without argument
8681         if with argument fails
8682
8683 2003-04-08  John Levon  <levon@movementarian.org>
8684
8685         * ToolbarBackend.h:
8686         * ToolbarBackend.C: add getIcon(), handle tooltip,
8687         and change from "Icon" to "Item".
8688
8689 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
8690
8691         * BufferView.C (lockInset): another bad getchar crunched
8692
8693 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
8694
8695         * text2.C (changeDepth): do not setUndo on test_only (make undo work
8696         again)
8697
8698 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
8699
8700         * lyxfind.C (searchForward, searchBackwards): bug 782
8701
8702 2003-04-07  John Levon  <levon@movementarian.org>
8703
8704         * paragraph.C: remove dead comment
8705
8706         * text.C: remove troublesome depth-fiddling code
8707         in leftMargin() and rightMargin() (bug 1017)
8708
8709         * text.C: fix breaking of rows in nested lists
8710         (bug 1004)
8711
8712         * text2.C (updateCounters): fix up depth values
8713         (bug 1013)
8714
8715 2003-04-07  John Levon  <levon@movementarian.org>
8716
8717         * BufferView_pimpl.C: clear message when doc finishes resizing,
8718         and after a mouse event
8719
8720         * lyxfunc.C: clear message after exiting inset
8721
8722 2003-04-07  John Levon  <levon@movementarian.org>
8723
8724         * bufferview_funcs.C: show math status not outside
8725         status in the statusbar
8726
8727 2003-04-07  John Levon  <levon@movementarian.org>
8728
8729         * lyxfunc.C: note status changed after a depth change
8730
8731 2003-04-04  Angus Leeming  <leeming@lyx.org>
8732
8733         * LaTeX.h: move AuxInfo operator==, != out of line.
8734         Remove LaTeX virtual destructor; nothing derives from it.
8735         Move operator()() out of public area and rename it startscript().
8736         Change protected for private.
8737
8738 2003-04-04  Angus Leeming  <leeming@lyx.org>
8739
8740         * lyxfunc.C:
8741         * text2.C: remove unneeded #includes.
8742
8743 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
8744
8745         * text2.C (dEPM): fix the heigth of the next row
8746
8747 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
8748
8749         * text.C: squashed an invalid getChar requester + some ws changes
8750
8751 2003-04-03  John Levon  <levon@movementarian.org>
8752
8753         * bufferview_funcs.h:
8754         * bufferview_funcs.C:
8755         * lyxfunc.C:
8756         * lyxtext.h:
8757         * text2.C: make getStatus work for the env depth lfuns
8758
8759 2003-04-03  John Levon  <levon@movementarian.org>
8760
8761         * bufferview_funcs.h:
8762         * bufferview_funcs.C:
8763         * lyxfunc.C:
8764         * lyxtext.h:
8765         * text2.C: parlistize decDepth(), by merging it with incDepth()
8766
8767 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
8768
8769         * lyxrow.h: store a ParagraphList::iterator instead of a
8770         Paragraph* and adjust other class functions to suit.
8771
8772         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
8773         above.
8774
8775 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
8776
8777         * text2.C (setCursor): do not anchor to cursor row for the time being
8778
8779 2003-04-02  John Levon  <levon@movementarian.org>
8780
8781         * LyXAction.C:
8782         * lfuns.h:
8783         * lyx_main.C:
8784         * lyxtext.h:
8785         * text.C:
8786         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
8787
8788 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8789
8790         * paragraph.h: make ParagraphList and ParagraphList::iterator
8791         friends of Paragraph.
8792
8793         * buffer.C (makeLinuxDocFile): move towards ParagraphList
8794
8795         * ParagraphList.C: Use the private next_ and previous_ from
8796         Paragraph.
8797
8798 2003-04-01  John Levon  <levon@movementarian.org>
8799
8800         * ToolbarBackend.h:
8801         * ToolbarBackend.C:
8802         * Makefile.am: rename, remove defaults gunk
8803
8804         * MenuBackend.h:
8805         * MenuBackend.C: remove defaults gunk
8806
8807         * Languages.h:
8808         * Languages.C: remove defaults gunk
8809
8810         * lyx_main.h:
8811         * lyx_main.C: error out if files couldn't be found.
8812
8813 2003-04-02  John Levon  <levon@movementarian.org>
8814
8815         * text2.C: make incDepth() use parlist
8816
8817 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8818
8819         * undo_funcs.C (firstUndoParagraph): adjust
8820
8821         * text3.C (gotoInset): adjust
8822         (dispatch): adjust, and rewrite loop.
8823
8824         * text2.C (init): adjust, and rewrite loop.
8825         (redoParagraphs): adjust
8826         (updateInset): adjust, and rewrite loop.
8827         (deleteEmptyParagraphMechanism): adjust
8828
8829         * tabular.C (LyXTabular): adjust
8830         (SetMultiColumn): adjust
8831         (TeXRow): adjust
8832
8833         * lyxtext.[Ch] (ownerParagraph): delete function
8834         (ownerParagraphs): new function returns a ParagraphList.
8835
8836         * BufferView.C (removeAutoInsets): adjust
8837         (insertErrors): adjust
8838         (setCursorFromRow): adjust
8839
8840 2003-04-01  Angus Leeming  <leeming@lyx.org>
8841
8842         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
8843         in the frontends.
8844
8845 2003-04-02  John Levon  <levon@movementarian.org>
8846
8847         * lyxtext.h:
8848         * text.C:
8849         * Makefile.am:
8850         * text_funcs.h:
8851         * text_funcs.C: make transposeChars a free function
8852
8853         * lyxrow_funcs.C: remove wrong comment
8854
8855 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8856
8857         * lyxtext.h: adjust
8858         * rowpainter.C: adjust
8859         * text.C: adjust
8860         * text2.C: adjust
8861         * text3.C: adjust
8862
8863         * lyxrow_funcs. [Ch]: new files
8864
8865         * lyxrow.[Ch]: remove next and previous pointers
8866         (next,previous): remove accessor functions
8867         (isParEnd): move to lyxrow_funcs
8868         (lastPos): move to lyxrow_funcs
8869         (nextRowIsAllInset): move to lyxrow_funcs
8870         (lastPrintablePos): move to lyxrow_funcs
8871         (numberOfSeparators): move to lyxrow_funcs
8872         (numberOfHfills): move to lyxrow_funcs
8873         (numberOfLabelHfills): move to lyxrow_funcs
8874         (hfillExpansion): move to lyxrow_funcs
8875
8876         * lyxfunc.C: adjust
8877
8878         * bufferview_funcs.C (toggleAndShow): adjust
8879
8880         * RowList.h: Remove class RowList from file leave just a
8881         std::list<Row>.
8882
8883         * RowList.C: delete file
8884
8885         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
8886         and lyxrow_funcs.h
8887
8888 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8889
8890         * text3.C (cursorPrevious): adjust
8891         (cursorNext): adjust
8892         (dispatch): adjust
8893
8894         * text2.C (redoHeightOfParagraph): adjust
8895         (redoDrawingOfParagraph): adjust
8896         (setCursor): adjust
8897
8898         * text.C (breakParagraph): adjust
8899         (insertChar): adjust
8900         (backspace): adjust
8901
8902         * rowpainter.C (RowPainter): adjust
8903         (leftMargin): simplify and adjust
8904         (most rowpainter functions): adjust.
8905
8906         * rowpainter.h: store the row as RowList::iterator not as Row*
8907
8908         * lyxcursor.C (row): taka RowList::iterator as arg
8909         (irow): ditto
8910
8911         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
8912         of Row*.
8913
8914 2003-04-01  Angus Leeming  <leeming@lyx.org>
8915
8916         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
8917         stuff like bool Bool.
8918
8919 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
8920
8921         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
8922         rewrite a loop
8923
8924 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8925
8926         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
8927         RowList::iterator.
8928
8929         * lyxtext.h (rows): drop one version and leve a const variant that
8930         returns a RowList::iterator.
8931
8932 2003-03-31  Angus Leeming  <leeming@lyx.org>
8933
8934         * text.C (fill): ensure that the signature is the same as that in the
8935         header file.
8936
8937 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
8938
8939         * text2.C (redoParagraphs): adjust
8940         (updateCounters): adjust
8941         (checkParagraph): adjust
8942         (getColumnNearX): adjust and reformat a bit.
8943
8944         * text.C (top_y): adjust
8945         (workWidth): adjust
8946         (leftMargin): adjust
8947         (prepareToPrint): adjust
8948         (getRow): adjust
8949         (getRowNearY): adjust
8950
8951         * lyxtext.h: make rowlist_ mutable.
8952
8953         * RowList.h: add const_iterator
8954         * RowList.C: adjust for RowList::const_iterator.
8955
8956         * text2.C (getCursorX): make it take a RowList::iterator as arg,
8957         adjust.
8958
8959 2003-03-31  John Levon  <levon@movementarian.org>
8960
8961         * lyxrc.h:
8962         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
8963
8964         * lyx_main.C: set default fonts from using lyx_gui funcs
8965
8966         * exporter.C: pdf_mode moved from lyxrc
8967
8968         * lyx_cb.C:
8969         * lyxfunc.C: changes from above
8970
8971 2003-03-31  John Levon  <levon@movementarian.org>
8972
8973         * lyx_main.C: fix to the last fix
8974
8975 2003-03-31  John Levon  <levon@movementarian.org>
8976
8977         * bufferlist.C: "Load original" -> "Load Original"
8978
8979         * converter.C:
8980         * exporter.C:
8981         * importer.C:
8982         * lyx_main.C:
8983         * format.C: more Alert cleanups
8984
8985 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
8986
8987         * text2.C (removeParagraph): make it take a RowList::iterator as
8988         arg, adjust.
8989         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
8990         (postRowPaint): make it take a RowList::iterator as arg, adjust.
8991
8992         * text.C (anchor_row): make it take a RowList::iterator as arg,
8993         adjust.
8994         (computeBidiTables): make it take a const reference to Row instead
8995         of Row pointer, adjust.
8996         (leftMargin): make it take a RowList::iterator as arg, adjust.
8997         (rowBreakPoint): adjust
8998         (breakAgainOneRow): make it take a RowList::iterator as arg,
8999         adjust.
9000         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
9001
9002         * bufferview_funcs.C (toggleAndShow): adjust
9003
9004 2003-03-30  John Levon  <levon@movementarian.org>
9005
9006         * Makefile.am:
9007         * BoostFormat.h:
9008         * boost-inst.C: moved to support
9009
9010         * several files: changes as a result
9011
9012 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
9013
9014         * text2.C (LyXText): adjust.
9015         (init): adjust
9016         (removeRow): make it take a RowList::iterator as arg, adjust.
9017         (fullRebreak): adjust
9018         (deleteEmptyParagraphMechanism): adjust
9019         (clearPaint): adjust
9020         (postPaint): adjust
9021
9022         * text.C (top_y): adjust
9023         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
9024         (breakAgain): make it take a RowList::iterator as arg, adjust.
9025         (breakParagraph): adjust
9026         (insertChar): adjust
9027         (backspace): adjust
9028
9029         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
9030         need_break_row, and refresh_row.
9031
9032         * text3.C (dispatch): adjust
9033
9034         * text2.C (checkParagraph): adjust
9035         (setCursor): adjust
9036         (setCursorFromCoordinates): adjust
9037
9038         * text.C (top_y): adjust
9039         (workWidth): adjust
9040         (getRow): make it return a RowList::iterator, adjust
9041         (getRowNearY): make it return a RowList::iterator, adjust
9042
9043         * text2.C (init): adjust
9044         (insertRow): remove function
9045         (insertParagraph): adjust
9046         (redoParagraphs): adjust
9047         (fullRebreak): adjust
9048         (updateCounters): adjust
9049
9050         * text.C (top_y): rewrite to use RowList iterators.
9051         (top_y): adjust
9052         (setHeightOfRow): rewrite to sue RowList iterators.
9053         (appendParagraph): adjust
9054         (breakAgain): adjust
9055         (breakAgainOneRow): adjust
9056         (breakParagraph): adjust
9057         (getRow): adjust
9058         (getRowNearY): adjust, and remove commented code.
9059
9060         * lyxtext.h (firstRow): delete function
9061         (lastRow): delete function
9062         (rows): new function (const and non-const versions.)
9063         (insertRow): delete function
9064
9065         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
9066
9067 2003-03-29  John Levon  <levon@movementarian.org>
9068
9069         * BufferView_pimpl.C: always update scrollbar top
9070         because pasting text when we're anchored could mean we
9071         miss an update altogether
9072
9073 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
9074
9075         * text2.C (init): use rowlist_.end() and not 0.
9076         (insertRow): change to take a RowList::iterator as arg, adjust
9077         for this.
9078         (insertParagraph): change to take a RowList::iterator as arg,
9079         adjust for this.
9080         (redoParagraphs): remove some debug msgs.
9081
9082         * text.C (appendParagraph): change to take a RowList::iterator
9083         arg, adjust for this.
9084         (breakAgain): add an assert
9085         (breakAgainOneRow): ditto
9086
9087 2003-03-29  John Levon  <levon@movementarian.org>
9088
9089         * text2.C: do not clear selection after inc/decDepth
9090         (bug 550)
9091
9092 2003-03-29  John Levon  <levon@movementarian.org>
9093
9094         * BufferView.C:
9095         * buffer.C: fix broken strerrors according to Lars
9096
9097 2003-03-29  John Levon  <levon@movementarian.org>
9098
9099         * converters.C: more Alert cleanups
9100
9101 2003-03-29  John Levon  <levon@movementarian.org>
9102
9103         * bufferview_funcs.C: remove pointless Alert
9104
9105         * buffer.C: fix confusing error message when
9106         a template is chmoded 000
9107
9108 2003-03-29  John Levon  <levon@movementarian.org>
9109
9110         * BufferView.C:
9111         * BufferView.h:
9112         * BufferView_pimpl.C: Alert fixes
9113
9114         * Makefile.am:
9115         * tabular.C:
9116         * tabular-old.C: remove unused table compat reading
9117
9118 2003-03-29  John Levon  <levon@movementarian.org>
9119
9120         * BufferView.C:
9121         * buffer.C:
9122         * lyx_cb.h:
9123         * lyx_cb.C: more Alert cleanups
9124
9125         * lyxfunc.C: don't allow chktex if not latex document
9126
9127 2003-03-29  John Levon  <levon@movementarian.org>
9128
9129         * lyx_cb.C:
9130         * BufferView.C:
9131         * buffer.C: warnings pushed down from support/,
9132         kill err_alert
9133
9134 2003-03-29  John Levon  <levon@movementarian.org>
9135
9136         * lyxfunc.C: safety check for C-r (revert)
9137
9138 2003-03-29  John Levon  <levon@movementarian.org>
9139
9140         * bufferlist.h:
9141         * bufferlist.C: several UI fixes using Alert::prompt.
9142         Fix the pointless looping quit code. Fix stupid revert
9143         behaviour (bug 938)
9144
9145         * lyxvc.h:
9146         * lyxvc.C:
9147         * lyx_cb.C: use Alert::prompt
9148
9149         * lyx_main.C: remove a silly question
9150
9151         * lyxfunc.C: remove a couple of silly questions,
9152         use Alert::prompt
9153
9154 2003-03-28  John Levon  <levon@movementarian.org>
9155
9156         * text2.C: fix bug 974 (End on empty par)
9157
9158 2003-03-28  John Levon  <levon@movementarian.org>
9159
9160         * BufferView_pimpl.C:
9161         * LyXAction.C:
9162         * lfuns.h: remove do-nothing math greek lfuns
9163
9164 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
9165
9166         * lyxgluelength.h (isValidGlueLength): add default arg on
9167         parameter 2. Remove default arg from friend in class.
9168
9169         * lyxlength.h (isValidLength): add default arg on parameter 2.
9170         Remove default arg from friend in class.
9171
9172         * text2.C (LyXText): adjust, initialize refresh_row.
9173         (init): adjust
9174         (removeRow): adjust
9175         (insertRow): adjust
9176         (insertParagraph): adjst
9177         (redoParagraphs): adjust
9178         (fullRebreak): adjust
9179         (updateCounters): adjust
9180         (deleteEmptyParagraphMechanism): first attempt at fixing a
9181         crashing bug.
9182
9183         * text.C (top_y): adjust
9184         (setHeightOfRow): adjust
9185         (getRow): adjust
9186         (getRowNearY): adjust
9187
9188         * lyxtext.h: include RowList.h
9189         (~LyXText): not needed anymore, deleted.
9190         (firstRow): modify for RowList
9191         (lastRow): new function
9192         Delete firstrow and lastrow class variables, add a Rowlist
9193         rowlist_ class variable.
9194
9195         * lyxrow.C (lastPos): use empty() and not !size() to check if a
9196         paragraph is empty.
9197
9198         * RowList.C (insert): fix case where it == begin().
9199
9200 2003-03-26  Angus Leeming  <leeming@lyx.org>
9201
9202         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
9203         the thesaurus dialog.
9204
9205 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
9206
9207         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
9208
9209         * RowList.[Ch]: new files
9210
9211         * ParagraphList.C (erase): handle the case where it == begin
9212         correctly.
9213
9214 2003-03-25  John Levon  <levon@movementarian.org>
9215
9216         * Makefile.am:
9217         * aspell_local.h:
9218         * aspell.C: add new aspell support
9219
9220         * lyxrc.h:
9221         * lyxrc.C: Make use_pspell be use_spell_lib. Always
9222         have it accessible.
9223
9224 2003-03-25  Angus Leeming  <leeming@lyx.org>
9225
9226         * lfuns.h:
9227         * LyXAction.C (init): new LFUN_INSET_INSERT.
9228
9229         * BufferView_pimpl.C (dispatch): split out part of the
9230         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
9231
9232         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
9233         LFUN_INSET_APPLY.
9234
9235 2003-03-25  Angus Leeming  <leeming@lyx.org>
9236
9237         * lyxfunc.C (dispatch): changes to the Dialogs interface.
9238
9239 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
9240
9241         * text2.C:
9242         * text3.C: remove useless row->height(0)
9243
9244 2003-03-25  John Levon  <levon@movementarian.org>
9245
9246         * lyxtext.h:
9247         * text2.C:
9248         * text3.C: rename the refreshing stuff to better names
9249
9250 2003-03-24  John Levon  <levon@movementarian.org>
9251
9252         * BufferView_pimpl.h:
9253         * BufferView_pimpl.C: update layout choice on a mouse
9254         press/release
9255
9256 2003-03-23  John Levon  <levon@movementarian.org>
9257
9258         * Makefile.am: fix commandtags.h reference
9259
9260 2003-03-22  John Levon  <levon@movementarian.org>
9261
9262         * BufferView_pimpl.C:
9263         * lyxtext.h:
9264         * rowpainter.C:
9265         * rowpainter.h:
9266         * text.C:
9267         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
9268
9269 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
9270
9271         * lyxtext.h:
9272         * text.C: take the rtl methods out of line
9273
9274 2003-03-21 André Pönitz <poenitz@gmx.net>
9275
9276         * metricsinfo.[Ch]: new files containing structures to be passed around
9277         during the two-phase-drawing...
9278
9279 2003-03-21 André Pönitz <poenitz@gmx.net>
9280
9281         * lyxtextclass.C: read 'environment' tag.
9282
9283 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
9284
9285         * text2.C (removeRow): fix bug 964
9286
9287 2003-03-20  John Levon  <levon@movementarian.org>
9288
9289         * rowpainter.C:
9290         * text.C:
9291         * text2.C: paint cleanups. Inset::update() dropped font
9292         parameter
9293
9294 2003-03-19  John Levon  <levon@movementarian.org>
9295
9296         * lyxfunc.C: only fitcursor/markDirty if available()
9297
9298 2003-03-19  John Levon  <levon@movementarian.org>
9299
9300         * commandtags.h: rename to ...
9301
9302         * lfuns.h: ... this, and renumber / cleanup
9303
9304 2003-03-19  John Levon  <levon@movementarian.org>
9305
9306         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
9307         fit the cursor after an lfun
9308
9309         * BufferView.h:
9310         * BufferView.C:
9311         * BufferView_pimpl.h:
9312         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
9313
9314         * LyXAction.C: layout-character should have ReadOnly
9315
9316         * ParagraphParameters.C:
9317         * buffer.C:
9318         * bufferview_funcs.C:
9319         * lyx_cb.C:
9320         * lyxfind.C:
9321         * lyxtext.h:
9322         * text.C:
9323         * text2.C:
9324         * text3.C:
9325         * undo_funcs.C: changes from above
9326
9327 2003-03-18  John Levon  <levon@movementarian.org>
9328
9329         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
9330         remove it from update()
9331
9332         * lyxfunc.C: update layout choice after an lfun
9333
9334         * text3.C: remove extra updateLayoutChoice()s
9335
9336 2003-03-18  John Levon  <levon@movementarian.org>
9337
9338         * text.C: top_y change means full repaint, fix
9339         a drawing bug with cursor movement
9340
9341 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
9342
9343         * lyxtext.h:
9344         * text.C:
9345         * text2.C: anchor row on setCursor
9346
9347 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
9348
9349         * lyxtext.h: remove almost all mutable keywords
9350         * text.C:
9351         * text2.C:
9352         * text3.C: remove const keywords accordingly
9353
9354 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
9355
9356         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
9357         anon namespace
9358         (TeXEnvironment): ditto
9359         (TeXOnePar): ditto
9360
9361 2003-03-17  John Levon  <levon@movementarian.org>
9362
9363         * text.C (rowBreakPoint): remove attempt to fix displayed
9364         math insets inside a manual label
9365
9366 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
9367
9368         * lyxtext.h: remove BufferView* as first arg from almost all class
9369         functions.
9370         * other files: adjust.
9371
9372 2003-03-17  John Levon  <levon@movementarian.org>
9373
9374         * lyxtext.h:
9375         * undo_funcs.C:
9376         * text2.C: more paint cleanups
9377
9378         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
9379
9380         * rowpainter.h:
9381         * rowpainter.C: remove "smart" background painting code
9382
9383 2003-03-16  John Levon  <levon@movementarian.org>
9384
9385         * lyxtext.h:
9386         * text.C:
9387         * text2.C:
9388         * text3.C: add helper functions for setting refresh_row/y
9389
9390 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
9391
9392         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
9393         newline inset which *can* get inserted in the pass_thru layouts.
9394         This is primarily for literate documents.
9395
9396 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
9397
9398         * buffer.C: increment LYX_FORMAT to 223
9399
9400 2003-03-14 André Pönitz <poenitz@gmx.net>
9401
9402         * textclass.h: prepare for environment handling, ws changes
9403         * lyxlayout.C: read latexheader and latexfooter tags
9404
9405 2003-03-14  John Levon  <levon@movementarian.org>
9406
9407         * text2.C: rewrite ::status() a bit
9408
9409 2003-03-13  John Levon  <levon@movementarian.org>
9410
9411         * lyxtext.h: add some docs
9412
9413 2003-03-13  John Levon  <levon@movementarian.org>
9414
9415         * lyxtext.h:
9416         * text.C:
9417         * text2.C:
9418         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
9419
9420 2003-03-13  John Levon  <levon@movementarian.org>
9421
9422         * text3.C: fix appendix redrawing
9423
9424 2003-03-13  John Levon  <levon@movementarian.org>
9425
9426         * text.C (setHeightOfRow):
9427         * rowpainter.h:
9428         * rowpainter.C: make appendix mark have the text
9429           "Appendix" so the user knows what it is
9430
9431         * LColor.h:
9432         * LColor.C: s/appendixline/appendix/ from above
9433
9434 2003-03-13  John Levon  <levon@movementarian.org>
9435
9436         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
9437
9438         * text.C: fix a getChar(pos) bug properly
9439
9440 2003-03-13  Angus Leeming  <leeming@lyx.org>
9441
9442         * commandtags.h:
9443         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
9444         Probably only temporary. Let's see how things pan out.
9445
9446         * BufferView.C (unlockInset):
9447         * BufferView_pimpl.C (fitCursor):
9448         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
9449
9450         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
9451         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
9452
9453         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
9454         new functions that convert ParagraphParameters to and from a string.
9455
9456         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
9457         BufferView::Pimpl's dispatch.
9458         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
9459
9460 2003-03-13 André Pönitz <poenitz@gmx.net>
9461
9462         * lyxfunc.C:
9463         * text3.C:
9464         * factory.C: make it aware of InsetEnv
9465
9466 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
9467
9468         * text2.C (setCursor): never ask for one past last
9469         (setCursor): add some debugging messages.
9470
9471         * text.C (singleWidth): never ask for one past last
9472         (singleWidth): ditto
9473         (leftMargin): ditto
9474         (rightMargin): ditto
9475         (rowBreakPoint): ditto
9476         (setHeightOfRow): ditto
9477         (prepareToPrint): ditto
9478
9479         * rowpainter.C (paintBackground): never ask for one past last
9480         (paintText): never ask for one past last
9481
9482         * paragraph_pimpl.C (getChar): make the assert stricter, never
9483         allow the one past last pos to be taken
9484
9485         * paragraph.C (getChar): ws changes only
9486
9487         * lyxrow.C (nextRowIsAllInset): never ask for one past last
9488         (numberOfSeparators): ditto
9489         (numberOfHfills): ditto
9490
9491 2003-03-12  John Levon  <levon@movementarian.org>
9492
9493         * author.h:
9494         * author.C:
9495         * bufferparams.h:
9496         * bufferparams.C:
9497         * paragraph_funcs.C: fix per-buffer authorlists
9498
9499 2003-03-12  John Levon  <levon@movementarian.org>
9500
9501         * text.C: fix newline in right address
9502
9503 2003-03-12  Angus Leeming  <leeming@lyx.org>
9504
9505         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
9506         duplicate those in LyXFunc::dispatch.
9507
9508         * commandtags.h:
9509         * LyXAction.C:
9510         * ToolbarDefaults.C:
9511         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
9512         Add LFUN_FONTFREE_UPDATE.
9513
9514         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
9515         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
9516
9517         * bufferview_func.[Ch]: several new functions to facilliate
9518         transfer of data to and from the character dialog.
9519
9520 2003-03-12  John Levon  <levon@movementarian.org>
9521
9522         * buffer.C:
9523         * paragraph.h:
9524         * paragraph.C:
9525         * paragraph_funcs.C:
9526         * paragraph_pimpl.C:
9527         * sgml.C:
9528         * tabular.C:
9529         * text.C:
9530         * text3.C: remove META_NEWLINE in favour of an inset
9531
9532         * rowpainter.h:
9533         * rowpainter.C: remove paintNewline (done by inset)
9534
9535 2003-03-12  John Levon  <levon@movementarian.org>
9536
9537         * paragraph_pimpl.C: complain about bad getChar()s
9538         for a while at least
9539
9540 2003-03-12  John Levon  <levon@movementarian.org>
9541
9542         * buffer.h:
9543         * buffer.C: move paragraph read into a separate function,
9544         a little renaming to reflect that.
9545
9546         * bufferparams.h:
9547         * bufferparams.C: remove the author_ids map, not necessary now
9548
9549         * factory.h:
9550         * factory.C: moved Buffer::readInset to here
9551
9552         * paragraph_funcs.h:
9553         * paragraph_funcs.C: readParagraph free function moved from
9554         buffer.C
9555
9556         * tabular.C: name change
9557
9558 2003-03-12  John Levon  <levon@movementarian.org>
9559
9560         * buffer.C:
9561         * ParagraphParameters.C: move par params input to
9562         a read() method
9563
9564         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
9565         behave like a normal read from the stream wrt reading
9566         a line vs. a \\token
9567
9568 2003-03-12  John Levon  <levon@movementarian.org>
9569
9570         * paragraph.C:
9571         * ParagraphParameters.h:
9572         * ParagraphParameters.C: move output code to a
9573         ::write() method
9574
9575 2003-03-12  John Levon  <levon@movementarian.org>
9576
9577         * BufferView.C (insertLyXFile):
9578         * buffer.h:
9579         * buffer.C:
9580         * tabular.C: use a parlist iterator for creating the
9581           document.
9582
9583 2003-03-12  John Levon  <levon@movementarian.org>
9584
9585         * buffer.C: make current_change static local not
9586           static file-scope
9587
9588 2003-03-12  John Levon  <levon@movementarian.org>
9589
9590         * buffer.C: fix insertStringAsLines for change tracking
9591
9592 2003-03-12  John Levon  <levon@movementarian.org>
9593
9594         * BufferView.C:
9595         * tabular.C:
9596         * buffer.h:
9597         * buffer.C:
9598         * bufferparams.h:
9599         * bufferparams.C: move author list into params. Rename some
9600           functions. Move the header reading into a separate token
9601           loop. Move the header token reading into BufferParams.
9602
9603 2003-03-12  John Levon  <levon@movementarian.org>
9604
9605         * changes.C: put debug inside lyxerr.debugging() checks
9606
9607 2003-03-11 André Pönitz <poenitz@gmx.net>
9608
9609         * factory.C: make it aware of InsetHFill
9610
9611 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9612
9613         * buffer.C (latexParagraphs): move function from here...
9614         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
9615         args.
9616
9617 2003-03-10  Angus Leeming  <leeming@lyx.org>
9618
9619         * LyXAction.C (init): fix bug in poplating array with multiple entries
9620         with the same LFUN (spotted by JMarc).
9621
9622 2003-03-10  John Levon  <levon@movementarian.org>
9623
9624         * text.C:
9625         * text2.C: move getColumnNearX() near its
9626         only call site
9627
9628 2003-03-10  John Levon  <levon@movementarian.org>
9629
9630         * text.C: fix break before a minipage
9631
9632 2003-03-10  John Levon  <levon@movementarian.org>
9633
9634         * text.C: fix the last commit
9635
9636 2003-03-09  John Levon  <levon@movementarian.org>
9637
9638         * lyxtext.h:
9639         * text.C:
9640         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
9641         bug 365 (don't break before insets unless needed). Don't
9642         return a value > last under any circumstances.
9643
9644 2003-03-09  Angus Leeming  <leeming@lyx.org>
9645
9646         * BufferView_pimpl.C (trackChanges, dispatch): call
9647         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
9648
9649 2003-03-09  Angus Leeming  <leeming@lyx.org>
9650
9651         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
9652         than Dialogs::showAboutlyx().
9653
9654 2003-03-09  Angus Leeming  <leeming@lyx.org>
9655
9656         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
9657         than Dialogs::showTabularCreate().
9658
9659 2003-03-09  John Levon  <levon@movementarian.org>
9660
9661         * lyxtext.h:
9662         * text.C:
9663         * text2.C: 3rd arg to nextBreakPoint was always the same.
9664           Use references.
9665
9666 2003-03-08  John Levon  <levon@movementarian.org>
9667
9668         * lyxrow.C:
9669         * paragraph.C:
9670         * paragraph.h:
9671         * rowpainter.C:
9672         * text.C:
9673         * text2.C: Remove the "main" bit from the "main body"
9674           notion.
9675
9676 2003-03-08  John Levon  <levon@movementarian.org>
9677
9678         * text.C (leftMargin): The left margin of an empty
9679         manual label paragraph should not include the label width
9680         string length.
9681
9682         * text.C (prepareToPrint): don't attempt to measure hfills
9683         for empty manual label paragraphs - the answer should be 0
9684
9685 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
9686
9687         * CutAndPaste.C: remove commented code and reindent.
9688
9689 2003-03-08  John Levon  <levon@movementarian.org>
9690
9691         * lyxfunc.h:
9692         * lyxfunc.C: move reloadBuffer()
9693
9694         * BufferView.h:
9695         * BufferView.C: to here
9696
9697         * lyxvc.C: add comment
9698
9699         * vc-backend.h:
9700         * vc-backend.C: call bv->reload() to avoid
9701           getStatus() check on MENURELOAD
9702
9703 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
9704
9705         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
9706         to an old format .dep file.
9707
9708 2003-03-07  Angus Leeming  <leeming@lyx.org>
9709
9710         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
9711         when the LFUN_MOUSE_RELEASE should have been handled by
9712         inset->localDispatch.
9713
9714 2003-03-07  Angus Leeming  <leeming@lyx.org>
9715
9716         * BufferView_pimpl.C (dispatch):
9717         * LyXAction.C (init):
9718         * ToolbarDefaults.C (init):
9719         * commandtags.h:
9720         * lyxfunc.C (getStatus):
9721         remove LFUN_INSET_GRAPHICS.
9722
9723         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
9724
9725 2003-03-07  Angus Leeming  <leeming@lyx.org>
9726
9727         * commandtags.h:
9728         * LyXAction.C (init):
9729         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
9730
9731         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
9732
9733         * commandtags.h:
9734         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
9735
9736         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
9737         localDispatch method LFUN_INSET_DIALOG_UPDATE.
9738
9739 2003-03-07  Angus Leeming  <leeming@lyx.org>
9740
9741         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
9742         remove "ert".
9743
9744 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
9745
9746         * ParagraphList.C (front): new function
9747         (back): implement
9748
9749 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
9750
9751         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
9752         and top_row_offset_. removed var first_y.
9753         * text.C (top_y):
9754         * text2.C (LyXText, removeRow):
9755         * text3.C:
9756         * BufferView_pimpl.C:
9757         use these methods instead of using first_y
9758
9759 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
9760
9761         * text2.C (pasteSelection): adjust for checkPastePossible
9762
9763         * CutAndPaste.C: remove Paragraph * buf and replace with
9764         ParagraphList paragraphs.
9765         (DeleteBuffer): delete
9766         (cutSelection): change the tc type to textclass_type
9767         (copySelection): change the tc type to textclass_type
9768         (copySelection): adjust for ParagraphList
9769         (pasteSelection): change the tc type to textclass_type
9770         (pasteSelection): adjust for Paragraphlist
9771         (nrOfParagraphs): simplify for ParagraphList
9772         (checkPastePossible): simplify for ParagraphList
9773         (checkPastePossible): remove unused arg
9774
9775         * ParagraphList.C (insert): handle the case where there are no
9776         paragraphs yet.
9777
9778         * CutAndPaste.h: make CutAndPaste a namespace.
9779
9780         * text3.C (dispatch): adjust
9781
9782         * text.C (breakParagraph): add a ParagraphList as arg
9783
9784         * paragraph_funcs.C (breakParagraph): change to take a
9785         BufferParams and a ParagraphList as args.
9786         (breakParagraphConservative): ditto
9787         (mergeParagraph): ditto
9788         (TeXDeeper): add a ParagraphList arg
9789         (TeXEnvironment): ditto
9790         (TeXOnePar): ditto
9791
9792         * buffer.C (readLyXformat2): adjust
9793         (insertStringAsLines): adjust
9794         (latexParagraphs): adjust
9795
9796         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
9797         (cutSelection): adjust
9798         (pasteSelection): adjust
9799
9800         * BufferView_pimpl.C (insertInset): adjust
9801
9802 2003-03-05  Angus Leeming  <leeming@lyx.org>
9803
9804         * commandtags.h:
9805         * LyXAction.C (init):
9806         * BufferView_pimpl.C (dispatch):
9807         * lyxfunc.C (getStatus):
9808         remove LFUN_CHILD_INSERT.
9809
9810         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
9811
9812 2003-03-05  Angus Leeming  <leeming@lyx.org>
9813
9814         * commandtags.h:
9815         * LyXAction.C (init):
9816         * src/factory.C (createInset):
9817         * lyxfunc.C (getStatus):
9818         * text3.C (dispatch):
9819         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
9820
9821         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
9822
9823 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
9824
9825         * ParagraphList.C (insert): handle insert right before end()
9826         (erase): fix cases where it can be first or last paragraph.
9827
9828 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9829
9830         * paragraph_funcs.C (TeXEnvironment): remove all usage of
9831         Paragraph::next and Paragraph::previous
9832         (TeXOnePar): ditto
9833
9834         * text.C (breakParagraph): adjust
9835
9836         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
9837         BufferParams& as arg.
9838         (breakParagraph): use ParagraphList::insert
9839         (breakParagraphConservative): take a Buffer* instead of a
9840         BufferParams& as arg.
9841         (breakParagraphConservative): use ParagraphList::insert.
9842
9843         * buffer.C (insertStringAsLines): un-const it
9844         (insertStringAsLines): adjust
9845
9846         * ParagraphList.C (insert): new function
9847
9848         * CutAndPaste.C (pasteSelection): adjust
9849
9850         * text.C (backspace): adjust
9851
9852         * tabular.C (SetMultiColumn): adjust
9853
9854         * CutAndPaste.C (cutSelection): adjust
9855         (pasteSelection): adjust
9856
9857         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
9858         Buffer const * as arg
9859
9860         * ParagraphList.C (erase): new function
9861         * paragraph_funcs.C (mergeParagraph): use it
9862         (mergeParagraph): make it take a Buffer* instead of a
9863         BufferParams* as arg
9864
9865         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
9866         as arg
9867         (breakParagraphConservative): ditto
9868
9869         * paragraph.h: remove the breakParagraph friend
9870
9871         * paragraph.C (eraseIntern): new function
9872         (setChange): new function
9873
9874         * paragraph_funcs.C (mergeParagraph): make it take a
9875         ParagraphList::iterator instead of a Paragraph *, adjust
9876         accordingly.
9877
9878         * paragraph.h: move an #endif so that the change tracking stuff
9879         also works in the NO_NEXT case.
9880
9881 2003-03-04  Angus Leeming  <leeming@lyx.org>
9882
9883         * commandtags.h:
9884         * LyXAction.C: new LFUN_INSET_MODIFY.
9885
9886         * BufferView_pimpl.C (dispatch): if an inset is found to be open
9887         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
9888
9889 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9890
9891         * several files: ws changes only
9892
9893         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
9894         (TeXEnvironment): ditto
9895         (TeXDeeper): ditto
9896
9897         * buffer.C (makeLaTeXFile): adjust
9898         (latexParagraphs): make it take ParagraphList::iterator as args
9899
9900 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
9901
9902         * buffer.C (latexParagraphs): adjust
9903
9904         * paragraph.C (TeXOnePar): move function...
9905         (optArgInset): move function...
9906         (TeXEnvironment): move function...
9907         * paragraph_pimpl.C (TeXDeeper): move function...
9908         * paragraph_funcs.C: ...here
9909
9910         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
9911
9912 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
9913
9914         * buffer.C (readInset): remove compability code for old Figure and
9915         InsetInfo insets
9916
9917 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
9918
9919         * buffer.C: ws changes
9920         (readInset):
9921
9922         * BufferView_pimpl.C: ditto
9923         * author.C: ditto
9924         * buffer.h: ditto
9925         * bufferlist.h: ditto
9926         * changes.h: ditto
9927         * lyxfunc.C: ditto
9928
9929 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
9930
9931         * converter.[Ch]: split into itself +
9932         * graph.[Ch]
9933         * format.[Ch]
9934         * Makefile.am: += graph.[Ch] + format.[Ch]
9935         * MenuBackend.C
9936         * buffer.C
9937         * exporter.C
9938         * importer.C
9939         * lyx_main.C
9940         * lyxfunc.C
9941         * lyxrc.C: added #include "format.h"
9942
9943 2003-02-27  Angus Leeming  <leeming@lyx.org>
9944
9945         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
9946           a label.
9947
9948         * factory.C (createInset): add "label" to the factory.
9949
9950         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
9951           string and do no more.
9952
9953 2003-02-27  Angus Leeming  <leeming@lyx.org>
9954
9955         * commandtags.h:
9956         * LyXAction.C (init):
9957         * factory.C (createInset):
9958         * BufferView_pimpl.C (dispatch):
9959           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
9960
9961         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
9962
9963         * lyxfunc.C (dispatch):
9964         * text3.C (dispatch): pass name to params2string.
9965
9966 2003-02-26  Angus Leeming  <leeming@lyx.org>
9967
9968         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
9969           blocks together.
9970           Rearrange the ~includes. Strip out the unnecessary ones.
9971
9972         * factory.C (createInset): reformat.
9973           create new insets for the various LFUN_XYZ_APPLY lfuns.
9974
9975 2003-02-26  John Levon  <levon@movementarian.org>
9976
9977         * lyxrow.h:
9978         * lyxrow.C: add isParStart,isParEnd helpers
9979
9980         * paragraph.h: make isInserted/DeletedText take refs
9981
9982         * paragraph_funcs.h:
9983         * paragraph_funcs.C: remove #if 0'd code
9984
9985         * lyxtext.h:
9986         * text3.C:
9987         * text2.C:
9988         * text.C: use lyxrow helpers above.
9989           Move draw and paint routines to RowPainter.
9990           Make several methods use refs not pointers.
9991           Make backgroundColor() const.
9992           Add markChangeInDraw(), isInInset().
9993           Merge changeRegionCase into changeCase.
9994           Make workWidth() shouldn't-happen code into an Assert.
9995
9996         * rowpainter.h:
9997         * rowpainter.C: new class for painting a row.
9998
9999         * vspace.h:
10000         * vspace.C: make inPixels take a ref
10001
10002 2003-02-26  Angus Leeming  <leeming@lyx.org>
10003
10004         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
10005         LFUN_REF_APPLY.
10006
10007 2003-02-25  John Levon  <levon@movementarian.org>
10008
10009         * ispell.C: give the forked command a more accurate name
10010
10011 2003-02-22  John Levon  <levon@movementarian.org>
10012
10013         * toc.h:
10014         * toc.C: make TocItem store an id not a Paragraph *
10015           (bug #913)
10016
10017 2003-02-21  Angus Leeming  <leeming@lyx.org>
10018
10019         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
10020           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
10021           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
10022           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
10023           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
10024           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
10025
10026         * BufferView_pimpl.C (dispatch):
10027         * LyXAction.C (init):
10028         * factory.C (createInset):
10029         * lyxfunc.C (getStatus, dispatch):
10030         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
10031
10032 2003-02-21  Angus Leeming  <leeming@lyx.org>
10033
10034         * BufferView_pimpl.C (MenuInsertLyXFile):
10035         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
10036         * lyxfunc.C (menuNew, open, doImport):
10037           no longer pass a LyXView & to fileDlg.
10038
10039 2003-02-21  Angus Leeming  <leeming@lyx.org>
10040
10041         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
10042         * LyXAction.C: change, BIBKEY to BIBITEM.
10043         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
10044         Change InsetBibKey to InsetBibitem.
10045         Change BIBKEY_CODE to BIBITEM_CODE.
10046         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
10047         * factory.C: replace insetbib.h with insetbibitem.h.
10048         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
10049         * paragraph.C: replace insetbib.h with insetbibitem.h.
10050         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
10051         Change bibkey() to bibitem().
10052         * text.C: remove insetbib.h.
10053         * text2.C: replace insetbib.h with insetbibitem.h.
10054         change bibkey() to bibitem().
10055         * text3.C: remove insetbib.h.
10056         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
10057
10058 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10059
10060         * lyxrc.C (output): enclose user email in quotes (in case there are
10061         several words)
10062
10063 2003-02-18  John Levon  <levon@movementarian.org>
10064
10065         * buffer.h: add std::
10066
10067 2003-02-17  John Levon  <levon@movementarian.org>
10068
10069         * SpellBase.h:
10070         * ispell.h:
10071         * ispell.C:
10072         * pspell.h:
10073         * pspell.C: reworking. Especially in ispell, a large
10074           number of clean ups and bug fixes.
10075
10076         * lyxfunc.C: fix revert to behave sensibly
10077
10078 2003-02-17 André Pönitz <poenitz@gmx.net>
10079
10080         * LyXAction.C:
10081         * commandtags.h: new LFUN_INSERT_BIBKEY
10082
10083         * layout.h:
10084         * lyxlayout.C:
10085         * buffer.C:
10086         * factory.C:
10087         * text.C:
10088         * text2.C:
10089         * text3.C:
10090         * paragraph.[Ch]:
10091         * paragraph_func.C: remove special bibkey handling
10092
10093 2003-02-17  John Levon  <levon@movementarian.org>
10094
10095         * text.C (Delete): fix case where delete at the end of
10096           the very first paragraph would not merge the pars
10097
10098 2003-02-17  John Levon  <levon@movementarian.org>
10099
10100         * lyxrow.C: fix lastPrintablePos()
10101
10102 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10103
10104         * bufferparams.C (writeLaTeX): add a std:here
10105
10106         * buffer.C: and remove a using directive there
10107
10108 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10109
10110         * buffer.C (makeLaTeXFile): move the code that generates the
10111           preamble...
10112
10113         * bufferparams.C (writeLaTeX): ... in this new method
10114
10115         * LaTeXFeatures.C (getEncodingSet): make const
10116           (getLanguages): make const
10117
10118         * MenuBackend.C (binding): returns the binding associated to this
10119           action
10120           (add): sets the status of each item by calling getStatus. Adds
10121           some intelligence.
10122           (read): add support for OptSubMenu
10123           (expand): remove extra separator at the end of expanded menu
10124
10125 2003-02-15  John Levon  <levon@movementarian.org>
10126
10127         * BufferView.C:
10128         * BufferView_pimpl.C:
10129         * bufferlist.h:
10130         * bufferlist.C: remove pointless BufferStorage bloat. Remove
10131           inset code that had no actual effect. Remove unneeded status
10132           code.
10133
10134 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10135
10136         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
10137           in preamble
10138
10139 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
10140
10141         * text.C (drawLengthMarker): also draw an arrow marker for
10142           symbolic lengths (medskip...)
10143
10144 2003-02-14  John Levon  <levon@movementarian.org>
10145
10146         * tabular.h:
10147         * tabular.C: better method names
10148
10149 2003-02-14  John Levon  <levon@movementarian.org>
10150
10151         * BufferView_pimpl.C:
10152         * bufferlist.C:
10153         * buffer.C:
10154         * converter.C:
10155         * lyx_cb.C:
10156         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
10157           it's a more accurate name. Remove some pointless uses.
10158
10159 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10160
10161         * text2.C (LyXText): change order of initilizers to shut off
10162           warnings
10163
10164 2003-02-14  John Levon  <levon@movementarian.org>
10165
10166         * buffer.C: use ParIterator for getParFromID()
10167
10168         * paragraph.h:
10169         * paragraph.C:
10170         * paragraph_pimpl.h:
10171         * paragraph_pimpl.C: remove unused getParFromID()
10172
10173 2003-02-14  John Levon  <levon@movementarian.org>
10174
10175         * buffer.C: remove some very old #if 0'd parse code
10176
10177 2003-02-13  John Levon  <levon@movementarian.org>
10178
10179         * text.h:
10180         * text.C:
10181         * text2.C: move hfillExpansion(), numberOfSeparators(),
10182           rowLast(), rowLastPrintable(), numberofHfills(),
10183           numberOfLabelHfills() ...
10184
10185         * lyxrow.h:
10186         * lyxrow.C: ... to member functions here.
10187
10188         * paragraph.h:
10189         * paragraph.C:
10190         * lyxtext.h:
10191         * text.C: remove LyXText::beginningOfMainBody(), and call
10192           p->beginningOfMainBody() directly. Move the check for
10193           LABEL_MANUAL into the latter.
10194
10195         * text.h:
10196         * text.C:
10197         * text2.C:
10198         * vspace.C:
10199         * BufferView.h:
10200         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
10201
10202         * text.h:
10203         * text.C:
10204         * text2.C:
10205         * text3.C:
10206         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
10207           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
10208
10209 2003-02-13  John Levon  <levon@movementarian.org>
10210
10211         * CutAndPaste.C: remove debug
10212
10213 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10214
10215         * paragraph.C (asString): remove two unused variables
10216
10217         * lyxtextclass.C (readTitleType):
10218           (Read):
10219           (LyXTextClass): handle new members titletype_ and titlename_
10220
10221         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
10222
10223 2003-02-09  John Levon  <levon@movementarian.org>
10224
10225         * buffer.h:
10226         * buffer.C: replace hand-coded list with a map for the dep clean
10227
10228 2003-02-08  John Levon  <levon@movementarian.org>
10229
10230         * LaTeX.C: consolidate code into showRunMessage() helper
10231
10232 2003-02-08  John Levon  <levon@movementarian.org>
10233
10234         * lyxfind.C:
10235         * lyxtext.h:
10236         * text2.C:
10237         * BufferView.C: change setSelectionOverString() to setSelectionRange()
10238           and pass the size in explicitly
10239
10240         * BufferView_pimpl.h:
10241         * BufferView_pimpl.C:
10242         * BufferView.h:
10243         * BufferView.C: add getCurrentChange()
10244
10245         * BufferView_pimpl.h:
10246         * BufferView_pimpl.C: handle change lfuns
10247
10248         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
10249           for changes. Mark pasted paragraphs as new.
10250
10251         * support/lyxtime.h:
10252         * support/lyxtime.C:
10253         * DepTable.C: abstract time_t as lyx::time_type
10254
10255         * LColor.h:
10256         * LColor.C: add colours for new text, deleted text, changebars
10257
10258         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
10259           package use "usenames" option.
10260
10261         * commandtags.h:
10262         * lyxfunc.C:
10263         * LyXAction.C: add change lfuns
10264
10265         * Makefile.am:
10266         * author.h:
10267         * author.C: author handling
10268
10269         * buffer.h:
10270         * buffer.C: add a per-buffer author list, with first entry as
10271           current author. Handle new .lyx tokens for change tracking. Output
10272           author list to .lyx file. Output dvipost stuff to .tex preamble.
10273           Bump lyx format to 222.
10274
10275         * bufferlist.h:
10276         * bufferlist.C: add setCurrentAuthor() to reset current author details
10277           in all buffers.
10278
10279         * bufferparams.h:
10280         * bufferparams.C: add param for tracking
10281
10282         * bufferview_funcs.C: output change info in minibuffer
10283
10284         * Makefile.am:
10285         * changes.h:
10286         * changes.C: add change-tracking structure
10287
10288         * debug.h:
10289         * debug.C: add CHANGES debug flag
10290
10291         * lyxfind.h:
10292         * lyxfind.C: add code for finding the next change piece
10293
10294         * lyxrc.h:
10295         * lyxrc.C: add user_name and user_email
10296
10297         * lyxrow.h:
10298         * lyxrow.C: add a metric for the top of the text line
10299
10300         * lyxtext.h:
10301         * text.C: implement accept/rejectChange()
10302
10303         * lyxtext.h:
10304         * text.C: paint changebars. Paint new/deleted text in the chosen
10305         colours. Strike through deleted text.
10306
10307         * paragraph.h:
10308         * paragraph.C:
10309         * paragraph_pimpl.h:
10310         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
10311           in the current change to the insert functions. Rework erase to
10312           mark text as deleted, adding an eraseIntern() and a range-based
10313           erase(). Implement per-paragraph change lookup and
10314           accept/reject.
10315
10316         * paragraph_funcs.C: Fixup paste for change tracking.
10317
10318         * tabular.C: mark added row/columns as new.
10319
10320         * text.C: fix rowLast() to never return -1. Don't allow
10321           spellchecking of deleted text. Track transpose changes. Don't
10322           allow paragraph break or merge where appropriate.
10323
10324         * text2.C: leave cursor at end of selection after a cut.
10325
10326 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10327
10328         * text.C (getLengthMarkerHeight):
10329         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
10330         visible on screen too.
10331
10332 2003-02-07  John Levon  <levon@movementarian.org>
10333
10334         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
10335
10336 2003-02-05  Angus Leeming  <leeming@lyx.org>
10337
10338         * lyxserver.C (read_ready): revert my patch of 11 September last year
10339         as it sends PC cpu through the roof. Presumably this means that
10340         the lyxserver will no longer run on an Alpha...
10341
10342 2003-01-30  Angus Leeming  <leeming@lyx.org>
10343
10344         * factory.C (createInset): create an InsetCommandParam of type "index"
10345         and use it to 'do the right thing'.
10346
10347         * text2.C (getStringToIndex): ensure that cursor position is always
10348         reset to the reset_cursor position.
10349
10350 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10351
10352         * lyxfunc.C (getStatus): "buffer-export custom" should never be
10353         disabled.
10354
10355 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
10356
10357         * bufferview.C:
10358         * lyxcb.C:
10359         * lyxfunc.C: Output messages with identical spelling, punctuation,
10360         and spaces
10361
10362 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
10363
10364         * MenuBackend.C (expandFormats): List only viewable export formats
10365         in "View" menu
10366
10367         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
10368         message
10369
10370         * lyxfunc.C (getStatus): Make sure that formats other than
10371         "fax" can also be disabled
10372
10373 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10374
10375         * text3.C (dispatch): put the lfuns that insert insets in 3
10376         groups, and call doInsertInset with appropriate arguments.
10377         (doInsertInset): new function, that creates an inset and inserts
10378         it according to some boolean parameters.
10379
10380 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
10381
10382         * buffer.C (readFile): remember to pass on 'par' when calling
10383         readFile recursively.
10384
10385 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10386
10387         * MenuBackend.C (expandFormats): add "..." to import formats.
10388
10389 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
10390
10391         * paragraph.C (asString): Remove XForms RTL hacks.
10392
10393 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
10394         * buffer.C: fix typo
10395
10396 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
10397
10398         * Makefile.am (LIBS): delete var
10399         (lyx_LDADD): add @LIBS@ here instead.
10400
10401 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
10402
10403         * Clarify the meaning of "wheel mouse jump"
10404
10405 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10406
10407         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
10408         tabular in a float
10409
10410 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10411
10412         * importer.C (Loaders): do not preallocate 3 elements in the
10413         vector, since one ends up with 6 elements otherwise
10414
10415 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10416
10417         * DepTable.C (write): write the file name as last element of the
10418         .dep file (because it may contain spaces)
10419         (read): read info in the right order
10420
10421 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10422
10423         * paragraph_pimpl.C (simpleTeXBlanks):
10424         (simpleTeXSpecialChars):
10425         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
10426
10427         * tabular.C (latex): add some missing case statements. Reindent.
10428
10429         * MenuBackend.C (expandToc): remove unused variable.
10430
10431 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
10432
10433         * LColor.C:
10434         * LaTeX.C:
10435         * LyXAction.C:
10436         * MenuBackend.C:
10437         * buffer.C:
10438         * exporter.C:
10439         * lyxfunc.C:
10440         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
10441         and the like.
10442
10443 2003-01-05  John Levon  <levon@movementarian.org>
10444
10445         * BufferView.h:
10446         * BufferView.C: add getEncoding()
10447
10448         * kbsequence.h:
10449         * kbsequence.C: do not store last keypress
10450
10451         * lyxfunc.h:
10452         * lyxfunc.C: store last keypress here instead. Pass encoding
10453           to getISOEncoded()
10454
10455 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10456
10457         * lyx_main.C (init): remove annoying error message when following
10458         symbolic links (bug #780)
10459
10460 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10461
10462         * text.C (insertChar):
10463         * lyxrc.C (getDescription): remove extra spaces
10464
10465 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10466
10467         * lyxrc.C (getDescription): remove extra spaces
10468
10469 2002-12-20  John Levon  <levon@movementarian.org>
10470
10471         * text3.C: hack fix for page up/down across tall rows
10472
10473 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10474
10475         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
10476         not been invoked
10477
10478 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10479
10480         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
10481         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
10482         thesaurus is not compiled in
10483
10484 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
10485
10486         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
10487
10488 2002-12-16  Angus Leeming  <leeming@lyx.org>
10489
10490         * lyxrc.[Ch]:
10491         * lyx_main.C (init): remove override_x_deadkeys stuff.
10492
10493 2002-12-12  John Levon  <levon@movementarian.org>
10494
10495         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
10496           insert. Only remove shift modifier under strict
10497           circumstances.
10498
10499 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
10500
10501         * MenuBackend.C (expandToc): fix crash.
10502
10503 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
10504
10505         * MenuBackend.C (expandToc): gettext on float names.
10506
10507 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
10508
10509         * lyxlength.[Ch]: set default unit to UNIT_NONE,
10510         implement bool empty() [bug 490]
10511
10512 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
10513
10514         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
10515
10516 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
10517
10518         * several files: ws changes
10519
10520 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
10521
10522         * text2.C (setCounter): clean up a bit, use boost.format.
10523         (updateCounters): initialize par upon declaration.
10524
10525         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
10526         if the layout exists. We do not just store the layout any more.
10527         (SwitchLayoutsBetweenClasses): use boost.format
10528
10529 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10530
10531         * converter.C (convert): if from and to files are the same, use a
10532         temporary files as intermediary
10533
10534 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10535
10536         * commandtags.h:
10537         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
10538
10539 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
10540
10541         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
10542
10543 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
10544
10545         * tabular.C (asciiPrintCell): use string(size, char) instead of
10546         explicit loop.
10547
10548         * sgml.C (openTag): fix order of arguments to string constructor
10549         (closeTag): ditto
10550
10551         * lyxfunc.C (dispatch): use boost.format
10552
10553         * lots of files: change "c" -> 'c'
10554
10555 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
10556
10557         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
10558
10559 2002-11-25  Angus Leeming  <leeming@lyx.org>
10560
10561         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
10562
10563         * lyx_main.C (init): compile fix.
10564
10565 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
10566
10567         * lyx_cb.C (start): boost.formatify
10568         do not include <iostream>
10569
10570         * lengthcommon.C: ws only
10571
10572         * boost-inst.C,BoostFormat.h: add more explict instantations
10573
10574 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
10575
10576         * lots of files: handle USE_BOOST_FORMAT
10577
10578 2002-11-21  John Levon  <levon@movementarian.org>
10579
10580         * pspell.C: fix compile
10581
10582 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10583
10584         * lyxfunc.C (dispatch): use boost::format
10585         (open): ditto
10586         (doImport): ditto
10587
10588         * lyxfont.C (stateText): use boost::format
10589
10590         * lyx_main.C (LyX): use boost::format
10591         (init): ditto
10592         (queryUserLyXDir): ditto
10593         (readRcFile): ditto
10594         (parse_dbg): ditto
10595         (typedef boost::function): use the recommened syntax.
10596
10597         * importer.C (Import): use boost::format
10598
10599         * debug.C (showLevel): use boost::format
10600
10601         * converter.C (view): use boost::format
10602         (convert): ditto
10603         (move): ditto
10604         (scanLog): ditto
10605
10606         * bufferview_funcs.C (currentState): use boost::format
10607
10608         * bufferlist.C (emergencyWrite): use boost::format
10609
10610         * buffer.C (readLyXformat2): use boost::format
10611         (parseSingleLyXformat2Token): ditto
10612
10613         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
10614
10615         * LaTeX.C (run): use boost::format
10616
10617         * Chktex.C (scanLogFile): use boost::format
10618
10619         * BufferView_pimpl.C (savePosition): use boost::format
10620         (restorePosition): ditto
10621         (MenuInsertLyXFile): ditto
10622
10623         * BoostFormat.h: help file for explicit instation.
10624
10625 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
10626
10627         * tabular.C (latex): Support for block alignment in fixed width
10628         columns.
10629
10630 2002-11-17  John Levon  <levon@movementarian.org>
10631
10632         * BufferView_pimpl.C:
10633         * lyx_cb.C:
10634         * lyxfunc.C: split filedialog into open/save
10635
10636 2002-11-08  Juergen Vigna  <jug@sad.it>
10637
10638         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
10639         by my last patch (hopefully).
10640
10641 2002-11-08  John Levon  <levon@movementarian.org>
10642
10643         * iterators.h:
10644         * iterators.C:
10645         * buffer.h:
10646         * buffer.C:
10647         * paragraph.h:
10648         * paragraph.C:
10649         * toc.h:
10650         * toc.C: ParConstIterator, and use it (from Lars)
10651
10652 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
10653
10654         * lyxtextclass.[Ch]: revise and add doxygen comments
10655
10656 2002-11-07  John Levon  <levon@movementarian.org>
10657
10658         * text.C: fix progress value for spellchecker
10659
10660         * toc.C: fix navigate menu for insetwrap inside minipage
10661
10662         * paragraph_funcs.C: added FIXME for suspect code
10663
10664 2002-11-07  John Levon  <levon@movementarian.org>
10665
10666         * BufferView_pimpl.C: fix redrawing of insets
10667           on buffer switch
10668
10669 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10670
10671         * text2.C (updateCounters): fix bug 668
10672
10673 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
10674
10675         * text3.C (dispatch): Do not make the buffer dirty when moving the
10676         cursor.
10677
10678 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
10679
10680         * vc-backend.C: STRCONV
10681         (scanMaster): ditto
10682
10683         * text2.C (setCounter): STRCONV
10684
10685         * paragraph.C (asString): STRCONV
10686
10687         * lyxlength.C (asString): STRCONV
10688         (asLatexString): ditto
10689
10690         * lyxgluelength.C (asString): STRCONV
10691         (asLatexString): ditto
10692
10693         * lyxfunc.C (dispatch): STRCONV
10694         (open): ditto
10695
10696         * lyxfont.C (stateText): STRCONV
10697
10698         * importer.C (Import): STRCONV
10699
10700         * counters.C (labelItem): STRCONV
10701         (numberLabel): ditto
10702         (numberLabel): remove unused ostringstream o
10703
10704         * chset.C: STRCONV
10705         (loadFile): ditto
10706
10707         * bufferview_funcs.C (currentState): STRCONV
10708
10709         * buffer.C (readFile): STRCONV
10710         (asciiParagraph): ditto
10711         (makeLaTeXFile): ditto
10712
10713         * Spacing.C (writeEnvirBegin): STRCONV
10714
10715         * LaTeXFeatures.C (getLanguages): STRCONV
10716         (getPackages): ditto
10717         (getMacros): ditto
10718         (getBabelOptions): ditto
10719         (getTClassPreamble): ditto
10720         (getLyXSGMLEntities): ditto
10721         (getIncludedFiles): ditto
10722
10723         * LaTeX.C: STRCONV
10724         (run): ditto
10725         (scanAuxFile): ditto
10726         (deplog): ditto
10727
10728         * LString.h: add the STRCONV macros
10729
10730         * BufferView_pimpl.C (savePosition): STRCONV
10731         (restorePosition): ditto
10732         (MenuInsertLyXFile): ditto
10733
10734         * vc-backend.C (scanMaster): change from submatch[...] to
10735         submatch.str(...)
10736
10737         * funcrequest.C: include config.h
10738
10739         * factory.C: include config.h
10740
10741         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
10742
10743         * box.C: include config.h
10744
10745         * LaTeX.C (scanAuxFile): change from submatch[...] to
10746         submatch.str(...)
10747         (deplog): ditto
10748
10749 2002-10-25  Angus Leeming  <leeming@lyx.org>
10750
10751         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
10752
10753         * ispell.[Ch] (setError): new method.
10754         * ispell.C (c-tor): move out child process into new class LaunchIspell.
10755         Use setError() insetead of goto END.
10756
10757         * lyx_cb.C (AutoSave): move out child process into new class
10758         AutoSaveBuffer.
10759
10760 2002-10-30  John Levon  <levon@movementarian.org>
10761
10762         * text3.C: make start appendix undoable
10763
10764 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
10765
10766         * lyxlength.C (inPixels): Fix returned value.
10767
10768         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
10769         environment.
10770
10771 2002-10-24  Angus Leeming  <leeming@lyx.org>
10772
10773         * lyxgluelength.h: no need to forward declare BufferParams
10774         or BufferView, so don't.
10775
10776 2002-10-21  John Levon  <levon@movementarian.org>
10777
10778         * BufferView.C: menuUndo ->undo, redo
10779
10780         * BufferView.h: document, remove dead, make some methods private
10781
10782         * paragraph_funcs.h:
10783         * paragraph_funcs.C:
10784         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
10785
10786         * buffer.h:
10787         * buffer.C:
10788         * sgml.h:
10789         * sgml.C: move sgml open/close tag into sgml.C
10790
10791         * bufferview_funcs.h: unused prototype
10792
10793         * lyxfunc.h:
10794         * lyxfunc.C: remove unused
10795
10796         * lyxtext.h:
10797         * text.C: remove unused
10798
10799 2002-10-21  John Levon  <levon@movementarian.org>
10800
10801         * BufferView.h:
10802         * BufferView.C:
10803         * BufferView_pimpl.h:
10804         * BufferView_pimpl.C: fix mouse wheel handling based on
10805           patch from Darren Freeman
10806
10807 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
10808
10809         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
10810
10811 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
10812
10813         * lyxlength.C (inPixels): Fix hanfling of negative length.
10814         Fix LyXLength::MU case.
10815
10816 2002-10-16  John Levon  <levon@movementarian.org>
10817
10818         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
10819
10820 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10821
10822         * converter.C (view): add support for $$i (file name) and $$p
10823         (file path) for the viewer command. If $$i is not specified, then
10824         it is appended to the command (for compatibility with old syntax)
10825
10826 2002-10-14  Juergen Vigna  <jug@sad.it>
10827
10828         * undo_funcs.C (textHandleUndo): alter the order in which the
10829         new undopar is added to the LyXText, as we have to set first
10830         the right prev/next and then add it as otherwise the rebuild of
10831         LyXText is not correct. Also reset the cursor to the right paragraph,
10832         with this IMO we could remove the hack in "redoParagraphs()".
10833
10834 2002-10-09  Angus Leeming  <leeming@lyx.org>
10835
10836         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
10837         to turn off an optimisation if a new inset is to be inserted.
10838
10839 2002-10-11 André Pönitz <poenitz@gmx.net>
10840
10841         * lyxtext.h: make some functions public to allow access
10842         from inset/lyxtext for handling LFUN_PRIOR/NEXT
10843
10844 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10845
10846         * text3.C (dispatch): when changing layout, avoid an infinite loop
10847         [bug #652]
10848
10849 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10850
10851         * lyxrc.C (read): treat a viewer or converter command of "none" as
10852         if it were empty.
10853
10854         * MenuBackend.C (expandFormats): for an update, also allow the
10855         formats that are not viewable
10856
10857         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
10858         script if it is newer than the lyxrc.defaults in user directory
10859
10860 2002-10-07 André Pönitz <poenitz@gmx.net>
10861
10862         * text.C: Vitaly Lipatov's small i18n fix
10863
10864 2002-09-25  Angus Leeming  <leeming@lyx.org>
10865
10866         * ispell.h: doxygen fix.
10867
10868 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
10869
10870         * buffer.h (readFile): Add a new argument to the method, to allow
10871         reading of old-format templates.
10872
10873 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
10874
10875         * toc.C (getTocList): Get TOC from InsetWrap.
10876
10877 2002-09-16  John Levon  <levon@movementarian.org>
10878
10879         * lyxfunc.C: check tabular for cut/copy too
10880
10881 2002-09-12  John Levon  <levon@movementarian.org>
10882
10883         * LyXAction.C: tidy
10884
10885         * factory.h:
10886         * factory.C: add header
10887
10888         * paragraph_funcs.h:
10889         * paragraph_funcs.C: cleanup
10890
10891 2002-09-11  John Levon  <levon@movementarian.org>
10892
10893         * PrinterParams.h: odd/even default to true
10894
10895 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
10896
10897         * PrinterParams.h: update printer parameters for new xforms dialog
10898
10899 2002-09-11  Angus Leeming  <leeming@lyx.org>
10900
10901         * lyxserver.C (read_ready): re-write to make it more transparent
10902         and to make it work in coherent fashion under Tru64 Unix.
10903
10904 2002-09-11  André Pönitz <poenitz@gmx.net>
10905
10906         * commandtags.h:
10907         * LyXAction.C:
10908         * text3.C: implement LFUN_WORDSEL
10909
10910 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
10911
10912         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
10913         make floatlist_ a boost::shared_ptr<FloatList>
10914
10915         * lyxtextclass.C: include FloatList.h
10916         (LyXTextClass): initialize floatlist_
10917         (TextClassTags): add TC_NOFLOAT
10918         (Read): match "nofloat" to TC_NOFLOAT and use it.
10919         (readFloat): modify call to floatlist_
10920         (floats): ditto
10921         (floats): ditto
10922
10923         * FloatList.[Ch] (FloatList): remove commented out float
10924         initialization.
10925         (erase): new function
10926
10927 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10928
10929         * MenuBackend.C (expandToc): fix crash when there is no document
10930         open
10931
10932 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
10933
10934         * many files: Add insetwrap.
10935
10936 2002-09-09  John Levon  <levon@movementarian.org>
10937
10938         * text2.C: remove confusing and awkward depth wraparound
10939
10940 2002-09-09  John Levon  <levon@movementarian.org>
10941
10942         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
10943
10944         * buffer.h:
10945         * buffer.C: remove getIncludeonlyList()
10946
10947         * paragraph.C:
10948         * lyxfunc.C: remove headers
10949
10950 2002-09-09  Juergen Vigna  <jug@sad.it>
10951
10952         * text.C (getColumnNearX): fix form Michael this is most
10953         probably a cut&paste bug.
10954
10955 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
10956
10957         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
10958
10959         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
10960         references, ws changes.
10961
10962         * text2.C (init): update counters after init
10963         (insertParagraph): no need to set counter on idividual paragraphs.
10964         (setCounter): access the counters object in the textclass object
10965         on in the buffer object.
10966         (updateCounters): ditto
10967
10968         * lyxtextclass.C: include counters.h, add variable ctrs_ as
10969         shared_ptr<Counters> to avoid loading counters.h in all
10970         compilation units.
10971         (LyXTextClass): initialize ctrs_
10972         (TextClassTags): add TC_COUNTER, and ...
10973         (Read): use it here.
10974         (CounterTags): new tags
10975         (readCounter): new function
10976         (counters): new funtion
10977         (defaultLayoutName): return a const reference
10978
10979         * counters.C (Counters): remove contructor
10980         (newCounter): remove a couple of unneeded statements.
10981         (newCounter): simplify a bit.
10982         (numberLabel): some small formatting changes.
10983
10984         * buffer.[Ch]: remove all traces of counters, move the Counters
10985         object to the LyXTextClass.
10986
10987 2002-09-06  Alain Castera  <castera@in2p3.fr>
10988
10989         * tabular.C: uses \tabularnewline; uses >{...} construct from array
10990         package to set the horizontal alignment on fixed width columns.
10991
10992         * lyx_sty.C:
10993         * lyx_sty.h: added tabularnewline macro def.
10994
10995         * LaTeXFeatures.C: added NeedTabularnewline macro feature
10996
10997 2002-09-06  John Levon  <levon@movementarian.org>
10998
10999         * LyXAction.C: tooltips for sub/superscript
11000
11001         * MenuBackend.C: a bit more verbose
11002
11003         * lyxfunc.C: tiny clean
11004
11005         * undo_funcs.C: document undo_frozen
11006
11007 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
11008
11009         * counters.C (Counters): add missing algorithm counter.
11010
11011         * text2.C (setCounter): lookup the counter with layouts latexname
11012         instead of by section number.
11013         (setCounter): use a hackish way to lookup the correct enum
11014         counter.
11015         a float name->type change
11016         reset enum couners with counter name directly instead of depth value.
11017
11018         * counters.C (Counters): remove the push_backs, change to use the
11019         float type not the float name.
11020         (labelItem): remove unused string, float name->type change
11021
11022         * counters.h: don't include vector, loose the enums and sects vectors
11023
11024 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
11025
11026         * lyxtextclass.C (TextClassTags): add TC_FLOAT
11027         (Read): add float->TC_FLOAT to textclassTags
11028         (Read): and handle it in the switch
11029         (readFloat): new function
11030
11031         * FloatList.C (FloatList): comment out the hardcoded float
11032         definitions.
11033
11034         * lyxlayout.h: ws change.
11035
11036 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
11037
11038         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
11039
11040 2002-09-03  Angus Leeming  <leeming@lyx.org>
11041
11042         * BufferView_pimpl.h: qualified name is not allowed in member
11043         declaration: WorkArea & Pimpl::workarea() const;
11044
11045         * factory.C: added using std::endl directive.
11046
11047         * text3.C: added using std::find and std::vector directives.
11048
11049 2002-08-29  André Pönitz <poenitz@gmx.net>
11050
11051         * lyxtext.h:
11052         * text2.C: remove unused member number_of_rows
11053
11054         * Makefile.am:
11055         * BufferView2.C: remove file, move contents to...
11056         * BufferView.C: ... here
11057
11058         * BufferView_pimpl.C:
11059         * factory.C: move more inset creation to factory
11060
11061         * vspace.C: avoid direct usage of LyXText, ws changes
11062
11063         * BufferView.[Ch]:
11064                 don't provide direct access to WorkArea, use two simple
11065                 acessors haveSelction() and workHeight() instead
11066
11067
11068 2002-08-29  John Levon  <levon@movementarian.org>
11069
11070         * BufferView_pimpl.C (dispatch): do not continue when
11071           no buffer
11072
11073 2002-08-28  André Pönitz <poenitz@gmx.net>
11074
11075         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
11076
11077         * BufferView.h:
11078         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
11079
11080 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
11081
11082         * buffer.C: increment LYX_FORMAT to 221
11083
11084         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
11085         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
11086
11087         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
11088
11089         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
11090
11091 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11092
11093         * factory.C (createInset): use LyXTextClass::floats
11094
11095         * MenuBackend.C (expandFloatListInsert):
11096         (expandFloatInsert):
11097         (expandToc):
11098
11099         * text2.C (setCounter):
11100
11101         * LaTeXFeatures.C (useFloat):
11102         (getFloatDefinitions):
11103
11104         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
11105
11106         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
11107         floatlist_, with accessor floats().
11108
11109         * FloatList.h: remove global FloatList
11110
11111 2002-08-26  André Pönitz <poenitz@gmx.net>
11112
11113         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
11114
11115         * BufferView.h:
11116         * BufferView2.C:
11117         * BufferView_pimpl.C:
11118         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
11119
11120 2002-08-25  John Levon  <levon@movementarian.org>
11121
11122         * LyXAction.C: fix margin note description
11123
11124 2002-08-24  John Levon  <levon@movementarian.org>
11125
11126         * buffer.C:
11127         * bufferlist.C:
11128         * bufferview_funcs.C:
11129         * lyxfont.C:
11130         * undo_funcs.C: cleanups
11131
11132         * lyxfunc.C: disable CUT/COPY when no selection
11133
11134 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
11135
11136         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
11137         in "enum UNIT"; e.g. PTW for Percent of TextWidth
11138
11139         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
11140         Add backward compatibility to "mono", "gray" and "no".
11141
11142 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
11143
11144         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
11145         (and file_format >= 200).
11146
11147 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11148
11149         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
11150
11151 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11152
11153         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
11154
11155 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
11156
11157         * BufferView_pimpl.C:
11158         * LyXAction.C:
11159         * buffer.C:
11160         * commandtags.h:
11161         * lyxfunc.C:
11162         * paragraph.[Ch]:
11163         * text2.C:
11164         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
11165         inset and code to make it  work with the paragraph code. The inset
11166         can be anywhere in the paragraph, but will only do the expected
11167         thing in LaTeX if the layout file contains the parameter line
11168                         OptionalArgs    1
11169         (or more generally, a nonzero value) for that layout.
11170
11171 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
11172
11173         * paragraph.h: remove the declaration of undefined counters class
11174         function.
11175
11176 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
11177
11178         * text2.C (setCounter):  fixed enumeration mis-count as reported by
11179         Dr. Richard Hawkins.
11180
11181 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11182
11183         * paragraph_funcs.h: remove some unneeded includes
11184
11185         * text.C (backspace): pasteParagraph now in global scipe
11186
11187         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
11188         (pasteSelection): ditto
11189
11190         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
11191         * paragraph_funcs.C (pasteParagraph): ... here
11192
11193 2002-08-20  André Pönitz <poenitz@gmx.net>
11194
11195         * commandtags.h: new LFUNs for swapping/copying table row/colums
11196
11197         * LyXAction.C:
11198         * lyxfunc.C: support for new lfuns
11199
11200 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
11201
11202         * tabular.C:
11203         * buffer.[Ch]: remove NO_COMPABILITY stuff
11204
11205 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
11206
11207         * boost.C (throw_exception): new file, with helper function for
11208         boost compiled without exceptions.
11209
11210         * paragraph.h:
11211         * lyxlength.C:
11212         * buffer.C:
11213         * ParameterStruct.h:
11214         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
11215
11216         * bufferlist.C (emergencyWriteAll): use boost bind
11217
11218         * BufferView_pimpl.C (moveCursorUpdate): remove inline
11219
11220         * text.C: include paragraph_funcs.h
11221         (breakParagraph): breakParagraph is now in global scope
11222
11223         * paragraph_funcs.[Ch]: new files
11224
11225         * paragraph.C (breakParagraph,breakParagraphConservative): move to
11226         global scope
11227
11228         * buffer.C: include paragraph_funcs.h
11229         (insertStringAsLines): breakParagraph is now in global scope
11230
11231         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
11232         paragraph_funcs.C
11233
11234         * CutAndPaste.C: include paragraph_funcs.h
11235         (cutSelection): breakParagraphConservative is now in global scope
11236         (pasteSelection): ditto
11237
11238         * buffer.h: declare oprator== and operator!= for
11239         Buffer::inset_iterator
11240
11241         * bufferlist.C (emergencyWrite): don't use fmt(...)
11242
11243         * text3.C: add using std::endl
11244
11245         * BufferView.C (moveCursorUpdate): remove default arg
11246
11247 2002-08-20  André Pönitz <poenitz@gmx.net>
11248
11249         * buffer.[Ch]: move inline functions to .C
11250
11251         * BufferView2.C:
11252         * BufferView_pimpl.C:
11253         * text.C:
11254         * buffer.[Ch]: use improved inset_iterator
11255
11256         * buffer.C:
11257         * paragraph.[Ch]: write one paragraph at a time
11258
11259 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
11260
11261         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
11262         style if style is not specified.
11263
11264 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11265
11266         * text2.C (setCounter): when searching for right label for a
11267         caption, make sure to recurse to parent insets (so that a caption
11268         in a minipage in a figure float works) (bug #568)
11269
11270 2002-08-20  André Pönitz <poenitz@gmx.net>
11271
11272         * text3.C: new file for LyXText::dispatch() and helpers
11273
11274         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
11275
11276         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
11277
11278 2002-08-19  André Pönitz <poenitz@gmx.net>
11279
11280         * lyxtext.h:
11281         * text.C: new LyXText::dispatch()
11282
11283         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
11284
11285 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
11286
11287         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
11288
11289         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
11290         Hebrew text.
11291
11292 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11293
11294         * Makefile.am: use $(variables) instead of @substitutions@
11295
11296 2002-08-15  André Pönitz <poenitz@gmx.net>
11297
11298         * lyxfunc.C:
11299         * BufferView_pimpl.C: streamlining mathed <-> outer world
11300         interaction
11301
11302         * commandtags.h:
11303         * LyXAction.C: remove unused LFUN_MATH
11304
11305 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
11306
11307         * paragraph.[Ch]: add some NO_NEXT ifdefs.
11308
11309 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
11310
11311         * paragraph.C (Paragraph): reformat a bit
11312         (cutIntoMinibuffer): use builtin InsetList function instad of
11313         doing it manually.
11314         (getInset): ditto
11315
11316         * buffer.C: include boost/bind.hpp, add using std::for_each
11317         (writeFileAscii): use ParagraphList iterators
11318         (validate): use for_each for validate traversal of paragraphs
11319         (getBibkeyList): use ParagraphList iterators
11320         (resizeInsets): use for_each to resizeInsetsLyXText for all
11321         paragraphs.
11322         (getParFromID): use ParagraphList iterators
11323
11324         * BufferView2.C (lockInset): use paragraph list and iterators
11325
11326 2002-08-14  John Levon  <levon@movementarian.org>
11327
11328         * lyxserver.C: remove spurious xforms include
11329
11330 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11331
11332         * lyxfunc.C (getStatus): disable math-extern outside of math mode
11333
11334 2002-08-13  André Pönitz <poenitz@gmx.net>
11335
11336         * LyXAction.[Ch]:
11337         * lyxfunc.C: further cleaning
11338
11339 2002-08-13  André Pönitz <poenitz@gmx.net>
11340
11341         * funcrequest.h: new constructor
11342
11343         * funcrequest.C: move stuff here from .h
11344
11345         * Makefile.am:
11346         * BufferView_pimpl.C:
11347         * LyXAction.C:
11348         * toc.C:
11349         * lyxfunc.C: subsequent changes
11350
11351         * lyxfunc.h: new view() member function
11352
11353         * lyxfunc.C: subsequent changes
11354
11355 2002-08-13  Angus Leeming  <leeming@lyx.org>
11356
11357         * BufferView2.C:
11358         * BufferView_pimpl.C:
11359         * buffer.C:
11360         * converter.C:
11361         * importer.C:
11362         * lyxfunc.C:
11363         * lyxvc.C:
11364         * toc.C:
11365         * vc-backend.C:
11366         changes due to the changed LyXView interface that now returns references
11367         to member variables not pointers.
11368
11369 2002-08-13  Angus Leeming  <leeming@lyx.org>
11370
11371         * WordLangTuple (word, lang_code): return references to strings,
11372         not strings.
11373
11374         * BufferView.h:
11375         * SpellBase.h:
11376         * lyxtext.h: forward-declare WordLangTuple.
11377
11378         * BufferView2.C:
11379         * ispell.C:
11380         * pspell.C:
11381         * text.C: #include "WordLangTuple.h".
11382
11383         * lyxtext.h:
11384         * text.C: (selectNextWordToSpellcheck): constify return type.
11385
11386 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
11387
11388         * buffer.C:
11389         * buffer.h:
11390         * lyxtext.h:
11391         * paragraph.C:
11392         * paragraph_pimpl.h:
11393         * text.C:
11394         * text2.C:
11395         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
11396         suggested by Angus.
11397         Made updateCounter always count from start of buffer, and removed
11398         second argument (par).
11399         Reverted floats number display to '#'. Perhaps I'll try again when the
11400         code base is sanitized a bit.
11401
11402 2002-08-12  Angus Leeming  <leeming@lyx.org>
11403
11404         * buffer.[Ch] (getLabelList): constify.
11405
11406 2002-08-07  André Pönitz <poenitz@gmx.net>
11407
11408         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
11409
11410         * funcrequest.h: extension to keep mouse (x,y) position
11411
11412 2002-08-12  Juergen Vigna  <jug@sad.it>
11413
11414         * BufferView2.C (insertErrors): forbid undo when inserting error
11415         insets.
11416
11417         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
11418
11419 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
11420
11421         * ParagraphList.[Ch]: new files
11422
11423         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
11424
11425         * BufferView2.C (lockInset): ParagraphList changes
11426         * toc.C: ditto
11427         * text2.C: ditto
11428         * bufferlist.C: ditto
11429         * buffer.h: ditto
11430         * buffer.C: ditto
11431
11432 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
11433
11434         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
11435         unused class variable counter_,
11436
11437         * paragraph.[Ch] (getFirstCounter): delete unused function
11438
11439         * counters.C: include LAssert.h
11440         (reset): add a new function with no arg, change other version to
11441         not have def. arg and to not allow empty arg.
11442
11443         * text2.C (setCounter): remove empty arg from call to Counters::reset
11444
11445 2002-08-11  John Levon  <levon@movementarian.org>
11446
11447         * Makefile.am: add WordLangTuple.h
11448
11449 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
11450
11451         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
11452         lyxfunc.C lyxlex_pimpl.C: ws changes only.
11453
11454         * insets/insettext.C: InsetList changes
11455
11456         * graphics/GraphicsSupport.C (operator()): InsetList changes
11457
11458         * toc.C (getTocList): InsetList changes
11459
11460         * paragraph_pimpl.[Ch]: InsetList changes
11461
11462         * paragraph.[Ch]: InsetList changes
11463
11464         * buffer.C (inset_iterator): InsetList changes
11465         (setParagraph): ditto
11466         * buffer.h (inset_iterator): ditto
11467         * iterators.C (operator++): ditto
11468         * iterators.h: ditto
11469
11470         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
11471
11472         * InsetList.[Ch]: new files, most InsetList handling moved out of
11473         paragraph.C.
11474
11475         * BufferView2.C (removeAutoInsets): InsetList changes
11476         (lockInset): ditto
11477         (ChangeInsets): ditto
11478
11479 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
11480
11481         * paragraph_pimpl.h (empty): new function
11482
11483         * paragraph.[Ch] (empty): new function
11484
11485         * other files: use the new Paragraph::empty function
11486
11487 2002-08-09  John Levon  <levon@movementarian.org>
11488
11489         * lyxtext.h: remove unused refresh_height
11490
11491 2002-08-09  John Levon  <levon@movementarian.org>
11492
11493         * Makefile.am:
11494         * sgml.h:
11495         * sgml.C:
11496         * buffer.C:
11497         * paragraph.h:
11498         * paragraph.C: move sgml char escaping out of paragraph
11499
11500         * paragraph.h:
11501         * paragraph.C: remove id setter
11502
11503         * buffer.C:
11504         * paragraph.C:
11505         * paragraph_pimpl.C: remove dead tex_code_break_column
11506
11507         * bufferview_funcs.C: small cleanup
11508
11509         * lyxfunc.C: remove dead proto
11510
11511         * lyxtext.h: make some stuff private. Remove some dead stuff.
11512
11513         * lyxgluelength.C: make as[LyX]String() readable
11514
11515 2002-08-08  John Levon  <levon@movementarian.org>
11516
11517         * LyXAction.h:
11518         * LyXAction.C:
11519         * MenuBackend.C:
11520         * ToolbarDefaults.C:
11521         * lyxfunc.C:
11522         * lyxrc.C:
11523         * toc.C: lyxaction cleanup
11524
11525 2002-08-08  John Levon  <levon@movementarian.org>
11526
11527         * BufferView2.C: small cleanup
11528
11529         * lyxfind.h:
11530         * lyxfind.C: move unnecessary header into the .C
11531
11532 2002-08-08  John Levon  <levon@movementarian.org>
11533
11534         * funcrequest.h: just tedious nonsense
11535
11536         * lyx_main.h:
11537         * lyx_main.C: cleanups
11538
11539         * buffer.C:
11540         * vspace.C: remove dead header lyx_main.h
11541
11542 2002-08-07  Angus Leeming  <leeming@lyx.org>
11543
11544         * Paragraph.[Ch]:
11545         * paragraph_pimpl.h:
11546         Forward declare class Counters in paragraph.h by moving the ctrs member
11547         variable into Paragraph::Pimpl.
11548         (counters): new method, returning a reference to pimpl_->ctrs.
11549
11550         * text2.C: ensuing changes.
11551
11552 2002-08-07  John Levon  <levon@movementarian.org>
11553
11554         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
11555
11556         * BufferView_pimpl.C: announce X selection on double/triple
11557           click
11558
11559         * lyx_main.C: use correct bool in batch dispatch
11560
11561         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
11562
11563 2002-08-07  André Pönitz <poenitz@gmx.net>
11564
11565         * funcrequest.h: new class to wrap a kb_action and its argument
11566
11567         * BufferView.[Ch]:
11568         * BufferView_pimpl[Ch]:
11569         * LaTeX.C:
11570         * LyXAction.[Ch]:
11571         * lyxfunc.[Ch]:
11572         * lyxrc.C: subsequent changes
11573
11574
11575 2002-08-07  John Levon  <levon@movementarian.org>
11576
11577         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
11578           document options change.
11579
11580 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
11581
11582         * counters.[Ch]
11583         * text2.C
11584         * paragraph.[Ch]
11585         * makefile.am: move counters functionality over from
11586         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
11587
11588 2002-08-06  John Levon  <levon@movementarian.org>
11589
11590         * WordLangTuple.h: new file for word + language code tuple
11591
11592         * SpellBase.h:
11593         * pspell.h:
11594         * pspell.C:
11595         * ispell.h:
11596         * ispell.C:
11597         * lyxtext.h:
11598         * text.C:
11599         * text2.C:
11600         * BufferView.h:
11601         * BufferView2.C: use WordLangTuple
11602
11603         * layout.h:
11604         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
11605
11606 2002-08-06  John Levon  <levon@movementarian.org>
11607
11608         * lyx_main.C: fix cmdline batch handling
11609
11610 2002-08-06  André Pönitz <poenitz@gmx.net>
11611
11612         * lyxrc.C: set default for show_banner to true
11613
11614 2002-08-06  John Levon  <levon@movementarian.org>
11615
11616         * pspell.C: fix a crash, and allow new aspell to work
11617
11618 2002-08-06  John Levon  <levon@movementarian.org>
11619
11620         * lyxfunc.C:
11621         * kbmap.C: small cleanup
11622
11623         * vspace.h:
11624         * vspace.C: add const
11625
11626 2002-08-05  John Levon  <levon@movementarian.org>
11627
11628         * LyXAction.C: back to tabular-insert
11629
11630 2002-08-04  John Levon  <levon@movementarian.org>
11631
11632         * BufferView.h:
11633         * BufferView.C: cosmetic change
11634
11635         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
11636
11637         * bufferlist.C:
11638         * buffer.h:
11639         * buffer.C:
11640         * lyxcb.h:
11641         * lyxcb.C:
11642         * lyxserver.C:
11643         * lyxvc.C:
11644         * vc-backend.C:
11645         * BufferView2.C: purge all "Lyx" not "LyX" strings
11646
11647         * lyxcursor.h:
11648         * lyxcursor.C: attempt to add some documentation
11649
11650         * lyxfunc.C:
11651         * commandtags.h:
11652         * LyXAction.C:
11653         * ToolbarDefaults.C:
11654         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
11655           merge with LFUN_TABULAR_INSERT
11656
11657         * Makefile.am:
11658         * SpellBase.h:
11659         * ispell.h:
11660         * ispell.C:
11661         * pspell.h:
11662         * pspell.C: split up i/pspell implementations into separate
11663           files, many cleanups
11664
11665         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
11666
11667         * text2.C: some cleanup
11668
11669         * lyxfunc.C: don't check for isp_command == "none" any more, it
11670           didn't make any sense
11671
11672 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
11673
11674         * counters.[Ch]
11675         * text2.C
11676         * paragraph.[Ch]
11677         * makefile.am: move counters functionality over
11678         from text2.C/paragraph.[Ch] to counters.[Ch], and
11679         make proper C++.
11680 2002-08-02  John Levon  <levon@movementarian.org>
11681
11682         * buffer.C: s/lyxconvert/lyx2lyx/
11683
11684 2002-08-02  Angus Leeming  <leeming@lyx.org>
11685
11686         * lyxlex.C: revert John's change as it breaks reading of the user
11687         preamble.
11688
11689 2002-08-02  Angus Leeming  <leeming@lyx.org>
11690
11691         * importer.C (Import):
11692         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
11693         changes due to LyXView::view() now returning a boost::shared_ptr.
11694
11695 2002-08-02  John Levon  <levon@movementarian.org>
11696
11697         * lyxlex.C: small cleanup
11698
11699 2002-08-02  John Levon  <levon@movementarian.org>
11700
11701         * text2.C (status): small cleanup, no logic change
11702
11703 2002-08-01  John Levon  <levon@movementarian.org>
11704
11705         * buffer.h:
11706         * buffer.C (writeFile): don't output alerts, caller
11707           handles this
11708
11709         * bufferlist.C:
11710         * lyx_cb.C: from above
11711
11712         * lyxfunc.C: allow to open non-existent files
11713
11714 2002-07-31  John Levon  <levon@movementarian.org>
11715
11716         * lyxserver.C: don't let incidental errors get
11717           in the way (errno)
11718
11719 2002-07-30  John Levon  <levon@movementarian.org>
11720
11721         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
11722
11723 2002-07-30  John Levon  <levon@movementarian.org>
11724
11725         * lyxserver.h:
11726         * lyxserver.C: remove I/O callback too
11727
11728 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11729
11730         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
11731         log.
11732
11733 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
11734
11735         * many files: strip,frontStrip -> trim,ltrim,rtrim
11736
11737 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
11738
11739         * PrinterParams.h: remove extern containsOnly, and include
11740         support/lstrings.h instead.
11741
11742         * LaTeX.C (scanAuxFile): modify because of strip changes
11743         (deplog): ditto
11744         * buffer.C (makeLaTeXFile): ditto
11745         * bufferparams.C (writeFile): ditt
11746         * lyxfont.C (stateText): ditto
11747         * lyxserver.C (read_ready): ditto
11748         * vc-backend.C (scanMaster): ditto
11749
11750         * BufferView_pimpl.h: ws changes
11751
11752         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
11753
11754 2002-07-26  André Pönitz <poenitz@gmx.net>
11755
11756         * kb_sequence.C: remove unnedred usings
11757
11758 2002-07-26  Juergen Vigna  <jug@sad.it>
11759
11760         * lyxfind.C (LyXReplace): we have to check better if the returned
11761         text is not of theLockingInset()->getLockingInset().
11762
11763 2002-07-25  Juergen Vigna  <jug@sad.it>
11764
11765         * lyxfind.C (LyXReplace): don't replace if we don't get the
11766         right LyXText.
11767
11768         * undo_funcs.C (createUndo): remove debugging code.
11769
11770 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
11771
11772         * buffer.C (parseSingleLyXformat2Token): Use default placement
11773         when reading old floats.
11774
11775         * FloatList.C (FloatList): Change the default placement of figure
11776         and tables to "tbp".
11777
11778 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
11779
11780         * MenuBackend.C: using std::max
11781
11782 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11783
11784         * MenuBackend.C (expandToc):
11785         (expandToc2): code moved from xforms menu frontend. It is now
11786         generic and TOCs are transparent to menu frontends.
11787
11788 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11789
11790         * toc.C (getTocList): protect against buf=0
11791
11792         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
11793         Menu as first parameter. Now, this calls itself recursively to
11794         expand a whole tree (this will be useful for TOC handling)
11795         (expandFloatInsert): remove 'wide' version of floats
11796
11797         * MenuBackend.h (submenuname): returns the name of the submenu.
11798         (submenu): returns the submenu itself, provided it has been
11799         created by MenuBackend::expand
11800
11801 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11802
11803         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
11804         insets which have noFontChange == true. (bug #172)
11805
11806 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11807
11808         * BufferView_pimpl.C: add connection objects and use them...
11809         (Pimpl): here.
11810
11811 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11812
11813         * MenuBackend.C (expandLastfiles):
11814         (expandDocuments):
11815         (expandFormats):
11816         (expandFloatListInsert):
11817         (expandFloatInsert):
11818         (expand): split expand in parts
11819
11820 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11821
11822         * lyx_gui.C: use lyx_gui::exit()
11823
11824 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11825
11826         * LyXAction.C: show the failing pseudo action
11827
11828 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
11829
11830         * buffer.C (readFile): Run the lyxconvert script in order to read
11831         old files.
11832
11833 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11834
11835         * LyXAction.C:
11836         * commandtags.h:
11837         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
11838
11839 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11840
11841         * LyXAction.C:
11842         * commandtags.h:
11843         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
11844
11845 2002-07-22  Herbert Voss  <voss@lyx.org>
11846
11847         * lengthcommon.C:
11848         * lyxlength.[Ch]: add support for the vertical lengths
11849
11850 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
11851
11852         * toc.[Ch]: std:: fixes
11853
11854 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11855
11856         * lyxrc.C: do not include lyx_main.h
11857
11858         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
11859         for layouts
11860
11861         * lyxrc.C:
11862         * encoding.C:
11863         * bufferlist.C:
11864         * BufferView2.C: include "lyxlex.h"
11865
11866         * tabular.h:
11867         * bufferparams.h: do not #include "lyxlex.h"
11868
11869         * lyxtextclasslist.C (Add): remove method
11870         (classlist): renamed to classlist_
11871
11872         * paragraph_pimpl.C:
11873         * paragraph.C:
11874         * text2.C:
11875         * CutAndPaste.C:
11876         * bufferview_funcs.C:
11877         * bufferlist.C:
11878         * text.C:
11879         * LaTeXFeatures.C:
11880         * buffer.C:
11881         * toc.C (getTocList): use BufferParams::getLyXTextClass
11882
11883         * toc.C (getTocList): use InsetFloat::addToToc
11884
11885         * toc.[Ch]: new files, containing helper functions to handle table
11886         of contents
11887
11888         * lyxfunc.C (dispatch): no need to remove spaces around command
11889         given as a string
11890         (getStatus): handle LFUN_SEQUENCE by returning the status of the
11891         first command of the sequence; it is not very clever, but I do not
11892         have a better idea, actually
11893
11894         * LyXAction.C (LookupFunc): make sure to remove space at the
11895         beginning and end of the command
11896
11897 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11898
11899         * MenuBackend.C (getMenubar): new method: return the menubar of
11900         this menu set
11901         (read): treat differently reading of menu and menubar (in
11902         particular, the menubar has no name now)
11903         (Menu::menubar): remove
11904
11905         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
11906         saving is finished
11907
11908 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
11909
11910         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
11911         a bibitem inset in a RTL paragraph.
11912
11913 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
11914
11915         * paragraph_pimpl.C: constify
11916
11917         * BufferView_pimpl.C:
11918         * LaTeX.C:
11919         * lyxfunc.C: fix dispatch in a nicer way
11920
11921 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11922
11923         * lyxfunc.C (dispatch):
11924         * BufferView_pimpl.C:
11925         * BufferView_pimpl.h:
11926         * BufferView.C:
11927         * BufferView.h: rename Dispatch() to dispatch()
11928
11929         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
11930
11931         * lyxlayout.C (Read): honor DependsOn tag
11932
11933         * lyxlayout.[Ch] (depends_on): new method
11934
11935         * version.C.in: update lyx_docversion
11936
11937         * LaTeXFeatures.C (getMacros): only define \LyX when needed
11938
11939         * paragraph.C (validate): remove from here...
11940         * paragraph_pimpl.C (validate): ... and move here
11941         (isTextAt): make it const
11942
11943         * buffer.C (getLists): ws cleanup
11944
11945 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
11946
11947         * language.C (read): Use iso8859-1 encoding in latex_lang
11948         (this prevents LyX from crashing when using iso10646-1 encoding).
11949
11950 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11951
11952         * text2.C (toggleInset): if cursor is inside an inset, close the
11953         inset and leave cursor _after_ it
11954
11955 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
11956
11957         * lyxfunc.C: move minibuffer completion handling out of here
11958
11959 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
11960
11961         * BufferView_pimpl.C:
11962         * LaTeX.C: fix dispatch calls
11963
11964 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
11965
11966         * text.C (drawChars): Fix Arabic text rendering.
11967
11968 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
11969
11970         * LyXAction.C:
11971         * commandtags.h:
11972         * lyxfunc.C: remove message-push/pop
11973
11974         * lyxserver.C:
11975         * lyxfunc.h:
11976         * lyxfunc.C: rationalise some code by removing verboseDispatch
11977           in favour of a bool argument to dispatch()
11978
11979 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11980
11981         * lyx_main.C (init): make sure to read symlinks as absolute paths
11982
11983 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
11984
11985         * lyxfunc.h:
11986         * lyxfunc.C: no need for commandshortcut to be a member
11987
11988 2002-07-15  André Pönitz <poenitz@gmx.net>
11989
11990         * converter.C: add support for $$s (scripts from lib/scripts dir)
11991         * lyx_main.C: white space
11992
11993 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
11994
11995         * bufferlist.C:
11996         * lyxrc.h:
11997         * lyxrc.C: remove second exit confirmation
11998
11999 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
12000
12001         * BufferView.h:
12002         * BufferView.C:
12003         * BufferView2.C:
12004         * BufferView_pimpl.h:
12005         * BufferView_pimpl.C:
12006         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
12007
12008 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12009
12010         * MenuBackend.C (expand): add numeric shortcuts to document menu
12011
12012         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
12013
12014 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12015
12016         * lyxfont.C (setLyXFamily):
12017         (setLyXSeries):
12018         (setLyXShape):
12019         (setLyXSize):
12020         (setLyXMisc):
12021         (lyxRead):
12022         * debug.C (value):
12023         * buffer.C (asciiParagraph): use ascii_lowercase
12024
12025 2002-07-15  Mike Fabian  <mfabian@suse.de>
12026
12027         * lyxlex_pimpl.C (search_kw):
12028         * lyxlex.C (getLongString):
12029         * converter.h (operator<):
12030         * converter.C (operator<):
12031         * buffer.C (parseSingleLyXformat2Token):
12032         (asciiParagraph):
12033         * ToolbarDefaults.C (read):
12034         * MenuBackend.C (checkShortcuts):
12035         (read):
12036         * LColor.C (getFromGUIName):
12037         (getFromLyXName): use the compare_ascii_no_case instead of
12038         compare_no_case, because in turkish, 'i' is not the lowercase
12039         version of 'I', and thus turkish locale breaks parsing of tags.
12040
12041 2002-07-16  Angus Leeming  <leeming@lyx.org>
12042
12043         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
12044         now takes a Buffer const & argument.
12045
12046 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
12047
12048         * BufferView.C (resize): check there's a buffer to resize
12049
12050 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
12051
12052         * lyxfunc.C: remove dead code
12053
12054         * lyxserver.h:
12055         * lyxserver.C: use lyx_guii::set_read_callback
12056
12057 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
12058
12059         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
12060         an inset in a RTL paragraph.
12061
12062 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
12063
12064         * lyxfunc.C: repaint after a font size update
12065
12066 2002-07-15  André Pönitz <poenitz@gmx.net>
12067
12068         * lyxlength.C: inBP should be able to return negative values
12069
12070 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
12071
12072         * lyxfunc.C: use lyx_gui::update_fonts()
12073
12074 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
12075
12076         * lyxfunc.C: use lyx_gui::update_color()
12077
12078 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
12079
12080         * bufferlist.C:
12081         * lyxfunc.h:
12082         * lyxfunc.C:
12083         * lyxrc.h:
12084         * lyxrc.C: remove file->new asks for name option, and let
12085           buffer-new take an argument
12086
12087 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
12088
12089         * BufferView_pimpl.C: remove unneeded extra repaint()
12090
12091 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
12092
12093         * LyXAction.C: allow command-sequence with NoBuffer
12094
12095         * lyxfunc.C: don't insist on trailing ';' for command-sequence
12096
12097 2002-07-10  Angus Leeming  <leeming@lyx.org>
12098
12099         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
12100
12101 2002-07-09  Angus Leeming  <leeming@lyx.org>
12102
12103         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
12104
12105 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
12106
12107         * lengthcommon.h: whitespace
12108
12109         * lyxfunc.C: update scrollbar after goto paragraph
12110
12111         * lyxtext.h: factor out page break drawing, and fix it so
12112           page break/added space paints as selected nicely
12113
12114 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
12115
12116         * BufferView_pimpl.C: add FIXMEs, clean up a little
12117
12118 2002-07-09  André Pönitz <poenitz@gmx.net>
12119
12120         * lyxfont.[Ch]: support for wasy symbols
12121
12122 2002-07-08  André Pönitz <poenitz@gmx.net>
12123
12124         * BufferView_pimpl.C: apply John's patch for #93.
12125
12126 2002-07-05  Angus Leeming  <leeming@lyx.org>
12127
12128         * BufferView_pimpl.C (buffer): generate previews if desired.
12129
12130         * LColor.h: add "preview" to the color enum.
12131
12132         * LColor.C (LColor): add a corresponding entry to the items array.
12133
12134         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
12135         with this buffer.
12136
12137 2002-07-05  Angus Leeming  <leeming@lyx.org>
12138
12139         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
12140         The body of the code is now in the method that is passed an ostream &
12141         rather than a file name.
12142         Pass an additional only_preamble parameter, useful for the forthcoming
12143         preview stuff.
12144
12145 2002-07-03  André Pönitz <poenitz@gmx.net>
12146
12147         * lyxfunc.C: simplify getStatus() a bit for math stuff
12148
12149 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12150
12151         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
12152
12153 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12154
12155         * text.C (changeRegionCase): do not change case of all the
12156         document when region ends at paragraph end (bug #461)
12157
12158 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12159
12160         * paragraph.C (startTeXParParams):
12161         (endTeXParParams): add \protect when necessary
12162
12163 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12164
12165         * BufferView_pimpl.C (workAreaExpose): remove warning
12166
12167 2002-06-27  Angus Leeming  <leeming@lyx.org>
12168
12169         * Makefile.am: add lyxlayout_ptr_fwd.h.
12170
12171 2002-06-26  André Pönitz <poenitz@gmx.net>
12172
12173         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
12174
12175 2002-06-25  Angus Leeming  <leeming@lyx.org>
12176
12177         * lyxfunc.C (dispatch): Comment out the call to
12178         grfx::GCache::changeDisplay. The method no longer exists now that the
12179         pixmap generation part of the graphics loader has been moved into
12180         InsetGraphics.
12181
12182 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12183
12184         * text2.C: layout as layout
12185
12186         * text.C: layout as layout
12187
12188         * tabular.C (OldFormatRead): layout as layout
12189
12190         * paragraph_pimpl.C (TeXDeeper): layout as layout
12191         (realizeFont): layout as layout
12192
12193         * paragraph.C (writeFile): layout as layout
12194         (validate): layout as layout
12195         (getFont): layout as layout
12196         (getLabelFont): layout as layout
12197         (getLayoutFont): layout as layout
12198         (breakParagraph): layout as layout
12199         (stripLeadingSpaces): layout as layout
12200         (getEndLabel): layout as layout
12201         (getMaxDepthAfter): layout as layout
12202         (applyLayout): layout as layout
12203         (TeXOnePar): layout as layout
12204         (simpleTeXOnePar): layout as layout
12205         (TeXEnvironment): layout as layout
12206         (layout): layout as layout
12207         (layout): layout as layout
12208
12209         * lyxtextclass.C (compare_name): new functor to work with
12210         shared_ptr, layout as layout
12211         (Read): layout as layout
12212         (hasLayout): layout as layout
12213         (operator): layout as layout
12214         (delete_layout): layout as layout
12215         (defaultLayout): layout as layout
12216
12217         * lyxlayout_ptr_fwd.h: new file
12218
12219         * lyxlayout.C (Read): layout as layout
12220
12221         * lyx_cb.C (MenuInsertLabel): layout as layout
12222
12223         * bufferlist.C (newFile): layout as layout
12224
12225         * buffer.C (readLyXformat2): layout as layout
12226         (parseSingleLyXformat2Token): layout as layout
12227         (insertStringAsLines): layout as layout
12228         (asciiParagraph): layout as layout
12229         (latexParagraphs): layout as layout
12230         (makeLinuxDocFile): layout as layout
12231         (simpleLinuxDocOnePar): layout as layout
12232         (makeDocBookFile): layout as layout
12233         (simpleDocBookOnePar): layout as layout
12234         (getLists): layout as layout
12235
12236         * LaTeXFeatures.C (getTClassPreamble): layout as layout
12237
12238         * CutAndPaste.C (cutSelection): layout as layout
12239         (pasteSelection): layout as layout
12240         (SwitchLayoutsBetweenClasses): layout as layout
12241
12242         * BufferView_pimpl.C (Dispatch): layout as layout
12243         (smartQuote): layout as layout
12244
12245         * BufferView2.C (unlockInset): layout as layout
12246
12247 2002-06-24  André Pönitz <poenitz@gmx.net>
12248
12249         * lyxfunc.C: fix #487
12250
12251 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
12252
12253         * lyxrc.h:
12254         * lyxrc.C:
12255         * lyxfunc.C: remove display_shortcuts, show_banner
12256
12257 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
12258
12259         * Buffer_pimpl.C: oops, update on resize
12260
12261 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
12262
12263         * buffer.C:
12264         * converter.C:
12265         * exporter.C:
12266         * lyxfunc.C:
12267         * BufferView.h:
12268         * BufferView.C: use repaint()
12269
12270         * BufferView_pimpl.h:
12271         * BufferView_pimpl.C: s/updateScreen()/repaint()/
12272           as it's a clearer description. Remove superfluous
12273           redraws.
12274
12275 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
12276
12277         * text.C: fix bug 488. Not ideal, but getting
12278           getWord() to work properly for the insets that
12279           matter is more difficult ...
12280
12281 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
12282
12283         * BufferView_pimpl.C:
12284         * LyXAction.C:
12285         * commandtags.h:
12286         * lyxfunc.C: remove the six million index lyxfuncs to just
12287           one, and DTRT (bug 458)
12288
12289 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
12290
12291         * BufferView.h:
12292         * BufferView.C:
12293         * BufferView_pimpl.h:
12294         * BufferView_pimpl.C: clean up resize() stuff,
12295           and unnecessary updateScreen()s
12296
12297 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
12298
12299         * BufferView.h:
12300         * BufferView.C:
12301         * BufferView_pimpl.h:
12302         * BufferView_pimpl.C:
12303         * lyxfind.h:
12304         * lyxfind.C:
12305         * minibuffer.C: remove focus management of workarea,
12306           not needed. Use screen's greyOut()
12307
12308 2002-06-17  Herbert Voss  <voss@lyx.org>
12309
12310         * converter.C: (convert) do not post a message, when converting
12311         fails, let the calling function decide what to do in this case
12312
12313 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
12314
12315         * lyxfunc.C: tidy up a little
12316
12317 2002-06-16    <alstrup@diku.dk>
12318
12319         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
12320         Got rid of FORMS_H_LOCATION include. Now we are
12321         GUII.
12322
12323 2002-06-15  LyX Development team  <lyx@rilke>
12324
12325         * buffer.[Ch] (sgmlOpenTag):
12326         (sgmlCloseTag): Added support for avoiding pernicious mixed
12327         content. Return number of lines written.
12328
12329         (makeLinuxDocFile):
12330         (makeDocBookFile): Fixed calls to sgml*Tag.
12331         Simple white space clean.
12332
12333         (simpleDocBookOnePar): Simple white space clean.
12334
12335         * tabular.[Ch] (docBook): Renamed to docbook and got another
12336         argument to related with the pernicious mixed content.
12337
12338         (docbookRow): Fixed calls for docbook inset method.
12339
12340 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
12341
12342         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
12343         so it's X11 independent.
12344
12345         * kb*.[Ch]: ditto.
12346
12347         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
12348
12349 2002-06-15  Lyx Development team  <lyx@electronia>
12350
12351         * intl.h: Renamed getTrans to getTransManager.
12352
12353 2002-06-14  Angus Leeming  <leeming@lyx.org>
12354
12355         * Makefile.am: nuke forgotten stl_string_fwd.h.
12356
12357 2002-06-12  Angus Leeming  <leeming@lyx.org>
12358
12359         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
12360
12361 2002-06-13  Angus Leeming  <leeming@lyx.org>
12362
12363         * LaTeX.C:
12364         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
12365
12366 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
12367
12368         * kbmap.C (getiso): add support for cyrillic and greek
12369
12370 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12371
12372         * BufferView.h:
12373         * BufferView.C:
12374         * BufferView_pimpl.h:
12375         * BufferView_pimpl.C: move bogus scrolling logic
12376           to xforms
12377
12378 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12379
12380         * lyxfunc.C:
12381         * BufferView_pimpl.C: view->resize() change
12382
12383 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12384
12385         * BufferView_pimpl.C: topCursorVisible
12386           prototype change
12387
12388 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12389
12390         * Makefile.am:
12391         * lyx_gui.h:
12392         * lyx_gui.C: move to frontends/
12393
12394         * main.C:
12395         * lyx_main.h:
12396         * lyx_main.C: changes from above
12397
12398 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12399
12400         * intl.C:
12401         * intl.h:
12402         * kbmap.C:
12403         * kbsequence.C:
12404         * lyx_cb.C:
12405         * lyx_main.C: minor tidy
12406
12407 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12408
12409         * BufferView_pimpl.h:
12410         * BufferView_pimpl.C:
12411         * BufferView.h:
12412         * BufferView.C: make painter() const,
12413           remove dead code
12414
12415         * BufferView2.C: use screen() accessor
12416
12417         * lyx_main.h:
12418         * lyx_main.C: some minor cleanup
12419
12420 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12421
12422         * BufferView_pimpl.h:
12423         * BufferView_pimpl.C: remove enter/leaveView,
12424           use workHeight()
12425
12426 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12427
12428         * BufferView.h:
12429         * BufferView.C:
12430         * BufferView2.C:
12431         * BufferView_pimpl.h:
12432         * BufferView_pimpl.C: only construct screen once,
12433           rename
12434
12435         * lyxrc.C: remove pointless comment
12436
12437 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
12438
12439         * BufferView.h:
12440         * BufferView.C: remove active() and belowMouse()
12441
12442         * BufferView_pimpl.h:
12443         * BufferView_pimpl.C: use workarea() not workarea_,
12444           and make it use a scoped_ptr instead
12445
12446 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
12447
12448         * lyx_gui.C: add debug message on BadWindow
12449
12450 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12451
12452         * sp_spell.C: fdopen is not part of the C++ standard.
12453
12454         * paragraph.C (InsetIterator): use >= instead of ==
12455
12456 2002-06-07  Angus Leeming  <leeming@lyx.org>
12457
12458         Fixes needed to compile with Compaq cxx 6.5.
12459         * BufferView_pimpl.C:
12460         * DepTable.C:
12461         * buffer.C:
12462         * converter.C:
12463         * encoding.C:
12464         * lyx_gui.C:
12465         * lyx_main.C:
12466         * lyxtextclasslist.C:
12467         * minibuffer.C:
12468         * sp_spell.C:
12469         * tabular_funcs.C:
12470         * vc-backend.C:
12471         all c-library variables have been moved into namespace std. Wrap
12472         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
12473
12474         * lyxlength.C:
12475         * tabular-old.C:
12476         * tabular.C:
12477         Add a using std::abs declaration.
12478
12479         * kbmap.h (modifier_pair):
12480         * paragraph.h (InsetTable, InsetList):
12481         * lyxfont.h (FontBits):
12482         type definition made public.
12483
12484         * bufferlist.C (emergencyWriteAll): the compiler complains that
12485         there is more than one possible lyx::class_fun template to choose from.
12486         I re-named the void specialisation as lyx::void_class_fun.
12487
12488         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
12489
12490         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
12491         the compiler is is unable to find tostr in write_attribute.
12492
12493 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12494
12495         * buffer.C (sgmlError): hide #warning
12496
12497 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12498
12499         * xtl/*: get rid of xtl, which is not in use anyway
12500
12501         * LyXAction.C (init):
12502         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
12503         were unimplemented xtl experimentation
12504
12505 2002-06-04  André Pönitz <poenitz@gmx.net>
12506
12507         * lyxfunc.C: disable array operation on simple formulae
12508
12509 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
12510
12511         * converter.C: constify a bit
12512
12513 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
12514
12515         * lyx_gui.C: check xforms version correctly
12516
12517 2002-04-30  Herbert Voss  <voss@lyx.org>
12518
12519         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
12520         "keep" option
12521
12522 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
12523
12524         * lyxvc.C: fix bug 416 (make sure buffer is saved before
12525           attempt to register it with a VCS)
12526
12527 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12528
12529         * lyx_main.C (init): honor variables LYX_DIR_13x and
12530         LYX_USERDIR_13x
12531
12532 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
12533
12534         * buffer.h:
12535         * buffer.C:
12536         * lyx_main.C: fix a crash on bad command line,
12537           and give a useful exit status on error
12538
12539         * lyxfunc.C (doImport): allow -i lyx to work
12540
12541 2002-03-30  André Pönitz <poenitz@gmx.net>
12542
12543         * lyxfunc.C: mathed font changes
12544
12545 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
12546
12547         * LaTeX.C:
12548         * importer.h:
12549         * importer.C:
12550         * lyx_sty.h:
12551         * lyx_sty.C:
12552         * lyxlex.C:
12553         * lyxrow.h:
12554         * lyxtext.h:
12555         * paragraph.h:
12556         * paragraph.C:
12557         * texrow.h:
12558         * texrow.C:
12559         * text.C:
12560         * trans_mgr.h: srcdocs, and some minor cleanups
12561
12562 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12563
12564         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
12565         call getFont all the time)
12566
12567 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12568
12569         * switch from SigC signals to boost::signals
12570
12571 2002-05-29  André Pönitz <poenitz@gmx.net>
12572
12573         * paragraph_pimpl.C (getChar): don't call size() too often...
12574
12575 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12576
12577         * paragraph_pimpl.C (insertChar): do not try to update tables when
12578         appending (pos == size())
12579
12580         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
12581         in order to reduce drastically the number of comparisons needed to
12582         parse a large document
12583
12584 2002-05-29  André Pönitz <poenitz@gmx.net>
12585
12586         * text.C:
12587         * text2.C:
12588         * lyxtextclass.C:
12589         * sp_pspell.h:
12590         * textclasslist.[Ch]:
12591         * sp_ispell.h: whitespace change
12592
12593 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12594
12595         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
12596         lyxaction directly now.
12597
12598 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
12599
12600         * trans.C:
12601         * lyxfont.C:
12602         * lyxvc.C: remove unused headers
12603
12604 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
12605
12606         * Makefile.am:
12607         * buffer.h:
12608         * undostack.h:
12609         * undostack.C:
12610         * undo_funcs.h:
12611         * undo_funcs.C: some cleanups. Use shared_ptr
12612           and a template for the undo stacks.
12613
12614 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
12615
12616         * BufferView_pimpl.h:
12617         * BufferView_pimpl.C:
12618         * kbmap.h:
12619         * kbmap.C:
12620         * kbsequence.h:
12621         * kbsequence.C:
12622         * lyxfunc.h:
12623         * lyxfunc.C:
12624         * text2.C: use key_state/mouse_state
12625
12626 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12627
12628         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
12629         and LSubstring
12630
12631         * chset.C: change include order
12632         (loadFile): use boost regex and get rid of LRegex and LSubstring
12633
12634         * Makefile.am (BOOST_LIBS): new variable
12635         (lyx_LDADD): use it
12636
12637         * LaTeX.C: change include order.
12638         (scanAuxFile): use boost regex and get rid of LRegex and
12639         LSubstring
12640         (deplog): ditto
12641
12642 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
12643
12644         * ColorHandler.h:
12645         * ColorHandler.C:
12646         * FontInfo.h:
12647         * FontInfo.C: moved to frontends/xforms/
12648
12649         * FontLoader.h:
12650         * FontLoader.C: moved into frontends for GUIIzation
12651
12652         * Makefile.am:
12653         * lyx_gui.C:
12654         * lyxfont.C:
12655         * lyxfunc.C: changes from above
12656
12657 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
12658
12659         * LColor.C: remove spurious X include
12660
12661         * BufferView_pimpl.C:
12662         * Makefile.am:
12663         * font.h:
12664         * font.C:
12665         * text.C:
12666         * text2.C: move font metrics to frontends/
12667
12668 2002-05-24  Juergen Vigna  <jug@sad.it>
12669
12670         * undo_funcs.C (textHandleUndo): fix the cursor selection after
12671         setting the undo_cursor.
12672
12673         * ParagraphParameters.h: include local includes first.
12674
12675 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
12676
12677         * BufferView_pimpl.C:
12678         * BufferView_pimpl.h:
12679         * Makefile.am:
12680         * WorkArea.h:
12681         * WorkArea.C:
12682         * screen.C: move WorkArea into frontends/
12683
12684         * lyxscreen.h:
12685         * screen.C:
12686         * text.C:
12687         * BufferView.C:
12688         * BufferView2.C: move LyXScreen into frontends/
12689
12690         * lyxlookup.h:
12691         * lyxlookup.C:
12692         * lyx_gui.C: move lyxlookup into frontends/xforms/
12693
12694 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
12695
12696         * BufferView2.C:
12697         * BufferView_pimpl.C:
12698         * FontLoader.C:
12699         * LyXView.h:
12700         * LyXView.C:
12701         * Makefile.am:
12702         * WorkArea.C:
12703         * XFormsView.h:
12704         * XFormsView.C:
12705         * buffer.C:
12706         * bufferlist.C:
12707         * bufferview_funcs.C:
12708         * converter.C:
12709         * importer.C:
12710         * lyx_cb.C:
12711         * lyx_gui.C:
12712         * lyx_main.C:
12713         * lyx_find.C:
12714         * lyxfunc.C:
12715         * lyxvc.C:
12716         * minibuffer.C:
12717         * text.C:
12718         * text2.C:
12719         * trans.C:
12720         * vc-backend.C: move LyX/XFormsView into frontends/
12721
12722 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
12723
12724         * Makefile.am:
12725         * PainterBase.C:
12726         * PainterBase.h:
12727         * Painter.C:
12728         * Painter.h:
12729         * WorkArea.C:
12730         * WorkArea.h:
12731         * screen.C:
12732         * tabular.C:
12733         * text.C:
12734         * text2.C: move Painter to frontends/
12735
12736 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12737
12738         * buffer.C: comment out some some code that depend upon lyx_format
12739         < 220
12740
12741         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
12742         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
12743
12744         * buffer.h (NO_COMPABILITY): turn off compability
12745
12746         * ColorHandler.C: include scoped_array.hpp
12747
12748         * font.C: Use more specific smart_ptr header.
12749         * Painter.C: ditto
12750         * gettext.C: ditto
12751         * ShareContainer.h: ditto
12752         * lyx_main.h: ditto
12753         * kbmap.h: ditto
12754         * FontInfo.h: ditto
12755         * BufferView_pimpl.h: ditto
12756         * ColorHandler.h: ditto
12757
12758         * kbmap.C (defkey): change call to shared_ptr::reset
12759
12760 2002-05-21  Juergen Vigna  <jug@sad.it>
12761
12762         * buffer.C (insertErtContents): fix to insert ert asis if it is
12763         non empty. Skip it completely if it contains only whitespaces.
12764
12765 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
12766
12767         * BufferView_pimpl.C:
12768         * BufferView2.C: clear selection on paste (bug 393)
12769
12770 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12771
12772         * DepTable.C: include ctime
12773
12774 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
12775
12776         * buffer.C (latexParagraphs): Add new argument (moving_arg).
12777
12778 2002-05-14  Juergen Vigna  <jug@sad.it>
12779
12780         * text.C (breakParagraph): fixed function to honor the keepempty
12781         layout in the right maner and also to permit the right breaking
12782         algorithm on empty or non empyt keepempty paragraphs.
12783
12784         * paragraph.C (breakParagraph): we have to check also if the par
12785         is really empty (!size()) for isempty otherwise we do the wrong
12786         paragraph break.
12787
12788 2002-05-10  Juergen Vigna  <jug@sad.it>
12789
12790         * buffer.[Ch] : The following are only changes to the ert
12791         compatibility read reading old LaTeX layout and font stuff and
12792         convert it to ERTInsets.
12793
12794         * buffer.h: added isErtInset().
12795
12796         * buffer.C (struct ErtComp): add a fromlayout bool to check
12797         if we're inside a LaTeX layout.
12798         (isErtInset): new helper function.
12799         (insertErtContents): look for other ert insets before this one
12800         and insert the contents there, so that we don't have subsequent
12801         ERT insets with nothing between them. This way we create only one
12802         inset with multiple paragraphs. Also check if we don't insert only
12803         spaces ' ' as they are ignored anyway afterwards in the .tex file
12804         so if we have only spaces we will ignore this latex part in the
12805         new file.
12806         (parseSingleLyXformat2Token \\layout): better compatibility when
12807         reading layout-latex stuff.
12808         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
12809         language tag.
12810         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
12811         stuff after reading the inset only get the information back from
12812         the stack.
12813
12814 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
12815
12816         * buffer.C (makeLaTeXFile): Put language options after loading babel.
12817
12818         * LaTeXFeatures.C (getBabelOptions): New method.
12819
12820 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12821
12822         * BufferView_pimpl.C (Dispatch): work around missing argument for
12823         'layout'
12824
12825 2002-05-08  Juergen Vigna  <jug@sad.it>
12826
12827         * text.C (leftMargin): handle paragraph leftindent.
12828
12829         * paragraph.C (writeFile): write the new \\leftindent tag.
12830         (validate): handle leftindent code.
12831         (TeXEnvironment): handle paragraphleftindent code again.
12832
12833         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
12834
12835         * buffer.C (parseSingleLyXformat2Token): added compatibility code
12836         for paragrap_extra indent code and new token \\leftindent.
12837         (latexParagraphs): handle the leftindent as environment.
12838
12839         * ParameterStruct.h: added leftindent support.
12840
12841         * ParagraphParameters.C (leftIndent): added support functions for
12842         the paragraph left indent.
12843
12844         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
12845         more appropriate.
12846
12847 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
12848
12849         * paragraph.C (isRightToLeftPar): Return false for a paragraph
12850         inside insetERT.
12851
12852         * text.C (computeBidiTables): No bidi in insetERT.
12853
12854         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
12855         in RTL documents.
12856
12857 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12858
12859         * version.C.in: pre 5
12860
12861 2002-05-02  José Matos  <jamatos@fep.up.pt>
12862         * buffer.C (makeDocBookFile): white space changes, add newline to
12863         command styles.
12864         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
12865
12866         * tabular.C (docBook): fix typo.
12867
12868 2002-05-03  Juergen Vigna  <jug@sad.it>
12869
12870         * screen.C (drawFromTo): recalculate the rowpointer if we had a
12871         change in LyXText as we can not be sure it was not freed.
12872         (drawOneRow): remove unused code.
12873
12874         * text.C (drawInset): redo the calculation of the need_break_row as
12875         it could have a row which was already freed.
12876         (draw): look at the return value of drawInset and return false if
12877         it also returned false.
12878         (paintRowText): look at the return value of draw and return false if
12879         it also returned false.
12880
12881         * lyxtext.h: added bool return type to drawInset() and draw() so that
12882         if we have a change in the row so that the rowbreak has to be redone
12883         we abort drawing as it will be called again.
12884
12885 2002-05-02  Juergen Vigna  <jug@sad.it>
12886
12887         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
12888         a change in the maintext also if we're inside an inset.
12889         (Dispatch): set the cursor again after a break line and after the
12890         screen has been updated as it could be we're in a different row.
12891
12892         * text2.C (fixCursorAfterDelete): check to make sure we don't request
12893         to set the cursor behind the pargraph with > size().
12894         (setCursor): check also for the same paragraph when checking where
12895         to put the cursor if we have a NFR inset.
12896
12897         * buffer.C (parseSingleLyXformat2Token): move the compatibility
12898         parts of layout read further up as it still was in the wrong
12899         position.
12900
12901 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12902
12903         * screen.C (drawFromTo): change sine fullRebreak always return
12904         true.
12905
12906         * buffer.C (parseSingleLyXformat2Token): reindent some
12907
12908         * BufferView_pimpl.C (update): change since fullRebreak always
12909         return true.
12910         (Dispatch): git rid of the last hardcoded "Standard"s.
12911
12912 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12913
12914         * text2.[Ch] (fullRebreak): make it return void now that we always
12915         returned true.
12916
12917 2002-04-30  Juergen Vigna  <jug@sad.it>
12918
12919         * buffer.C (parseSingleLyXformat2Token): reset the font before the
12920         ert compatibility check for "latex" layout.
12921
12922 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
12923
12924         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
12925         minipages: use col% instead of p%, and also use the current font.
12926         (makeLaTeXFile): Fix use babel condition.
12927         (parseSingleLyXformat2Token): Correct font when reading old floats.
12928
12929 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
12930
12931         * BufferView_pimpl.C (Dispatch): Check that float type exists when
12932         inserting list of floats.
12933
12934 2002-04-25  Herbert Voss  <voss@lyx.org>
12935
12936         * MenuBackend.C (expand): don't add the graphics extensions to the
12937         export menu
12938
12939 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12940
12941         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
12942         non-existing layout, do not complain if it was the default layout
12943         of the original class (bug #342)
12944
12945 2002-04-24  Juergen Vigna  <jug@sad.it>
12946
12947         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
12948         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
12949
12950 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
12951
12952         * buffer.C (getBibkeyList): If using \bibliography, return the
12953         option field with the reference itself. Enables us to provide natbib
12954         support when using \bibliography.
12955
12956 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
12957
12958         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
12959
12960         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
12961         natbib is provided by the LaTeX class.
12962
12963 2002-04-23  Juergen Vigna  <jug@sad.it>
12964
12965         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
12966         Wakeup functions.
12967
12968         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
12969
12970 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12971
12972         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
12973
12974         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
12975         ensuremath around textordmasculine, textordfeminine and
12976         textdegree.
12977
12978 2002-04-19  Juergen Vigna  <jug@sad.it>
12979
12980         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
12981         reinitializing the buffer otherwise row-dimensions may be wrong.
12982         (update): reset also the selection cursors if they do exits otherwise
12983         their x/y positions may be wrong.
12984
12985         * text2.C (cursorDown): don't enter the inset if we came from a row
12986         above and are one row over the inset.
12987
12988         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
12989         really leaving an inset.
12990
12991 2002-04-18  Juergen Vigna  <jug@sad.it>
12992
12993         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
12994         of the selected paragraph does not have the selected layout also if
12995         the last one had!
12996
12997         * text2.C (setLayout): fixed bug which did not change last selected
12998         paragraph.
12999
13000         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
13001         changed the read and substituted \\end_float with \\end_inset!
13002
13003         * BufferView_pimpl.C (cursorPrevious):
13004         (cursorNext): fixed to make it work with rows heigher than the work
13005         area without moving the cursor only the draw of the row.
13006         (workAreaMotionNotify): fix jumping over high rows.
13007
13008 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13009
13010         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
13011         Ressler.
13012
13013 2002-04-16  Juergen Vigna  <jug@sad.it>
13014
13015         * text2.C (setCursor): set also the irow().
13016         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
13017         (cursorUp):
13018         (cursorDown): support for locking an inset if the x_fix value goes
13019         inside it. That way I can transverse insets too with cursor up/down.
13020
13021         * lyxrow.h: added irow helper function same as other (i) functions.
13022
13023         * BufferView_pimpl.C (cursorPrevious):
13024         (cursorNext): fixed for insets!
13025
13026 2002-04-15  Juergen Vigna  <jug@sad.it>
13027
13028         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
13029         position otherwise it is wrong in some cases.
13030
13031         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
13032         inside the inset before the call.
13033
13034 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
13035
13036         * buffer.[Ch] (getBibkeyList): make it const.
13037
13038 2002-04-12  Juergen Vigna  <jug@sad.it>
13039
13040         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
13041
13042         * text2.C (getCursorX): new helper function
13043         (setCursor): compute also ix_
13044         (setCursorFromCoordinates): set also ix.
13045
13046         * lyxcursor.h: added ix_ and helper functions.
13047
13048         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
13049
13050         * buffer.C (insertStringAsLines): dont break paragraph if the this
13051         paragraph is inside an inset which does not permit it!
13052
13053         * text.C (breakParagraph): honor keepempty flag and break the paragraph
13054         also with no chars on this paragraph.
13055         (paintRowText): only paint stuff if it's inside the workarea!
13056
13057         * paragraph.C (breakParagraph): honor keepempty flag and break the
13058         paragraph always below not above.
13059
13060         * BufferView2.C (unlockInset): update the paragraph layout on inset
13061         unlock as we changed paragraph in such a case.
13062
13063         * lyxfind.C (LyXFind): clear the former selection if not found!
13064
13065         * text2.C (insertInset): freeze Undo after setUndo so that it is not
13066         again called in insertChar().
13067
13068         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
13069         an inset which uses the whole row!
13070         (rightMargin): ditto.
13071         (insertChar): force a rebreak if we inserted an inset!
13072
13073 2002-03-28  Herbert Voss  <voss@lyx.org>
13074
13075         * lyxlength.[Ch]: add inBP() to get the right PS-point
13076         units (BigPoint). With inPixels we have rounding errors
13077
13078 2002-04-11  Juergen Vigna  <jug@sad.it>
13079
13080         * text2.C (setCursorFromCoordinates): set iy to the right value.
13081         (setCursor): add check if row->previous exists!
13082
13083         * buffer.C (parseSingleLyXformat2Token): reset font after read of
13084         an old float_type as this was the case in the old code!
13085
13086         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
13087
13088         * BufferView2.C (showLockedInsetCursor): use iy
13089         (fitLockedInsetCursor): ditto
13090
13091         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
13092         locked insets as there we have the right value now.
13093
13094         * lyxcursor.C: added iy_ variable and iy functions to set to the
13095         baseline of cursor-y of the locked inset.
13096
13097         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
13098         (setCursor): fixed for insets which need a full row.
13099
13100         * text.C (rowLastPrintable): don't ignore the last space when before
13101         an inset which needs a full row.
13102         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
13103         as last character of a row when before a inset which needs a full row.
13104
13105 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13106
13107         * version.C.in: update date
13108
13109         * text2.C (fullRebreak): try to always return true and see what
13110         happens...
13111
13112 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13113
13114         * MenuBackend.C (expand): use Floating::listName
13115
13116         * FloatList.C (FloatList): add listName argument to the built-in
13117         floats
13118
13119         * Floating.[Ch]: add listName member, which is the 'List of XXX'
13120         text associated with the float.
13121
13122 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13123
13124         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
13125
13126 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13127
13128         * ShareContainer.h: add a couple of missing typenames.
13129
13130 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
13131
13132         * lyxrc.C (getDescription): use _() correctly rather than N_().
13133
13134 2002-03-28  Herbert Voss  <voss@lyx.org>
13135
13136         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
13137         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
13138
13139 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13140
13141         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
13142         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
13143
13144 2002-03-29  Juergen Vigna  <jug@sad.it>
13145
13146         * lyxfunc.C (dispatch): add a missing fitCursor call.
13147
13148         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
13149         it was scrolled by a cursor move, so return the bool status.
13150
13151         * BufferView.C (fitCursor): return the bool flag also to the outside
13152         world as this is needed.
13153
13154         * screen.C (toggleToggle): don't subtract the offset if it's positive.
13155
13156         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
13157         call the edit() as it is not needed (and wrong) IMO.
13158         (workAreaButtonPress): set the screen_first variable before evt.
13159         unlock the inset as this may change screen_first and then we have
13160         a wrong y position for the click!
13161
13162 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13163
13164         * MenuBackend.C (expand): another translation that I missed
13165
13166 2002-03-28  Juergen Vigna  <jug@sad.it>
13167
13168         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
13169
13170         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
13171
13172 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13173
13174         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
13175
13176         * MenuBackend.C (expand): fix export/view/update when there is no
13177         document open.
13178
13179 2002-03-27  Herbert Voss  <voss@lyx.org>
13180
13181         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
13182         and text%
13183
13184 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13185
13186         * bufferview_funcs.C (currentState): only show paragraph number
13187         for is DEVEL_VERSION is set.
13188
13189         * lyxfunc.C (dispatch): put warning in INFO channel
13190
13191         * MenuBackend.C (expand): translate the name of floats
13192
13193         * FloatList.C (FloatList): mark the float names for translation
13194
13195         * converter.C (convert): use LibScriptSearch
13196
13197 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13198
13199         * MenuBackend.C (defaults): fix default menu (we might as well get
13200         rid of it...)
13201
13202 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13203
13204         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
13205         directory.
13206
13207 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13208
13209         * lyxvc.C: reorder includes.
13210
13211 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
13212
13213         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
13214           properly
13215
13216 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
13217
13218         * CutAndPaste.C: change layouts earlier on paste
13219           to avoid crashing when calling getFont()
13220
13221 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
13222
13223         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
13224         irritating #error.
13225
13226 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13227
13228         * WorkArea.C: remove 'Pending' debug message.
13229
13230         * most files: ws cleanup
13231
13232         * buffer.[Ch]: ws changes
13233
13234         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
13235
13236 2002-03-21  Juergen Vigna  <jug@sad.it>
13237
13238         * tabular.C (SetMultiColumn): collapse also the contents of the
13239         cells and set the last border right. Added a Buffer const * param.
13240
13241 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13242
13243         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
13244         linking or not.
13245
13246 2002-03-19  Juergen Vigna  <jug@sad.it>
13247
13248         * text2.C (clearSelection): reset also xsel_cache.
13249
13250         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
13251         where it needs to be called (John tells us to do so too :)
13252         (selectionLost): reset sel_cache.
13253
13254         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
13255
13256 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13257
13258         * text2.C (setCursorIntern): put debuging code in INSETS channel
13259
13260 2002-03-19  André Pönitz <poenitz@gmx.net>
13261
13262         * lyxfunc.C: tiny whitespace change
13263
13264 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13265
13266         * ToolbarDefaults.C (init):
13267         * LyXAction.C (init):
13268         * commandtags.h:
13269         * BufferView_pimpl.C (Dispatch):
13270         * lyxfunc.C (dispatch): remove LFUN_DEPTH
13271
13272 2002-03-19  Allan Rae  <rae@lyx.org>
13273
13274         * exporter.C (Export): removeAutoInsets before doing anything else.
13275         While I've just introduced a dependency on BufferView this really is
13276         the best place to clean the buffer otherwise you need to cleanup in
13277         a dozen places before calling export or cleanup in a dozen functions
13278         that export calls.
13279
13280         * converter.C (runLaTeX):
13281         (scanLog): Better handling of removeAutoInsets and screen updates.
13282
13283         * lyxfunc.C (dispatch): small whitespace changes
13284
13285 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13286
13287         * WorkArea.C (C_WorkAreaEvent): return a value.
13288         (event_cb): return 1 if we handled the event, 0 otherwise.
13289
13290         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
13291
13292 2002-03-18  Juergen Vigna  <jug@sad.it>
13293
13294         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
13295         (GetAdditionalWidth): ditto.
13296         (RightLine): ditto.
13297         (LeftLine): ditto.
13298
13299         * BufferView2.C (copy): use getLyXText() so that we do it inside an
13300         inset if we're there actually (probably not used right now but this
13301         is the direction to go for unifying code).
13302         (paste): disable code to clear the selection.
13303
13304         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
13305         inside an InsetText and move the check further up as it is in the
13306         wrong place.
13307
13308         * text2.C (pasteSelection): set a selection over the pasted text.
13309
13310 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
13311
13312         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
13313         and libgraphics to build on Cygwin.
13314
13315 2002-03-15  Juergen Vigna  <jug@sad.it>
13316
13317         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
13318         inserting an Inset into the paragraph. I know this is not the best
13319         fix but we already use current_view in CutAndPaste so we will remove
13320         all of it's using at the same time.
13321
13322         * buffer.C (sgmlError): deactivated function till it is rewritten in
13323         the right mode, now it can create problems.
13324
13325         * paragraph.C (isLineSeparator): check if getInset returns != 0,
13326         before accessing it.
13327
13328 2002-03-14  Juergen Vigna  <jug@sad.it>
13329
13330         * undo_funcs.C (textHandleUndo): do the right thing when updating
13331         the inset after the undo/redo.
13332
13333         * text2.C (setCursor): just some testcode for #44 not ready yet.
13334
13335         * undo_funcs.C (textHandleUndo): set the next() and previous()
13336         pointers of the paragraph to 0 before deleting otherwise we have
13337         problems with the Paragraph::[destructor].
13338
13339         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
13340         on a paragraph insertion.
13341
13342 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13343
13344         * buffer.C (asciiParagraph): use += operator for char append to
13345         string.
13346
13347         * paragraph.C (getFontSettings): compare >= not just >
13348         (highestFontInRange): ditto
13349         (setFont): ditto
13350
13351 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13352
13353         * paragraph.C: change several algorithm to be more appripriate for
13354         the problem domain. This is lookip in FontList and in the InsetList.
13355
13356 2002-03-13  André Pönitz <poenitz@gmx.net>
13357
13358         * commandtags.h:
13359         * LyXAction.C: remove unused LFUN_MATH_MACROARG
13360
13361 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
13362
13363         * commandtags.h:
13364         * LyXAction.C:
13365         * lyxfunc.C:
13366         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
13367
13368 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13369
13370         * Painter.C (display): anon helper function, adjust code for this
13371         change.
13372         (pixmap): remove function.
13373
13374         * Painter.h: remove private display variable.
13375
13376         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
13377
13378 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
13379
13380         * WorkArea.[Ch]: remove figinset_canvas cruft.
13381
13382 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13383
13384         * lyxtextclass.C (operator): add one item cache optimization.
13385
13386         * bufferlist.h: doxy changes
13387
13388         * bufferlist.C: ws changes
13389
13390         * DepTable.[Ch] (ext_exist): place const in the right spot.
13391
13392         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
13393         call resizeInsets.
13394         (workAreaExpose): call resizeInsets when the with BufferView changes.
13395         (Dispatch): adjust for protectedBlank removal
13396         (specialChar): call updateInset if the insert went ok.
13397
13398         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
13399         specialChar instead.
13400
13401         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
13402
13403         * BufferView.h: doxy change
13404
13405         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
13406
13407         * lyxtextclass.C (operator[]): remove non-const version
13408         (defaultLayout): remove non-const version
13409
13410 2002-03-12  Juergen Vigna  <jug@sad.it>
13411
13412         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
13413         did resize the LyXText too.
13414
13415         * buffer.C (readLyXformat2): set layout information on newly allocated
13416         paragraphs.
13417
13418         * tabular.C (OldFormatRead): set layout information on the paragraph.
13419
13420 2002-03-12  Jos�Ab�io Oliveira Matos  <jamatos@novalis.fc.up.pt>
13421
13422         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
13423
13424 2002-03-11  Juergen Vigna  <jug@sad.it>
13425
13426         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
13427         plainly wrong.
13428         (resizeCurrentBuffer): force also the insets to resize themselfes.
13429         (moveCursorUpdate): fixed up for InsetText.
13430
13431 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
13432
13433         * commandtags.h:
13434         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
13435         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
13436         value of Dialogs::tooltipsEnabled().
13437         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
13438
13439 2002-03-08  Juergen Vigna  <jug@sad.it>
13440
13441         * BufferView_pimpl.C (updateInset): update inset inside inset also
13442         if it isn't inside theLockingInset().
13443
13444 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13445
13446         * buffer.C (asciiParagraph): redo some of the word and line length
13447         handling.
13448         (getLists): look for Caption instead of caption.
13449
13450 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13451
13452         * buffer.C (Buffer): initialize niceFile to true
13453         (makeLaTeXFile):
13454         (makeLinuxDocFile):
13455         (makeDocBookFile): make sure niceFile is true on exit
13456
13457 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13458
13459         * buffer.C (makeLaTeXFile): escape ~ in \input@path
13460
13461 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
13462
13463         * LyXSendto.C: remove.
13464         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
13465         * lyx_gui.C: remove now-redundant comment.
13466         * ColorHandler.h: remove forward declaration of class WorkArea.
13467         * lyxfunc.C: remove #include "WorkArea.h".
13468
13469 2002-03-07  Juergen Vigna  <jug@sad.it>
13470
13471         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
13472         got moved away with the DEPM and also set the inset_owner always
13473         right which before could have been omitted.
13474
13475 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13476
13477         * buffer.C (parseSingleLyXformat2Token): use default layout is the
13478         wanted layout is not found.
13479
13480 2002-03-07  Juergen Vigna  <jug@sad.it>
13481
13482         * CutAndPaste.C (cutSelection): another layout settings forgotten.
13483
13484 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13485
13486         * paragraph.C (breakParagraph): use default layout not layout of
13487         prev paragraph.
13488         (Paragraph): clear ParagraphParameters.
13489
13490 2002-03-06  Juergen Vigna  <jug@sad.it>
13491
13492         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
13493         otherwise it would not be a valid lenght. Fixed a special case in
13494         the minipage compatibility read where we end the document with a
13495         minipage.
13496
13497         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
13498         was set as it could be 0 for InsetTexts first entry.
13499
13500 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13501
13502         * paragraph.C (writeFile): if layout is empty write out
13503         defaultLayoutName().
13504
13505         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
13506         file without named layout we set layout to defaultLayoutName().
13507
13508 2002-03-06  Juergen Vigna  <jug@sad.it>
13509
13510         * CutAndPaste.C (copySelection): set layout for new paragraph.
13511
13512         * text.C (prepareToPrint): leave ERT inset left aligned
13513         (leftMargin): don't indent paragraphs inside ERT insets
13514
13515 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13516
13517         * paragraph.C (breakParagraph): dont call clear do the work manually
13518
13519         * paragraph.[Ch] (clear): remove function
13520
13521 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13522
13523         * paragraph.C (Paragraph): dont call clear, the work has already
13524         been done.
13525
13526         * lyxtextclass.C (operator): assert if n is empty
13527
13528         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
13529         work manually instead.
13530
13531 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
13532
13533         * BufferView_pimpl.C: protect selectionLost against text == 0
13534
13535 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13536
13537         * text.C (breakParagraph): fix a setting layout to '0' problem.
13538
13539 2002-03-05  Jos�Ab�io Oliveira Matos  <jamatos@novalis.fc.up.pt>
13540
13541         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
13542         final location of file, for the included files, and graphics.
13543
13544 2002-03-05  Juergen Vigna  <jug@sad.it>
13545
13546         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
13547
13548 2002-03-04  Juergen Vigna  <jug@sad.it>
13549
13550         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
13551
13552         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
13553         last column of multicolumn cells.
13554         (SetWidthOfMulticolCell): recalculate NMC and real columns.
13555
13556 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
13557
13558         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
13559         file if it doesn't go to a temporary file.
13560
13561         * buffer.C (sgmlOpenTag):
13562         (sgmlCloseTag):  remove extra newline insertion.
13563
13564 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13565
13566         * text.C (getRowNearY): comment out debug msg
13567
13568 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13569
13570         * text2.C: first -> first_y
13571
13572         * text.C (getRowNearY): add some attemts at a possible
13573         optimization, not working.
13574
13575         * tabular.[Ch]: add BufferParams to several function so that newly
13576         created paragraph can be initialized to he default layotu for the
13577         buffers textclass.
13578
13579         * tabular-old.C (ReadOld): add buf->params to call of Init
13580
13581         * screen.C: rename text->first to text->first_y
13582
13583         * paragraph.C (breakParagraph): always set layout in the broken
13584         paragraph
13585
13586         * lyxtextclass.C (Read): remove lowercase
13587         (hasLayout): ditto
13588         (operator): ditto
13589         (delete_layout): ditto
13590
13591         * lyxtext.h: rename first -> first_y
13592
13593         * lyxlayout.C (Read): remove lowercase
13594         (name): ditto
13595         (setName): ditto
13596         (obsoleted_by): ditto
13597
13598         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
13599
13600         * buffer.C (insertErtContents): add params are to InsetERT
13601         (parseSingleLyXformat2Token): add code to check if a paragraphs
13602         layout really exist.
13603         (parseSingleLyXformat2Token): add params to several inset
13604         constructors
13605         (asciiParagraph): remove lowercase, do the layout comparisons with
13606         no_case
13607
13608         * BufferView_pimpl.C (cursorNext): first -> first_y
13609         (resizeCurrentBuffer): first -> first_y
13610         (updateScrollbar): first -> first_y
13611         (scrollCB): first -> first_y
13612         (workAreaMotionNotify): first -> first_y
13613         (workAreaButtonPress): first -> first_y
13614         (checkInsetHit): first -> first_y
13615         (cursorPrevious): first -> first_y
13616         (cursorNext): first -> first_y
13617         (Dispatch): add buffer_->params to severl inset contructors
13618
13619 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13620
13621         * lyxlayout.C (Read): remove some debug info that I forgot.
13622
13623         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
13624         clean up the code slightly.
13625         (makeLinuxDocFile): ditto
13626         (makeDocBookFile): ditto
13627
13628         * text2.C: layout as string
13629
13630         * text.C: layout as string
13631
13632         * paragraph_pimpl.C: layout as string
13633
13634         * paragraph.[Ch]: layout as string
13635
13636         * lyxtextclasslist.[Ch]: layout as string
13637
13638         * lyxtextclass.[Ch]: layout as string
13639
13640         * lyxtext.h: layout as string
13641
13642         * lyxlayout.[Ch]: layout as string
13643
13644         * lyx_cb.C: layout as string
13645
13646         * bufferview_funcs.C: layout as string
13647
13648         * bufferparams.C: layout as string
13649
13650         * buffer.C: layout as string
13651
13652         * LyXView.[Ch]: layout as string
13653
13654         * LaTeXFeatures.[Ch]: layout as string
13655
13656         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
13657
13658         * BufferView_pimpl.C: change current_layout to string, remove
13659         lyx::layout_type.
13660         (Dispatch):
13661         (smartQuote):
13662         (insertInset):
13663         (workAreaButtonRelease): layout as string
13664
13665         * BufferView2.C (unlockInset): adjust
13666
13667         * vspace.C (asLatexCommand): use an explict temp variable.
13668
13669 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
13670
13671         * Makefile.am: use FRONTEND_*
13672
13673 2002-03-01  Juergen Vigna  <jug@sad.it>
13674
13675         * tabular.C (SetWidthOfMulticolCell): changed to something better
13676         I hope but still work in progress.
13677         (recalculateMulticolumnsOfColumn): renamed function from
13678         recalculateMulticolCells as it is more appropriate now.
13679         (SetWidthOfCell): calculate multicols better.
13680
13681 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13682
13683         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
13684
13685         * lyxfunc.C (processKeySym): print sequence also if it is
13686         `deleted' (complete)
13687
13688         * kbsequence.C (print): print sequence even if it is deleted
13689         (complete would be a better word, actually).
13690
13691         * lyxfunc.C (dispatch): print complete options after a prefix key
13692
13693         * vspace.C (asLatexCommand): rewrite in a slightly different form.
13694
13695 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
13696
13697         * text2.C (setCharFont): eliminate setCharFont code duplication.
13698
13699 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13700
13701         * BufferView_pimpl.C (Dispatch): remove bogus handling of
13702         LFUN_TABULAR_FEATURE (bug #177)
13703
13704 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
13705
13706         * Makefile.am: remove figure.h
13707
13708 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
13709
13710         * Bufferview_pimpl.C:
13711         * CutAndPasteC:
13712         * LaTeX.C:
13713         * LyXSendto.C:
13714         * buffer.C:
13715         * bufferlist.C:
13716         * converter.C:
13717         * language.C:
13718         * lyxfunc.C:
13719         * lyxvc.C:
13720         * paragraph.C:
13721         * text.C:
13722         * text2.C: remove #include "lyx_gui_misc.h".
13723
13724         * LaTeX.C: added #include <cstdio>
13725
13726 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13727
13728         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
13729         that the paragraph following this one can have.
13730
13731         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
13732
13733         * vspace.C (asLatexCommand): fix bogus gcc warning
13734
13735         * Makefile.am (lyx_SOURCES): remove vms_defines.h
13736
13737 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
13738
13739         * text2.C (setLayout): get rid of redundant code
13740
13741 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
13742
13743         * text2.C (incDepth): make sure depth cannot be increased beyond
13744         reasonable values.
13745
13746 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
13747
13748         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
13749         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
13750
13751         * PainterBase.h (image):
13752         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
13753         a LyXImage const *.
13754
13755 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
13756
13757         * BufferView.C:
13758         * BufferView.h:
13759         * BufferView_pimpl.C:
13760         * BufferView_pimpl.h:
13761         * LaTeXFeatures.C:
13762         * LyXAction.C:
13763         * LyXView.C:
13764         * Makefile.am:
13765         * UpdateList.h:
13766         * UpdateList.C:
13767         * buffer.C:
13768         * figure.h:
13769         * figureForm.C:
13770         * figureForm.h:
13771         * figure_form.C:
13772         * figure_form.h:
13773         * lyx_cb.C:
13774         * lyx_gui.C:
13775         * lyx_gui_misc.C:
13776         * lyxfunc.C:
13777         * sp_base.h:
13778         * sp_ispell.h:
13779         * sp_pspell.h:
13780         * sp_spell.C: remove fig inset, and the crap house of
13781           cards that follows it
13782
13783 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
13784
13785         * Makefile.am:
13786         * lyxserver.C:
13787         * os2_defines.h:
13788         * os2_errortable.h:
13789         * nt_defines.h: move .h into support/
13790
13791         * vms_defines.h: remove
13792
13793         * WorkArea.C: add space in debug output
13794
13795         * text2.C:
13796         * paragraph.C:
13797         * buffer.C: add WITH_WARNINGS
13798
13799         * vc-backend.h:
13800         * vc-backend.C:
13801         * bufferlist.C: s/retrive/retrieve/, add docs
13802
13803         * vspace.h:
13804         * vspace.C:
13805         * kbmap.h:
13806         * lyxlength.h:
13807         * lyxgluelength.h:
13808         * length_common.h:
13809         * chset.h:
13810         * chset.C: add docs
13811
13812         * lyxgui.C: add ID to X error handler
13813
13814         * lyxtestclass.c: fix typo
13815
13816 2002-02-26  Juergen Vigna  <jug@sad.it>
13817
13818         * tabular_funcs.C (write_attribute): changed so that some default
13819         attributes are not written at all.
13820         (getTokenValue): set default values before trying to read the
13821         value so we have the return value always set as default if we don't
13822         find the token we search for.
13823
13824         * tabular.C (Write): write bools as bools not as strings!
13825
13826 2002-02-22  Juergen Vigna  <jug@sad.it>
13827
13828         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
13829         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
13830
13831         * text.C (leftMargin): don't add an indent for paragraphs inside
13832         tabular cells (fix #208).
13833
13834 2002-02-21  José Matos  <jamatos@fep.up.pt>
13835
13836         * tabular.C (docBook): fixed support for long tables.
13837
13838 2002-02-20  Juergen Vigna  <jug@sad.it>
13839
13840         * text2.C (getFont): get the drawing font of the Inset if this
13841         paragraph is inside an inset (only important for InsetERT for now).
13842
13843         * buffer.C (insertErtContents): use new lanugage params in ERT
13844         constructor.
13845
13846         * CutAndPaste.C: commenting out seemingly uneeded code.
13847
13848 2002-02-19  Allan Rae  <rae@lyx.org>
13849
13850         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
13851         Iterators might be simple to use but they also get invalidated.
13852         (removeAutoInsets): renamed saved cursor tracking variables and added
13853         some comments to clarify what everything does.
13854
13855 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
13856
13857         * Chktex.C:
13858         * LaTeX.C:
13859         * LyXSendto.C:
13860         * converter.C:
13861         * lyx_cb.C:
13862         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
13863         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
13864
13865         * lyxfunc.C:
13866         * vc-backend.h: remove #include "support/syscall.h"
13867
13868         * LaTeX.C:
13869         * LyXSendto.C:
13870         * converter.C: rearrange #includes in Lars' approved fashion.
13871
13872         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
13873         forward declare class Timeout in the header file.
13874
13875         * XFormsView.C: changes due to the above.
13876
13877         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
13878         similar to LyXView.
13879
13880         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
13881         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
13882
13883 2002-02-18  José Matos  <jamatos@fep.up.pt>
13884
13885         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
13886         insets contents.
13887
13888 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
13889
13890         * a lot of small ws changes
13891         * add a lot of using std::XXX
13892         * use std construcs some places where approp.
13893         * use some exisint stuff from lyxfunctional where approp.
13894         * Make file changes to use partial linking (lets test this now...)
13895
13896 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
13897
13898         * Chktex.C:
13899         * buffer.C:
13900         remove #include "support/syscontr.h" as it's redundant. Always has been.
13901
13902         * Chktex.C:
13903         * LaTeX.C:
13904         * LyXSendto.C:
13905         * converter.C:
13906         * lyx_cb.C:
13907         * vc-backend.C:
13908         change Systemcalls::System to Systemcalls::Wait and
13909         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
13910         No change of functionality, just reflects the stripped down Systemcalls
13911         class.
13912
13913 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
13914
13915         * debug.[Ch]: add a GRAPHICS type to the enum.
13916
13917 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13918
13919         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
13920
13921         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
13922         there is an inset.
13923
13924 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13925
13926         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
13927         match the changes below.
13928
13929         * text2.C (toggleInset): if there is not editable inset at cursor
13930         position, try to see if cursor is _inside_ a collapsable inset
13931         and close it.
13932
13933 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13934
13935         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
13936         document menu has a nice checkbox
13937
13938 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13939
13940         * lyxlength.C (asLatexString): change PW to output as percent of
13941         \textwidth.
13942
13943         * lengthcommon.C: change '%' to 't%'
13944
13945         * lyxfunc.C (dispatch): a few comments from Martin
13946
13947 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
13948
13949         * WorkArea.h:
13950         * WorkArea.C:
13951         * BufferView_pimpl.h:
13952         * BufferView_pimpl.C: clear our selection when X tells us we've lost
13953           the X selection.
13954
13955 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13956
13957         * vspace.C (inPixels): fix compiler warning
13958
13959 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13960
13961         * lyxfunc.C (getStatus): fix status message for disabled commands.
13962
13963 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
13964
13965         * BufferView_pimpl.C: fix crash on close buffer
13966         during selection (#227)
13967
13968 2002-01-27  Herbert Voss  <voss@lyx.org>
13969
13970         * buffer.C: link old Figure to new graphic inset
13971
13972 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
13973
13974         * FontLoader.C (getFontinfo): Change the latex font names in order
13975         to match the names of type1inst.
13976
13977 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13978
13979         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
13980
13981         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
13982         (extchanged): ditto
13983         (ext_exist): ditto
13984         (remove_files_with_extension): ditto
13985         (remove_file): ditto
13986         (write): ditto
13987
13988         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
13989         document is smaller than the work area height. Do not initialize
13990         static variables to 0.
13991
13992 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13993
13994         * lyx_gui.C (init): give the toolbar tooltips a normal font.
13995
13996         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
13997         LFUN_LAYOUT_PARAGRAPHS.
13998
13999         * tabular.C (GetCellFromInset): new method. Finds an inset in a
14000         tabular. It is possible to provide a possible cell, which will
14001         typically be the actcell from the corresponding insettabular
14002
14003         * lyxfunc.C (getStatus): small cleanup; disable
14004         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
14005         true
14006
14007 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14008
14009         * tabular.C (Validate): remove broken optimization (fixes bug #201)
14010
14011         * paragraph.C (startTeXParParams):
14012         (endTeXParParams): new methods. The LaTeX code to
14013         start/end paragraph formatting
14014         (simpleTeXOnePar): call startTeXParParams also when paragraph is
14015         empty (fixes bug #200)
14016
14017         * vspace.C (inPixels): adapt to the change below
14018         (inPixels): [later] more cleanups (remove unused variables)
14019
14020         * lyxlength.C (inPixels): change to use a width and a height as
14021         parameter.
14022
14023 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14024
14025         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
14026         Replaced with \paperwidth
14027
14028         * DepTable.C (insert): add std:: qualifier
14029
14030 2002-01-18  Allan Rae  <rae@lyx.org>
14031
14032         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
14033         updated also?
14034
14035         * text.C (drawInset): Turned out I didn't know enough about how
14036         rebreaking worked.  This fixes most of the redraw problems.  I see
14037         an occasional cursor trail when a line is broken now and the cursor
14038         placement can seem out by a few pixels also after a rebreak.
14039
14040 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14041
14042         * buffer.C (parseSingleLyXformat2Token): update because minipage
14043         width is now a LyXLength
14044
14045         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
14046
14047         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
14048         math insets
14049
14050 2002-01-17  Juergen Vigna  <jug@sad.it>
14051
14052         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
14053
14054         * BufferView2.C (lockInset): call edit() so that theLockingInset()
14055         is set correctly and the inset is updated correctly.
14056
14057 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14058
14059         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
14060         the beginning of the loop.
14061
14062 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
14063
14064         * lyxrc.C: improve help for use_scalable_fonts
14065
14066 2002-01-17  Allan Rae  <rae@lyx.org>
14067
14068         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
14069
14070 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14071
14072         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
14073         make sure to set their inset_owner to the right value (bug #171)
14074
14075 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
14076
14077         * DepTable.h
14078         * DepTable.C: Implement mtime checking to reduce time spent doing
14079         CRCs.
14080
14081 2002-01-16  Juergen Vigna  <jug@sad.it>
14082
14083         * tabular.C (GetAdditionalHeight): one of error fixed.
14084
14085         * lyxrc.C (output): small fix in writing use_pspell.
14086
14087 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
14088
14089         * sp_base.h: #include LString.h
14090
14091 2002-01-16  Allan Rae  <rae@lyx.org>
14092
14093         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
14094         Can someone check this please?
14095
14096         * text.C (drawInset): It was possible that p.row would be removed by
14097         breakAgainOneRow upsetting a few other settings.  There may be another
14098         small tweak possible by setting need_break_row = 0 when p.row has been
14099         removed but I don't know enough about the logic here.
14100
14101 2002-01-15  Allan Rae  <rae@lyx.org>
14102
14103         * text.C (insertChar): removed conditional truism.
14104
14105         * BufferView2.C (removeAutoInsets): More tweaks.
14106         cur_par_prev could be a stray pointer.  Check for trailing empty line
14107         in case last line was cur_par and only had an error inset on it.
14108
14109 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14110
14111         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
14112         absolute
14113
14114         * vc-backend.C (most methods):
14115         * exporter.C (Export):
14116         * converter.C (convert):
14117         (runLaTeX):
14118         * LyXSendto.C (SendtoApplyCB):
14119         * lyxfunc.C (dispatch):
14120         (menuNew):
14121         (open):
14122         (doImport):
14123         * lyx_cb.C (AutoSave):
14124         (InsertAsciiFile):
14125         * BufferView_pimpl.C (MenuInsertLyXFile):
14126         * buffer.C (runChktex): use Buffer::filePath().
14127
14128         * buffer.h: rename filename to filename_; rename filepath to
14129         filepath_ and make it private
14130         (filePath): new method
14131
14132         * buffer.C (writeFile): use fileName()
14133         (getLatexName):
14134
14135         * lyx_main.C (init): fix starting  of LyX when the binary is a
14136         link from so,ewhere else.
14137
14138         * minibuffer.C: include <cctype> for isprint
14139
14140 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
14141
14142         * buffer.C (parseSingleLyXformat2Token): changes associated with the
14143         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
14144         name clash with InsetCollapsable's width function.
14145
14146 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14147
14148         * lastfiles.C: include <iterator>
14149
14150 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
14151
14152         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
14153         std::count.
14154
14155         * buffer.C (makeLaTeXFile): ditto.
14156         Also make loop operation more transparent.
14157
14158 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
14159
14160         * ToolbarDefaults.C: remove trailing comma closing namespace.
14161
14162         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
14163
14164         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
14165         as in WorkArea.
14166
14167         * trans.C (Load): comment out unused variable, allowed.
14168
14169 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
14170
14171         * minibuffer.[Ch] (append_char): new method to recieve input from the
14172         drop-down completion browser. If a key was pressed, then recieve this
14173         char and append it to the existing string.
14174         (peek_event): modify the positioning data passed to the completion
14175         browser so that it can be placed above the minibuffer rather than below.
14176 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14177
14178         * LyXAction.C (init): alloe error-next for readonly documents.
14179
14180         * BufferView2.C (ChangeRefsIfUnique): use standard version of
14181         count.
14182
14183 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14184
14185         * bufferlist.C (readFile): create the buffer _after_ checking that
14186         the file exists.
14187
14188         * lyxfunc.C (verboseDispatch): fix handling of arguments
14189
14190         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
14191
14192         * lyxrc.C: use string::erase() instead of initializing to "".
14193
14194
14195 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
14196
14197         * BufferView_pimpl.h:
14198         * BufferView_pimpl.C:
14199         * WorkArea.h:
14200         * WorkArea.C:
14201         * text2.C: tell X when we have made a selection for copying
14202
14203 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14204
14205         * BufferView_pimpl.C (MenuInsertLyXFile):
14206         * lyxfunc.C (menuNew):
14207         (open):
14208         (doImport): add shortcuts to directory buttons
14209
14210         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
14211         open a float)
14212
14213         * lyxfunc.C (setStatusMessage):
14214         (getStatusMessage): new methods
14215         (getStatus):use setStatusMessage instead of setErrorMessage
14216         (dispatch): when function is disabled, set error message here
14217         [instead of in getStatus previously]
14218
14219         * BufferView_pimpl.C (workAreaButtonRelease): update
14220         toolbar/menubar here too.
14221
14222 2002-01-13  Allan Rae  <rae@lyx.org>
14223
14224         * BufferView2.C (removeAutoInsets): finished off earlier fix.
14225         Now seems indestructible.  Remaining task is to audit all other
14226         code affected by deleteEmptyParagraphMechanism.  One small quirk
14227         left is that an empty document with an error in the preamble can
14228         be made to report an error but no error box appears.  I don't know
14229         where it goes.
14230         (removeAutoInsets): Improved comments.
14231
14232 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
14233
14234         * Thesaurus.h:
14235         * Thesaurus.C: update for Aiksaurus 0.14
14236
14237 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14238
14239         * text2.C (firstParagraph): removed member function, all uses
14240         replaces with ownerParagraph
14241         (redoParagraphs): here
14242         (updateInset): here
14243         (toggleAppendix): here
14244         * BufferView2.C (insertErrors): here
14245         (setCursorFromRow): here
14246
14247 2002-01-13  Allan Rae  <rae@lyx.org>
14248
14249         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
14250         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
14251         There is still a way to segfault this although you may have to do this
14252         multiple times: Have an InsetERT with an unknown command in it.
14253         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
14254         <down-arrow>, <Enter> again, View->DVI, BANG!
14255
14256         * text2.C (setCursor):
14257         (deleteEmptyParagraphMechanism):
14258         * lyxtext.h (setCursor):
14259         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
14260         Making use of the return value may help fix other bugs.
14261
14262 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14263
14264         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
14265
14266         * LyXView.C (updateMenubar): call MenuBar::update here
14267         (updateToolbar): but not here
14268         (showState): do not update toolbar/menubar
14269
14270         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
14271         should need to care about that.
14272
14273         * lyxfunc.C (verboseDispatch): simplify a bit
14274         (getStatus): have a version which takes a pseudoaction, and
14275         another which requires a (kb_action,string).
14276
14277         * LyXAction.C (retrieveActionArg): make it work also when action
14278         is not a pseudo-action.
14279         (getActionName): simplify a bit
14280         (helpText):
14281
14282 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14283
14284         * lyxfunc.C (verboseDispatch): new families of methods with
14285         several ways to specify a command and a bool to indicate whether
14286         the command name and shortcut should be displayed in minibuffer
14287         (eventually, we could extend that to a finer bitmask like
14288         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
14289         (dispatch): the pristine dispatch command which just, well,
14290         dispatchs! Note it still sets its result to minibuffer; I'm not
14291         sure we want that.
14292
14293         * lyxfunc.h: remove setHintMessage
14294
14295         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
14296
14297 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14298
14299         * BufferView_pimpl.C (specialChar): delete new inset if we have
14300         not been able to insert it.
14301
14302         * kbmap.C: revert to using int instead of kb_action, since all we
14303         are dealing with is pseudo-actions.
14304
14305         * LyXAction.C (searchActionArg): change to return int instead of
14306         kb_action, since the result is a pseudoaction.
14307
14308 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
14309
14310         * buffer.C (insertErtContents): Fix (partially) the font bug.
14311
14312 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
14313
14314         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
14315         as the other one is broken on my machine!
14316
14317 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
14318
14319         * commandtags.h:
14320         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
14321
14322 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
14323
14324         * lyxrc.[Ch]: change names and descriptions of popup font variables to
14325         reflect their actual use. Provide compatibility code for older lyxrc
14326         files.
14327
14328         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
14329         FL_NORMAL_STYLE.
14330         change names of popup font variables in line with the changes to lyxrc.C
14331
14332 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14333
14334         * buffer.C (asciiParagraph): avoid outputing a word twice after
14335         an inset.
14336
14337         * lyxrc.C (getDescription): document that document_path and
14338         template_path can be empty.
14339
14340 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14341
14342         * LaTeXFeatures.C (getMacros):
14343         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
14344
14345         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
14346
14347         * LaTeXFeatures.C (useFloat): require "float" here instead of in
14348         getPackages.
14349         (getPackages): rename feature "floats" to "float". Use an array to
14350         iterate over 'simple' features (i.e. just a \usepackage). Add
14351         handling of "amsmath" (renamed from "amsstyle").
14352
14353 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
14354
14355         * LaTeXFeatures.C (require): Prevent duplicate entries in the
14356         features list.
14357
14358 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
14359
14360         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
14361         FuncStaus::FuncStatus & FuncStaus::some_method().
14362
14363 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
14364
14365         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
14366         of the func_satus stuff. Edited and massaged in various ways by
14367         JMarc.
14368
14369         * lyxfunc.C (getStatus): use FuncStatus
14370
14371 2002-01-08  Juergen Vigna  <jug@sad.it>
14372
14373         * text.C (nextBreakPoint): use function Inset::isChar().
14374
14375         * paragraph.C (TeXOnePar): use function
14376         Inset::forceDefaultParagraphs.
14377
14378         * buffer.C (latexParagraphs): use function
14379         Inset::forceDefaultParagraphs.
14380
14381 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
14382
14383         * lyx_gui.C (init): set the style of the menu popups to
14384         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
14385
14386 2002-01-07  Juergen Vigna  <jug@sad.it>
14387
14388         * text.C (setHeightOfRow): small fix
14389         (prepareToPrint): don't look at alignment if we don't have the place
14390         for doing it.
14391
14392 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
14393
14394         * box.C: New file. Move the Box methods and functions out of box.h,
14395         following Lars' suggestion.
14396
14397 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
14398
14399         * box.h: #include "support/LOstream.h", needed for inlined function.
14400
14401         * lyxtextclass.C:
14402         * lyxtextclasslist.C: added some using std declarations.
14403
14404 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
14405
14406         * box.h: make signed dimensions to allow insets wider than
14407           the screen (bug #162)
14408
14409         * BufferView_pimpl.C: add some insetHit debug
14410
14411 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
14412
14413         * vc-backend.C: add FIXME
14414
14415 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14416
14417         * lyxfunc.C (getStatus): enable code for showing math font status
14418         in toolbar/menu.
14419
14420 2002-01-07  Juergen Vigna  <jug@sad.it>
14421
14422         * text.C (nextBreakPoint): removed debug output not needed anymore.
14423
14424 2002-01-06  Juergen Vigna  <jug@sad.it>
14425
14426         * text.C (nextBreakPoint): fixed up this function we had this bug
14427         since ever but now hopefully we break row better.
14428         (insertChar): we have to check if an inset is the next char as it
14429         could now happen that a large inset is causing a break.
14430
14431 2002-01-05  Juergen Vigna  <jug@sad.it>
14432
14433         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
14434         if it doesn't like to be drawed.
14435
14436 2002-01-04  Juergen Vigna  <jug@sad.it>
14437
14438         * BufferView2.C (lockInset): forgot to set a cursor.
14439
14440         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
14441
14442 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
14443
14444         * FormMathsPanel.C:
14445         * FormMathsPanel.h
14446         * MathsSymbols.C:
14447         * form_maths_panel.C:
14448         * form_maths_panel.h:
14449         * form_maths_panel.fd: implemented sub- and super- buttons in math
14450         panel.
14451
14452         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
14453         (or ^ space) to be used as in TeX (req'd by Andr�.
14454
14455         * lyxfunc.C: Allow ^ and _ again to be used both as
14456         super/subscript (mathed) and as themselves (in text).
14457
14458 2002-01-03  Allan Rae  <rae@lyx.org>
14459
14460         * LyXView.C (updateWindowTitle): Setup a short icon title of either
14461         "LyX" or the filename of the current buffer if it has one.  This is a
14462         modified form of John Levon's patch.
14463
14464         * XFormsView.C (setWindowTitle): also set icon title.
14465
14466         * LyXView.h (setWindowTitle): signature changed.
14467         * XFormsView.h (setWindowTitle): ditto.
14468
14469 2002-01-02  Juergen Vigna  <jug@sad.it>
14470
14471         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
14472
14473 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14474
14475         * screen.C (topCursorVisible): introduce a temp var for
14476         text->cursor.row(), handle the case where this row is null. (kindo
14477         hachish)
14478
14479         * text2.C (setCursor): add a couple of asserts.
14480
14481         * paragraph.h (inset_iterator): add -> operator
14482
14483         * paragraph.[Ch] (autoDeleteInsets): remove member function
14484
14485         * BufferView2.C (removeAutoInsets): rewrite to handle the old
14486         cursor pos correctly and handle inset deletion by itself.
14487         (insertErrors): move iterator declaration out of for expression
14488
14489         * lyxtextclass.C: add <algorithm>
14490
14491         * Makefile.am: added the new files to sources, removed layout.C
14492
14493         * layout.C: removed file
14494
14495         * layout.h: remove LYX_DUMMY_LAYOUT
14496
14497         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
14498         layout.
14499
14500         * lyxlayout.[Ch]:
14501         * lyxtextclass.[Ch]:
14502         * lyxtextclasslist.[Ch]: new files
14503
14504         * include order changes to a lot of files, also changes because of
14505         the six new files.
14506
14507 2001-12-27  Juergen Vigna  <jug@sad.it>
14508
14509         * buffer.C (asciiParagraph): more fixes.
14510
14511         * tabular.C (ascii): make ascii export support export of only the
14512         data separated by a column-delimiter.
14513         (ascii): better support for ascii export.
14514
14515         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
14516
14517 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14518
14519         * tabular_funcs.C: use a "using std::getline" instead of the
14520         previous fix from Angus (necessary for cxx + lyxstring)
14521
14522 2001-12-24  Juergen Vigna  <jug@sad.it>
14523
14524         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
14525
14526         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
14527         problems. First check a minipage also if we have some ert-contents
14528         (not only on par->size(), second set the right depth of the paragraph
14529         on the relink to the root-paragraph-list!
14530
14531         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
14532         which then did not anymore update the main paragraphs on undo/redo!
14533
14534 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14535
14536         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
14537         code. Support all font-changing funcs (even those which are not in
14538         menu currently). Support for reporting font settings in
14539         mathed (disabled until Andre provides a function on mathed's side).
14540
14541         * func_status.h (toggle): small helper function to set toggle
14542         state on a flag.
14543
14544 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
14545
14546         * tabular_funcs.C: getline -> std::getline
14547
14548 2001-12-21  Juergen Vigna  <jug@sad.it>
14549
14550         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
14551         accessed and could be 0 (I couldn't generate this but it seems
14552         Michael could!).
14553
14554 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14555
14556         * tabular_funcs.C: add LIstream.h, move write_attribute to..
14557         * tabular_funcs.h: here and include iosfwd
14558
14559 2001-12-20  Juergen Vigna  <jug@sad.it>
14560
14561         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
14562         inside inset but undo_par was.
14563
14564 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14565
14566         * Thesaurus.C: always include <config.h> in sources.
14567
14568         * Painter.h:
14569         * lyxlookup.h:
14570         * box.h: do not include <config.h> in header files
14571
14572         * text.C (paintLastRow): remove unused variable
14573
14574         * text.C (transformChar):
14575         (insertChar):
14576         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
14577
14578         * Painter.C (text):
14579         * font.C (width): rewrite to use uppercase() instead of
14580         islower/toupper.
14581
14582         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
14583
14584 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
14585
14586         * lyxfind.C: clean up of find failure position change
14587
14588 2001-12-20  Juergen Vigna  <jug@sad.it>
14589
14590         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
14591
14592         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
14593         (TeXRow): added to LaTeX a single tabular row.
14594         (TeXLongtableHeaderFooter): added to output LT-h/f data.
14595         (Latex): simplified and finally good LT-h/f support.
14596         (various_functions): just small adaptions for LT-h/f support.
14597
14598         * tabular_funcs.[hC]: added and moved here all not classfunctions
14599         of LyXTabular.
14600
14601 2001-12-19  Juergen Vigna  <jug@sad.it>
14602
14603         * tabular.[Ch]: better support for longtabular options (not finished
14604         yet!)
14605
14606 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14607
14608         * text.C (paintLastRow): use the label font instead of the font of
14609         the last character to compute the size of *_BOX. This makes more
14610         sense and avoids a crash with empty paragraphs.
14611         Use Painter::rectangle to draw EMPTY_BOX.
14612
14613 2001-12-19  Juergen Vigna  <jug@sad.it>
14614
14615         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
14616         the paragraphs if the replaced paragraph is not the first one!
14617         Tried to delete not used paragraphs but does not work yet so for
14618         now it's inside #ifdef's and by default off!
14619
14620 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14621
14622         * MenuBackend.C: include "lyx_main.h" instead of declaring
14623         lastfiles (actually was declared as LastFiles* instead of a
14624         scoped_ptr).
14625
14626 2001-12-17  Juergen Vigna  <jug@sad.it>
14627
14628         * tabular.C (AppendColumn): applied John's fix
14629
14630 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
14631
14632         * BufferView.h:
14633         * BufferView.C:
14634         * BufferView_pimpl.h:
14635         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
14636
14637         * Makefile.am:
14638         * box.h: new start of class for above
14639
14640         * lyxfunc.C: ignore space-only minibuffer dispatches.
14641           Show the command name when it doesn't exist
14642
14643         * minibuffer.C: don't add empty lines to the history
14644
14645         * minibuffer.C: add a space on dropdown completion
14646
14647 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
14648
14649         * text.C: fix line above/below drawing in insets
14650
14651 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14652
14653         * lyxlength.C (LyXLength): Initialize private variables.
14654
14655 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
14656
14657         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
14658         when inserting error insets.
14659
14660 2001-12-13  Juergen Vigna  <jug@sad.it>
14661
14662         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
14663         actually sometimes the before-paragraph.
14664         (setUndo): don't clear the redostack if we're not actually undoing!
14665
14666 2001-12-06  Juergen Vigna  <jug@sad.it>
14667
14668         * undo_funcs.C (textHandleUndo): well after John's hint I got here
14669         and fixed redoing of main paragraph, so we can use it now ;)
14670
14671         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
14672
14673 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14674
14675         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
14676         Juergen's request
14677
14678 2001-12-13  André Pönitz <poenitz@gmx.net>
14679
14680         * undostack.[Ch]:
14681         * undo_func.C: minor cleanup
14682
14683 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14684
14685         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
14686         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
14687         font in urw-fonts package which is marked as -urw-fontspecific and
14688         does not work (incidentally, changing the encoding in the
14689         fonts.dir of this package to -adobe-fontspecific fixes the
14690         problem).
14691
14692         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
14693         is a crash when undoing first paragraph (Juergen, please take a
14694         look). THis does not mean the undo fix is wrong, just that it
14695         uncovers problems.
14696
14697         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
14698         the (Paragraph*) version when needed instead of duplicating the
14699         code.
14700
14701         * text.C (workWidth): use Inset::parOwner to find out where the
14702         inset has been inserted. This is a huge performance gain for large
14703         documents with lots of insets. If Inset::parOwner is not set, fall
14704         back on the brute force method
14705
14706         * paragraph_pimpl.C (insertInset):
14707         * paragraph.C (Paragraph):
14708         (cutIntoMinibuffer): set parOwner of insets when
14709         inserting/removing them
14710
14711         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14712
14713 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
14714
14715         * commandtags.h:
14716         * LyXAction.C:
14717         * lyx_main.C:
14718         * lyxfunc.C:
14719         * mathed/formulabase.C:
14720         * mathed/math_cursor.[Ch]:
14721         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
14722
14723
14724 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14725
14726         * lyxlength.[Ch] (operator!=): new function
14727
14728 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14729
14730         * text.C (workWidth): use Inset::parOwner to find out where the
14731         inset has been inserted. This is a huge performance gain for large
14732         documents with lots of insets. If Inset::parOwner is not set, fall
14733         back on the brute force method
14734
14735         * paragraph_pimpl.C (insertInset):
14736         * paragraph.C (Paragraph):
14737         (cutIntoMinibuffer): set parOwner of insets when
14738         inserting/removing them
14739
14740         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14741
14742 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14743
14744         * tabular-old.C (getTokenValue):
14745         * tabular.C (getTokenValue):
14746         (write_attribute): new versions for LyXLength
14747         (everywhere): adjust the use of widths
14748
14749         * tabular.h: change the type of widths from string to LyXLength
14750
14751 2001-12-11  Ben Stanley <bds02@uow.edu.au>
14752
14753         * paragraph.C: fixed missing line number count when exporting
14754         Environments to LaTeX file
14755
14756         * buffer.C: added informational message for checking line numbers.
14757
14758 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14759
14760         * text2.C (deleteEmptyParagraphMechanism): if there is only one
14761         paragraph, do the 'double space' part, but not the 'empty
14762         paragraph' one.
14763
14764         * text.C (workWidth): small optimization
14765         (getLengthMarkerHeight): use minimal size for negative lengths.
14766
14767 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
14768
14769         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
14770
14771         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
14772
14773 2001-12-11  André Pönitz <poenitz@gmx.net>
14774
14775         * FontLoader.C:
14776         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
14777
14778 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
14779
14780         * text2.C: keep selection on a setFont()
14781
14782 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
14783
14784         * lyx_cb.C: another bv->text misuse, from insert label
14785
14786 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
14787
14788         * kbsequence.h:
14789         * kbsequence.C: re-instate nmodifier mask
14790
14791 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
14792
14793         * lyx_main.h: make lyxGUI private.
14794
14795 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
14796
14797         * lyxfind.C: place the cursor correctly on failed search
14798
14799 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14800
14801         * text.C (getLengthMarkerHeight): for small heights, the arrows
14802         are not always on top/bottom of the text
14803         (drawLengthMarker): smaller arrows; take the left margin in
14804         account; draw also vfills.
14805         (paintFirstRow):
14806         (paintLastRow): remove special code for vfill and standard spaces,
14807         since everything is handled in drawLengthMarker now.
14808
14809 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14810
14811         * buffer.C (insertErtContents): try to handle font and language
14812         interaction a bit better.g
14813
14814         * ColorHandler.C (updateColor): change the hash to cover the whole
14815         LColor enum, ws cleanup
14816         (getGCLinepars): ditto
14817         (getGCLinepars): only lookup in the linecache once.
14818
14819 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
14820
14821         * iterators.C (operator++): Make the iterator more robust
14822
14823         * BufferView2.C (removeAutoInsets): Use paragraph iterators
14824         (John's patch)
14825         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
14826
14827 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14828
14829         * lyxtext.h:
14830         * text.C: better added space drawing
14831
14832 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14833
14834         * LyXView.C:
14835         * BufferView2.C: fix layout combo update on inset unlock
14836
14837 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14838
14839         * Makefile.am: don't compile unused files
14840
14841 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14842
14843         * lyxfunc.C:
14844         * commandtags.h:
14845         * LyXAction.C: remove old LFUN_LAYOUTNO
14846
14847 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14848
14849         * paragraph_pimpl.h:
14850         * paragraph_pimpl.C: isTextAt() doesn't need font param
14851
14852 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14853
14854         * lyxlex.h:
14855         * lyxlex.C: little cleanup
14856
14857 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14858
14859         * BufferView_pimpl.C: fix insertAscii for insets
14860
14861 2001-12-05  Juergen Vigna  <jug@sad.it>
14862
14863         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
14864         set the right font on the "multi" paragraph paste!
14865
14866 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14867
14868         * trans_decl.h:
14869         * trans_mgr.[Ch]:
14870         * trans.[Ch]:
14871         * lyxgluelength.C:
14872         * lyxlength.C: remove out-commented code.
14873
14874         * BufferView_pimpl:
14875         * CutAndPaste.C:
14876         * DepTable.C:
14877         * buffer.C:
14878         * chset.C:
14879         * lastfiles.C:
14880         * lyxlex.C:
14881         * lyxlex_pimpl.C:
14882         * lyxserver.C:
14883         * screen.C:
14884         * tabular-old.C:
14885         * tabular.C:
14886         * text.C:
14887         * trans_mgr.C:
14888         * vc-backend.C: change "while(" to "while ("
14889
14890         * lyxlength.[Ch]: add zero function to check if length is zero or
14891         not
14892         * lyxgluelength.C: use it
14893
14894 2001-12-05  Allan Rae  <rae@lyx.org>
14895
14896         * lyxlength.C: Attempted a fix for the abs(int) header selection.
14897         Works for 2.95.3, from what I understand of Garst's reports this should
14898         work for other g++ versions.  We're screwed if the abs(int) definition
14899         changed between bugfix releases of gcc.
14900
14901 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
14902
14903         * text.C: fix chapter label offset !
14904
14905 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
14906
14907         * lyxtext.h:
14908         * text.C: fix hfill at end of line, clean up
14909
14910 2001-12-04  Juergen Vigna  <jug@sad.it>
14911
14912         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
14913         that we force an update of the inset and it's owners if neccessary.
14914
14915 2001-12-03  Juergen Vigna  <jug@sad.it>
14916
14917         * text.C (rowLast): simplified code
14918
14919 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
14920
14921         * lyxfunc.C: fix show options on timeout
14922
14923 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14924
14925         * screen.C (topCursorVisible): scroll half a page when the cursor
14926         reached top of bottom of screen
14927
14928 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
14929
14930         * minibuffer.C: deactivate on loss of focus
14931
14932 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14933
14934         * vspace.[Ch] (operator!=): add operator.
14935
14936 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
14937
14938         * BufferView_pimpl.C: refuse to open an inset when
14939         there's a selection.
14940
14941 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
14942
14943         * BufferView_pimpl.C: allow to click on RHS of full row insets
14944
14945 2001-11-30  Juergen Vigna  <jug@sad.it>
14946
14947         * tabular.C (LyXTabular): add a same_id to set the same id's in the
14948         insets for undo reasons.
14949
14950 2001-11-28  André Pönitz <poenitz@gmx.net>
14951
14952         * vspace.[Ch]: cosmetical changes
14953
14954 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
14955
14956         * LyXAction.h:
14957         * LyXAction.C:
14958         * lyxfunc.h:
14959         * lyxfunc.C:
14960         * kbmap.h:
14961         * kbmap.C:
14962         * lyxrc.C:
14963         * kbsequence.h:
14964         * kbsequence.C: part re-write of old kb code
14965
14966         * Painter.C:
14967         * WorkArea.C: remove Lgb_bug_find_hack
14968
14969 2001-11-30  José Matos <jamatos@fep.up.pt>
14970
14971         * buffer.C (makeDocBookFile): add a comment to point a hack.
14972         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
14973         Fixed a double write of labels.
14974
14975 2001-11-29 Ben Stanley <bds02@uow.edu.au>
14976
14977         * LaTeX.C:
14978         * LaTeX.h Fixed bug in LaTeX class where it would not
14979         re-run latex if no depfiles were changed, but the .dvi was removed.
14980
14981 2001-11-28  André Pönitz <poenitz@gmx.net>
14982
14983         * all the files from the change on 2001/11/26:
14984         use lyx::layout_type instead of LyXTextClass::size_type
14985         use lyx::textclass_type instead of LyXTextClassList::size_type
14986
14987 2001-11-29  Juergen Vigna  <jug@sad.it>
14988
14989         * text.C: added support for paragraph::isFreeSpacing()
14990
14991         * buffer.C: same as above
14992
14993         * paragraph.h: inserted isFreeSpacing() function to enable
14994         FreeSpacing inside InsetERT.
14995
14996         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
14997         of the paragraph's in the cut/copy buffer to 0!
14998
14999         * text2.C (removeRow): remove the assert as it can!
15000
15001         * lyxtext.h: added helper function firstRow returning firstrow and
15002         made firstrow private again.
15003
15004         * BufferView2.C (lockInset): don't relock if we're already locked!
15005
15006         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
15007         the only paragraph.
15008         (removeRow): added Assert::(firstrow)
15009
15010         * debug.C: forgot to add INSETTEXT here.
15011
15012 2001-11-28  Juergen Vigna  <jug@sad.it>
15013
15014         * sp_spell.C (initialize): changed error text to more general
15015         spellchecker command use (not only ispell!)
15016
15017         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
15018
15019         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
15020
15021 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
15022
15023         * vspace.C: initialise lyxgluelength on failure
15024
15025 2001-11-28  Allan Rae  <rae@lyx.org>
15026
15027         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
15028         declaration & definition that looks like a function declaration.
15029
15030 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15031
15032         * BufferView2.C (copy):
15033         (copyEnvironment): do not clear the selection when doing a copy.
15034
15035         * text.C (paintFirstRow): compilation fix
15036
15037 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
15038
15039         * tabular.C (Latex): correct line count when writing latex.
15040
15041 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
15042
15043         * paragraph_pimpl.h:
15044         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
15045           bug a bit
15046
15047 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
15048
15049         * text.C:
15050         * LColor.h:
15051         * LColor.C: change vfillline->added_space
15052
15053         * text.C: add markers and text for added space
15054
15055         * vspace.C: fix comment
15056
15057 2001-11-28  André Pönitz <poenitz@gmx.net>
15058
15059         * paragraph.C: whitespace changes
15060         * all the other files from the change on 2001/11/26:
15061         change *::pos_type into lyx::pos_type
15062
15063 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
15064
15065         * buffer.C (parseSingleLyXformat2Token): Set the language to the
15066         language of the document when inserting error insets.
15067
15068 2001-11-26  André Pönitz <poenitz@gmx.net>
15069
15070         * BufferView_pimpl.[Ch]:
15071         *       CutAndPaste.C:
15072         * buffer.[Ch]:
15073         * lyxcursor.[Ch]:
15074         * lyxfind.C:
15075         * lyxfunc.C:
15076         * lyxrow.[Ch]:
15077         * paragraph.[Ch]:
15078         * paragraph_pimpl.[Ch]:
15079         * sp_spell.C:
15080         * text.C:
15081         * text2.C: reduce header dependencies, introduce type for positions
15082
15083 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
15084
15085         * <various>: change to use Alert.h
15086
15087 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
15088
15089         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
15090         when encountering an unknown token.
15091         (readLyXformat2): Show an error message if there were unknown tokens.
15092
15093 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
15094
15095         * BufferView2.C:
15096         * BufferView_pimpl.C:
15097         * buffer.C:
15098         * paragraph.h:
15099         * text.C:
15100         * text2.C: use par->isInset()
15101
15102 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
15103
15104         * paragraph_pimpl.h:
15105         * paragraph_pimpl.C: cleanup
15106
15107 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15108
15109         * text2.C (removeRow):
15110         * text.C (setHeightOfRow): remove useless (and costly) call to
15111         getRow.
15112
15113 2001-11-20  Allan Rae  <rae@lyx.org>
15114
15115         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
15116         Now need Inset*::checkInsertChar() to return true for appropriate
15117         cases so that the characters in the minibuffer will actually be
15118         inserted.
15119
15120 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15121
15122         * text.C: change the order of the includes.
15123         (workWidth): initialize it at once.
15124         (workWidth): make maxw unsigned
15125         (setHeightOfRow): remove unused variable (inset)
15126         (selectSelectedWord): remove unused variable (inset)
15127         (paintRowText): fix drawing of hfill characters, and clean up a bit.
15128
15129 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15130
15131         * lyxserver.C (emergencyCleanup): do not try to close pipes if
15132         server is not running.
15133         (openConnection):
15134         (closeConnection): add debug info when server is disabled.
15135
15136         * ColorHandler.C (getGCForeground): send debug message to GUI
15137         channel.
15138
15139         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
15140
15141         * kbmap.C (bind): modify because return conventions of
15142         kb_sequence::parse have changed.
15143
15144         * kbsequence.C (parse): only ignore spaces and not any stupid
15145         control character. This avoids tests like s[i] <= ' ', which are
15146         guaranteed to fail with 8bit characters and signed chars.
15147         Change return code to string::npos when there have been no error
15148         (0 was a bad idea when error is at first character)
15149
15150 2001-11-14  José Matos  <jamatos@fep.up.pt>
15151
15152         * buffer.h:
15153         * buffer.C (simpleDocBookOnePar): removed unused argument.
15154
15155 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15156
15157         * text.C (selectNextWordToSpellcheck): do not test explicitely for
15158         insets which are part of a word. Paragraph::isLetter takes care of
15159         that now. Use Paragraph::isInset to identify insets.
15160         (selectSelectedWord): do not test for hyphenation break.
15161
15162         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
15163         that protected spaces are considered as spaces.
15164
15165         * paragraph.C (isLetter): cleanup the code for ispell extras; use
15166         Inset::isLetter.
15167
15168 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
15169
15170         * lyxserver.h:
15171         * lyxserver.C: fix it. and small cleanup.
15172
15173 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
15174
15175         * BufferView_pimpl.C: use inline helpers
15176
15177         * LaTeXFeatures.h:
15178         * LaTeXFeatures.C: fix typos
15179
15180         * Spacing.h:
15181         * Spacing.C: move spacing_string into class
15182
15183         * ToolbarDefaults.C: move stuff into namespace anon
15184
15185         * layout.h: update enum
15186
15187         * lyxfunc.C: use better debug
15188
15189         * minibuffer.h: fix typo
15190
15191         * debug.h:
15192         * debug.C:
15193         * WorkArea.C: add and use Debug::WORKAREA
15194
15195         * lyxtext.h:
15196         * text.C:
15197         * text2.C: code re-organisation, inline helpers
15198
15199 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
15200
15201         * Layout.C: replaced a few cases of std::vector.size() == 0 with
15202         std::vector.empty().
15203
15204 2001-11-09  Allan Rae  <rae@lyx.org>
15205
15206         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
15207         '\n's after tables.  Tabular and ERT inset work now makes this no
15208         longer necessary.
15209
15210 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
15211
15212         * minibuffer.h:
15213         * minibuffer.C: fix crash, improve drop-down completion
15214
15215 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
15216
15217         * lyxserver.h:
15218         * lyxserver.C: invalidate fd's when doing endPipe()
15219
15220 2001-11-08  José Matos  <jamatos@fep.up.pt>
15221
15222         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
15223         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
15224
15225         * paragraph.h:
15226         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
15227
15228 2001-11-07  José Matos  <jamatos@fep.up.pt>
15229
15230         * buffer.h:
15231         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
15232         const qualifier.
15233
15234         * buffer.C (sgmlOpenTag):
15235         * buffer.C (sgmlCloseTag): removed debug info.
15236
15237         * buffer.h (sgmlOpenTag):
15238         * buffer.h (sgmlCloseTag): made public.
15239
15240 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15241
15242         * buffer.C (saveParamsAsDefaults):
15243         * lyx_cb.C (MenuLayoutSave): remove
15244
15245         * LyXAction.C (init):
15246         * commandtags.h:
15247         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
15248
15249 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15250
15251         * buffer.C (setPaperStuff): removed from here...
15252
15253         * bufferparams.C (setPaperStuff): ... and moved there.
15254
15255 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
15256
15257         * minibuffer.h:
15258         * minibuffer.C:
15259         * XFormsView.C: add support for drop-down completion
15260
15261 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
15262
15263         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
15264         commands.
15265
15266 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15267
15268         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
15269         disabled.
15270
15271 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
15272
15273         * lyx_main.C: change ref to known bugs
15274
15275 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
15276
15277         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
15278         to work around older babel problems.
15279
15280 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
15281
15282         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
15283
15284 2001-10-24  Juergen Vigna  <jug@sad.it>
15285
15286         * tabular-old.C (ReadOld): below variable changes reflected.
15287
15288         * tabular.[Ch]: added ltType struct for longtable header/footer
15289         defines and changed all instances where they are used. Added
15290         future support for double top/bottom rows.
15291
15292 2001-10-24  José Matos  <jamatos@fep.up.pt>
15293
15294         * buffer.h (docbookHandleCaption):
15295         * buffer.C (docbookHandleCaption): removed unused function.
15296         (makeDocBookFile): moved docbook supported version to v4.1.
15297
15298 2001-10-24  José Matos  <jamatos@fep.up.pt>
15299
15300         * tabular.h:
15301         * tabular.C (docbookRow): new function to export docbook code of a row.
15302         (DocBook): now honors the longtable flags.
15303
15304 2001-10-23  José Matos  <jamatos@fep.up.pt>
15305
15306         * LaTeXFeatures.h:
15307         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
15308         of the lyx defined sgml entities used in a docbook/linuxdoc document.
15309
15310         * buffer.C (makeLinuxDocFile):
15311         (makeDocBookFile): reworked the preamble, more clean, and with
15312         support for lyx defined entities. Changed the document declaration
15313         to be more XML friendly.
15314
15315         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
15316         if we need to output XML that should be done with a filter.
15317
15318 2001-10-22  Juergen Vigna  <jug@sad.it>
15319
15320         * sp_pspell.h (class PSpell): add alive function needed in the
15321         controller to see if the spellchecker could be started.
15322
15323 2001-10-22  Juergen Vigna  <jug@sad.it>
15324
15325         * buffer.C (insertStringAsLines): modify the font for inserting
15326         chars in certain conditions by calling checkInsertChar(font).
15327
15328 2001-10-19  Juergen Vigna  <jug@sad.it>
15329
15330         * text.C (workWidth): use getRow instead of wrong algorithm.
15331         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
15332
15333 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
15334
15335         * lyxserver.h:
15336         * lyxserver.C:
15337         * lyx_main.h:
15338         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
15339
15340 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15341
15342         * text.C (workWidth): do not search for the exact row when
15343         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
15344         optimization for big documents.
15345
15346 2001-10-18  Juergen Vigna  <jug@sad.it>
15347
15348         * text.C (workWidth): new function with added Inset * parameter.
15349
15350 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15351
15352         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
15353
15354         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
15355         change return type of getColumnNearX.
15356
15357
15358         * text.C (changeRegionCase): use uppercase/lowercase instead of
15359         toupper/tolower.
15360         (leftMargin):
15361         (rightMargin): simplify code by factoring out the uses of
15362         textclasslist.
15363         (labelFill):
15364         (numberOfHfills):
15365         (setHeightOfRow):
15366         (appendParagraph): use Paragraph::size_type
15367
15368 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15369
15370         * vspace.C (asLatexString): add a missing break
15371
15372 2001-10-15  Herbert Voss  <voss@perce.de>
15373
15374         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
15375
15376 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15377
15378         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
15379         is not available.
15380
15381 2001-10-10  André Pönitz <poenitz@gmx.net>
15382
15383         * lyxfunc.C: removed greek_kb_flag.
15384
15385 2001-10-10  Herbert Voss  <voss@perce.de>
15386
15387         * lyx_main.C: delete global string help_lyxdir.
15388
15389 2001-10-09  Herbert Voss  <voss@perce.de>
15390
15391         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
15392
15393         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
15394
15395         * lyx_main.C: added global string help_lyxdir.
15396
15397         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
15398
15399 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
15400
15401         * lyxrc.C (set_font_norm_type): support iso8859-4
15402
15403 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
15404
15405         * LaTeX.C (deplog): add another regex for MikTeX
15406
15407 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
15408
15409         * lyxrc.C (set_font_norm_type): support iso8859-3
15410
15411 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15412
15413         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
15414
15415         * LaTeXFeatures.C: remove special case of french and index
15416
15417         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
15418         before \begin{document}). This solves several incompatibilities.
15419
15420 2001-10-03  Garst Reese  <reese@isn.net>
15421
15422         * lyx_cb.C: change CheckTex error msg.
15423
15424 2001-10-03  José Matos  <jamatos@fep.up.pt>
15425
15426         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
15427
15428 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15429
15430         * .cvsignore: update
15431
15432         * lyx_main.C (commandLineVersionInfo): use new style version info.
15433
15434         * buffer.C (writeFile):
15435         (makeLaTeXFile):
15436         (makeLinuxDocFile):
15437         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
15438
15439         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
15440
15441         * version.h: update to use stuff in version.C
15442
15443         * version.C.in: new file. Contains version information determined
15444         at compile time. This is a merging of version.h and
15445         version_info.h.in.
15446
15447 2001-10-03  Juergen Vigna  <jug@sad.it>
15448
15449         * BufferView_pimpl.C (update): don't change "dirty" status in
15450         updateInset call.
15451
15452 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
15453
15454         * WorkArea.C (c-tor): re-position version string slightly.
15455
15456 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
15457
15458         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
15459         revert to previous code.
15460
15461         WorkArea.[Ch]: (show, destroySplash): methods removed.
15462
15463         WorkArea.C: rework code so that it's an amalgam of the codes before and
15464         after the splash screen was moved to WorkArea.
15465
15466 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15467
15468         * lyxrc.C (read):
15469         * vspace.C (inPixels):
15470         (lyx_advance):
15471         * kbmap.C (bind):
15472         * buffer.C (insertStringAsLines):
15473         (asciiParagraph): fix types to be large enough
15474
15475         * lyxlex_pimpl.h: change member status from short to int
15476
15477         * layout.h: fix type of endlabeltype
15478
15479         * kbmap.C (bind):
15480         * kbsequence.C (parse): change return type to string::size_type
15481
15482         * LaTeX.C (updateBibtexDependencies): comment out unneeded
15483         variable
15484
15485         * Bullet.C (bulletSize):
15486         (bulletEntry): do not use short ints as parameters
15487
15488         * BufferView2.C (insertLyXFile): change a char to an int.
15489
15490         * WorkArea.C (WorkArea): remove unneeded floats in computation
15491
15492 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
15493
15494         * buffer.C (asciiParagraph): Treat '\\' as other chars.
15495
15496         * paragraph.C (asString): Do not ignore newline/hfill chars when
15497         copying to the clipboard.
15498
15499 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
15500
15501         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
15502         after a multi-line inset.
15503
15504 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
15505
15506         * paragraph.C (validate): Set NeedLyXFootnoteCode
15507
15508 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
15509
15510         * lyxfont.C (LyXSizeNames): changed increase-error to increase
15511         and decrease-error to decrease.
15512
15513 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15514
15515         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
15516         it more readable (should be equivalent)
15517
15518 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
15519
15520         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
15521
15522 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15523
15524         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
15525         of a cursor (row, etc.) after a character has been deleted
15526         (deleteEmptyParagraphMechanism): call the method above on _all_
15527         cursors held by the LyXText when a double space has been
15528         detected/deleted.
15529
15530 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
15531
15532         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
15533         pixmap.
15534         (resizeCurrentBuff): remove code to destroy the old splash dialog.
15535
15536         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
15537         background. Use greyOut() and the new show() methods to toggle between
15538         the foreground and background. Add code to remove the splash after
15539         its initial showing.
15540
15541         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
15542         (create_forms): no longer call Dialogs::showSplash.
15543
15544 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15545
15546         * .cvsignore: add version_info.h
15547
15548 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15549
15550         * version_info.h.in: new file
15551
15552         * Makefile.am: add version_info.h.in
15553
15554         * lyx_main.C (commandLineVersionInfo): use version_info defined in
15555         version_info.h instead of VERSION_INFO
15556
15557 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
15558
15559         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
15560         The ERT inset now returns string().
15561
15562 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
15563
15564         * lyxtext.h, text.C (selectNextWord): renamed as
15565         selectNextWordToSpellcheck.
15566
15567         * text.C (selectNextWordToSpellcheck): Modified to not select
15568         words inside an ERT inset.
15569
15570 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15571
15572         * lyx_cb.C (MenuLayoutSave): change a bit the question
15573
15574         * sp_base.h: include <sys/types.h>
15575
15576 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
15577
15578         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
15579
15580 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
15581
15582         * several files: fix typos in user-visible strings
15583
15584 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15585
15586         * text2.C (pasteSelection): do not set the selection, since it
15587         will be cleared later. Actually, the intent was to fix the way the
15588         selection was set, but I figured rmoving the code was just as good.
15589
15590 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
15591
15592         * FontLoader.C (available): Check if font is available without
15593         loading the font.
15594
15595 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
15596
15597         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
15598
15599 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
15600
15601         * lyxrc.[Ch]: added display_graphics variable and associated code.
15602
15603 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15604
15605         * bufferparams.C (hasClassDefaults): new method. Returns true if
15606         the buffer parameters correspond to known class defaults
15607
15608 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
15609
15610         * XFormsView.C (show): set minimum size to the main window.
15611
15612 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15613
15614         * text2.C (copySelection):
15615         (cutSelection):
15616         * lyxfind.C (LyXReplace):
15617         * BufferView_pimpl.C (Dispatch): pass the correct flag to
15618         LyXText::selectionAsString.
15619
15620         * paragraph.C (asString): add "label" argument to the second form
15621
15622         * text2.C (selectionAsString): add "label" argument and pass it to
15623         Paragraph::asString.
15624
15625 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15626
15627         * lyx_main.C (commandLineHelp): remove version information
15628
15629 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
15630
15631         * lyx_main.C: add -version commandline option
15632
15633 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15634
15635         * paragraph.h: make the optional constructor arg required instead.
15636         some modifications to other files because of this.
15637
15638         * minibuffer.C (C_MiniBuffer_peek_event): make it static
15639
15640         * lyxserver.C (C_LyXComm_callback): make it static
15641
15642         * lyx_main.C (error_handler): make it static
15643
15644         * lyx_gui.C (LyX_XErrHandler): make it static
15645
15646         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
15647
15648         * WorkArea.C: make the extern "C" methods static.
15649
15650         * Makefile.am (lyx_LDADD): simplify
15651
15652 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
15653
15654         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
15655         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
15656
15657         * LyXAction.C (init):
15658         * lyxfunc.C (dispatch): associated code removal.
15659
15660 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15661
15662         * lyxfont.h (isSymbolFont): shut off warning
15663
15664         * text.C (setHeightOfRow):
15665         (getVisibleRow): fix crash with empty paragraphs which have a
15666         bottom line
15667
15668 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
15669
15670         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
15671         code.
15672
15673 2001-09-04  José Matos  <jamatos@fep.up.pt>
15674         * buffer.C
15675         * buffer.h
15676         * tabular.C (docbook): rename docBook method to docbook.
15677
15678 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
15679
15680         * Makefile.am: add dependencies to main.o.
15681
15682 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
15683
15684         * FontLoader.C (available): Return false if !lyxrc.use_gui
15685
15686 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
15687
15688         * FontInfo.C (query):
15689         * converter.C (view):
15690         * importer.C (Import):
15691         * exporter.C (Export): Can not -> cannot.
15692
15693 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
15694
15695         * BufferView_pimpl.C: allow to create index inset even if
15696           string is empty
15697
15698 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
15699
15700         * buffer.C (getLists): replace boost::tie code with an explicit pair
15701         as boost::tie can break some compilers.
15702
15703         * iterators.h: Added a std:: declaration to the return type of
15704         ParIterator::size.
15705
15706 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
15707
15708         * lyxrc.C: add help for view_dvi_paper_option, default to safe
15709           case.
15710
15711 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
15712
15713         * iterators.[Ch]: New files. Provide paragraph iterators.
15714
15715         * buffer.C (changeLanguage): Use paragraph iterators.
15716         (isMultiLingual): ditto
15717
15718         * BufferView2.C (ChangeInsets): Use paragraph iterators.
15719
15720 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
15721
15722         * FontLoader.C: Support for cmr font.
15723
15724 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
15725
15726         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
15727         (available): New method.
15728
15729         * FontInfo.C (getFontname): Use scalable fonts even when
15730         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
15731         found.
15732
15733 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
15734
15735         * converter.C (Formats::view): reverted! Incorrect fix.
15736
15737 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
15738
15739         * converter.C (Formats::view): only output the -paper option
15740         if the dvi viewer is xdvi, thereby fixing bug #233429.
15741
15742 2001-08-23  Herbert Voss  <voss@perce>
15743
15744         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
15745
15746 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
15747
15748         * Spacing.h (Spacing): Set space to Default on in the default
15749         constructor.
15750
15751 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15752
15753         * vc-backend.h (RCS::versionString): add RCS to version
15754         (CVS::versionString): add CVS to version
15755
15756         * vc-backend.C (scanMaster): do not add CVS to version.
15757         (scanMaster): do not add RCS to version
15758
15759         * lyxvc.C (versionString): new method
15760
15761         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
15762
15763 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15764
15765         * Spacing.C (set): initialize fval
15766
15767 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
15768
15769         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
15770         " or \.
15771
15772 2001-08-16  Juergen Vigna  <jug@sad.it>
15773
15774         * lyxfunc.C (dispatch): implemented the new FINISHED states.
15775
15776 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
15777
15778         * BufferView_pimpl.C:
15779         * figureForm.C:
15780         * lyxtext.h:
15781         * text2.C: setParagraph takes linespacing now
15782
15783 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
15784
15785         * LyxAction.C: add internal LFUN_CITATION_INSERT
15786
15787         * LyXView.C: actually apply fix
15788
15789         * bufferlist.C: fix open non-existent file
15790
15791         * lyxfind.C: fix indentation
15792
15793         * lyxfunc.C: remove unneeded assert, fix typo
15794
15795 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
15796
15797         * MenuBackend.C: use "Floatname List"
15798
15799 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
15800
15801         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
15802         when converting LaTeX layout to insetERT.
15803         Generate a non-collapsed float when reading old float
15804
15805 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
15806
15807         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
15808         ERT insets.
15809
15810 2001-08-13  Juergen Vigna  <jug@sad.it>
15811
15812         * text.C (fill): return 0 instead of 20 as this seems to be the more
15813         correct value.
15814
15815 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
15816
15817         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
15818         lyxrc.font_norm.
15819
15820 2001-08-13  Juergen Vigna  <jug@sad.it>
15821
15822         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
15823         casesensitive off.
15824         (SearchBackward): comment out the unlocking of the inset_owner this
15825         should not be needed!
15826
15827 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
15828
15829         * Many files: Remove inherit_language, and add latex_language
15830
15831         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
15832         collapsible insets.
15833
15834 2001-08-10  Juergen Vigna  <jug@sad.it>
15835
15836         * text.C (prepareToPrint): fixed hfill-width in draw!
15837
15838         * BufferView2.C (selectLastWord): save the selection cursor as this
15839         now is cleared in the function LyXText::clearSelection!
15840
15841 2001-08-08  Juergen Vigna  <jug@sad.it>
15842
15843         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
15844         BACKSPACE type functions.
15845
15846         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
15847         is only cutted from the document but not put in the cut-buffer, where
15848         still the old stuff should be.
15849
15850         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
15851
15852         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
15853
15854         * tabular.C (SetWidthOfCell): fixed special case where the width
15855         was not updated!
15856         (LeftLine): handle '|' in align_special.
15857         (RightLine): ditto
15858         (LeftAlreadyDrawed): ditto
15859         (SetWidthOfCell): ditto
15860
15861 2001-08-07  Juergen Vigna  <jug@sad.it>
15862
15863         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
15864
15865 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15866
15867         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
15868         * lyxlex.[hC]: ditto
15869
15870 2001-08-06  Juergen Vigna  <jug@sad.it>
15871
15872         * text.C (getVisibleRow): fix up row clearing a bit.
15873
15874 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15875
15876         * minibuffer.C: make sure the X server sees the changes in the input.
15877
15878 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15879
15880         * paragraph.C (getFont): split into...
15881         (getLabelFont): this
15882         (getLayoutFont): and this
15883         * paragraph_pimpl.C (realizeFont): calling this
15884
15885         * text2.C (getFont): split into...
15886         (getLayoutFont): this
15887         (getLabelFont): and this
15888         (realizeFont): all three calling this
15889
15890         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
15891         files where used.
15892
15893 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15894
15895         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
15896
15897 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
15898
15899         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
15900         layouts from the Quote inset insertion.
15901
15902 2001-08-03  Juergen Vigna  <jug@sad.it>
15903
15904         * BufferView_pimpl.C (update): do the fitCursor only at the end!
15905
15906         * screen.C (drawFromTo): don't call fitcursor here and do the loop
15907         only if status not is already CHANGED_IN_DRAW (second level).
15908
15909         * text.C (draw): don't set the need_break_row when inside an
15910         InsetText LyXText.
15911
15912 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15913
15914         * buffer.C (parseSingleLyXformat2Token): handle more latex
15915         conversion cases.
15916
15917         * bufferview_funcs.[hC]: change function names to
15918         begin with small char, adjust other files.
15919
15920 2001-08-02  André Pönitz <poenitz@gmx.net>
15921
15922         * lyxfunc.C:
15923         BufferView_pimpl.C: remove broken special code for math-greek
15924
15925 2001-08-02  Juergen Vigna  <jug@sad.it>
15926
15927         * BufferView_pimpl.C (update): redone this function so that we
15928         update the text again if there was a CHANGE_IN_DRAW.
15929
15930         * screen.C (cursorToggle): removed LyXText parameter and recoded.
15931         (drawFromTo): added a new internal bool which is used by draw() and
15932         redraw() function.
15933         (general): some cursor drawing problems fixed.
15934
15935 2001-08-01  Juergen Vigna  <jug@sad.it>
15936
15937         * lyxfind.C (LyXFind): fixed
15938         (SearchForward): ditto
15939         (SearchBackward): ditto
15940
15941         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
15942         spurius drawing of the cursor in the main area.
15943
15944         * text2.C (status): small fix which could lead to a segfault!
15945         (clearSelection): remove unneeded BufferView param.
15946
15947 2001-08-01  André Pönitz <poenitz@gmx.net>
15948
15949         * lyxfunc.C: small change due to changed mathed interface
15950
15951 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15952
15953         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
15954
15955 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
15956
15957         * lyxfunc.c: fail gracefully if file doesn't exist
15958
15959         * LyXSendto.C:
15960         * buffer.C:
15961         * lyxfunc.C:
15962         * BufferView_pimpl.C: IsDirWriteable() proto changed
15963
15964         * LyXView.C: fix updateWindowTitle() to store the last title
15965
15966 2001-07-31  Juergen Vigna  <jug@sad.it>
15967
15968         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
15969         the font (wrong since using of Paragraph::highestFontInRange).
15970
15971         * paragraph.C (highestFontInRange): added a default_size parameter.
15972
15973         * text.C (getVisibleRow): minor clear row changes (still not perfect).
15974         (setHeightOfRow): reformat
15975
15976 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15977
15978         * converter.[hC] + affected files: move to (inital-char)lowercase
15979         function names.
15980
15981         * ParagraphParameters.C (ParagraphParameters): remove commented code
15982
15983         * PainterBase.[Ch]: remove commented code
15984
15985         * LaTeXFeatures.h: add "bool floats" for float.sty
15986
15987         * LaTeXFeatures.C (LaTeXFeatures): init floats
15988         (require): handle float
15989         (getPackages): do it with floats
15990
15991 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15992
15993         * BufferView_pimpl.C (Dispatch): improve handling of
15994         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
15995
15996         * commandtags.h: #include lyxfont.h here temporarily to avoid
15997         keybinding bug.
15998
15999         * bufferlist.h: include LString.h here.
16000
16001 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16002
16003         * text2.C (getStringToIndex): new method.
16004
16005 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
16006
16007         * *: Reduced header file dependencies all over.
16008
16009 2001-07-30  Baruch Even  <baruch@lyx.org>
16010
16011         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
16012
16013 2001-07-29  Baruch Even  <baruch@lyx.org>
16014
16015         * buffer.C (readInset): Changed GRAPHICS to Graphics.
16016
16017 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16018
16019         * ParameterStruct.h (endif): add a default constructor to make
16020         sure that all variables is initialized.
16021
16022         * ParagraphParameters.C (ParagraphParameters): adjust
16023
16024 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16025
16026         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
16027         index; also, check that there is something to index, and that it
16028         does not span over several paragraphs.
16029         (doubleClick): use WHOLE_WORD_STRICT for double click.
16030
16031         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
16032
16033         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
16034         scheme.
16035
16036 2001-07-26  Baruch Even  <baruch@lyx.org>
16037
16038         * buffer.C (readInset): Changed to call up InsetGraphics when reading
16039         an InsetFig figure, backwards compatible reading of old figure code.
16040
16041 2001-07-27  Juergen Vigna  <jug@sad.it>
16042
16043         * text2.C: font.realize function adaption.
16044
16045         * text.C (draw): add a warnings lyxerr text if needed.
16046
16047         * layout.C: font.realize function adaption.
16048
16049         * language.C: add inherit_language and implement it's handlings
16050
16051         * bufferview_funcs.C (StyleReset): remove language parameter from
16052         font creation (should be language_inherit now).
16053
16054         * bufferparams.C (writeFile): handle ignore_language.
16055
16056         * paragraph.C (getFontSettings): the language has to be resolved
16057         otherwise we have problems in LyXFont!
16058
16059         * lyxfont.C (lyxWriteChanges): added document_language parameter
16060         (update): removed unneeded language parameter
16061
16062         * paragraph.C (validate): fixed wrong output of color-package when
16063         using interface colors for certain fonts in certain environments,
16064         which should not seen as that on the final output.
16065
16066 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
16067
16068         * BufferView_pimpl.C:
16069         * Thesaurus.h:
16070         * Thesaurus.C:
16071         * Makefile.am:
16072         * commandtags.h:
16073         * LyXAction.C: add thesaurus support
16074
16075         * lyxfind.h:
16076         * lyxfind.C: add "once" parameter, for thesaurus, to not
16077           move to the next match
16078
16079 2001-07-26  Juergen Vigna  <jug@sad.it>
16080
16081         * lyxfont.C (realize): honor ignore_language too!
16082         (resolved): ditto.
16083
16084         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
16085
16086         * text.C (draw): one place more for ignore_language to not draw
16087         itself!
16088
16089 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
16090
16091         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
16092
16093 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16094
16095         * buffer.C (parseSingleLyXformat2Token): a more general fix for
16096         the minipage conversion problem.
16097
16098 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16099
16100         * buffer.C (parseSingleLyXformat2Token): check minipage if we
16101         insert an inset.
16102
16103 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16104
16105         * BufferView.h: don't forward declare WorkArea
16106
16107         * BufferView.C: don't include WorkArea.h
16108
16109 2001-07-25  André Pönitz <poenitz@gmx.net>
16110
16111         * commandtags.h:
16112         * LyXAction.C:
16113         * lyxfunc.C:  new LFUN 'math-space'
16114
16115         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
16116
16117 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16118
16119         * text2.C (toggleInset): call open/close
16120
16121 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16122
16123         * lyxfunc.C (dispatch): add debug for the disabled case
16124
16125         * font.C (buttonText): make similar to rectText
16126
16127         * buffer.C (readInset): comment out parsing of insetlist and
16128         insttheorem
16129
16130         * PainterBase.C (rectText): small correction
16131
16132         * BufferView_pimpl.C: comment out insettheorem and insetlist
16133         * LyXAction.C: ditto
16134         * commandtags.h: ditto
16135
16136 2001-07-24  Juergen Vigna  <jug@sad.it>
16137
16138         * text.C (draw): honor the ignore_language.
16139
16140         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
16141
16142 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16143
16144         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
16145         char inset.
16146
16147 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
16148
16149         * lyxtext.h: remove unused (and unimplemented) methods
16150
16151 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
16152
16153         * text.C (getVisibleRow): honor background color
16154
16155         * PainterBase.h:
16156         * Painter.h: remove default color argument for fillRectangle
16157
16158         * text.C (backgroundColor): new method
16159
16160 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16161
16162         * text.C (getVisibleRow): adjust
16163
16164         * font.[Ch] (rectText): new method, metrics
16165         (buttonText): new method, metrics
16166
16167         * PainterBase.[hC]: make rectText and buttonText always draw and take
16168         fewer paramteres.
16169
16170 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
16171
16172         * ToolbarDefaults.C (read):
16173         * MenuBackend.C (read): allow escaping in all strings
16174
16175         * BufferView_pimpl.C (insertAndEditInset): new method.
16176         (Dispatch): use insertAndEditInset whenever appropriate.
16177
16178         * BufferView_pimpl.C (insertNote): removed
16179
16180         * BufferView_pimpl.C (smartQuote): new method, moved from
16181         BufferView; if an insetquote cannot be inserted, insert a '"'
16182         character instead.
16183
16184         * BufferView2.C: remove insertCorrectQuote();
16185
16186         * lyxfunc.C (getStatus): Add support for all remaingin
16187         inset-insert lfuns.
16188
16189         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
16190
16191         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
16192         command (necessary to pass " as parameter of self-insert.
16193
16194         * text.C (selectWordWhenUnderCursor):
16195         (selectWord): add word_location parameter
16196         (selectWordWhenUnderCursor): same + remove special code for word
16197         boundary.
16198         (selectNextWord): use kind() to guess type of insetspecialchar,
16199         not latex().
16200
16201         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
16202         (insertErtContents): create ert insets as collapsed.
16203         (readInset): better compatibility code for Info inset.
16204
16205 2001-07-20  Juergen Vigna  <jug@sad.it>
16206
16207         * lyxfunc.C (dispatch): use always LyXFind now!
16208
16209         * text2.C (init): add a reinit flag so that the LyXText can be
16210         reinited instead of deleted and reallocated (used in InsetText).
16211
16212         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
16213
16214         * text.C: ditto
16215
16216         * text2.C: ditto
16217
16218 2001-07-18  Juergen Vigna  <jug@sad.it>
16219
16220         * text.C (selectNextWord): handle insets inside inset by calling
16221         always the bv->text functions so that we can go up the_locking_inset!
16222
16223         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
16224         in strange locations when inside an inset!
16225
16226         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
16227         handling to include insets.
16228
16229         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
16230
16231 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16232
16233         * LyXAction.C (init):
16234         * commandtags.h:
16235         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
16236         LIGATURE_BREAK, since the name is so stupid.
16237
16238 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
16239
16240         * buffer.C (readInset): enable reading of new InsetNotes as well as old
16241         InsetInfos.
16242
16243         * FontLoader.C: remove FORMS_H_LOCATION cruft.
16244
16245         * sp_form.[Ch]: remove.
16246
16247         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
16248
16249         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
16250         InsetInfo.
16251
16252         * src/buffer.C (readInset): ditto.
16253
16254 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
16255
16256         * BufferView_pimpl.C (specialChar): new method. Obsoletes
16257         menuSeparator(), endOfSentenceDot(), ldots() and
16258         hyphenationPoint(), which are therefore removed.
16259         (Dispatch): handle LFUN_HYPHENATION_BREAK.
16260
16261         * LyXAction.C (init):
16262         * commandtags.h: add LFUN_HYPHENATION_BREAK.
16263
16264         * paragraph.C (getWord): removed.
16265
16266         * BufferView_pimpl.C (Dispatch): use last word or selection for
16267         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
16268
16269         * lyx_main.C (queryUserLyXDir): do not ask before creating
16270         user_dir, except if it has been named explicitely.
16271
16272 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
16273
16274         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
16275         a document of zero size.
16276
16277 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
16278
16279         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
16280         approriately in the c-tor and in require().
16281         (getPackages): output the appropriate LaTeX for natbib support.
16282
16283         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
16284         variables "use_natbib" and "use_numerical_citations" when reading the
16285         LyX file.
16286         (readInset): read the various natbib cite commands.
16287         (validate): white-space change.
16288
16289         * bufferparams.[Ch]: new variables "bool use_natbib" and
16290         "bool use_numerical_citations".
16291         (writeFile): output them in the LyX file.
16292
16293 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
16294
16295         * lyxfunc.C (getStatus): add support for all the inset insertion
16296         commands.
16297
16298         * text2.C (insertInset):
16299         * paragraph.C (insetAllowed):
16300         * BufferView_pimpl.C (insertInset): update to take in account the
16301         renaming of insertInsetAllowed
16302
16303         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
16304
16305         * text2.C (getInset): new method. returns inset at cursor position.
16306
16307         * BufferView_pimpl.C (Dispatch): changes because of this.
16308
16309         * LyXAction.C (init): rename open-stuff to inset-toggle.
16310
16311         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
16312
16313         * text2.C (toggleInset): renamed from openStuff; use
16314         Inset::open().
16315
16316 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
16317
16318         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
16319
16320         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
16321
16322 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
16323
16324         * buffer.C (readLyXformat2): Add filename to the error dialog
16325
16326 2001-07-18  Juergen Vigna  <jug@sad.it>
16327
16328         * tabular.C (GetCellNumber): put an assert here instead of the check!
16329
16330 2001-07-17  Juergen Vigna  <jug@sad.it>
16331
16332         * BufferView_pimpl.C (toggleSelection): adapted too.
16333
16334         * text.C (selectNextWord): adapted for use with insets.
16335         (selectSelectedWord): ditto
16336
16337 2001-07-17  Juergen Vigna  <jug@sad.it>
16338
16339         * sp_spell.C (PSpell): fix initialitation order.
16340
16341 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16342
16343         * paragraph.C: spacing
16344
16345 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
16346
16347         * sp_spell.C: repair language selection for pspell
16348
16349 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16350
16351         * lyxfunc.h: change more methods to begin with lower char.
16352
16353 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
16354
16355         * buffer.C (parseSingleLyXformat2Token): Generate error insets
16356         for unknown layouts.
16357
16358 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
16359
16360         * buffer.C (readLyXformat2): Generate an error dialog if there are
16361         unknown layouts.
16362
16363 2001-07-16  Juergen Vigna  <jug@sad.it>
16364
16365         * sp_spell.C: always compile ISpell part.
16366
16367         * lyxrc.C: added use_pspell entry and it's handling.
16368
16369 2001-07-13  Juergen Vigna  <jug@sad.it>
16370
16371         * sp_spell.C: removed double includes.
16372
16373 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
16374
16375         Consistent use of Lsstream.h:
16376         * Lsstream.h: added using std::stringstream for consistencies sake.
16377
16378         * buffer.C: removed using std::stringstream
16379
16380         * lyxfont.C (stateText):
16381         * paragraph.C (asString):
16382         * text.C (selectNextWord, selectSelectedWord):
16383         * text2.C (setCounter):
16384         * vspace.C (asString, asLatexString):
16385         std::ostringstream -> ostringstream.
16386
16387 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
16388
16389         * LyXAction.C: add LFUN_HELP_ABOUTLYX
16390         * commandtags.h: add LFUN_HELP_ABOUTLYX
16391         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
16392
16393 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
16394
16395         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
16396         cursorToggle()
16397         * lyx_gui_misc.C: remove spellchecker
16398         * lyxfunc.C: showSpellchecker
16399         * sp_base.h: added
16400         * sp_ispell.h: added
16401         * sp_pspell.h: added
16402         * sp_spell.C: added
16403         * sp_form.[Ch]: removed
16404         * spellchecker.[Ch]: removed
16405
16406 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
16407
16408         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
16409         is set.
16410         (simpleTeXSpecialChars): Simply print the input character without
16411         any special translation if pass_thru is set.
16412
16413         * layout.h: Added bool pass_thru to layout class for being able to
16414         implement pass through of a paragraph for Literate Programming.
16415
16416         * layout.C: add LT_PASS_THRU to LayoutTags enum.
16417         * layout.C (LyXLayout): set pass_thru to flase in constructor.
16418         * layout.C (Read): add "passthru" to list of layout tags and add
16419         code to set the pass_thru boolean when it is read.
16420
16421 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16422
16423         * trans_decl.h: remove allowed from KmodInfo
16424
16425         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
16426         remove allowed code
16427         (Load): adjust
16428
16429         * paragraph_pimpl.C (erase): use boost::prior
16430
16431         * Painter.C (text): use data() instead of c_str() when length is
16432         also provided.
16433         * WorkArea.C (putClipboard): ditto
16434         * font.h (width): ditto
16435
16436         * BufferView2.C: use it-> instead of (*it). for iterators
16437         * texrow.C: ditto
16438         * paragraph_pimpl.C: ditto
16439         * paragraph.C: ditto
16440         * minibuffer.C: ditto
16441         * language.C: ditto
16442         * kbmap.C: ditto
16443         * encoding.C: ditto
16444         * counters.C: ditto
16445         * converter.C: ditto
16446         * chset.C: ditto
16447         * Variables.C: ditto
16448         * TextCache.C: ditto
16449         * MenuBackend.C: ditto
16450         * LyXAction.C: ditto
16451         * LColor.C: ditto
16452         * FloatList.C: ditto
16453         * DepTable.C: ditto
16454         * ColorHandler.C (LyXColorHandler): ditto
16455
16456 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16457
16458         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
16459
16460         * text2.C (openStuff): reintroduce this method (which had been
16461         nuked in NEW_INSETS frenzy).
16462
16463         * lyxfunc.C (Dispatch): when an action has not been handled, use
16464         its name in the error message, not its number.
16465
16466         * paragraph.C (inInset): change method name to begin with lowercase.
16467
16468         * undo_funcs.C:
16469         * text2.C: updates because of this.
16470
16471 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16472
16473         * ToolbarDefaults.C (add): add spaces in error message
16474
16475 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16476
16477         * buffer.C (readLyXformat2): initialize the ert comp. variables.
16478         (readLyXformat2): rename return_par to first_par, use lyxlex's
16479         pushToken and remove the manual push handling.
16480         (parseSingleLyXformat2Token): add another ert comp. variable:
16481         in_tabular, rename return_par to first_par. handle newlines better
16482
16483 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16484
16485         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
16486
16487 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16488
16489         * text2.C (getParFromID): removed
16490
16491         * buffer.C (getParFromID): new method moved form lyxtext.
16492         * BufferView2.C (insertErrors): adjust
16493         (setCursorFromRow): adjust
16494         * BufferView_pimpl.C (restorePosition): adjust
16495         * lyxfunc.C (Dispatch): adjust
16496         * undo_funcs.C (textUndo): adjust
16497         (textRedo): adjust
16498         (textHandleUndo): adjust
16499         (textHandleUndo): adjust
16500
16501 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16502
16503         * buffer.C: up' the LYX_FORMAT
16504
16505         * lyxfont.h: turn NO_LATEX on as default
16506
16507         * buffer.C (insertErtContents): new methods of tex style compability.
16508         (parseSingleLyXformat2Token): use it several places.
16509         * tabular.C (OldFormatRead): and here
16510
16511 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16512
16513         * text2.C: remove some commented code.
16514         reindent file.
16515
16516         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
16517         * trans.C: changes because of the above.
16518
16519 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
16520
16521         * text2.C (setCounter): Fix counters bug with bibliography layout.
16522
16523 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16524
16525         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
16526         own member functions
16527         (simpleTeXSpecialChars): ditto
16528
16529 2001-07-06  Juergen Vigna  <jug@sad.it>
16530
16531         * a lot of files: changed the access to LyXText::status and the
16532         call of undo-functions.
16533
16534         * undo.[Ch]: added a inset_id to the undo informations.
16535
16536         * undo_funcs.[Ch]: added and moved here all undo functions.
16537
16538         * lyxtext.h: give the status enum a weight, made status_ a private
16539         variable and made accessor functions for it, removed the whole bunch
16540         of undo-functions as they are now in their own file, make some
16541         functions publically available. Added function ownerParagraph with
16542         int parameter.
16543
16544         * paragraph.[Ch]: added "bool same_ids" to the constructor,
16545         made InInset() a const function, added getParFromID() function.
16546
16547         * buffer.[Ch]: added const version for inset_iterator functions,
16548         added getInsetFromID() function.
16549
16550         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
16551         changed undo functions for new version.
16552
16553 2001-07-05  Juergen Vigna  <jug@sad.it>
16554
16555         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
16556         unknow mechanism does not call the proper constructor but only this
16557         one also if I request the other!?
16558
16559 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16560
16561         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
16562
16563         * text2.C (LyXText): use initialization lists.
16564
16565         * lyxtext.h (Selection): initialize set_ and mark_
16566         (init): remove method
16567
16568 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
16569
16570         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
16571
16572 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16573
16574         * screen.[Ch]: change method names to begin with lowercase
16575
16576         * BufferView_pimpl.C (updateScrollbar): simplify further and
16577         hopefully make it a bit faster.
16578
16579 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16580
16581         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
16582         calling directly xforms functions.
16583
16584         * Painter.C (Painter):
16585         * lyx_cb.C (MenuWrite):
16586         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
16587         fl_display.
16588
16589         * lyx_gui.C: remove bogus guiruntime extern declaration.
16590
16591 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16592
16593         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
16594         in NEW_INSETS
16595         (redoDrawingOfParagraph): ditto
16596         (redoParagraphs): ditto
16597         (cutSelection): don't create a object for CutAndPaste use the
16598         static method directly
16599         (pasteSelection): ditto
16600
16601         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
16602         LyXview (+ rename)
16603
16604 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16605
16606         * modifications to some other files because of this.
16607
16608         * Makefile.am (lyx_SOURCES): add XFormsView
16609
16610         * XFormsView.[Ch]: new files
16611
16612         * LyXView.[Ch]: make LyXView a base class for the gui handling for
16613         the main window. Move the gui dependent stuff to XFormsView
16614
16615 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16616
16617         * tabular.C (GetCellInset): update cur_cell also in the row/col
16618         version of this function.
16619
16620         * lyxfunc.C: no need to include figure_form.h here.
16621
16622         * FontLoader.h:
16623         * lyxfunc.h:
16624         * lyxscreen.h:
16625         * text2.C:
16626         * lyxvc.C: no need to include forms.h here.
16627
16628 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16629
16630         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
16631
16632         * lyxfunc.C (Dispatch):
16633         * Spacing.C (set):
16634         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
16635         constructor argument.
16636
16637 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16638
16639         * paragraph.C (Paragraph): dont't clear, and just set layout.
16640         (makeSameLayout): use params's copy contructor.
16641
16642         * ParagraphParameters.[Ch] (makeSame): delete method
16643
16644 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
16645
16646         * Variables.[Ch]: fix indentation, rename set to isSet
16647
16648 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16649
16650         * lyxfunc.C (Dispatch): fix typo
16651
16652 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16653
16654         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
16655         upper_bound.
16656
16657         * bufferlist.C: include assert.h for emergencyWrite().
16658
16659 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16660
16661         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
16662           give up at last (bug #425202) !
16663
16664 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
16665
16666         * lyx_gui_misc.C:
16667         * sp_form.h:
16668         * sp_form.C:
16669         * spellchecker.h:
16670         * spellchecker.C: strip spellchecker options and bring up
16671           preferences tab instead
16672
16673 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16674
16675         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
16676         the istringstream constructor
16677
16678 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16679
16680         * paragraph.C (getLayout): fix return value
16681
16682         * paragraph.h: do not declare getLayout as inline.
16683
16684         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
16685
16686 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16687
16688         * lyxcursor.h (operator<): new func
16689         (operator>): new func
16690         (operator>=): new func
16691         (operator<=): new func
16692
16693         * text.C (changeCase): use selection.start and selection.end
16694         (changeRegionCase): require from to be <= to. Require par to be a
16695         valid paragraph.
16696
16697         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
16698
16699 2001-06-27  Juergen Vigna  <jug@sad.it>
16700
16701         * text.C (cursorLeftOneWord): changed to return the cursor and added
16702         overlay with BufferView * parameter which calls this one.
16703         (getWord): added
16704         (selectWord): use new getWord function.
16705         (changeCase): renamed from changeWordCase as and extended to work
16706         also on selections.
16707
16708         * lyxtext.h: added enum word_location
16709
16710         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
16711         changeCase as this operates now also on selections.
16712
16713 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
16714
16715         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
16716
16717         * many files: send debug output to Debug::INFO instead of
16718         Debug::ANY.
16719
16720         * converter.C (View):
16721         (Convert):
16722         (Move): send debug output to Debug::FILES instead of console.
16723
16724 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
16725
16726         * lyxfunc.C (getStatus): use func_status
16727
16728         * func_status.h: new header, describing the results of
16729         LyXFunc::getStatus;
16730
16731         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
16732         LFUN_MATH_HALIGN.
16733
16734 2001-06-25  The LyX Project  <jug@sad.it>
16735
16736         * buffer.C (sgmlOpenTag):
16737         (sgmlCloseTag):
16738         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
16739
16740 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16741
16742         * text2.C: remove some dead code
16743
16744         * tabular.C (GetCellInset): store the last cell checked (gotten)
16745
16746         * tabular.h: add the helper for the speedup
16747
16748         * lyxtext.h: remove some dead code
16749
16750 2001-06-26  The LyX Project  <Asger>
16751
16752         * paragraph.C: Change export to LaTeX of alignment to
16753         \begin{center} and family for better roundtrip work with reLyX.
16754
16755         * Tune the math drawing a bit.
16756
16757 2001-06-25  The LyX Project  <Asger>
16758
16759         * LColor.C (LColor): New color for math background. New color
16760         for buttons.
16761
16762 2001-06-25  The LyX Project  <jug@sad.it>
16763
16764         * lyxfunc.C (MenuNew): remove extra check for .lyx file
16765
16766         * lyxfunc.C (Open):
16767         * bufferlist.C (newFile): do not restrict to files ending with
16768         .lyx
16769
16770         * BufferView_pimpl.C (MenuInsertLyXFile):
16771
16772 2001-06-24  The LyX Project  <jug@sad.it>
16773
16774         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
16775         of compare_no_case
16776
16777 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16778
16779         * lyxtext.h: rename most methods to begin with a small char.
16780         Lots of changes because of this.
16781
16782         * paragraph.C (Paragraph): do not call fitToSize
16783         (erase): call Pimpl::erase
16784         (insertChar): call Pimpl::insertChar
16785         (insertInset): call Pipl::insertInset
16786         (breakParagraph): do not call fitToSize
16787         (breakParagraphConservative): do not call fitToSize
16788         (fitToSize): remove method
16789
16790         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
16791
16792 2001-06-24  The LyX Project  <Asger>
16793
16794         * Fix Qt compilation^2
16795
16796 2001-06-24  The LyX Project  <jug@sad.it>
16797
16798         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
16799         depthHook(getDepth()-1).
16800
16801         * paragraph.h:
16802         * ParagraphParameters.h:
16803         * ParameterStruct.h: change type of depth to unsigned int ==
16804         depth_type. Many adaptations to other files before of that.
16805
16806 2001-06-24  The LyX Project  <Asger>
16807
16808         * Fix Qt compilation.
16809
16810 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16811
16812         * paragraph.h: renamed several methods to begin with small letter.
16813         several changes to many parts of the code because of this.
16814
16815 2001-06-23  The LyX Project  <jug@sad.it>
16816
16817         * text2.C (InsertStringAsLines): renamed from InsertStringA;
16818         rewritten to discard all double spaces when KeepEmpty is off
16819         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
16820         to only handle newlines but not fiddle with spaces and friends.
16821
16822         * lyxfunc.C (MenuNew): when doing 'new from template', use
16823         template_path as default directory
16824
16825 2001-06-23  The LyX Project  <Asger>
16826
16827         * Clean-up of header file includes all over
16828         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
16829
16830 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16831
16832         * paragraph.h: renamed from lyxparagraph.h
16833
16834 2001-06-23  Asger  <lyx@violet.home.sad.it>
16835
16836         * Buffer.h: Removed Buffer::resize
16837         * BufferList.h: Removed BufferList::resize
16838         * LyXView.h: Added LyXView::resize. This way, we will only reflow
16839         the document lazily when we change the width, or the font settings.
16840
16841 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16842
16843         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
16844
16845 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16846
16847         * buffer.h: remove out of date comment
16848
16849 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16850
16851         * lyxscreen.h:
16852         * screen.C: fix "theoretical" GC leak
16853
16854 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16855
16856         * LaTeX.C (scanAuxFile):
16857         (deplog): remove trailing \r when reading stream (useful under
16858         win32)
16859
16860 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
16861
16862         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
16863         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
16864         and BufferView::theLockingInset(Inset*), so should use them and not
16865         access bv_->text->the_locking_inset directly.
16866
16867         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
16868
16869 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
16870
16871         * Makefile.am:
16872         * tex-defs.h: remove old unused file
16873
16874 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
16875
16876         * BufferView_pimpl.C: fix typo, remove minibuffer message
16877           when buffer has loaded
16878
16879 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16880
16881         * lyxfunc.C (Dispatch): use stringstream
16882         (MenuNew): use stringstream
16883         (Open): use stringstream
16884
16885         * importer.C (Import): use stringstream
16886
16887         * bufferview_funcs.C (CurrentState): use stringstream
16888
16889         * LaTeX.C (run): use stringstream
16890
16891         * BufferView_pimpl.C (savePosition): use stringstream
16892         (restorePosition): use stringstream
16893         (MenuInsertLyXFile): use stringstream
16894
16895 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
16896
16897         * BufferView.C:
16898         * Bullet.C:
16899         * ColorHandler.C:
16900         * FontInfo.C:
16901         * FontLoader.C:
16902         * LColor.C:
16903         * LaTeXFeatures.C:
16904         * Painter.C:
16905         * gettext.C:
16906         * lyx_gui_misc.C:
16907         * lyxserver.C:
16908         * vspace.C: removed // -*- C++ -*- as first line.
16909
16910         * lyxfind.h:
16911         * version.h: added // -*- C++ -*- as first line.
16912
16913 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16914
16915         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
16916
16917         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
16918         of string
16919
16920 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16921
16922         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
16923         of floats.
16924
16925 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16926
16927         * gettext.C: include LString.h even when --disable-nls is on.
16928
16929 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
16930
16931         * converter.h (Get): changed argument type from int to
16932         FormatList::size_type to avoid unnecessary conversion.
16933
16934         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
16935         before using it.
16936
16937 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16938
16939         * gettext.h: include LString.h even when --disable-nls is on.
16940
16941 2001-06-07  Juergen Vigna  <jug@sad.it>
16942
16943         * text.C (BreakAgain): subst spaces with tabs.
16944
16945         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
16946         (resizeInsetsLyXText): set force on resizeLyXText.
16947
16948 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16949
16950         * gettext.h (gettext_init):
16951         (locale_init): use a real definition instead of a macro
16952
16953 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
16954
16955         * Bufferview_pimpl.C:
16956         * LColor.h:
16957         * LColor.C: further lcolor tidies
16958
16959 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16960
16961         * BufferView_pimpl.C (updateScrollbar): simplify.
16962
16963         * BufferView2.C: don't include insets/insetinfo.h, change
16964         prototype for insertInset and call the Pimpl version. let
16965         updateInset call Pimpl version.
16966
16967         * BufferView.h: move inset_slept to BufferView::Pimpl, move
16968         gotoInset to BufferView::Pimpl
16969
16970 2001-06-01  Juergen Vigna  <jug@sad.it>
16971
16972         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
16973         inside a LockingInset (is the update needed at all?).
16974
16975 2001-05-31  Juergen Vigna  <jug@sad.it>
16976
16977         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
16978         here not the old one otherwise how should we compare it afterwards
16979         if it's the same!
16980
16981 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16982
16983         * lyxfont.C:
16984         * tabular.C:
16985         * tabular-old.C:
16986         * FontInfo.C: bring C functions into global namespace when
16987         necessary
16988
16989 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16990
16991         * LString.h: make sure config.h has been loaded before LString.h.
16992
16993         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
16994         (one for each char read by EatLine!).
16995
16996         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
16997         variables.
16998
16999 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17000
17001         * paragraph.C (BreakParagraph): set the inset_owner in the new par
17002         to the same as the par we break from
17003
17004 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17005
17006         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
17007
17008         * MenuBackend.C (expand): also create menu entries for wide
17009         versions of the floats.
17010
17011         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
17012
17013         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
17014
17015         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
17016         frontends/Makefile.am
17017
17018         * text2.C: adjust
17019         * text.C: adjust
17020
17021
17022         * tabular.C (getTokenValue): add std::
17023
17024         * tabular-old.C (getTokenValue): add std::
17025         (getTokenValue): ditto
17026         (getTokenValue): ditto
17027
17028         * screen.C (ToggleSelection): adjust
17029
17030         * lyxtext.h: put selection cursors inside a Selection struct.
17031
17032         * lyxfunc.C (moveCursorUpdate): adjust
17033
17034         * lyxfont.C (latexWriteStartChanges): add std::
17035
17036         * lyxfind.C: adjust
17037
17038         * font.h: delete with(char const *, LyXFont const &)
17039
17040         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
17041
17042         * FontInfo.C (getFontname): add std::
17043
17044         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
17045         (workAreaButtonPress): adjust
17046         (tripleClick): adjust
17047         (update): adjust
17048         (moveCursorUpdate): adjust
17049         (Dispatch): adjust
17050
17051         * BufferView2.C (gotoInset): adjust
17052
17053 2001-05-30  Juergen Vigna  <jug@sad.it>
17054
17055         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
17056         to check pspell I add this as default as I now have new pspell
17057         libraries and they seem to use this.
17058
17059 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17060
17061         * text2.C (CutSelection): make the cursor valid before the call to
17062         ClearSelection.
17063
17064 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17065
17066         * kbsequence.C (parse): de-uglify a bit the parsing code, which
17067         relied on 0 terminated strings and other horrors. Bug found due to
17068         the new assert in lyxstring!
17069
17070         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
17071         KP_ keys.
17072
17073 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17074
17075         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
17076         to latinkeys.bind.
17077
17078         * lyxfunc.C (processKeySym): change method of getting to the
17079         self-insert char.
17080
17081         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
17082         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
17083         * BufferView_pimpl.[Ch]: here as private methods.
17084
17085 2001-05-28  Juergen Vigna  <jug@sad.it>
17086
17087         * text.C (SetHeightOfRow): added the update() call again as it is
17088         needed to initialize inset dimensions!
17089
17090 2001-05-16  Juergen Vigna  <jug@sad.it>
17091
17092         * text2.C (SetCharFont): Add new function with BufferView * and
17093         bool toggleall parameters for setting insets internal fonts.
17094         (SetFont): Freeze the undo as we may change fonts in Insets and
17095         all this change should be inside only one Undo!
17096
17097         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
17098         setting font's in insets as for them we have the SetFont function!
17099
17100 2001-05-15  Juergen Vigna  <jug@sad.it>
17101
17102         * text2.C (ClearSelection): to be sure we REALLY don't have any
17103         selection anymore!
17104
17105         * tabular.C (TeXCellPreamble): fixed the left border problem for
17106         multicolumn cells.
17107
17108 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
17109
17110         * LaTeX.C (deplog): Make sure that the main .tex file is in the
17111         dependancy file
17112
17113 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17114
17115         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
17116         LFUN_BREAKPARAGRAPH.
17117
17118         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
17119         help test to "internal only", similar for LFUN_INSERT_URL
17120
17121         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
17122         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
17123         auto_region_delete and deadkeys.
17124
17125 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
17126
17127         * LColor.h:
17128         * LColor.C: remove some dead entries, tidy a little
17129
17130 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17131
17132         * lyxfunc.C (processKeySym): comment the Escape handling, remove
17133         commented code.
17134         (Dispatch): implement LFUN_ESCAPE
17135
17136         * commandtags.h: add LFUN_ESCAPE
17137
17138         * LyXAction.C (init): add entry for LFUN_ESCAPE
17139
17140         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
17141         Remove commented code.
17142         (insertNote): moved here
17143         (open_new_inset): moved here
17144
17145         * BufferView[2].[Ch]: move insertNote and open_new_inset to
17146         BufferView_pimpl
17147
17148 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17149
17150         * kbmap.C (findbinding): clean it up and make it work correctly.
17151
17152         * lyx_main.C (init): do not pass argc and argv as parameters
17153
17154 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
17155
17156         * buffer.C: fix path for OS/2 & Win32
17157
17158         * lyx_gui.C:
17159         * lyx_main:
17160         * lyx_main.C: Added os:: class.
17161
17162         * os2_defines.h: update
17163
17164 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17165
17166         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
17167         better by trying again with reduced state.
17168
17169 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17170
17171         * lyxrc.C (read): print error about invalid key sequence only when
17172         debugging (because not all latinX keysyms are known to some X
17173         servers)
17174
17175         * kbsequence.C (getiso): add a few std:: qualifiers
17176         (getiso): comment out extra return statement.
17177
17178 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17179
17180         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
17181         handling.
17182         (Dispatch): enhance the accent inset a bit. (not perfect)
17183
17184 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17185
17186         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
17187
17188 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17189
17190         * bufferlist.C (emergencyWrite): fix assert() call
17191
17192 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
17193
17194         * text.C (InsertChar): Added trivial patch to only send the "you
17195         can not do multiple spaces this way" message once during a
17196         session.
17197
17198 2001-05-08  Baruch Even  <baruch@lyx.org>
17199
17200         * Makefile.am: Changed order of libraries to get LyX to link properly
17201         with the gnome frontend.
17202
17203 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17204
17205         * LaTeXFeatures.h: add a std:: qualifier
17206
17207 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17208
17209         * paragraph.C (String): use stringstream
17210
17211 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17212
17213         * paragraph.C (writeFile): remove footflag arg
17214
17215         * buffer.C (makeLaTeXFile): use stringstream
17216         (latexParagraphs): remove footnot gurba
17217
17218         * LaTeXFeatures.C (getPackages): use stringstream
17219         (getMacros): likewise
17220         (getTClassPreamble): likewise
17221         (getFloatDefinitions): new method
17222
17223         * paragraph.C (writeFile): reindent
17224         (Erase): reindent
17225
17226         * WorkArea.h: revert the xpos + etc changes.
17227
17228         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
17229
17230         * lyxparagraph.[Ch]: add copy constructor, remove Clone
17231
17232         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
17233         (pasteSelection): likewise
17234         * text2.C (CreateUndo): likewise
17235
17236 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17237
17238         * minibuffer.C (peek_event): temporarily reduce the functionality
17239         of the minibuffer (to allow args on lfuns)
17240
17241         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
17242         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
17243
17244         * buffer.C (readInset): add compability reading of old float
17245         lists, add reading of new style float list.
17246         (readInset): avoid reevaluation of inscmd.getCmdName()
17247         (getLists): reindent
17248
17249         * MenuBackend.C (MenuItem): implement parsing of
17250         md_floatlistinsert and md_floatinsert.
17251         (expand::LastFiles): move initalizaton of iterators out of loop,
17252         avoid reevaluation.
17253         (expand::Documents): introduce typdedef vector<string> Strings,
17254         and use it.
17255         (expand::ExportFormats): introduce typedef vector<Format const *>
17256         Formats, and use it.
17257         (expand): implement FloatListInsert and FloatInsert.
17258
17259         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
17260         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
17261         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
17262
17263         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
17264         handling.
17265         (Dispatch::LFUN_FLOAT_LIST): implement
17266
17267 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
17268
17269         * LaTeX.C (run): Fix problem with --export code.
17270
17271 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
17272
17273         * BufferView.[Ch] (workarea): removed.
17274         (getClipboard) new method; wrapper for workarea()->getClipboard()
17275
17276         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
17277         bug.
17278
17279         * WorkArea.h (width, height, xpos, ypos): These methods all
17280         returned the dimensions of the work_area sub-area of WorkArea,
17281         resulting in a position error if the WorkArea were resized. Now
17282         return the dimensions of the entire WorkArea.
17283
17284         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
17285
17286 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17287
17288         * LaTeX.C (deplog): correct the syntax of regex reg1
17289
17290 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17291
17292         * undo.C: remove !NEW_INSETS cruft
17293
17294 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17295
17296         * text2.C: remove !NEW_INSETS cruft
17297
17298         * text.C: remove !NEW_INSETS cruft
17299
17300         * tabular.C: remove !NEW_INSETS cruft
17301
17302         * spellchecker.C: remove !NEW_INSETS cruft
17303
17304         * lyxtext.h: remove !NEW_INSETS cruft
17305
17306         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
17307
17308         * lyxfunc.C: remove !NEW_INSETS cruft
17309
17310         * lyxfind.C: remove !NEW_INSETS cruft
17311
17312         * lyx_cb.C: remove !NEW_INSETS cruft
17313
17314         * figureForm.C: remove  !NEW_INSETS cruft
17315
17316         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
17317
17318         * buffer.[Ch]: remove !NEW_INSETS cruft
17319
17320         * ToolbarDefaults.C: remove !NEW_INSETS cruft
17321
17322         * CutAndPaste.C: remove !NEW_INSETS cruft
17323
17324         * BufferView_pimpl.C: remove !NEW_INSETS cruft
17325
17326         * BufferView2.C: remove !NEW_INSETS cruft
17327
17328         * BufferView.h: remove !NEW_INSETS cruft
17329
17330 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17331
17332         * Lsstream.h: include LString.h before the sstream headers to
17333         fix problem with gcc 2.95.3 and lyxstring
17334
17335 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17336
17337         * lyx_main.C: add using directives when needed for C functions
17338         declared in std:: namespace.
17339
17340 2001-04-27  Juergen Vigna  <jug@sad.it>
17341
17342         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
17343         (SetHeightOfRow): comment out the update call should not be needed!
17344
17345 2001-04-13  Juergen Vigna  <jug@sad.it>
17346
17347         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
17348         (LyXTabular): tried to minimize operator= operations (and realized
17349         hopfully Lars wish).
17350
17351 2001-04-27  Juergen Vigna  <jug@sad.it>
17352
17353         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
17354
17355 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17356
17357         * lyxfunc.C (Dispatch): hack to make listof algorithm work
17358
17359         * buffer.C (readInset): hack to make listof algorithm work
17360
17361         * BufferView_pimpl.C: hack to make listof algorithm work
17362
17363 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17364
17365         * LyXAction.C: removed all !NEW_INSETS cruft
17366         (init): moved lfun_item in method
17367
17368         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
17369
17370 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
17371
17372         * BufferView2.C (theLockingInset): white space.
17373
17374 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17375
17376         * minibuffer.C: include <iostream>
17377
17378         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
17379
17380         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
17381
17382         * commandtags.h: add LFUN_TRANSPOSE_CHARS
17383
17384         * text.[Ch] (TransposeChars): new method
17385
17386 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17387
17388         * call message directly through LyXView instead of through LyXFunc
17389         * BufferView2.C: adjust
17390         * BufferView_pimpl.C: adjust
17391         * FontLoader.C: adjust
17392         * buffer.C: adjust
17393         * bufferview_funcs.C: adjust
17394         * converter.C: adjust
17395         * figureForm.C: adjust
17396         * importer.C: adjust
17397         * lyx_cb.C: adjust
17398         * lyx_gui_misc.C: adjust
17399         * lyxfunc.C: adjust
17400         * lyxvc.C: adjust
17401         * text2.C: adjust
17402         + more files in subdirs
17403
17404         * lyxparagraph.h (size): move up int file
17405         (GetLayout): ditto
17406
17407         * adjust all uses of Assert to lyx::Assert.
17408
17409         * BufferView2.C (ChangeCitationsIfUnique): adjust for
17410         lyxfunctional in namespace lyx
17411         * layout.C (hasLayout): ditto
17412         (GetLayout): ditto
17413         (GetLayout): ditto
17414         (delete_layout): ditto
17415         (NumberOfClass): ditto
17416         * converter.C (GetFormat): ditto
17417         (GetNumber): ditto
17418         (Add): ditto
17419         (Delete): ditto
17420         (SetViewer): ditto
17421         * bufferlist.C (getFileNames): ditto
17422         (emergencyWriteAll): ditto
17423         (exists): ditto
17424         (getBuffer): ditto
17425         * MenuBackend.C (hasSubmenu): ditto
17426         (hasMenu): ditto
17427         (getMenu): ditto
17428         * BufferView_pimpl.C (getInsetByCode): ditto
17429
17430 2001-04-18  Juergen Vigna  <jug@sad.it>
17431
17432         * vspace.C (asLatexString): fixed the 100% problem.
17433
17434 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17435
17436         * lyxfunc.C (Dispatch):
17437         * minibuffer.C:
17438         * minibuffer.h: add a few std:: qualifiers
17439
17440 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17441
17442         * minibuffer.[Ch]: reimplement so that commands is initiated and
17443         run from lyxfunc, simplified som handling, and made the completion
17444         and history code for complete. wip.
17445
17446         * lyxfunc.C (processKeySym): call message
17447         (miniDispatch): new temporary method
17448         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
17449         (LFUN_MESSAGE): implement
17450         (LFUN_MESSAGE_PUSH): implement
17451         (LFUN_MESSAGE_POP): implement
17452         (initMiniBuffer): the initial/defualt minibuffer message.
17453
17454         * lyxfont.[Ch]: inline some more getters
17455
17456         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
17457
17458         * lyx_gui_misc.[Ch] (WriteStatus): remove method
17459
17460         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
17461         (AutoSave): use LFUN_MESSAGE
17462         (Reconfigure): ditto
17463
17464         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
17465
17466         * figureForm.C: use LFUN_MESSAGE
17467
17468         * converter.C (runLaTeX): use LFUN_MESSAGE
17469
17470         * bufferview_funcs.C: use LFUN_MESSAGE
17471         (Melt): ditto
17472         (changeDepth): ditto
17473
17474         * bufferparams.h: use boost::
17475
17476         * bufferlist.h: inherit privately from noncopyable
17477
17478         * bufferlist.C (loadLyXFile): remove some commented code.
17479
17480         * buffer.C (runChktex): use LFUN_MESSAGE
17481
17482         * ShareContainer.h: inherit privately from noncopyable
17483
17484         * ParagraphParameters.[hC] (depth): inline it.
17485
17486         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
17487         methods.
17488         (message): new method
17489         (messagePush): ditto
17490         (messagePop): ditto
17491         (show): init minibuffer
17492         (showState): direct call
17493
17494         * LaTeX.[Ch]: inherit privately from noncopyable
17495         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
17496         instead of WriteStatus.
17497
17498         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
17499
17500         * BufferView_pimpl.C (buffer): don't init minibuffer
17501         (workAreaButtonPress): use LFUN_MESSAGE
17502         (workAreaButtonRelease): ditto
17503         (savePosition): ditto
17504         (restorePosition): ditto
17505         (MenuInsertLyXFile): ditto
17506         (workAreaExpose): don't init minibuffer
17507         (update): remove commented code, simplify
17508
17509         * BufferView2.C (openStuff): use LFUN_MESSAGE
17510         (toggleFloat): ditto
17511         (menuUndo): ditto
17512         (menuRedo): ditto
17513         (copyEnvironment): ditto
17514         (pasteEnvironment): ditto
17515         (copy): ditto
17516         (cut): ditto
17517         (paste): ditto
17518         (gotoInset): ditto
17519         (updateInset): remove some commented code
17520
17521         * lastfiles.h: inherit privately from noncopyable
17522         * layout.h: ditto
17523         * lyx_gui.h: ditto
17524         * lyx_main.h: ditto
17525         * lyxlex.h: ditto
17526         * lyxlex_pimpl.h: ditto
17527
17528         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
17529         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
17530         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
17531
17532         * LyXAction.h: inherit privately from noncopyable, add methods
17533         func_begin, func_end, returning iterators to the func map.
17534
17535         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
17536         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
17537         (func_begin): new method
17538         (func_end): new method
17539
17540         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
17541         and not)
17542         (copySelection): ditto
17543         (pasteSelection): ditto
17544
17545         * BufferView.C: whitespace change
17546         * BufferView.h: inherit privately from noncopyable
17547
17548 2001-04-16  Allan Rae  <rae@lyx.org>
17549
17550         * tabular-old.C (l_getline):
17551         * spellchecker.C (sc_check_word):
17552         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
17553         an unrecognised preprocessor directive.  So ensure they're wrapped.
17554
17555 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
17556
17557         * src/exporter.C (Export): Give an error message when path to file
17558         contains spaces.
17559
17560 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
17561
17562         * LaTeX.C (deplog): Always check that foundfile exists.
17563
17564 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17565
17566         * lyx_main.h:
17567         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
17568
17569 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17570
17571         * tabular.[Ch] (getLabelList): implement new method
17572
17573         * minibuffer.h: comment ouf setTiimer
17574
17575         * minibuffer.C (ExecutingCB): constify res
17576         (peek_event): constify s
17577         (Set): constify ntext
17578         (Init): constify nicename
17579
17580         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
17581
17582         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
17583         (savePosition): use two params to Minibuffer::Set
17584         (restorePosition): ditto
17585
17586 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17587
17588         * lyx_main.C: include language.h
17589
17590         * Makefile.am (lyx_main.o): add language.h
17591
17592 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17593
17594         * exporter.C:
17595         * paragraph.C:
17596         * screen.C:
17597         * tabular.C:
17598         * CutAndPaste.C: include gettext.h
17599
17600         * lyxfont.h: remove old hack with ON and OFF.
17601
17602         * lyxparagraph.h:
17603         * lyxfont.h: do not include language.h...
17604
17605         * BufferView2.C:
17606         * LaTeXFeatures.C:
17607         * Painter.C:
17608         * bufferview_funcs.C:
17609         * font.C:
17610         * lyxfont.C:
17611         * text.C:
17612         * text2.C:
17613         * trans_mgr.C:
17614         * paragraph.C: ... but do it here instead
17615
17616 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17617
17618         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
17619
17620         * tabular.C: small reformat
17621
17622         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
17623         NEW_INSETS version
17624         (GetChar): ditto
17625         (BreakParagraph): ditto
17626         (SetOnlyLayout): ditto
17627         (SetLayout): ditto
17628
17629         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
17630         with one arg less.
17631
17632         * lastfiles.C: removed most using decl, add std:: where needed
17633
17634         * buffer.C: ws changes
17635
17636         * MenuBackend.C (class compare_format): put into anon namespace
17637         (expand): constify label, names, action, action2
17638         (expand):
17639
17640         * text.C (SingleWidth): constify font
17641         (IsBoundary): constify rtl2
17642         (GetVisibleRow): constify ww
17643
17644         * LaTeX.C (deplog): constify logfile
17645
17646         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
17647         start_x, end_x
17648         (workAreaExpose): constify widthChange, heightChange
17649
17650         * lyxrow.C (par): moved
17651         (height): moved
17652         (next): moved
17653         * lyxrow.h: as inlines here
17654
17655         * lyxfont.h (shape): moved from lyxfont.C
17656         (emph): moved from lyxfont.C
17657
17658         * lyxfont.C (LyXFont): use initialization list for all
17659         constructors
17660         (shape): move to lyxfont.h as inline
17661         (emph): move to lyxfont.h as inline
17662
17663
17664 2001-04-04  Juergen Vigna  <jug@sad.it>
17665
17666         * vspace.C: had to include stdio.h for use of sscanf
17667
17668 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
17669
17670         * BufferView.h:
17671         * BufferView_pimpl.h: remove xforms cruft. Both classes are
17672         independent of xforms.
17673
17674 2001-04-02  Juergen Vigna  <jug@sad.it>
17675
17676         * spellchecker.C: fixed namespace placing!
17677
17678 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
17679
17680         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
17681         the LyXParagraph * is 0.
17682
17683 2001-03-29  Juergen Vigna  <jug@sad.it>
17684
17685         * vspace.C: added support for %, c%, p%, l%.
17686         (stringFromUnit): added helper function.
17687         (asLatexString): changed to give right results for the %-values.
17688
17689         * buffer.C: convert the widthp in a width%.
17690
17691 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
17692
17693         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
17694         figureForm.[Ch].
17695
17696         * figureForm.[Ch]: stripped the FD_from_figure manipulation
17697         code out of lux_cb.[Ch], ready for its (imminent?) removal.
17698
17699         * lyx_cb.[Ch]: see above.
17700
17701         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
17702         form1.[Ch].
17703
17704         * form1.[Ch]:
17705         * lyx.[Ch]: replaced by figure_form.[Ch].
17706
17707         * lyx_gui.C:
17708         * lyx_gui_misc.C:
17709         * lyxfunc.C: changed headers associated with above changes.
17710
17711 2001-03-27  Juergen Vigna  <jug@sad.it>
17712
17713         * BufferView_pimpl.C: set the temporary cursor right!
17714
17715 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
17716
17717         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
17718
17719 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
17720
17721         * LString.h: removed "using std::getline"!
17722
17723         * BufferView_pimpl.C (Dispatch): changes due to changes in
17724         InsetInclude::Params.
17725
17726         * buffer.C (tag_name): removed redundant break statements as they were
17727         producing lots of warnings with my compiler.
17728
17729 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17730
17731         * LString.h: add "using std::getline" when using the real <string>.
17732
17733 2001-03-23  Jos�Ab�io Matos  <jamatos@fep.up.pt>
17734
17735         * buffer.C: removed bitset usage.
17736         PAR_TAG moved to an anonymous name space.
17737         (tag_name): new funtion, also in the anonymous namespace.
17738         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
17739         (makeDocBookFile): clean code. Completed transition from string arrays
17740         to string vectors.
17741         (SimpleDocBookOnePar): code clean.
17742
17743 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17744
17745         * tabular.C: add some comments.
17746
17747 2001-03-22  Juergen Vigna  <jug@sad.it>
17748
17749         * buffer.C (parseSingleLyXformat2Token): redone the minipage
17750         compatibility read a bit and fixed bug with minipage in different
17751         depth.
17752
17753 2001-03-21  Jos�Ab�io Matos  <jamatos@fep.up.pt>
17754
17755         * buffer.C (pop_tag): removed.
17756         (push_tag): removed.
17757         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
17758         array replaced with vector. Added support for CDATA sections.
17759         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
17760         at any nest level.
17761         (makeDocBookFile): XML conformant declaration of CDATA section,
17762         fixed bug related to <emphasis> in the first paragraph char.
17763         (sgmlOpenTag): exclude empty tags.
17764         (sgmlCloseTag): ditto.
17765
17766         * buffer.h (pop_tag): removed.
17767         (push_tag): removed.
17768
17769 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
17770
17771         * language.h (Languages): added size_type and size().
17772
17773 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17774
17775         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
17776         response on compability reading of minipages. One probliem is that
17777         the old usage of minipages was flertydig
17778
17779         * several files here and in subdirs: don't use static at file
17780         scope use anon namespaces instead.
17781
17782 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
17783
17784         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
17785         LaTeX output. This is necessary for Literate document
17786         processing.
17787
17788 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17789
17790         * buffer.C: insert hfill when needed.
17791
17792         * tabular.C (l_getline): use string::erase, small whitespace change.
17793
17794         * BufferView_pimpl.C: try the anon namespace.
17795         * WorkArea.C: ditto
17796
17797 2001-03-16  Juergen Vigna  <jug@sad.it>
17798
17799         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
17800         otherwise it won't open options-dialogs.
17801
17802         * buffer.C: honor pextraWidth(p) on converting minipages.
17803
17804         * tabular.C (l_getline): changed the functions to strip trailing \r.
17805
17806 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
17807
17808         * BufferView_pimpl.C:
17809         * minibuffer..C: added "using SigC::slot" declaration.
17810
17811 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17812
17813         * lyxlex_pimpl.h: noncopyable is in namespace boost.
17814
17815         * text2.C: ditto
17816
17817         * text.C: ditto
17818
17819         * paragraph.C: ditto
17820
17821         * lyxtext.h: NO_PEXTRA
17822
17823         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
17824
17825         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
17826         * ParameterStruct.h: ditto
17827         * ParagraphParameters.h: ditto
17828         * lyxparagraph.h: ditto
17829
17830 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17831
17832         * buffer.C: add compability for minipage alignment.
17833         (latexParagraphs): remove unwanted pextra check.
17834
17835         * several files: remove CXX_WORKING_NAMESPACES
17836
17837         * buffer.C (pop_tag): tie is in namespace boost
17838
17839         * BufferView.h: noncopyable is in namespace boost
17840         * lyxlex.h: ditto
17841         * lyx_main.h: ditto
17842         * lyx_gui.h: ditto
17843         * layout.h: ditto
17844         * lastfiles.h: ditto
17845         * bufferlist.h: ditto
17846         * ShareContainer.h: ditto
17847         * LyXView.h: ditto
17848         * LyXAction.h: ditto
17849         * LaTeX.h: ditto
17850
17851 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
17852
17853         * Merging changes from BRANCH_MVC back into HEAD.
17854
17855         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
17856
17857 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
17858
17859         * BufferView_pimpl.C: change from intl.C
17860
17861         * combox.h:
17862         * combox.C:
17863         * Makefile.am: move combox.*
17864
17865         * form1.h:
17866         * form1.C:
17867         * lyx_gui.C:
17868         * intl.h:
17869         * intl.C: remove dialog (covered by prefs)
17870
17871 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
17872
17873         * lyxfunc.C (Dispatch): removed redundant break statement.
17874
17875 2001-03-14  Juergen Vigna  <jug@sad.it>
17876
17877         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
17878
17879 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17880
17881         * buffer.C: add hack to fix compability reading of minipages.
17882
17883 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
17884
17885         * buffer.C (getLists): Cleanup.
17886
17887 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17888
17889         * lyxfont.C (update): don't honor toggleall on font size.
17890
17891 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
17892
17893         * bmtable.c:
17894         * bmtable.h:
17895         * Makefile.am: moved to frontends/xforms/
17896
17897         * lyx_gui_misc.C:
17898         * lyxfunc.C:
17899         * BufferView_pimpl.C: changes for moved mathpanel
17900
17901 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
17902
17903         * gettext.h: fix gettext_init() in --disable-nls
17904
17905 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17906
17907         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
17908
17909 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
17910
17911         * lyx.C:
17912         * lyx.h: strip external form
17913
17914 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
17915
17916         * BufferView_pimpl.C: add comment, destroySplash()
17917
17918 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
17919
17920         * BufferView_pimpl.C:
17921         * LyXAction.C:
17922         * buffer.C:
17923         * commandtags.h:
17924         * lyxfunc.C: use re-worked insetinclude
17925
17926 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17927
17928         * buffer.C: add using std::stringstream.
17929
17930         * lyx_cb.C: readd using std::ios.
17931
17932         * buffer.C: add using std::map.
17933
17934         * BufferView_pimpl.C: add using std::vector.
17935
17936         * ShareContainer.h: add std:: to swap.
17937
17938         * buffer.h: add some typedefs
17939         * buffer.C (getLists): use them
17940         (getLists): renamed from getTocList.
17941         add a counter for the different float types and use it in the
17942         generated string.
17943         (getLists): use the same counter for the NEW_INSETS and the "non"
17944         NEW_INSETS
17945
17946         * lyx_cb.h: remove unused items, includes, using etc.
17947
17948         * ShareContainer.h: remove some commented code, add more comments
17949         and "documentation".
17950
17951 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17952
17953         * buffer.C (getTocList): make the list also when NEW_INSETS is
17954         defined.
17955
17956         * buffer.h: remove TocType
17957
17958         * buffer.C (getTocList): change to return a map<string,
17959         vector<TocItem> >, implement for dynamic number of list.
17960
17961         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
17962         * text2.C (PasteSelection): adjust
17963         * CutAndPaste.C (pasteSelection): adjust
17964
17965         * FloatList.C (FloatList): update from the new_insets branch.
17966         * Floating.[Ch]: ditto
17967         * LaTeXFeatures.C: ditto
17968         * buffer.C: ditto
17969         * lyxlex_pimpl.C: ditto
17970
17971         * paragraph.C (Last): remove when NEW_INSETS is defined.
17972
17973         * other file: changes because of the above.
17974
17975 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17976
17977         * lyxparagraph.h: rename next to next_, previous to previous_,
17978         make them private for NEW_INSETS. Rename Next() to next(),
17979         Previous() to previous().
17980
17981         * other files: changes because of the above.
17982
17983 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
17984
17985         * BufferView.h:
17986         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
17987         problem.
17988
17989 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17990
17991         * main.C (main): pass lyx_localedir to gettext_init().
17992
17993         * gettext.h: remove locale_init and gettext_init macros
17994
17995         * gettext.C (locale_init): new function
17996         (gettext_init): new function
17997
17998         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
17999         setlocale().
18000
18001 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
18002
18003         * Moved credits to frontends:
18004         * credits.[Ch]: removed
18005         * credits_form.[Ch]: removed
18006         * lyx_gui_misc.C: remove credits stuff
18007         * Makefile.am:
18008
18009 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18010
18011         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
18012
18013         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
18014         unneeded destructor.
18015
18016         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
18017         a standalone pointer again.
18018
18019         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
18020
18021 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
18022
18023         * Makefile.am:
18024         * filedlg.h:
18025         * filedlg.C:
18026         * LyXAction.C:
18027         * ToolbarDefaults.C:
18028         * bufferlist.C:
18029         * commandtags.h:
18030         * form1.C:
18031         * form1.h:
18032         * lyx_cb.C:
18033         * lyx_cb.h:
18034         * lyxfunc.h:
18035         * lyxfunc.C:
18036         * BufferView_pimpl.C: use new file dialog in GUII
18037
18038         * lyx_cb.h:
18039         * lyx_cb.C: remove LayoutsCB to Toolbar
18040
18041 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18042
18043         * ShareContainer.h (get): add std:: qualifier
18044
18045 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18046
18047         * ShareContainer.h: define a proper ShareContainer::value_type
18048         type (and use typename to please compaq cxx)
18049
18050 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18051
18052         * lyxparagraph.h: move serveral local vars to
18053         ParameterStruct/ParagraphParameters., use ShareContainer in
18054         FontTable., make vars in FontTable private and add getter and
18055         setter.
18056
18057         * paragraph.C: changes because of the above.
18058
18059         * lyxfont.h: remove copy constructor and copy assignment. (the
18060         default ones is ok), move number inside FontBits. move inlines to
18061         lyxfont.C
18062
18063         * lyxfont.C: add number to initializaton of statics, move several
18064         inlines here. constify several local vars. some whitespace
18065         cleanup. Dont hide outerscope variables.
18066
18067         * Spacing.h: add two new constructors to match the set methods.
18068
18069         * ShareContainer.h: new file, will perhaps be moved to support
18070
18071         * ParameterStruct.h: new file
18072
18073         * ParagraphParameters.h: new file
18074
18075         * ParagraphParameters.C: new file
18076
18077         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
18078         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
18079
18080         * BufferView_pimpl.C: ParagraphParameter changes.
18081         * buffer.C: Likewise.
18082         * bufferview_funcs.C: Likewise.
18083         * text.C: Likewise.
18084         * text2.C: Likewise.
18085
18086 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18087
18088         * lyxfind.C (LyXReplace): do not redefine default argument in
18089         implementation.
18090         (IsStringInText): ditto
18091         (SearchForward): ditto
18092         (SearchBackward): ditto
18093
18094 2001-03-06  Juergen Vigna  <jug@sad.it>
18095
18096         * lyxfind.C (IsStringInText): put parentes around expressions.
18097
18098 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
18099
18100         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
18101
18102 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
18103
18104         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
18105
18106         * stl_string_fwd.h: add comment
18107
18108         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
18109
18110         * tabular.h:
18111         * tabular.C: remove unused DocBook methods
18112
18113         * intl.C:
18114         * language.C:
18115         * paragraph.C:
18116         * buffer.C:
18117         killed DO_USE_DEFAULT_LANGUAGE
18118
18119 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18120
18121         * lyx_gui.C: do not include language.h.
18122
18123         * bufferview_funcs.C (ToggleAndShow): do not provide optional
18124         arguments in function implementation.
18125
18126 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18127
18128         * BufferView_pimpl.C: add <ctime>
18129
18130 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18131
18132         * BufferView_pimpl.C: add using std::find_if
18133
18134 2001-02-27  José Matos  <jamatos@fep.up.pt>
18135
18136         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
18137         by OnlyPath.
18138
18139 2001-02-11  José Matos  <jamatos@fep.up.pt>
18140
18141         * buffer.C (makeDocBookFile): command styles now have a parameter as
18142         "title" by default.
18143
18144 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
18145
18146         * layout_forms.[Ch]: removed
18147         * lyx_cb.[Ch]: out character
18148         * lyx_gui.C: out character
18149         * lyx_gui_misc.C: out character
18150         * bufferview_funcs.C: : out character,
18151         added toggleall as parameter in ToggleAndShow
18152
18153 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
18154
18155         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
18156
18157         * text2.C (SetCurrentFont): Disable number property at boundary.
18158
18159 2001-02-26  Juergen Vigna  <jug@sad.it>
18160
18161         * lyxfunc.C (getStatus): added a string argument override function so
18162         that this is correctly called from LyXFunc::Dispatch if it contains a
18163         do_not_use_argument which is used!
18164         (Dispatch): added check for "custom" export and call appropriate func.
18165
18166 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
18167
18168         * lyxrc.C: Add language_command_local, language_use_babel and
18169         language_global_options.
18170
18171         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
18172
18173         * buffer.C (makeLaTeXFile): Use language_use_babel and
18174         language_global_options.
18175
18176 2001-02-23  Juergen Vigna  <jug@sad.it>
18177
18178         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
18179         which works with LyXText and putted it inside BufferView. Here now we
18180         only call for that part the BufferView::Dispatch() function.
18181
18182         * BufferView.C (Dispatch): added.
18183
18184         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
18185         functions which needs to use a LyXText over from LyXFunc.
18186         (MenuInsertLyXFile): added
18187         (getInsetByCode): added
18188         (moveCursorUpdate): added
18189         (static TEXT): added
18190
18191 2001-02-22  Juergen Vigna  <jug@sad.it>
18192
18193         * BufferView_pimpl.C (update): call a status update to see if LyXText
18194         needs it.
18195
18196 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18197
18198         * vc-backend.C (revert): implement for CVS
18199         (getLog): implement for CVS
18200
18201 2001-02-20  Juergen Vigna  <jug@sad.it>
18202
18203         * text2.C (ClearSelection): added BufferView param for inset_owner call
18204
18205         * lyxfunc.C (TEXT): added this function and use it instead of
18206         directly owner->view()-text of getLyXText().
18207
18208 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
18209
18210         * src/layout_forms.C: out preamble
18211         * src/layout_forms.h: out preamble
18212         * src/lyx_cb.C: out preamble
18213         * src/lyx_cb.h: out preamble
18214         * src/lyx_gui.C: out preamble
18215         * src/lyx_gui_misc.C: out preamble
18216         * src/lyxfunc.C: connect with guii preamble
18217
18218 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
18219
18220         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
18221
18222 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
18223
18224         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
18225         whether to run bibtex.
18226
18227 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
18228
18229         * Makefile.am (lyx_SOURCES): Remove BackStack.h
18230
18231 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
18232
18233         * Makefile.am (lyx_SOURCES): removed bibforms.h
18234
18235         * vspace.h: doxygen
18236
18237         * text.C (GetVisibleRow): make several local vars const
18238
18239         * tabular.C: small cleanup.
18240
18241         * lyxserver.C (callback): use compare instead of strncmp
18242
18243         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
18244         inlines to after class or to paragraph.C
18245
18246         * lyxfont.h: remove friend operator!=
18247
18248         * converter.h: move friend bool operator< to non friend and after
18249         class def.
18250
18251         * combox.h: small cleanup
18252
18253         * buffer.h: doxygen, remove unused constructor, move inclas inlies
18254         to inlines after class def.
18255
18256         * buffer.C (pop_tag): use string operations instead of strcmp
18257
18258         * bmtable.c: doxygen, small cleanup
18259
18260         * LaTeX.h: remove friend operator==
18261
18262 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
18263
18264         * screen.C:
18265         * lyxrc.[Ch]:
18266         * lyxfunc.C:
18267         * lyxfont.[Ch]:
18268         * lyx_cb.C:
18269         * intl.[Ch]:
18270         * commandtags.h:
18271         * buffer.C:
18272         * WorkArea.[Ch]:
18273         * LyXAction.C:
18274         * BufferView_pimpl.C:
18275         * BufferView.[Ch]: remove cruft
18276
18277 2001-02-14  Juergen Vigna  <jug@sad.it>
18278
18279         * lyxfunc.C: removed #if 0 unused code
18280
18281         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
18282
18283         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
18284
18285         * text2.C (SetSelection): added a BufferView * parameter
18286
18287 2001-02-13  Juergen Vigna  <jug@sad.it>
18288
18289         * lyxfunc.C (Dispatch): fixed protected blank problem.
18290         * BufferView2.C (protectedBlank): added LyxText * parameter.
18291
18292         * tabular.C (AppendRow): forgot to set row_info of newly added row.
18293         (AppendColumn): same as above for column_info.
18294
18295         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
18296         (moveCursorUpdate): use a LyXText param for support of InsetText.
18297
18298         * BufferView_pimpl.C (doubleClick): added support for InsetText.
18299         (tripleClick): ditto
18300
18301         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
18302
18303         * BufferView_pimpl.C (update): added LyXText param to honor insets.
18304
18305         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
18306
18307         * text2.C (SetSelection): set correct update status if inset_owner
18308         (ToggleFree): ditto
18309
18310 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
18311
18312         * tabular.C: remove some commented code.
18313
18314 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
18315
18316         * BufferView_pimpl.C: call hideSplash()
18317
18318         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
18319
18320         * include_form.h:
18321         * bibforms.h: remove
18322
18323         * lyxfunc.C:
18324         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
18325           add LFUN_CHILD_CREATE
18326
18327         * counters.h: fix tiny typo
18328
18329         * lyx_cb.C:
18330         * lyx.h:
18331         * lyx_gui.C:
18332         * lyx.C: move splash to frontends/xforms/
18333
18334         * lyx_gui_misc.C: move Include and Bibform to frontends
18335
18336         * lyxvc.h: clarify comment
18337
18338         * vspace.C: tiny housekeeping
18339
18340 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
18341
18342         * text.C (PrepareToPrint): RTL Fix.
18343
18344         * paragraph.C (GetUChar): New method.
18345         (String):  Use GetUChar.
18346
18347         * buffer.C (asciiParagraph): Use GetUChar.
18348
18349 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
18350
18351         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
18352
18353 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
18354
18355         * buffer.h:
18356         * buffer.C: rename to getLogName(), handle
18357           build log / latex log nicely
18358
18359 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18360
18361         * MenuBackend.C:
18362         * MenuBackend.h: remove support for reference menuitem type.
18363
18364 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
18365
18366         * BufferView_pimpl.C: housekeeping
18367         * BufferView_pimpl.h:
18368         * LyXView.h:
18369         * Makefile.am:
18370         * Timeout.C:
18371         * Timeout.h:
18372         * minibuffer.h: move Timeout GUI-I
18373
18374 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
18375
18376         * lyxrc.C (read): Update converters data-structures.
18377
18378 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
18379
18380         * LaTeX.h (operator!=): add operator != for Aux_Info
18381
18382 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
18383
18384         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
18385
18386         * LaTeXLog.C: deleted, useful code moved to Buffer
18387
18388         * buffer.h:
18389         * buffer.C: new function getLatexLogName()
18390
18391         * lyx_gui_misc.C:
18392         * lyx_gui.C:
18393         * lyxvc.C:
18394         * lyxvc.h:
18395         * lyxfunc.C: use frontends for LaTeX and VC logs
18396
18397 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18398
18399         * LaTeX.h: yet another std:: that Allan forgot.
18400
18401         * Variables.C (set): renamed from isset(), because this clashes
18402         with some HP-UX macros (grr).
18403
18404 2001-02-06  Allan Rae  <rae@lyx.org>
18405
18406         * LaTeX.h: Another bug fix.  Missing std:: this time.
18407
18408 2001-02-04  Allan Rae  <rae@lyx.org>
18409
18410         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
18411         floats problem. I've left it commented out because it's not quite
18412         correct.  It should also test that the current object is a table or
18413         figure inset.  But I haven't gotten around to figuring out how to do
18414         that.  I *think* it'll be something like: "table" == inset.type()
18415
18416         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
18417         bool.
18418
18419 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
18420
18421         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
18422         all the citation/databases/styles in the auxilary file.
18423         (run): Rerun latex if there was a babel language error.
18424
18425 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
18426
18427         * text.C (Backspace): Preserve the font when changing newline char
18428         with a space.
18429         (BreakParagraph): If the cursor is before a space, delete the space.
18430
18431         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
18432
18433 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
18434
18435         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
18436         new argument (code).
18437         (ChangeCitationsIfUnique): New method.
18438
18439         * paragraph.C (GetPositionOfInset): Handle bibkey.
18440
18441 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18442
18443         * BufferView_pimpl.h: change type of Position::par_pos to
18444         LyXParagraph::size_type.
18445
18446 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
18447
18448         * BufferView_pimpl.C (savePosition, restorePosition): Write
18449         messages to minibuffer.
18450
18451 2001-01-28  José Matos  <jamatos@fep.up.pt>
18452
18453         * buffer.C (makeDocBookFile): adds support for document language.
18454         A silly restriction on the name of LatexCommand types where removed.
18455         Added support for CDATA sections, allows to chars unescaped, used
18456         among others in code, to avoid escape < and >.
18457
18458 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
18459
18460         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
18461         saved positions instrad of a stack. Furthermore, a position is
18462         stored using paragraph id/paragraph position.
18463
18464         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
18465         Remove LFUN_REF_BACK.
18466
18467 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
18468
18469         * converter.C (dvipdfm_options): New method.
18470
18471 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
18472
18473         * vspace.C (isValidLength): Fix for empty input string.
18474
18475 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18476
18477         * LyXAction.C (init): change description of LFUN_FIGURE to
18478         "Insert Graphics"
18479
18480 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18481
18482         * LaTeX.C: add using directive
18483
18484 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
18485
18486         * MenuBackend.C (expand): Fix the sorting of the formats.
18487
18488 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
18489
18490         * lyx_main.C: tiny error message fix
18491
18492 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18493
18494         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
18495         calling fl_initialize(). This fixes the problem with ',' as
18496         decimal separator in text files.
18497
18498 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
18499
18500         * trans.C (process): Fix the keymap bug.
18501
18502 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
18503
18504         * LaTeX.C (scanAuxFiles): New method. Provides support for
18505         multiple bibliographies (when using the bibtopic/bibunits pacakges).
18506         (scanLogFile) Scan for "run BibTeX" messages.
18507
18508         * buffer.C (makeLaTeXFile): Do not load the ae package when using
18509         OT1 font encoding. Also, load the aecompl package if the ae
18510         package is loaded.
18511
18512         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
18513
18514 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18515
18516         * texrow.C (increasePos): turn two error messages into debug
18517         messages.
18518
18519 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
18520
18521         * LaTeX.C (scanAux): Handle the \@input macro.
18522         (runBibTeX): Use scanAux().
18523
18524         * language.C (latex_options_): New field.
18525
18526         * LaTeXFeatures.C (getMacros): Add language macros.
18527
18528         * buffer.C (makeLaTeXFile): Small fix.
18529
18530 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18531
18532         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
18533
18534         * text2.C: add a using directive.
18535
18536 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
18537
18538         * BufferView2.C:
18539         * lyx_gui_misc.h:
18540         * lyxfr1.C:
18541         * lyxfunc.C: kill LyXBell.
18542
18543 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
18544
18545         * text.C (IsBoundary): Remove the error message
18546
18547         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
18548
18549         * lyxrc.C (setDefaults): Correct initialization value for
18550         font_norm_type.
18551
18552 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
18553
18554         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
18555         gotoError().
18556
18557         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
18558         and GotoNextNote().
18559
18560         * src/LyXAction.C: Added reference-next.
18561
18562         * text.C (InsertChar): Use contains instead of strchr.
18563
18564         * lyx_cb.C (MenuInsertLabel): Enable default value code.
18565
18566 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
18567
18568         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
18569         alignment commands (when needed).
18570
18571         * text.C (InsertChar): Add ':' to number separator chars.