]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
519672102c9df67e317213de4781ae8264cb3a01
[lyx.git] / src / ChangeLog
1 2005-12-08  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2
3         * text.C (redoParagraph): honor inset->noFontChange()
4         * rowpainter.C (paintInset): ditto
5
6 2005-12-15  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
7
8         * lyx_main.C (priv_exec): don't initialize Math on startup 
9         (initMath() has been moved to math_hullinset).
10
11 2005-12-12  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
12
13         * lyxrc.C: set default_papersize to PAPER_DEFAULT;
14         handle PAPER_DEFAULT in LyXRC::read and LyXRC::write (bug 2148).
15         * paper.h: dispose dead PAPER_PACKAGES enum.
16
17 2005-12-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
18
19         * Makefile.am (OTHERLIBS): add SOCKET_LIBS in case we compile
20         without X support.
21
22 2005-12-06  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
23
24         * exporter.C (Export): Don't try to copy a file if it does not exist
25         (bug 1888)
26
27 2005-12-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
28
29         * text2.C (makeFontEntriesLayoutSpecific): remove.
30         (setLayout): adapt.
31
32         * text.C (insertChar): remove bogus caching of fonts (did not do
33         anything). 
34
35         * text2.C (LyXText): initialize current_font to ALL_INHERIT (was
36         ALL_SANE). (bug 2146)
37
38 2005-12-01  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
39
40         * rowpainter.C (paintFirst): fix centering of
41         LABEL_CENTERED_TOP_ENVIRONMENT. 
42
43 2005-11-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
44
45         * BufferView.C (mouseSetCursor): new method. Calls
46         deleteEmptyParagraphMechanism if necessary.
47
48         * lyxtext.h: make deleteEmptyParagraphMechanism public.
49
50         * text3.C (dispatch/LFUN_MOUSE_PRESS): use
51         BufferView::mouseSetCursor (bug 2109).
52         (dispatch/LFUN_PASTE): remove #warning that is now irrelevant.
53
54 2005-11-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>  
55
56         * text3.C (dispatch/LFUN_INDEX_INSERT): when a selection is set,
57         do not remove it (this inset behaves differently from the others).
58
59 2005-11-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
60
61         Fix bug 2096.
62         
63         * BufferView_pimpl.C (getStatus): it is only possible to insert a
64         file in a text inset.
65
66         * buffer.C (readDocument): remove pit argument and code releated
67         to it; set the inset owner correctly (unrelated, but useful).
68         (readFile): get rid of pit argument.
69
70         * CutAndPaste.C (pasteSelectionHelper): use a ParagraphList and a
71         textclass instead of a selection index.
72         (pasteParagraphList): new function.
73         (pasteSelection): make it a wrapper around pasteParagraphList.
74
75         * BufferView_pimpl.C (MenuInsertLyXFile): use
76         cap::pasteParagraphList to insert a file.
77
78 2005-11-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
79
80         * buffer_funcs.C (bufferErrors): prevent endless loop (bug 2121)
81
82 2005-11-17  Michael Gerz  <michael.gerz@teststep.org>
83
84         * exporter.C: fix typo in text message
85
86 2005-11-28  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
87
88         * text2.C (setLayout): move recUndo call to other setLayout method
89         * tabular.C (toggleFixedWidth): new, handle cell width changes
90         * tabular.C (setColumnPWidth): move some code from insettabular.C here
91         and use toggleFixedWidth
92         * tabular.C (setMColumnPWidth): ditto
93
94 2005-11-25  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
95
96         * paragraph.C (asString): use new inset->textString method (fix
97         bug 2089) 
98
99 2005-11-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
100
101         * CutAndPaste.C (numberOfSelections): new helper function.
102
103         * lyxfunc.C (getStatus): remove support for LFUN_COPY and LFUN_CUT.
104
105         * text3.C (getStatus): move code for LFUN_CUT and LFUN_COPY from
106         LyXFunc::getStatus; implement LFUN_PASTE.
107
108 2005-11-17  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
109
110         * dociterator.[Ch]: new member realInset() that returns the cell
111         for tabulars and the inset for the rest (bug 1952).
112         * undo.C (textUndoOrRedo): use realInset when resetting insetOwner
113         (bug 1952).
114
115 2005-11-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
116
117         * text.C (leftMargin): honor the NextNoIndent tag in layouts.
118
119 2005-11-17  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
120
121         * lyxfunc.C:
122         * paragraph.C:
123         * text3.C: InsetBase::forceDefaultParagraphs now takes a cell as
124         argument.
125
126 2005-11-07  Martin Vermeer  <martin.vermeer@hut.fi>
127
128         * text.C (redoParagraph): Fix bug 1966: cursor doesn't go to next
129         line after typing ctrl-enter
130
131 2005-11-10  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
132
133         * bufferview_funcs.C (coordOffset): fix the fix for bug 2094, as
134         math insets do not return a proper editable() state yet (bug 2124).
135
136 2005-11-07  Martin Vermeer  <martin.vermeer@hut.fi>
137
138         * BufferView_pimpl.[Ch]: Fix bug 1814: better scroll behaviour for 
139         docs containing very large paragraphs.
140
141 2005-11-07  Martin Vermeer  <martin.vermeer@hut.fi>
142
143         * cursor.C (selectionBegin, selectionEnd):
144         * text.C (drawSelection): Fix bug 2115: assertion when anchor and 
145         cursor at different depths.
146
147 2005-11-03  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
148
149         * bufferview_funcs.C (coordOffset): do not call cursorPos
150         for collapsed collapsables (fix bug 2094).
151
152 2005-11-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
153
154         * paragraph.C (fontSpan): make sure that the FontSpan does not
155         span across beginOfBody (bug 1947).
156
157 2005-11-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
158
159         * lyxlength.h: undefine macros that clash with solaris/x86 (bug 992)
160
161 2005-11-03  Michael Gerz  <michael.gerz@teststep.org>
162
163         * messages.C: fix crash and localization on MinGW/Windows platform
164
165 2005-11-02  Angus Leeming  <leeming@lyx.org>
166
167         * Bidi.C:
168         * lyxtextclass.C: trivial fixes to some MSVS warnings.
169
170 2005-10-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
171
172         * text3.C (getStatus): re-enable disabled code. (bug 2081)
173
174         * BranchList.h (empty): constify.
175
176 2005-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
177
178         * text3.C (getStatus): 
179         * MenuBackend.C (expandBranches): take the branch list from the
180         master document (bug 2092).
181         
182         * MenuBackend.C (expandBranches): 
183         * bufferparams.C (writeFile): use BranchList type.
184
185 2005-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
186
187         * text3.C (dispatch, getStatus): 
188         * LyXAction.C (init): 
189         * lfuns.h: get rid of LFUN_KEYMAP_TOGGLE
190
191 2005-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
192
193         * toc.C (getTocList): skip paragraphs which toclevel is NOT_IN_TOC.
194
195 2005-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
196
197         * text.C (insertChar): do not reset boundary (bug 2061)
198
199 2005-10-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
200
201         * dociterator.C (updateInsets): new method. Updates the inset_
202         cache of all the slices of the iterator.
203
204         * text2.C (deleteEmptyParagraphMechanism): compare also containing
205         insets when comparing pit/pos; pass the right cursor to
206         recordUndo; when a paragraph has been deleted, compare `old.top()' to
207         the right cursor slice of `cur'; use updateInsets on cur to make
208         sure that the inset caches are correct; general cleanup.
209
210 2005-10-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
211
212         * text3.C (dispatch): LFUN_NEXT_INSET_TOGGLE: first try to
213         dispatch LFUN_INSET_TOGGLE to inset at cursor, and then to
214         containg inset. If this does not work, the same command will be
215         sent to other insets down the queue by LCursor::dispatch. (bug 2066)
216
217         * lyxfunc.C (dispatch): make sure the cursor is correct when doing
218         a dispatch.
219
220 2005-10-20  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
221
222         * lyxtextclass.C (Read): convert layout file if the format is wrong
223         * lyxtextclass.C (layout2layout): new, needed for the above
224
225 2005-10-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
226
227         * messages.C: do not forget to include <cerrno>.
228
229 2005-10-12  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
230
231         * dociterator.h (StableDocIterator): add access to pos().
232         * undo.C (samePar): new method to check if two
233         iterators are in the same paragraph
234         * undo.C (recordUndo): check for samePar instead of cell identity
235         (which includes pos() and is too strict) (fixes bug 2097)
236
237 2005-10-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
238
239         * text.C (setCursorFromCoordinates): return a bool telling whether
240         dEPM triggered.
241
242         * text3.C (cursorPrevious): update if needed after
243         setCursorFromCoordinates (when dEPM triggered).
244
245         * text2.C (cursorDown, cursorUp): make sure to reset the anchor
246         (otherwise the anchor may be completely wrong and make dEPM assert).
247
248 2005-10-12  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
249
250         * buffer.C: version upgrade to 245.
251         * bufferparams.C: remove \quotes_times (bug 2090).
252         * text3.C (doDispatch): LFUN_QUOTE_INSERT has to output double
253         quotation marks as default.
254
255 2005-10-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
256
257         * CutAndPaste.C (nrOfParagraphs): remove (unused)
258         * CutAndPaste.C (cutSelection): Remove debug message
259         * CutAndPaste.C (cutSelection): Use the real cursor in mathed, record
260         undo information and only copy if this is a real cut
261         * CutAndPaste.C (pasteSelection): remove superflous cur.resetAnchor()
262         call
263         * CutAndPaste.C (pasteSelection): remove now superflous mathed warning
264         (bug 2059)
265         * CutAndPaste.C (eraseSelection): prevent cursor corruption
266         * CutAndPaste.C (grabAndEraseSelection, selDel): remove now
267         superflous cur.selection() setting
268         * CutAndPaste.[Ch] (grabSelection): take a const cursor
269         * cursor.C (selectionAsString): implement mathed case ((bug 2059)
270
271 2005-10-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
272
273         * text3.C (mathDispatch, dispatch): Dont' record undo steps that don't
274         change anything.
275
276 2005-10-11  Martin Vermeer  <martin.vermeer@hut.fi>
277
278         * BufferView_pimpl.C: comment layout change
279
280 2005-10-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
281
282         * LyXAction.C:
283         * lfuns.h:
284         * lyxfunc.C: reimplement LFUN_INSERT_CITATION, which is needed
285         by bibliography managers (bug 2071).
286
287 2005-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
288
289         * BufferView_pimpl.C (update): choose arguments to update call so
290         that single-par update works most times
291         * text3.C (dispatch): carefully tune updating separately for
292         whole-screen and current-paragraph
293         * rowpainter.C (paintText): 1) replace painting by caching for
294         the two extra paragraphs, because we can;
295         2) suppress greying out of areas below/above drawn area in case of
296         single-par refresh
297         * lyxfunc.C (dispatch): remove superfluous update
298         * LyXAction.[Ch]: introduce SingleParUpdate
299
300 2005-10-05  Angus Leeming  <leeming@lyx.org>
301
302         * BufferView_pimpl.C (loadLyXFile): ensure that a pointer is
303         always initialised before use.
304
305         * text.C (setHeightOfRow): squash warning about comparison
306         of signed and unsigned types.
307
308 2005-10-03  Martin Vermeer  <martin.vermeer@hut.fi>
309
310         * text.C (cursorX): two fixes involving RtL text drawing
311
312 2005-10-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
313
314         * cursor.C (erase): fix 'clever' UI hack. It was activated for all
315         items, not only large ones (part of bug 2057)
316
317 2005-10-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
318
319         * text3.C (dispatch): when invoking LFUN_MATH_MACRO with no type
320         argument, use "newcommand".
321
322 2005-09-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
323
324         * cursor.C (setSelection): do not open collapsable insets;
325         the insets do by themselves now (autoopen).
326
327 2005-09-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
328
329         * buffer.C: format is up to 244.
330
331 2005-09-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
332
333         * text.C (redoParagraph): fix calcultation of inset width wrt 
334         leftMargin (bug 1957).
335
336         * text3.C (dispatch): leave inset to the right when hitting ESC 
337         (bug 2034).
338
339 2005-09-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
340
341         * text2.C: 
342         * text.C: 
343         * factory.C:
344         * messages.C: include <boost/current_function.hpp> 
345
346 2005-09-12  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
347
348         * lyxfunc.C (sendDispatchMessage): do not update menubar/toolbar
349         when command is internal. (bug 1941)
350
351 2005-09-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
352
353         * text2.C (cursorRight): do not honor boundary when at the end of
354         a paragraph. (bug 2010 again)
355
356 2005-09-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
357
358         * cursor.C (paste): do nothing if `data' is empty. (bug 2033)
359
360 2005-09-19  Martin Vermeer  <martin.vermeer@hut.fi>
361
362         * rowpainter.C (paintText): fix RtL space width display bug (2029)
363
364 2005-09-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
365
366         * text2.C (setCursor): remove the unused 'boundary' parameter for
367         the CursorSlice version; adapt the LCursor version.
368
369         * lyxrc.C (write): 
370         * paragraph_pimpl.C (markErased): 
371         * cursor.C (bruteFind2, bruteFond3): fix warnings.
372
373 2005-09-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
374
375         * rowpainter.C (paintFirst): use a 'labeladdon' for TOP_* labels,
376         as is already done for "chapter".
377
378 2005-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
379
380         * lyxfunc.C (dispatch): LFUN_TEXTCLASS_APPLY: actually set the
381         textclass; do not record undo if nothing is changed.
382
383 2005-09-16  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
384
385         * text3.C (dispatch): recordUndo in LFUN_PASTESELECTION (#2011).
386
387 2005-09-14  Michael Gerz  <michael.gerz@teststep.org>
388
389         * lyxfunc.C: update display after LFUN_ALL_INSETS_TOGGLE
390
391 2005-09-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
392
393         * BufferView_pimpl.C (setBuffer): when one wants to set the layout
394         combox, it is necessary to search for the topmost paragraph in the
395         cursor stack (bug 1926)
396
397 2005-09-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
398
399         * text2.C (cursorEnd, cursorRight): do not set boundary to true at
400         end of paragraph. (bug 2010)
401
402 2005-09-10  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
403
404         * text.C (leftMargin): check for inInset == 0
405
406 2005-09-10  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
407
408         * text.C (leftMargin): test for insetbase's new neverIndent()
409         bool instead of listing each and every inset that does not
410         wish par indendation.
411
412 2005-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
413
414         * buffer_funcs.C (setCounter): put the code to compute enum label
415         here (where it belongs).
416
417         * counters.C (enumLabel): move code to buffer_funcs.C.
418
419 2005-09-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
420
421         * outputparams.[Ch]: store local_font instead of local_language
422         * paragraph.C (simpleTeXOnePar): adapt to the change above
423
424 2005-09-08  Martin Vermeer  <martin.vermeer@hut.fi>
425
426         * buffer_funcs.C:
427         * counters.[Ch]: clean up special code for Hebrew.
428
429 2005-09-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
430
431         * lyxfunc.C (lookupChange): fix code when cursor depth is greater
432         than 2.
433
434 2005-09-08  Angus Leeming  <leeming@lyx.org>
435
436         * ispell.C:
437         * lyxrc.C: correct grammar describing invocation of the
438         spellchecker.
439
440 2005-08-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
441
442         * text.C (read): remove unused variable.
443         (readParToken): remove static Change variable (never good in
444         recursive settings...); add it as a parameter instead.
445
446         * paragraph_pimpl.C (acceptChange): make debug info conditional.
447
448         * metricsinfo.C (PainterInfo): add new member erased_.
449
450         * rowpainter.C (RowPainter): add erased_ member, initialized from
451         PainterInfo. 
452         (paintInset): pass erased_ to Inset::draw.
453
454         * lyxfunc.C (lookupChange): new function. Tells whether change 
455         tracking is disabled at a given postion.
456         (getStatus): disable some actions when in deleted text with change
457         tracking. 
458
459 2005-08-03  John Levon  <levon@movementarian.org>
460         
461         * tabular.C (appendColumn, setMultiColumn): adapt to change to
462         InsetText::clear().
463
464         * paragraph_pimpl.C (markErased): add bool argument and handle it.
465         Also make sure to mark insets recursively.
466         (rejectChange, erase): be recursive
467
468         * paragraph.C (markErased): add bool argument.
469 2005-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
470
471         * lyxfind.C (findNextChange): tiny cleanup.
472
473         * BufferView_pimpl.C (trackChanges): avoid crash when stopping
474         change tracking with the cursor in an inset; make sure the first
475         change is not skipped.
476
477 2005-09-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
478
479         * CutAndPaste.[Ch]: new methods dirtyTabularStack and 
480         tabularStackDirty to work around bug 1919 (tabular needs
481         to know whether its own cell paste buffer or the one of 
482         texted is newer.
483         * CutAndPaste.C: mark tabular_stack_ clean after copy.
484
485 2005-08-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
486
487         * text2.C (cursorEnd): check for empty text (fixes bug 1998)
488
489 2005-08-19  Lars Gullik Bjønnes  <larsbj@gullik.net>
490
491         * CutAndPaste.C (eraseSelectionHelper): fix bug 1920
492         use old deleteion algorithm when changetracking is on.
493
494 2005-08-18  Martin Vermeer  <martin.vermeer@hut.fi>
495
496         * messages.C (get): add debug output.
497
498 2005-08-02  Martin Vermeer  <martin.vermeer@hut.fi>
499
500         * text.C (cursorX): fix bug 1965: cursor movement at
501         line end broken in RtL.
502         (drawSelection): fix bug 1970: drawing of single-line 
503         selection broken for RtL.
504
505 2005-07-31  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
506
507         bug 465.
508
509         * dociterator.h (clear, push_back, pop_back): change from
510         protected to public.
511
512         * buffer_funcs.C (getItemDepth): renamed from incrementItemDepth
513         and changed to just return the value of the item depth; take a
514         ParIterator as argument; take the itemdepth at outer nesting level
515         in account if necessary; cleanup and comment the code.
516         (resetEnumCounterNeeded): renamed from resetEnumCounterIfNeeded
517         and changed to just return true if reset is needed; take a
518         ParIterator as argument; cleanup and comment the code.
519         (setCounter): adapt to above changes.
520
521 2005-07-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
522
523         * text3.C (dispatch): make debug message optional
524
525 2005-08-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
526
527         * lyxfunc.C (dispatch): use InsetIncludeMailer for the include
528         inset. (bug 1963)
529
530 2005-08-02  Martin Vermeer  <martin.vermeer@hut.fi>
531
532         * BufferView_pimpl.C (updateScrollbar): scrollbar fixes
533
534 2005-07-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
535
536         * text.C (insertChar):
537         * text2.C (deleteEmptyParagraphMechanism): take care whether 
538         a blank has been deleted (in change tracking mode) (bug 1254).
539
540 2005-07-20  John Levon  <levon@movementarian.org>
541
542         * text2.C (insertStringAsLines): remove old dubious code,
543         fixing bug 1939.
544
545 2005-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
546
547         * MenuBackend.C (expandToc): use Floating::listName() as title of
548         the floats submenus.
549
550 2005-07-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
551
552         * toc.[Ch]: Do not use translatable strings (bug 1870).
553
554 2005-07-20  John Levon  <levon@movementarian.org>
555
556         * tabular.C: fix 1748 - setting multicolumn adds
557           left line to the first cell
558
559 2005-07-19  Lars Gullik Bjønnes  <larsbj@lyx.org>
560
561         bug 1920
562         * CutAndPaste.C (eraseSelectionHelper): erase all the "middle"
563         pars in one go.
564
565 2005-07-18  Lars Gullik Bjønnes  <larsbj@lyx.org>
566
567         * messages.C: supress some lyxerr messages
568
569 2005-07-18  Juergen Vigna  <jug@lyx.org>
570
571         * text.C (drawSelection): honor boundary when asking for cursorX.
572
573 2005-07-17  José Matos  <jamatos@fc.up.pt>
574
575         * tabular.C (recalculateMulticolumns): fix handling of one column
576         tables.
577
578 2005-07-17  Juergen Vigna  <jug@lyx.org>
579
580         * text.C (Delete, backspace): fixed so that paragraph with the
581         same layout can be merged by Delete/Backspace.
582
583 2005-07-17  Michael Schmitt  <michael.schmitt@teststep.org>
584
585         * text.C (readParToken): fix spelling.
586
587 2005-07-17  Martin Vermeer  <martin.vermeer@hut.fi>
588
589         * text2.C: fix counter update for DEPM problem reported by
590         Georg Baum
591
592 2005-07-17  Juergen Vigna  <jug@lyx.org>
593
594         * BufferView_pimpl.C (setBuffer): save/restore the
595         cursor/selection when switching buffers
596
597         * buffer.h: 
598         * buffer.C (saveCursor): add saveDocumentIterators to save the
599         cursor when switching buffer.
600
601 2005-07-17  Michael Schmitt  <michqel.schmitt@teststep.org>
602
603         * debug.C: fix typo
604         * buffer.C: clarify message
605         
606 2005-07-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
607
608         * dociterator.C (DocIterator): fix initialization order
609
610 2005-07-17  Juergen Vigna  <jug@lyx.org>
611
612         * text2.C (cursorHome): 
613         * text.C (drawSelection, cursorX): 
614         * dociterator.C (textRow): add boundary to getRow() call
615
616         * paragraph.C (getRow): implementation of below
617
618         * paragraph.h: add parameter boundary for getRow() function
619
620 2005-07-17  José Matos  <jamatos@fc.up.pt>
621
622         * buffer.C:
623         * bufferparams.[Ch]:
624         * tex-strings.[Ch]: new file format, remove support for a4.sty,
625         a4wide.sty and a4widemargins.
626
627 2005-07-17  Juergen Vigna  <jug@lyx.org>
628
629         * text2.C (cursorLeft): fix one of error
630
631 2005-07-17  Juergen Vigna  <jug@lyx.org>
632
633         * text2.C (getColumnNearX, cursorRight, cursorLeft, cursorHome,
634                    cursorEnd):
635         more fixes for boundary handling
636
637         * text3.C (dispatch): don't reset cursor if boundary has changed
638         on cursor movement.
639
640 2005-07-16  Juergen Vigna  <jug@lyx.org>
641
642         * text2.C (getColumnNearX): hopefully got it right now,
643         check if we are on column 0 for special case.
644
645 2005-07-16  Juergen Vigna  <jug@lyx.org>
646
647         * text2.C (getColumnNearX): handle special case Newline Inset
648
649         * text.C (singleWidth): Just remove bogus check
650
651 2005-07-16  Michael Schmitt  <michael.schmitt@teststep.org>
652
653         * funcrequest.C (split): avoid reading uninitialized char c
654
655 2005-07-16  José Matos  <jamatos@fc.up.pt>
656
657         * buffer.C:
658         * converter.C:
659         * lyxrc.C:
660         * paper.h:
661         * bufferparams.[Ch] (setPaperStuff): remove setPaperStuff and use a
662         single papersize variable.
663
664 2005-07-16  Juergen Vigna  <jug@lyx.org>
665
666         * text3.C (dispatch): honor boundary when checking if a cursor
667         movement has been done
668
669         * text2.C (cursorRight, cursorLeft, cursorUp, cursorDown) 
670         (setCursor, setCursorIntern): fix cursor movement with boundary
671
672 2005-07-16  Juergen Vigna  <jug@lyx.org>
673
674         * text.C (currentState): output the actual Boundary
675
676 2005-07-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
677
678         * factory.C (createInset): fix bad logic for tabular creation
679
680 2005-07-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
681
682         * lyx_main.C (init): change some reLyX reference to tex2lyx
683
684 2005-07-16  Juergen Vigna  <jug@lyx.org>
685
686         * dociterator.C (DocIterator): initialize boundary
687
688 2005-07-16  Juergen Vigna  <jug@lyx.org>
689
690         * text2.C (getColumnNearX): Consider rows without trailing blank.  
691
692 2005-07-16  André Pönitz  <poenitz@gmx.net>
693
694         * lyxfont.h: Change order of declarations to give the compiler
695         a better chance to inline things
696
697         * lyx_cb.[Ch]: Add 'force' argument to QuitLyX suppressing
698         questions on unsaved docs for better scritability
699
700 2005-07-16  André Pönitz  <poenitz@gmx.net>
701
702         * paragraph.h (getChar): remove asserts as the same kind of security
703         can be achieved by using a suitable standard library implementation
704         and the function was in the critical path (25.9% in profiler)
705
706 2005-07-16  Juergen Vigna  <jug@lyx.org>
707
708         * cursor.C (bruteFind2):
709         * bufferview_funcs.C (coordOffset): 
710         * text.C (cursorX,cursorY): Handle cursor position after last char
711         in row before a inset which uses a whole row.
712
713 2005-07-15  José Matos <jamatos@lyx.org>
714
715         * output_plaintext.[Ch] (writeFileAscii): control reference title
716         printing.
717         (asciiParagraph): noparbreak was already deal and was incorrectly
718         used.
719
720 2005-07-15  Juergen Vigna <jug@lyx.org>
721
722         * lyxfunc.C (dispatch): save and restore the cursor after a
723         textclass switch.
724
725 2005-07-15  Lars Gullik Bjønnes <lgb@tandberg.net>
726
727         * text.C (backspace): bug 806 for empty keepempty paragraphs we
728         change the layout to default before letting DEPM do its thing.
729
730         * paragraph_funcs.C (breakParagraph): dont reset the layout on
731         keepEmpty paragraphs
732
733         * text.C (setCursorFromCoordinates): add a debug statement
734
735         * text2.C (getColumnNearX): bug 1825 make sure that we don't
736         return a pos that is not on the row
737
738         * output_latex.C (TeXDeeper): get rid of potential dereferencing
739         of past the end iterator
740
741 2005-07-14  André Pönitz  <poenitz@gmx.net>
742
743         * undo.C (recordUndoFullBuffer): implement undo for
744         textclass switches
745
746 2005-07-14  André Pönitz  <poenitz@gmx.net>
747
748         * cursor.C (setSelection): open insets when selection is set there
749         to avoid crashs with cold coord cache
750
751 2005-07-14  André Pönitz  <poenitz@gmx.net>
752
753         * trans_mgr.C (insert): move cursor to the right after inserting
754         a char.
755
756 2005-07-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
757
758         * BufferView_pimpl.C (update): dampen some of the debug blabbering
759         * factory.C (readInset): ditto
760         * text.C, text2.C: ditto
761
762 2005-06-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
763
764         * buffer.C: format incremented to 242. There is no file format per
765         se, but the "frenchb" language has been removed from lib/language
766         and has to be translated to "french" by lyx2lyx.
767
768 2005-07-06  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
769
770         * cursor_slice.h, dociterator.h: add some documentation
771         * cursor_slice.h, dociterator.h (idxSave, idxLoad): remove
772
773 2005-07-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
774
775         * text.C (leftMargin): do not add identation to display() style
776         insets, because they are always centered (bug 1293).
777
778 2005-07-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
779
780         * text3.C (doDispatch): rewrite LFUN_DATE_INSERT using the brandnew
781         formatted_time methods in support/lyxtime.
782
783 2005-07-04  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
784
785         * toc.[Ch]: new method getGuiName, which is used by the frontends 
786         to set the toc combo (fixes bug 1870). Make TOC string translatable.
787
788 2005-07-01  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
789
790         * dociterator.[Ch]: implement operator==(StableDocIterator const &, 
791         StableDocIterator const &)
792         * undo.C (recordUndo): use the above instead of cell.size() comparison
793         (fixes bug 1808; instructed by Andr�.
794
795 2005-06-29  Martin Vermeer  <martin.vermeer@hut.fi>
796
797         * cursor_slice.h: 
798         * dociterator.h: Fix the assert when copying rows/cols in math
799
800 2005-06-25  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
801
802         * BufferView_pimpl.C:
803         * LyXAction.C:
804         * lfuns.h: reintroduce LFUN_BIBDB_ADD and LFUN_BIBDB_DEL (bug 961)
805
806         * bufferview_funcs.[Ch] (gotoNextInset): rename to findNextInset;
807         (findInset): new functions, refactored from goto Inset that return 
808         the position of a certain inset without setting the buffer's cursor
809         (by Jean-Marc); 
810         (gotoInset): rewrite to call findInset and then set the cursor
811         (by Jean-Marc).
812
813 2005-06-16  Angus Leeming  <leeming@lyx.org>
814
815         * lyxrc.C (output, read): wrap all input and output of paths with
816         calls to os::internal_path and os::external_path, respectively.
817         (output): wrap bind_file inside quotes.
818
819         * format.C (view): enable the viewer to use the '$$s' placeholder.
820
821 2005-06-16  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
822
823         * LColor.[Ch] (getFromLaTeXName): new
824
825 2005-06-16  Martin Vermeer  <martin.vermeer@hut.fi>
826
827         * text.C (readParagraph): fix bug 1904 (GUI affects LaTeX)
828
829 2005-06-14  Angus Leeming  <leeming@lyx.org>
830
831         * lyx_main.C (init): ensure that the LyX binary dir is the first
832         element in the PATH on non-POSIX builds.
833
834 2005-06-11  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
835
836         * LaTeXFeatures.C (getPackages): solve amsmath-wasysym conflict
837
838 2005-06-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
839
840         * rowpainter.C (paintInset, paintHebrewComposeChar)
841         (paintArabicComposeChar, paintChars): add a LyXFont argument.
842         (paintChars): use getFontSpan to reduce calls to getFont to a
843         minimum; use Paragraph::lookupChange instead of isXXXText.
844         (paintForeignMark): rename LyXFont argument.
845         (paintFromPos): pass a LyXFont object to the various paintXXX
846         methods.
847
848         * FontIterator.C (FontIterator, operator++): use
849         Paragraph::getFontSpan
850
851         * paragraph.C (getFontSpan): replace getEndOfFontSpan with a
852         version that returns the font span as a pair.
853
854 2005-06-09  Angus Leeming  <leeming@lyx.org>
855
856         * converter.C (convert): Don't forget "outfile = real_outfile" as
857         the final step in a conversion where the input and output file names
858         are the same. Otherwise, future conversion steps won't work...
859
860 2005-06-09  Angus Leeming  <leeming@lyx.org>
861
862         * lyxsocket.C: remove stub code as it isn't needed by
863         MinGW/MinSYS anyway. Let's see if the MSVC people scream...
864
865 2005-06-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
866
867         * lyx_main.C (parse_execute): Fix last fix: is_gui = false
868         effectively disabled -x
869
870 2005-06-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
871
872         * BufferView_pimpl.C (getStatus): enable LFUN_GOTO_NOTE only
873         when it actually makes sense.
874
875 2005-06-06  Martin Vermeer  <martin.vermeer@hut.fi>
876
877         * BufferView_pimpl.C: revert to showCursor in connection with
878         Lars's front-end stack
879
880 2005-06-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
881
882         * text.C (redoParagraph): move cursor right after a bibitem
883         has been inserted.
884
885         * text3.C: disable LFUN_BIBITEM_INSERT outside Bibliography.
886
887 2005-06-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
888
889         * buffer_funcs.C (bufferErrors): fix computation of the end of an
890         error range.
891
892 2005-05-31  Martin Vermeer  <martin.vermeer@hut.fi>
893
894         * BufferView.[Ch] (update):
895         * BufferView_pimpl.[Ch] (update, metrics):
896         * dimension.h (operator==):
897         * lyxfunc.C (dispatch):
898         * metricsinfo.h (ViewMetricsInfo):
899         * rowpainter.C (paintText):
900         * lyxtext.h:
901         * text.C (redoParagraph):
902         * text3.C (dispatch): Make LyX only repaint current paragraph in
903         case of character insert --> speedup. Also fix cursor draw
904         artifacts
905
906 2005-05-31  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
907
908         * bufferview_funcs.C (gotoInset): fix the wrap-around code to
909         avoid a crash (bug 1891)
910
911 2005-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
912
913         Fix bug 1892:
914
915         * text2.C (getStringToIndex): constify cur argument.
916
917         * factory.C (createInset/LFUN_TABULAR_INSERT): return 0 if no
918         argument has been given
919         (createInset/LFUN_INDEX_INSERT): just return a new inset (do not
920         try to invoke LFUN_INSET_APPLY).
921
922         * text3.C (dispatch/LFUN_TABULAR_INSERT): open the tabular dialog
923         if no inset was created by doInsertInset
924         (doInsertInset): return true if an inset has been inserted.
925
926 2005-05-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
927
928         * vspace.C (asGUIName): new method. A version of the space
929         suitable for showing on screen.
930
931 2005-05-20  Michael Schmitt  <michael.schmitt@teststep.org>
932
933         * MenuBackend.C:
934         * lyxrc.C: rename "ASCII" to "Plain Text"
935
936 2005-05-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
937
938         * buffer_funcs.C (expandLabel): take a Buffer as argument;
939         translate the labelstring.
940         (setCounter): translate labelstring as needed.
941
942         * output_docbook.C (makeCommand): fix expandLabel invokation
943
944 2005-05-14  Michael Schmitt  <michael.schmitt@teststep.org>
945
946         * BufferView.C: fix dialog title
947
948 2005-05-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
949
950         * lyx_main.C (priv_exec): fix logic error with help from Angus
951         * lyx_main.C (parse_execute): set is_gui = false and remove now
952         obsolete comment about a segfault
953
954 2005-05-18  Angus Leeming  <leeming@lyx.org>
955
956         * buffer.C (readFile): Quote all file names passed to lyx2lyx.
957
958 2005-05-12  Martin Vermeer  <martin.vermeer@hut.fi>
959
960         * tabular.[hC]: added setCellInset to fix tabular paste.
961
962 2005-05-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
963
964         * buffer.C (save): check if destination is writable before trying
965         to copy a file
966
967 2005-05-11  Martin Vermeer  <martin.vermeer@hut.fi>
968
969         * BufferView_pimpl.C (update): fix processEvents -caused update
970         recursion bug
971
972 2005-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
973
974         * buffer_funcs.C (setCounter): fix test for numbering of
975         environments.
976
977         * toc.C (getTocList): use LyXTextClass:min_toclevel to set toc
978         depth correctly; use optional argument when it exists
979
980         * lyxtextclass.C: remove unused MaxCounterTags enum
981         (Read): compute min_toclevel_ and max_toclevel_ after reading class.
982         (max_toclevel, min_toclevel): new methods.
983
984         * MenuBackend.C (expandToc2): fix case where depth is smaller than
985         the smallest depth in toc.
986
987         * lyxlayout.[Ch]: add special NOT_IN_TOC toclevel value for
988         layouts that should not appear in a table of contents.
989
990 2005-05-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
991
992         * cursor.h (undispatched, noUpdate): add comments from Andr�
993 2005-05-07  Michael Schmitt  <michael.schmitt@teststep.org>
994
995         * lfuns.h:
996         * LyXAction.C:
997         * BufferView_pimpl.C: rename LFUN_REF_GOTO to LFUN_LABEL_GOTO
998
999 2005-05-07  André Pönitz  <poenitz@gmx.net>
1000
1001         * cursor.[Ch] (leaveInset): new function
1002
1003 2005-05-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1004
1005         * lyxfunc.C (dispatch): set update flag for LFUN_INSET_APPLY.
1006
1007 2005-05-04  Angus Leeming  <leeming@lyx.org>
1008
1009         * lyxfunc.C (getStatus): disable the spell checker dialog if
1010         none of USE_[AIP]SPELL are defined.
1011
1012 2005-05-05  Martin Vermeer  <martin.vermeer@hut.fi>
1013
1014         * tabular.C (setWidthOfCell): remove obsolete comment
1015
1016 2005-05-05  Martin Vermeer  <martin.vermeer@hut.fi>
1017
1018         * paragraph.C (bibitem):
1019         * buffer_funcs.C (setCounter):
1020         * src/text.C (redoParagraph): Ungoose bibliography (bug 940)
1021
1022 2005-05-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1023
1024         * text3.C (getStatus): immediately return after setOnOff
1025
1026         * rowpainter.C: fix drawing of appendix start
1027
1028 2005-05-03  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1029
1030         * CutAndPaste.[Ch] (SwitchLayoutsBetweenClasses): rename to
1031         SwitchBetweenClasses and remove the unused return value.
1032         Handle character styles, too
1033
1034 2005-05-03  Martin Vermeer  <martin.vermeer@hut.fi>
1035
1036         * factory.C (createInset): handle undefined character styles
1037
1038 2005-05-02  Angus Leeming  <leeming@lyx.org>
1039
1040         * buffer.C: protect the #include of utime.h with a preprocessor
1041         guard.
1042
1043 2005-05-02  Angus Leeming  <leeming@lyx.org>
1044
1045         * lyx_cb.C: artificially define fork() on Windows as a no-op failing
1046         function so that auto-saving works, albeit in a blocking manner.
1047
1048         * Makefile.am: make compilation of the client sub directory, of
1049         aspell.C, aspell_local.h, pspell.[Ch] and ispell.[Ch] dependent
1050         on conditionals set at configure time.
1051
1052         * SpellBase.[Ch]: no longer an abstract base class. Instead,
1053         it can be compiled in its own right but has no-op functionality.
1054
1055         * aspell.C, pspell.C: remove preprocessor guards. The files should
1056         be compiled only if the necessary functionality exists.
1057
1058         * lyxserver.C, lyxsocket.C: disable on Windows.
1059
1060 2005-05-01  Martin Vermeer  <martin.vermeer@hut.fi>
1061
1062         * text.C (leftMargin): Fix the parindent use bug (1764)
1063         by dirty trick
1064
1065 2005-04-28  Michael Schmitt  <michael.schmitt@teststep.org>
1066
1067         * lyxlayout.C (Read): transform underscores to spaces in CopyStyle
1068         argument.
1069
1070 2005-04-25  Angus Leeming  <leeming@lyx.org>
1071
1072         * Bidi.[Ch]:
1073         * coordcache.[Ch]:
1074         * ispell.C:
1075         * lyxserver.C:
1076         * mover.C:
1077         * pch.h:
1078         include <config.h> in .C files, not .h ones.
1079         add licence blurb.
1080         protect headers inside preprocessor guards.
1081
1082 2005-04-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1083
1084         * FuncStatus.h (StatusCodes): document
1085
1086 2005-04-21  André Pönitz  <poenitz@gmx.net>
1087
1088         * FuncStatus.h (enabled, onoff): document
1089
1090 2005-04-19  Angus Leeming  <leeming@lyx.org>
1091
1092         * BufferView_pimpl.C (cursorToggle): no longer test whether
1093         any child processes have been reaped before calling
1094         handleCompletedProcesses().
1095
1096 2005-04-19  Martin Vermeer  <martin.vermeer@hut.fi>
1097
1098         * text3.C (dispatch): fix, finally fix, the language problem in
1099         new lyxtexts, without disabling on-the-fly font changes (Helge's
1100         bug report)
1101
1102 2005-04-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1103
1104         * text3.C (dispatch): set cursor on double/triple click events
1105         (bug 1811)
1106
1107 2005-04-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1108
1109         * lyxfunc.C (actOnUpdatedPrefs): avoid warning
1110         (dispatch): update counters and screen after LFUN_TEXTCLASS_APPLY.
1111
1112         * rowpainter.C (paintFirst): simplify the code a little bit. In
1113         particular, remove the test for secnumdepth.
1114         * text.C (setHeightOfRow): only allocate space for chapter number
1115         when updateCounters provided an actual label, instead of looking
1116         at secnumdepth directly.
1117
1118         * lyxlayout.C (LyXLayout): set toclevel to -2 by default.
1119
1120         * buffer_funcs.C (setCounter): only number LABEL_COUNTER
1121         paragraphs when secnumdepth is large enough or, for environments,
1122         when they are not the first in a sequence.
1123
1124 2005-04-17  Angus Leeming  <leeming@lyx.org>
1125
1126         * buffer.C (makeLaTeXFile): replace code to manipulate a path
1127         containing space and '~' characters with a call to latex_path().
1128
1129 2005-04-17  Angus Leeming  <leeming@lyx.org>
1130
1131         * converter.C (convert): protect all args of convertDefault.sh
1132         script with quotes.
1133
1134 2005-04-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1135
1136         * text3.C (dispatch): change the layout to "Caption" after inserting
1137         a float.
1138
1139 2005-04-12  Martin Vermeer  <martin.vermeer@hut.fi>
1140
1141         * text3.C (dispatch): fix language problem in newly created
1142         textinsets (and main text) in non-english docs
1143
1144 2005-04-13  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1145
1146         * lyxfunc.C (getStatus, dispatch): handle LFUN_INSET_APPLY
1147         * text3.C (getStatus, dispatch): don't handle LFUN_INSET_APPLY anymore
1148         * text3.C (getStatus): disable LFUN_INSET_MODIFY
1149
1150 2005-04-12  Martin Vermeer  <martin.vermeer@hut.fi>
1151
1152         * lyxtext.h:
1153         * text.C (metrics):
1154         * text2.C (getFont):
1155         * rowpainter.C (getFont): Fix metrics bug introduced by inset
1156         fonts fix
1157
1158 2005-04-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1159
1160         * paragraph.C (simpleTeXOnePar): add missing '}' in LaTeX
1161         output of \item arguments without trailing text.
1162
1163 2005-04-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1164
1165         * FontIterator.C (operator*): avoid a copy of the font.
1166
1167 2005-04-10  Martin Vermeer  <martin.vermeer@hut.fi>
1168
1169         * rowpainter.C (getFont): fix language bug from previous fix
1170
1171 2005-04-10  Martin Vermeer  <martin.vermeer@hut.fi>
1172
1173         * rowpainter.C (RowPainter, getFont): fix font inside inset
1174         (bugs 1766, 1809)
1175
1176 2005-04-06  Martin Vermeer  <martin.vermeer@hut.fi>
1177
1178         * CutAndPaste.C (eraseSelection): more precise fix for bug 1654,
1179         preventing inserted font, deco, delim insets jumping to start of
1180         surrounding inset.
1181
1182 2005-03-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1183
1184         * lyxfunc.C (dispatch): translate message before sending it to the
1185         minibuffer.
1186
1187 2005-03-29  Angus Leeming  <leeming@lyx.org>
1188
1189         * lyx_main.C (priv_exec): call os::internal_path on each file passed
1190         to LyX on the command line.
1191
1192 2005-03-25  Stephan Witt  <stephan.witt@beusen.de>
1193
1194         * vc-backend.C: use QuoteName to protect file names wherever
1195         necessary.
1196
1197 2005-03-27  Martin Vermeer  <martin.vermeer@hut.fi>
1198
1199         * buffer.[Ch]:
1200         * BranchList.h: fix bugs 1844,1845: document settings don't
1201         stick
1202
1203 2005-03-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1204
1205         * lyxrc.C (setDefaults, read, output, getDescription): add support
1206         for tex_allows_spaces.
1207
1208         * exporter.C (Export): allows files in directory containing spaces
1209         if tex_allows_spaces is true.
1210
1211         * buffer.C (makeLaTeXFile): if the document path contains spaces,
1212         output it in double quotes.
1213
1214 2005-03-22  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1215
1216         * rowpainter.C: use default text height for drawing change tracker
1217         strikeout lines.
1218
1219 2005-03-21  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1220
1221         * lyx_main.C: fix binding of tabulator key (especially S-Tab).
1222
1223 2005-03-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1224
1225         * lyx_main.C (queryUserLyXDir): fix logic when LyX support
1226         directory is missing.
1227
1228 2005-03-11  Martin Vermeer  <martin.vermeer@hut.fi>
1229
1230         * text2.C: fixed the fix, extended to other case.
1231
1232 2005-03-08  Martin Vermeer  <martin.vermeer@hut.fi>
1233
1234         * text2.C: fix for cursor up/down stuck in math [bug 1792]
1235
1236 2005-03-07  Alfredo Braunstein  <abraunst@lyx.org>
1237
1238         * text2.C (cursorUp): get rid of a crash
1239         * text.C (x2pos): add an assert
1240
1241 2005-03-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1242
1243         * lyxfunc.C (getStatus): fix warning when assertions are disabled
1244
1245         * text3.C:
1246         * lyxfunc.C:
1247         * dociterator.C: include <boost/current_function.hpp>, which is
1248         needed when assertions are disabled.
1249
1250 2005-03-05  Johnathan Burchill  <jkerrb@users.sourceforge.net>
1251
1252         * text2.C: fix for stuck cursor when traversing two
1253         consecutive spaces. [bug 1255] (pars_[old.pit()].setChange)
1254
1255 2005-02-25  Andreas Vox  <avox@arcor.de>
1256
1257         * output_docbook.C (makeParagraph): suppress trailing newline
1258         after a run of paragraphs
1259
1260 2005-02-28  Johnathan Burchill  <jkerrb@users.sourceforge.net>
1261
1262         * paragraph.C: fix for confused change tracker when pasting
1263         text that begins with a lineseparator. [bug 1827]
1264         (setChange(0, Change::INSERTED);)
1265
1266         * paragraph_funcs.C: fix for lost changes on triple-paste
1267         in change tracking mode [bug 1827] (par.setChange()).
1268
1269 2005-02-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1270
1271         * text2.C (updateCounters, setCounter, expandLabel): move to
1272         buffer_funcs.
1273
1274         * buffer_funcs.C (updateCounters): turn into a free standing
1275         function and add a buffer parameter. Remove dead code for tracking
1276         labelstring change.
1277         (setCounter): change into a free-standing function which gets a
1278         dociterator as argument. Use this iterator to fix captions in a
1279         simple way. When no float is found above the caption, use the
1280         labelstring of the caption layout as default.
1281
1282         * text.C (breakParagraph, backspace):
1283         * text2.C (init, setLayout, changeDepth):
1284         * text3.C (dispatch):
1285         * CutAndPaste.C (cutSelection, pasteSelection): pass a buffer to
1286         updateCounters.
1287
1288         * dociterator.C (forwardPar): make it much faster by calling
1289         forwardPos() only when really necessary.
1290
1291         * output_docbook.C (makeCommand): adapt to expandLabel move.
1292
1293         * cursor.C: remove unused variable
1294
1295 2005-02-24  Johnathan Burchill  <jkerrb@users.sourceforge.net>
1296
1297         * paragraph_funcs.C: fix crash when pasting insets in change
1298         tracking mode [bug 1277] (honour change type in moveItem).
1299
1300 2005-02-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1301
1302         * LaTeX.C (scanLogFile): recognize pdfTeX warnings
1303
1304 2005-02-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1305
1306         * BufferView.C (setCursor): change to use a DocIterator.
1307         (gotoLabel): use BufferView::setCursor (other part of bug 781).
1308         (putSelectionAt): adapt to BufferView::setCursor change.
1309
1310         * bufferview_funcs.C (gotoNextInset, gotoInset): new functions,
1311         moved here from LyXText and rewritten to use proper cursor
1312         methods. Fixes bug 1787, 616 and 835.
1313
1314         * BufferView_pimpl.C (restorePosition): set the cursor correctly
1315         when inside an inset (part of bug 781).
1316         (dispatch): adapt to change of BufferView::setCursor.
1317         (getStatus, dispatch): handle LFUN_GOTOERROR,
1318         LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
1319
1320         * text3.C (getStatus, dispatch): do not handle LFUN_GOTOERROR,
1321         LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
1322         * text3.C (gotoNextInset, gotoInset): removed.
1323
1324 2005-02-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1325
1326         * lyx_main.C (queryUserLyXDir): fix test for rerunning configure
1327
1328 2005-02-15  Angus Leeming  <leeming@lyx.org>
1329
1330         * rowpainter.C (paintText): Ensure that "paragraphs().size() - 1"
1331         can be used meaningfully in a comparison.
1332
1333 2005-02-13  André Pönitz  <poenitz@gmx.net>
1334
1335         * bufferview_funcs.C (coordOffset): improve cursor drawing
1336
1337 2005-02-13  André Pönitz  <poenitz@gmx.net>
1338
1339         * Cursor.[Ch] (fixIfBroken): new method, try to fix a broken cursor
1340         * Cursor.C (dispatch): use fixIfBroken
1341         * lyxfunc.C (getStatus): use fixIfBroken
1342
1343 2005-02-15  Angus Leeming  <leeming@lyx.org>
1344
1345         * lyx_main.C (error_handler):
1346         * lyxfunc.C:
1347         * lyxrc.C (setDefaults):
1348         s/GetEnv/getEnv/.
1349         #include "environment.h".
1350
1351         * lyxsocket.C (LyXServerSocket): s/putenv/setEnv/.
1352
1353 2005-02-15  Angus Leeming  <leeming@lyx.org>
1354
1355         * lyxserver.C (startPipe): squash MSVC warning "local variable
1356         'fd' used without having been initialized".
1357
1358 2005-02-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1359
1360         * BufferView_pimpl.C: revert accidental commit.
1361
1362 2005-02-14  André Pönitz  <poenitz@gmx.net>
1363
1364         * dociterator.[Ch]: new member forwardPosNoDescent(),
1365         which doesn't enter nested insets.
1366         * text2.C (setFont): use forwardPosNoDescent() instead
1367         of ForwardPos() (fixes crash on font change).
1368
1369 2005-02-13  Angus Leeming  <leeming@lyx.org>
1370
1371         * lyx_main.C (init): invoke prependEnvPath to adjust the PATH
1372         only if lyxrc.path_prefix is not empty.
1373
1374 2005-02-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1375
1376         * bufferparams.C (readGraphicsDriver): prevent crash
1377
1378 2005-02-10  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1379
1380         * text2.C (setCounter): check for inInset() == 0
1381
1382 2005-02-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1383
1384         * BufferView_pimpl.C (dispatch): handle LFUN_GOTO_PARAGRAPH here,
1385         but use update() to get correct screen display; use convert
1386         instead of istringstream.
1387         (getStatus): handle LFUN_GOTO_PARAGRAPH
1388
1389         * lyxfunc.C (dispatch, getStatus): do not handle
1390         LFUN_GOTO_PARAGRAPH here.
1391
1392 2005-02-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
1393
1394         * text3.C (dispatch): size() -> depth()
1395
1396         * text2.C: remove some debug output
1397
1398         * paragraph.C: ws changes only
1399
1400         * lyxfunc.C (getStatus): size() -> depth()
1401
1402         * dociterator.h (clear, push_back, pop_back, internalData,
1403         operator[], resize, empty): new functions
1404         Make StableDocIterator and operator== be friends. Don't inherit
1405         from std::vector use a privat class variable slices_ instead.
1406         Modify to fit.
1407
1408         * dociterator.C: update because of not inheriting from std::vector
1409         anymore. Call explictly to slices_ instead. Use depth() instead of
1410         size() and top() instead of back()
1411
1412         * cursor.C: chagne size() -> depth and back() -> top(). Also
1413         remove some direct operator[](i) calls in favour of foo[i]
1414         (getFont): remove some dead code
1415
1416         * bufferview_funcs.C (coordOffset): size() -> depth()
1417
1418         * buffer.C: ws changes only
1419
1420         * CutAndPaste.C (eraseSelection): back() -> top()
1421
1422         * BufferView_pimpl.C (selectionRequested): back() -> top()
1423
1424         * BufferView.C (setCursor): size() -> depth()
1425
1426 2005-02-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
1427
1428         * text3.C (cursorPrevious): return true if depm changed something
1429         (cursorNext): ditto
1430         (dispatch): rename sl to oldTopSlice, remove moving use the new
1431         NoUpdate func attrib instead. Make sure that needsUpdate is set
1432         for function that have NoUpdate, but where depm might have changed
1433         the buffer anyway.
1434
1435         * text2.C (cursorLeft): make us return true if depm changed
1436         something
1437         (cursorRight): ditto
1438         (cursorUpParagraph): ditto
1439         (curosrDownParagraph): ditto
1440         (cursorUp, cursorDown): ditto, make sure to read comments in code
1441         (deleteEmptyParagraphMechanism): remove an assert, also return
1442         true if just a single char was deleted.
1443
1444         * text.C (cursorRightOneWord, cursorLeftOneWord): use a temp
1445         cursor that we modify, to avoid modifying an active cursor before
1446         we call setCursor. This allows depm to run. Also return true if
1447         depm deleted something.
1448
1449         * lyxtext.h: Make cursorUp, cursorDown, cursorLeft, cursorRight,
1450         cursorLeftOneWord, cursorRightOneWord, cursorUpParagraph,
1451         cursorDownParagraph, cursorPrevious and cursorNext, return true if
1452         something was changed in the buffer because of them (ie. depm run)
1453
1454         * lyxfunc.C (processKeySym): add BOOST_CURRENT_FUNCTION to some
1455         debug messages. Make update by default be false. Make sure that
1456         the result of update is retained throught several calls down to
1457         dispatch.
1458
1459         * LyXAction.h: add a new func_attrib: NoUpdate
1460
1461         * LyXAction.C (init): add noupdate to LFUN_LEFT, LFUN_RIGHT,
1462         LFUN_DOWN, LFUN_HOME, LFUN_END, LFUN_DOWN_PARAGRAPH,
1463         LFUN_UP_PARAGRAPH, LFUN_NEXT, LFUN_PRIOR, LFUN_UP, LFUN_WORDRIGHT
1464         and LFUN_WORDLEFT
1465         (init): add missing lfuns: LFUN_FINISHED_*, LFUN_MOUSE_*
1466
1467 2005-02-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1468
1469         * BufferView_pimpl.C: replace all occurences of bv_->cursor(),
1470         bv_->owner(), bv_->buffer() by direct references to the private
1471         members.
1472         (MenuInsertLyXFile): replace bv_->resize() with resizeCurrentBuffer.
1473         (getStatus): isSavedPosition() is in BufferView::Pimpl.
1474         (fitCursor): center() is in BufferView::Pimpl.
1475         (getStatus, trackChanges, dispatch): no need for a temporary buf
1476         variable
1477         (fitCursor, workAreaDispatch): use workarea().workheight()
1478
1479 2005-02-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1480
1481         * CutAndPaste.C (pasteSelectionHelper): fix a crash
1482
1483 2005-02-03  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1484
1485         * buffer.C: format up to 241.
1486         * CutAndPaste.C (pasteSelectionHelper): convert newline to paragraph
1487         break if pasting into ERT
1488         * lyxfunc.C (getStatus): suppress mathpanel and
1489         LFUN_DIALOG_SHOW_NEW_INSET in ERT
1490
1491 2005-02-01  Angus Leeming  <leeming@lyx.org>
1492
1493         * lyxrc.C (getDescription): add a description for RC_PATH_PREFIX.
1494
1495 2005-02-01  Angus Leeming  <leeming@lyx.org>
1496
1497         * lyx_main.C (init, queryUserLyXDir): use fs::exists() before
1498         calling fs::is_directory().
1499
1500 2005-01-31  Angus Leeming  <leeming@lyx.org>
1501
1502         * lyx_main.C (priv_exec): specify explicitly the relative location
1503         of the top level build directory when run in-place.
1504
1505 2005-01-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1506
1507         * BufferView_pimpl.C (MenuInsertLyXFile): do breakParagraph on the
1508         LyXText containing the cursor, not the top-level one.
1509
1510         * buffer.C (Impl): make sure the toplevel insettext has AutoBreak_
1511         true.
1512         (insertStringAsLines): rename par to pit; use temporary variable
1513         par to hold a Paragraph; do not store par.layout() in a variable,
1514         since the pointer may die when breaking paragraphs; pass pars to
1515         breakParagraph() instead of Buffer::paragraphs().
1516
1517 2005-01-31  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1518
1519         * lyxlex_pimpl.h: #include <fstream>.
1520
1521         * BufferView.[Ch] (getLyXText): add a const version.
1522
1523         * BufferView_pimpl.C: add debug aids.
1524
1525         * RowList_fwd.h:
1526         * buffer.h:
1527         * lyxrow.h:
1528         * paragraph_funcs.h: add commentary explaining what the class does.
1529
1530
1531         * coordcache.[Ch]: add lots of commentary.
1532         (startUpdating, doneUpdating): debug aids.
1533         (arrays, insets, parPos, getParPos): accessors to private data.
1534
1535         * cursor_slice.[Ch] (text): add a const version.
1536         * dociterator.[Ch] (text, innerText): add const versions.
1537
1538         * lyxtext.h (breakParagraph): change the keep_layout arg to a
1539         bool.
1540
1541         * paragraph.C (getRow, pos2ros): add asserts.
1542
1543         * paragraph.h: add commentary. Lots of.
1544
1545         * paragraph.[Ch] (metrucs, draw): removed.
1546
1547         * cursor.C:
1548         * rowpainter.[Ch]: const-correct changes.
1549
1550         * text.C: various obvious clean-ups. Removal of ancient cruft.
1551         Bug fixes, even.
1552
1553 2005-01-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
1554
1555         * vc-backend.C (find_file): rewrite to use boost.filesystem
1556         (scanMaster): ditto
1557
1558         * main.C (main): set default name check for boost.filesystem to
1559         no check
1560
1561         * lyxfunc.C (menuNew): rewrite to use boost.filesystem
1562         (open): ditto
1563         (doImport): ditto
1564         (actOnUpdatedPrefs): ditto
1565
1566         * lyx_main.C (init): rewrite to use boost.filesystem
1567         (queryUserLyXDir): ditto
1568
1569         * lyx_cb.C (WriteAs): rewrite to use boost.filesystem
1570         (getContentsOfAsciiFile): ditto
1571
1572         * lastfiles.C (readFile): rewrite to use boost.filesystem
1573
1574         * exporter.C (checkOverwrite): rewrite to use boost.filesystem
1575
1576         * buffer_funcs.C (readFile): rewrite to use boost.filesystem
1577         (loadLyXFile): ditto
1578
1579         * buffer.C (Buffer): adjust for destroydir
1580         (getLogName): rewrite to use boost.filesystem
1581         (setFileName): ditto
1582         (save): use fs::copy_file (from fs_extras)
1583
1584         * Makefile.am (BOOST_LIBS): add BOOST_FILESYSTEM
1585
1586         * LaTeX.C (run): rewrite to use boost.filesystem
1587         (scanAuxFiles): ditto
1588         (handleFoundFile): ditto
1589
1590 2005-01-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1591
1592         * LaTeXFeatures.C (getAvailable): always clear packages_ list.
1593
1594         * lyx_cb.C (Reconfigure): call LaTeXFeatures::getAvailable()
1595
1596 2005-01-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
1597
1598         * lyxlayout.[Ch]: change some vars from float to double
1599
1600         * buffer.C (readFile): make a local var const
1601
1602         * Several files: use convert<> instead of atoi,strToXXX and friends
1603
1604 2005-01-24  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1605
1606         * LaTeXFeatures.[Ch]: Add a static list packages_ that
1607         holds the contents of packages.lst. New functions getAvailable
1608         and isAvailable to parse and check that list, resp.
1609
1610         * LyXAction.C:
1611         * lfuns.h:
1612         * BufferView_pimpl.C: new LFUN_OUTPUT_CHANGES.
1613
1614         * bufferparams.[Ch]: new param output_changes.
1615
1616         * Buffer.C: increase file format to 240.
1617         Use output_changes and isVailable.
1618
1619         * changes.[Ch]:
1620         * paragraph.C:
1621         * paragraph_pimpl.C: Use output_changes and isVailable.
1622
1623 2005-01-23  Angus Leeming  <leeming@lyx.org>
1624
1625         * output_latex.C: #include "insetbibitem.h", rather than
1626         forward declare function bibitemWidest.
1627
1628 2005-01-21  Andreas Vox  <vox@isp.uni-luebeck.de>
1629
1630         * lyx_main.C (init): make it compile on the Mac.
1631
1632 2005-01-20  Angus Leeming  <leeming@lyx.org>
1633
1634         * lyxfont.C (setLyXFamily, setLyXSeries, setLyXShape, setLyXSize)
1635         (setLyXMisc): (char string literal) != (char string literal) is
1636         performing a comparison on the addresses. Convert one operand
1637         explicitly to string to guarantee expected behaviour.
1638         From MSVC warning.
1639
1640 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1641
1642         * buffer.C:
1643         * lyxlex_pimpl.[Ch]: use USE_COMPRESSION guard.
1644
1645         * output_plaintext.C: remove unneeded #include gzstream.h.
1646
1647 2005-01-20  Angus Leeming  <leeming@lyx.org>
1648
1649         * SpellBase.h: rename some of the elements of the Result enum.
1650
1651         * aspell_local.h:
1652         * ispell.h:
1653         * pspell.h:
1654         * aspell.C (check):
1655         * ispell.C (check):
1656         * pspell.C (check): ditto
1657
1658 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1659
1660         * buffer.C: add #include <fstream>.
1661
1662         * lyx_main.C (init): Compile fix.
1663
1664         * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
1665
1666 2005-01-20  Angus Leeming  <leeming@lyx.org>
1667
1668         * mover.h: change commentary to reflect the changed meaning of
1669         the $$s placeholder.
1670
1671 2005-01-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1672
1673         * output_linuxdoc.C (linuxdocParagraphs): silence warning
1674
1675         * lyxfind.C (MatchString::operator()): remove bogus semicolon
1676
1677 2005-01-20  Angus Leeming  <leeming@lyx.org>
1678
1679         * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
1680         printing diagnostic data by not dereferecing an iterator past the
1681         end.
1682
1683 2005-01-19  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1684
1685         * buffer.C (readHeader): use "&&" rather than "and".
1686
1687         * lyxserver.h (inPipeName, outPipeName): make these const.
1688
1689 2005-01-19  Angus Leeming  <leeming@lyx.org>
1690
1691         * lyx_main.C (error_handler, init): protect SIGHUP with
1692         #ifdef SIGHUP guards.
1693
1694 2005-01-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1695
1696         * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
1697
1698 2005-01-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1699
1700         * text.C (setHeightOfRow): add a margin at the top and bottom of
1701         the document (bug 1761)
1702
1703 2005-01-17  Angus Leeming  <leeming@lyx.org>
1704
1705         * buffer.C (readFile): prepend the name of the "lyx2lyx" script
1706         with "python ". Workaround for a brain-dead Windows.
1707
1708 2005-01-16  Angus Leeming  <leeming@lyx.org>
1709
1710         * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
1711         for MacOSX and Windows to use prependEnvPath.
1712         Strip out the hard-coded block to add elements to the PATH for
1713         MacOSX and replace it with a call to prependEnvPath using the
1714         contents of LyXRC::path_prefix.
1715         (queryUserLyXDir): strip out the code to run reconfigure, instead
1716         returning a boolean indicating the necessity to do so.
1717         (reconfigureUserLyXDir): contains the code to reconfigure the
1718         user support directory. Is now called after the various LyXRC data
1719         files have been read.
1720
1721         * lyxrc.[Ch]: add path_prefix var and code to read/write it.
1722
1723 2005-01-14  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1724
1725         * converter.[Ch] (convert): take a new parameter try_default. Use
1726         a default converter (imagemagick) if try_default is true.
1727
1728 2005-01-13  Angus Leeming  <leeming@lyx.org>
1729
1730         * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
1731         os::cygwin_path_fix.
1732         (write): output LyXRC::cygwin_path_fix as necessary.
1733
1734 2005-01-02  Kayvan Sylvan  <kayvan@sylvan.com>
1735
1736         * lyxrc.h:
1737         * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
1738
1739 2005-01-12  Angus Leeming  <leeming@lyx.org>
1740
1741         * lyx_main.C (init): set the PATH variable to include the
1742         directory containing the LyX binary when running on Mac or Windows.
1743
1744 2005-01-12  Angus Leeming  <leeming@lyx.org>
1745
1746         * lyx_main.C (init): remove cruft that purports to set the locale
1747         dir. It doesn't and is not needed anyway.
1748
1749 2005-01-10  Angus Leeming  <leeming@lyx.org>
1750
1751         * Makefile.am: remove the lyx_main.C special casing.
1752
1753         * BufferView_pimpl.C:
1754         * bufferlist.C:
1755         * exporter.C:
1756         * lyx_cb.C:
1757         * lyx_main.C:
1758         * lyxfunc.C:
1759         * messages.C: use support/package.h to provide the paths to the
1760         various directories used by LyX.
1761
1762 2005-01-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1763
1764         * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
1765         layout if pasting into an empty paragraph)
1766
1767 2005-01-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
1768
1769         * tex-accent.C: add <string>
1770
1771 2005-01-06  José Matos  <jamatos@lyx.org>
1772
1773         * ParagraphParameters.C (write): put every parameter in its own line.
1774         * paragraph.C (write): reduce number of consecutive empty lines exported.
1775         * buffer.C (LYX_FORMAT): increase file format to 239.
1776
1777 2005-01-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
1778
1779         * everywhere: change support/tostr.h -> support/convert.h
1780
1781         * tabular.C: make all write_attributes templates, tostr -> convert
1782
1783         * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
1784         (emptyTag): and -> &&, and fix type for ret from getChar
1785         (getFirstWord): fix type for ret from getChar
1786         (onlyText): and -> &&
1787         (simpleDocBookOnePar): and not -> && !, fix type for ret from
1788         getChar
1789
1790         * toc.C (goTo, action):
1791         * text3.C (dispatch):
1792         * text.C (currentState):
1793         * tex-accent.C (DoAccent):
1794         * sgml.C:
1795         * lyxrc.C:
1796         * lyxfunc.C (menuNew):
1797         * lyxfinc.C (replace):
1798         * counters.C (laberItem):
1799         * bufferview_funcs.C (font2string):
1800         * bufferparams.C (writeFile):
1801         * buffer.C (readFile):
1802         * Spacing.C (set):
1803         * MenuBackend.C: tostr -> convert
1804
1805         * LaTeX.C (runMessage): fix format
1806         (scanAuxFiles): tostr -> convert
1807
1808         * BufferView_pimpl.C (savePosition): fix format
1809         (restorePosition): ditto
1810         (dispatch): ditto
1811
1812 2005-01-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1813
1814         * Spacing.[Ch]: New method getValueAsString().
1815
1816         * Spacing.[Ch]:
1817         * bufferparams.C:
1818         * ParagraphParameters.C:
1819         * lyxlayout.C:
1820         * text.C:
1821         * text3.C: store/read spacing value as string.
1822
1823         * rowpainter.C: change float value (spacing_val) to double.
1824
1825         * bufferparams.C: add Spacing::Other to spacetranslator (fixes
1826         broken custom document spacing).
1827
1828 2005-01-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
1829
1830         * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
1831         namespace, also more use of temp references and const
1832
1833         * cursor.[Ch] (getStatus): move to lyxfunc.C
1834
1835         * bufferparams.C: reformat slightly
1836
1837         * bufferview_funcs.C (font2string): constify arg
1838
1839         * changes.C:
1840         * converter.C:
1841         * counters.C:
1842         * bufferlist.C:
1843         * buffer_funcs.C: (many funcs): constify arg on function
1844         definitions, also make more local vars const, also add ASSERTS on
1845         pointer args.
1846
1847         * buffer.C (LYX_FORMAT): put const in correct place
1848         (many funcs): constify arg on function definitions, also make
1849         more local vars const
1850
1851         * aspell_local.h: remove "struct" from typdef setup
1852
1853         * aspell.C (check): make word_ok const
1854         (nextMiss): simplify slightly
1855         (error): ditto
1856
1857 2005-01-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1858
1859         * lyxrc.[Ch]: store all float values as strings.
1860         use int (not float) for lyxrc.dpi.
1861
1862 2005-01-04  Angus Leeming  <leeming@lyx.org>
1863
1864         * lyx_cb.C (Reconfigure):
1865         * lyx_main.C (queryUserLyXDir):
1866         to run the <system_lyxdir>/configure correctly on Windows, prefix
1867         the path to the script with "sh " when generating the string that
1868         is passed to system().
1869
1870 2005-01-04  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1871
1872         * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
1873
1874 2004-12-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1875
1876         * lyxlength.C (asLatexString): get rid of setprecision
1877
1878 2004-12-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1879
1880         * text2.C (setLayout): remove unused variable endpit.
1881         (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
1882
1883         * paragraph.C (onlyText): remove unused variable style.
1884
1885         * cursor.C (bruteFind): remove unused variables beg and end.
1886
1887         * Makefile.am (dist_noinset_DATA): not needed anymore
1888
1889         * cheaders/*: remove.
1890
1891 2004-12-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1892
1893         * text3.C: fix LFUN_MATH_MODE.
1894
1895 2004-12-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1896
1897         * buffer_funcs.C (countWords): new function. Counts words between
1898         two iterators.
1899
1900         * BufferView_pimpl.C (getStatus, dispatch): handle
1901         LFUN_WORDS_COUNT.
1902
1903         * LyXAction.C (init):
1904         * lfuns.h: add LFUN_WORDS_COUNT.
1905
1906 2004-12-19  Angus Leeming  <leeming@lyx.org>
1907
1908         * buffer.C (save): s/slashify_path/internal_path/.
1909
1910 2004-12-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1911
1912         * lyxfind.C (findChange): do not search for end of pars, because
1913         the change tracker cannot handle this (fixes bug 1719).
1914
1915 2004-12-17  Alfredo Braunstein  <abraunst@lyx.org>
1916
1917         * paragraph.[Ch] (autoBreakRows): remove
1918
1919         * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
1920
1921         * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
1922         avoid using the paragraph one
1923
1924         * text2.C (LyXText, insertStringAsLines): adjust
1925
1926 2004-12-16  Angus Leeming  <leeming@lyx.org>
1927
1928         * bufferlist.C:
1929         * lyx_main.C:
1930         * messages.C: remove redundant "using lyx::support::GetEnvPath;"
1931
1932 2004-12-14  Angus Leeming  <leeming@lyx.org>
1933
1934         * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
1935
1936         * bufferlist.C (emergencyWrite):
1937         * lyx_main.C (queryUserLyXDir): use os::homepath(), not
1938         GetEnvPath("HOME").
1939
1940 2004-12-14  Angus Leeming  <leeming@lyx.org>
1941
1942         * main.C: (main): no longer pass pointers to os::init.
1943
1944 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
1945
1946         * undo.C (textUndoOrRedo): simplify logic, fix a crash
1947         (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
1948
1949 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
1950
1951         * lyxfunc.C:
1952         * text3.C: remove selection_possible global flag
1953
1954 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
1955
1956         * text2.C (getSelectionSpan): remove
1957         (changeDepth, changeDepthAllowed): adjust
1958
1959 2004-12-05  Lars Gullik Bjønnes  <larsbj@lyx.org>
1960
1961         * Makefile.am (BOOST_LIBS): use boost variables
1962
1963 2004-12-03  José Matos  <jamatos@lyx.org>
1964
1965         * buffer.C: format up to 238.
1966
1967 2004-12-03  José Matos  <jamatos@lyx.org>
1968
1969         * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
1970
1971 2004-12-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
1972
1973         * cursor.C (goUpDown): remove call to idxUpDown2
1974
1975 2004-12-02  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1976
1977         * tabular.[Ch]: use size_t-like types for cell, row and column
1978         indices
1979
1980 2004-12-01  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1981
1982         * lyxfunc.C (getStatus): do not lose previous information when
1983         calling BufferView::getStatus; do not set a default "Command
1984         disabled" message at the beginning, but just before returning.
1985
1986 2004-11-30  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1987
1988         * cursor.h (getStatus): add better comment from src/cursor.C
1989
1990 2004-11-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1991
1992         * text3.C (getStatus): return false when the lfun is not handled
1993
1994 2004-11-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1995
1996         * broken_headers.h: remove
1997
1998         * Makefile.am (lyx_SOURCES): remove broken_headers.h
1999
2000 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
2001
2002         * BufferView.[Ch]: remove top_y, introduce anchor_ref,
2003         offset_ref accessors
2004
2005         * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
2006         top_y_, merge fitcursor with update
2007         (updateScrollbar, scrollDocView, fitCursor, center, update): new
2008         coord scheme
2009         (metrics): introduce
2010         (workAreaDispatch): adapt to new coord scheme
2011         (redoCurrentBuffer): remove
2012
2013         * FontIterator.[Ch]: Use Paragraph & instead of pit_type
2014
2015         * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
2016         CurStatus enum.
2017
2018         * coordcache.[Ch]: add paragraph cache and helpers
2019
2020         * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
2021         adjust everywhere
2022
2023         * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
2024         (targetX, setTargetX): introduce
2025
2026         * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
2027         baseline -> ascent, as the rest of lyx
2028
2029         * lyxtext.h: remove redoParagraphs, updateParPositions,
2030         fullRebreak, redoParagraphInternal. move dist to anon namespace in
2031         tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
2032         have ascent/descent (ascent is ascent of first par)
2033
2034         * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
2035         step of BufferView
2036
2037         * paragraph.[Ch]: unify dimension handling with the rest of lyx
2038
2039         * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
2040
2041         * pariterator.C: fix infinite loop introduced in par->pit renaming
2042
2043         * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
2044         in insets and LyXText, draw two off-screen paragraphs using
2045         NullPainter, and adapt to new coord scheme
2046
2047         * text.C:
2048         * text2.C:
2049         * text3.C: adapt lfun handlers to the new coord scheme, which
2050         means: there's only guaranteed coord information for onscreen pars
2051         plus one above and one below. This implies that one can do search
2052         from y coordinates in the range [-1,workHeight]
2053
2054 2004-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2055
2056         * rename a lot of InsetOld to InsetBase
2057
2058 2004-11-25  Angus Leeming  <leeming@lyx.org>
2059
2060         * BufferView_pimpl.C:
2061         * lyx_cb.C:
2062         * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
2063
2064 2004-11-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2065
2066         * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
2067         call BufferView::getStatus if LCursor::getStatus did nothing
2068         (setStatusMessage, getStatusMessage): removed.
2069
2070         * FuncStatus.C (message): new methods. Used to provide an error
2071         message indicating why a command is disabled.
2072         (clear, |=, FuncStatus): update for message.
2073
2074 2004-11-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2075
2076         * lyxfunc.C (dispatch): always call sendDispatchMessage
2077
2078 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
2079
2080         * BufferView.C:
2081         * BufferView_pimpl.C:
2082         * CutAndPaste.C:
2083         * FontIterator.C:
2084         * buffer.C:
2085         * cursor.C:
2086         * cursor_slice.[Ch]:
2087         * dociterator.[Ch]:
2088         * lyxfind.C:
2089         * paragraph_funcs.C:
2090         * pariterator.C:
2091         * rowpainter.C:
2092         * text.C:
2093         * text2.C:
2094         * text3.C:
2095         * undo.C: par->pit renaming
2096
2097 2004-11-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
2098
2099         * tabular.C (cellstruct): use initialization, store a shared_ptr
2100         to insettext instead of the insettext directly, adjust to fit.
2101         (operator=):  new function
2102         (swap): new function
2103         (rowstruct): use initialization
2104         (columnstruct): use initialization
2105         (ltType): use initialization
2106
2107
2108         * lyxlength.h (swap): new function
2109
2110         * LColor.[Ch] (operator=): use the common semantics
2111
2112 2004-11-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2113
2114         * lyxfind.C (findNextChange): update the bufferview after setting
2115         the selection.
2116
2117 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2118
2119         * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
2120         number of InsetOptArgs has already been inserted.
2121
2122         * output_latex.C (latexOptArgInsets): new method. This outputs all
2123         the optarg insets, up to the limit defined in the layout file.
2124         (optArgInset): removed
2125         (TeXOnePar): call latexOptArgInsets; correctly update texrow
2126
2127 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2128
2129         * paragraph.C (isLetter): remove special spellchecker-related
2130         code; return true also for digits
2131         (isWord, isKomma): remove
2132
2133         * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
2134         * lyxfind.C (MatchString()): use isLetter instead of isWord
2135
2136 2004-11-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
2137
2138         * pariterator.h (operatir=): comment out un-implemented member
2139         function.
2140
2141         * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
2142         static cast.
2143
2144 2004-11-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
2145
2146         * lyxfont.h: include LColor.h to satisfy concept checks.
2147
2148 2004-11-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2149
2150         * pariterator.h: add typdefs for value_type, difference_type,
2151         pointer and reference to satisfy concept checks. Also add default
2152         constructor for same reason.
2153
2154         * pariterator.C (operator++): add post-increment operator to
2155         satisfy concept checks.
2156
2157         * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
2158         checks.
2159
2160         * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
2161
2162         * ParagraphList_fwd.h: include paragraph.h to satisfy concept
2163         checks. Also rename base_type to BaseType to follow naming
2164         standard better.
2165
2166         * FloatList.h: include Floating.h to satisfy concept checks.
2167
2168 2004-11-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2169
2170         * lyxfunc.C (getStatus): when the origin of the request is menu or
2171         toolbar, and the LyXView does not have focus, do as if there was
2172         no buffer (bug 1720)
2173
2174         * lyxfunc.C (getStatus, dispatch): propagate the origin of a
2175         FuncRequest to individual entries of LFUN_SEQUENCE
2176
2177 2004-11-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2178
2179         * output_latex.C (TeXOnePar): override runparams.moving_arg
2180         according to the needprotect value of the current paragraph (bug
2181         1739)
2182
2183         * paragraph.C (simpleTeXOnePar): no need to override
2184         runparams.moving_args here
2185
2186 2004-11-14  John Spray  <spray_john@users.sourceforge.net>
2187
2188         * vspace.C: fix off-by-one-error, related to fix #1682
2189
2190 2004-11-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2191
2192         * lengthcommon.C: a more general fix for bug 1682
2193
2194 2004-11-11  Alfredo Braunstein  <abraunst@lyx.org>
2195
2196         * text.C (backspace): fix crash
2197
2198 2004-11-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2199
2200         * format.[Ch] (getFormatFromFile): new method
2201         * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
2202
2203 2004-11-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2204
2205         * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
2206
2207 2004-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2208
2209         * lyxfunc.C (dispatch): remove the verbose argument
2210         (sendDispatchMessage): ditto. Use the origin of the FuncRequest
2211         instead
2212
2213         * kbmap.C (defkey): set the origin of func to KEYBOARD
2214
2215         * MenuBackend.C (MenuItem):
2216         * ToolbarBackend.C (add): set the origin of func to UI
2217
2218         * funcrequest.[Ch]: add origin member, which indicates which part
2219         of LyX requests an action
2220
2221 2004-11-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2222
2223         * converter.C (move): don't lie in the error message
2224         * converter.h (isReachable, move): document
2225
2226 2004-11-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
2227
2228         * buffer.C: remove unused using lyx::support::atoi
2229         * paragraph_funcs.C: ditto
2230
2231 2004-11-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
2232
2233         * bufferlist.C (exists): use bind and equal_to instead of
2234         compare_memfun
2235         (getBuffer): ditto
2236         * lyxtextclasslist.C (NumberOfClass): ditto
2237
2238         * cursor.C (insert): use for_each instead of explicit for loop
2239
2240         * bufferlist.C (getFileNames): use std::transform and
2241         std::back_inserter instead of std::copy and lyx::back_inserter_fun.
2242
2243         * buffer_funcs.C (bufferErrors): use for_each instead of explicit
2244         for loop
2245
2246         * buffer.C (changeLanguage): use for_each instead of explicit for
2247         loop
2248         (hasParWithID): implement using getParFromID
2249
2250         * LaTeXFeatures.C: ws change only
2251
2252         * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
2253         to cleanup a bit.
2254
2255         * BufferView_pimpl.C (trackChanges): use for_each instead of
2256         expilicit for loop
2257
2258 2004-11-04  André Pönitz  <poenitz@gmx.net>
2259
2260         * undo.h:
2261         * undo.C (textUndoOrRedo): fix crash when creating undo information.
2262
2263         * dociterator.C (asDocIterator): use hard assert again.
2264
2265 2004-11-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2266
2267         * lyxlength.C (asLatexString): rewrite so that it does not use
2268         snprintf anymore
2269
2270 2004-11-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2271
2272         * text3.C (specialChar, dispatch): make sure cursor moves to the
2273         right after inserting an inset
2274
2275 2004-11-02  José Matos  <jamatos@lyx.org>
2276
2277         * output_docbook.C (docbook):
2278         * paragraph.C (getID):
2279         * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
2280         garantee that the output is always legal.
2281
2282         * tabular.C (docbook):
2283         * outputprams.[Ch]: remove mixed contents.
2284
2285 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2286
2287         * text2.C (setCounter): prevent endless loop
2288
2289 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2290
2291         * exporter.C (copyFile): use the mover instead of support::copy()
2292         * exporter.C (Export): pass format and latex name to copyFile()
2293         * exporter.h (addExternalFile): document
2294         * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
2295
2296 2004-10-31  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2297
2298         * text.C (leftMargin): do not indent paragraphs in charstyle insets.
2299
2300 2004-10-30  José Matos  <jamatos@lyx.org>
2301
2302         * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
2303         text and no inset or font change. This allows to use CDATA
2304         sections just for the whole paragraph.
2305
2306 2004-10-30  José Matos  <jamatos@lyx.org>
2307
2308         * paragraph.C (getFirstWord): remove unused variable.
2309
2310 2004-10-30  José Matos  <jamatos@lyx.org>
2311
2312         * paragraph.C (getFirstWord): the content should always be escaped
2313         there.
2314         (simpleDocBookOnePar):
2315         * output_docbook.C (makeEnvironment): replace reference to CDATA
2316         to style pass_thru.
2317
2318 2004-10-30  José Matos  <jamatos@lyx.org>
2319
2320         * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
2321
2322 2004-10-30  José Matos  <jamatos@lyx.org>
2323
2324         * output_docbook.C (makeParagraphs):
2325         * paragraph.[Ch] (emptyTag): for docbook and company, if the
2326         standard paragraph has only a given type of content drop the wrapper.
2327
2328 2004-10-29  José Matos  <jamatos@lyx.org>
2329
2330         * output_docbook.C (makeEnvironment):
2331         * sgml.C (openTag):
2332         * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
2333
2334 2004-10-29 Andreas Vox  <vox@isp.uni-luebeck.de>
2335
2336         * sgml.[Ch] (uniqueID): returns a unique id for a given label.
2337         (cleanID): sanitize any id.
2338
2339 2004-10-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2340
2341         * buffer.C, lyxlex_pimpl.C:
2342         * lyxlex_pimpl.C (setFile):
2343         s/getExtFromContents/getFormatFromContents/
2344
2345 2004-10-28  José Matos  <jamatos@lyx.org>
2346
2347         * output_docbook.C (makeEnvironment): move id to broadest possible
2348         scope.
2349
2350         * sgml.C (openTag): apply substitution of <> for all attributes.
2351
2352 2004-10-28  José Matos  <jamatos@lyx.org>
2353
2354         * buffer.C (makeLinuxDocFile, makeDocBookFile):
2355         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2356         * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
2357
2358         * sgml.[Ch]: new version for open and closeTag for paragraph and
2359         for strings. Now they handle the ids of paragraphs.
2360
2361 2004-10-26  Angus Leeming  <leeming@lyx.org>
2362
2363         * Makefile.am: add mover.[Ch].
2364
2365         * converter.C (convert, move): use the new Movers to move external
2366         files to the temp directory.
2367
2368         * lyx_main.C (init): ensure that the global system_movers data
2369         is initialised.
2370
2371         * lyxrc.[Ch]: code to read and write 'copiers' from/to the
2372         preferences file.
2373
2374         * mover.[Ch]: new files, defining a Mover as a utility to move an
2375         external file between directories and, if necessary, manipulate this
2376         file using a helper script.
2377
2378 2004-10-25  José Matos  <jamatos@lyx.org>
2379
2380         * output_docbook.C (makeCommand): merge two if's that tested the
2381         same condition.
2382
2383 2004-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2384
2385         * sgml.C (escapeString): fix warning in a better way
2386
2387 2004-10-25  José Matos  <jamatos@lyx.org>
2388
2389         * sgml.C (escapeString): import the require boosts header file for
2390         tie, and avoid a signed unsigned comparison.
2391
2392 2004-10-25  José Matos  <jamatos@lyx.org>
2393
2394         * sgml.h: add #include <string>
2395
2396 2004-10-25  José Matos  <jamatos@lyx.org>
2397
2398         * sgml.[Ch] (escapeString): new function to escape all the string.
2399
2400 2004-10-24  José Matos  <jamatos@lyx.org>
2401
2402         * paragraph.[Ch] (getFirstWord): new function to get the first
2403         word. Useful for description.
2404         (simpleDocBookOnePar): remove depth argument, add another that
2405         says where to start the paragraph.
2406
2407         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2408         use the new functions to fix cleanly the support for descriptions.
2409
2410 2004-10-24  José Matos  <jamatos@lyx.org>
2411
2412         * buffer.C (makeLinuxDocFile, makeDocBookFile):
2413         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2414         * output_linuxdoc.C (linuxdocParagraphs):
2415         * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
2416         add buffer as argument.
2417
2418 2004-10-24  José Matos  <jamatos@lyx.org>
2419
2420         * output_docbook.C (makeEnvironment, searchEnvironment): place
2421         CDATA inside paragraphs and fix scope for listitems.
2422
2423 2004-10-24  José Matos  <jamatos@lyx.org>
2424
2425         * output_docbook.C: remove using statement for stack.
2426
2427 2004-10-23  José Matos  <jamatos@lyx.org>
2428
2429         * buffer.C (makeDocBookFile): reorganize the comments about lyx.
2430         * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
2431         docbook. The new scheme is recursive and makes use of iterators, the
2432         same as latex export works.
2433         * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
2434         directly with the paragraph contents. This code was moved up to
2435         output_docbook.C (docbookParagraphs).
2436         * sgml.C (openTag, closeTag): removed unneeded newlines.
2437         (closeEnvTags) removed.
2438
2439 2004-10-23  André Pönitz  <poenitz@gmx.net>
2440
2441         * undo.C (textUndoOrRedo):
2442         * dociterator.C (asDocIterator): work around crash
2443
2444         * cursor.C (getStatus): replace ASSERT by more verbose error message
2445           and manual correction of the problem. Should increase stability
2446           while providing more sensible information.
2447
2448 2004-10-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2449
2450         * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
2451
2452         * bufferlist.C (previous, next): new methods
2453
2454         * lfuns.h:
2455         * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
2456
2457 2004-10-18  Andreas Vox  <vox@isp.uni-luebeck.de>
2458
2459         * buffer.C (makeDocBookFile): add dsssl stylesheet control
2460         entities to preamble.
2461
2462 2004-10-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2463
2464         * messages.C (Pimpl): strip off translation context information
2465
2466 2004-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2467
2468         * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
2469         the cursor is correct (bug 1694)
2470
2471 2004-10-13  José Matos  <jamatos@lyx.org>
2472
2473         * output_docbook.C (docbookParagraphs): fix closing tags in the
2474         end of the document.
2475
2476 2004-10-09  José Matos  <jamatos@lyx.org>
2477
2478         * buffer.C: format up to 237.
2479         * bufferparams.C (write): use tostr to convert booleans to strings.
2480
2481 2004-10-08  Martin Vermeer  <martin.vermeer@hut.fi>
2482
2483         * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
2484
2485 2004-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
2486
2487         * LaTeX.C: implement use of babel language in xindy.
2488
2489 2004-10-05  José Matos  <jamatos@lyx.org>
2490
2491         * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
2492         Add new translators to help reading and writing the lyx file.
2493
2494 2004-10-05  José Matos  <jamatos@lyx.org>
2495
2496         * ParagraphParameters.C (read):
2497         * text.C (readParToken): replace nexToken by more appropriate lex
2498         methods.
2499
2500 2004-10-05  Hartmut Haase  <hha4491@atomstromfrei.de>
2501
2502         * LaTeX.C (runMakeIndex):
2503         * lyxrc.[Ch] (read, write, getDescription): make the indexing command
2504         (usually 'makeindex') configurable.
2505
2506         * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
2507         with a variable rather than with a number.
2508
2509 2004-09-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2510
2511         * output_latex.C (TeXOnePar): make sure font setting is the first
2512         thing that gets output (and the last at the end). Should fix bug
2513         1404.
2514
2515 2004-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
2516
2517         * pch.h: use proper signal include
2518
2519         * LaTeX.h: Use preferred calling of Boost.Signal
2520         * buffer.h: ditto
2521
2522 2004-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
2523
2524         * pch.h: dont include <boost/function/function0.hpp>
2525
2526         * Makefile.am (lyx_SOURCES): remove ShareContainer.h
2527
2528         * paragraph_pimpl.h: remove usage of ShareContainer
2529
2530         * paragraph_pimpl.C: remove initialization of ShareContainer.
2531
2532 2004-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2533
2534         Fix bug #1666
2535
2536         * BufferView.C (putSelectionAt): change the semantics when
2537         backwards == true: now, this just swaps cursor and anchor wrt the
2538         forward case
2539
2540         * BufferView.h (putSelectionAt): add some documentation
2541
2542         * lyxfind.C (findBackwards): rewrite using while(). In particular,
2543         make sure backwardChar is done at least once (to avoid getting
2544         stuck)
2545         (findNextChange): use putSelectionAt in the forward direction
2546         (operator()): use Paragraph::isWord
2547
2548 2004-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2549
2550         * Spacing.C (set): c_str fix
2551
2552 2004-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2553
2554         * lyx_cb.C (Reconfigure): quote the name of configure script in
2555         case it contains spaces
2556
2557 2004-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
2558
2559         * client: new dir
2560
2561         * Makefile.am (SUBDIRS): change order of subdirs and add client dir
2562         (BOOST_LIBS): use top_buildir when looking for the file
2563
2564 2004-08-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
2565
2566         * pch.h: do not use include boost/format.hpp, multiple symbols
2567                 will result (gcc bug)
2568
2569
2570 2004-08-23  José Matos  <jamatos@lyx.org>
2571
2572         * bufferparams.C (readToken): fix reading of the author field.
2573
2574 2004-08-20  José Matos  <jamatos@lyx.org>
2575
2576         * lyxrc.C: remove support/translator.h inclusion since it is not used.
2577
2578 2004-08-20  José Matos  <jamatos@lyx.org>
2579
2580         * lyxlex.[Ch] (findToken): remove function.
2581
2582         * ParagraphParameters.C (findToken):
2583         * bufferparams.C (findToken): replace call for previous function
2584         with local copy. This local function has one more argument, the
2585         read string argument.
2586
2587 2004-08-16  José Matos  <jamatos@lyx.org>
2588
2589         * ParagraphParameters.C (write):
2590         * Spacing.C (writeFile):
2591         * bufferparams.C (writeLaTeX):
2592         * lyx_cb.C (Reconfigure):
2593         * paragraph.C (write):
2594         * tabular.C (write): remove unnecessary space at end of line.
2595
2596
2597 2004-08-16  José Matos  <jamatos@lyx.org>
2598
2599         * text.C (readParagraph): remove debug message.
2600
2601 2004-08-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2602
2603         * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
2604         crash
2605
2606         * output_plaintext.C (asciiParagraph): set depth correctly
2607
2608         * outputparams.h: add member depth
2609
2610         * paragraph_funcs.C (ownerPar): remove.
2611
2612         * text2.C (setCounter): remove first_pit; comment out some
2613         non-working code that uses ownerPar
2614
2615         * BufferView.C (getParentLanguage): remove. Not used anymore, and
2616         uses ownerPar
2617
2618 2004-08-16  José Matos  <jamatos@lyx.org>
2619
2620         * text.C (readParToken, readParagraph, read): report all unknown tokens.
2621         For the same level of importance use the same chanel to report problems.
2622         (read): add code to deal with \begin_body and \end_body.
2623
2624
2625 2004-08-15  José Matos  <jamatos@lyx.org>
2626
2627         * lyxlex.C (getString): fix comment, buffer::readBody is now
2628         buffer:readDocument.
2629
2630         * tex-strings.C (string_papersize): Default -> default,
2631         Custom -> custom, for consistency with other options.
2632
2633 2004-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
2634
2635         * pch.h: new file
2636
2637         * Makefile.am: support pch
2638
2639 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2640
2641         * text.C (readParToken): remove the static LyXFont variable and
2642         pass it as a parameter instead. This fixes a nasty bug where an
2643         inset will be inserted with a bad font in some situations
2644         (readParagraph): adapt
2645
2646         * text2.C (setCounter): reduce number of calls to pars_[pit]
2647
2648         * text.C (singleWidth): add an assert, fix a test
2649
2650         * rowpainter.C (paintText): reduce number of calls to singleWidth
2651
2652         * paragraph.C (isHfill):
2653         (isNewline): ws only
2654
2655 2004-08-14  André Pönitz  <poenitz@gmx.net>
2656
2657         * text.C:
2658         * text2.C:
2659         * rowpainter.C:
2660         * lyxtext.h (several functions): use a Paragraph & argument
2661         instead of par_type
2662
2663 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2664
2665         * metricsinfo.h: add a new field ltr_pos to PainterInfo
2666
2667         * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
2668
2669         * text.C (singleWidth): remove useless test
2670
2671 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2672
2673         * tabular.h: remove bogus comments
2674
2675         * tabular.C (getDescentOfRow):
2676         (isPartOfMultiColumn): add assertions
2677
2678         * lyxlength.C (inPixels): remove #warning
2679
2680 2004-08-14  André Pönitz  <poenitz@gmx.net>
2681
2682         * paragraph.h: inline getChar()
2683
2684         * BufferView.h: remove unused declarations
2685
2686 2004-08-14  José Matos  <jamatos@lyx.org>
2687
2688         * Buffer.[Ch] (readDocument): new name for old readBody.
2689         * Buffer.C: new file format, new keywords: \begin_document,
2690         \begin_header, \begin_body, \end_body.
2691
2692         * bufferparams.C (readToken): replace all calls to lex.nextToken
2693         by lex.next(). Do the same to eatLine except where really needed.
2694
2695         * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
2696         line when writing to the lyx file.
2697
2698         * output_plaintext.C (asciiParagraph): fix Bibliography style
2699         handling.
2700
2701         * text.C (read): fix end of file handling.
2702
2703 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2704
2705         * MenuBackend.C (Menu::operator[]): new method to access
2706         individual menu items
2707         (Menu::hasFunc): new method. search for an item that corresponds
2708         to a given func
2709         (MenuBackend::specialMenu): new method
2710         (MenuBackend::expand): if a special menu has been set, skip
2711         entries whose func() appears in this menu
2712
2713 2004-08-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
2714
2715         * text3.C: use Debug::DEBUG a bit more
2716
2717         * text.C (leftMargin): try to simplify a tiny bit change var x to
2718         l_margin. Dont output the wide margins always.
2719         (rightMargin): no margin in inner texts
2720
2721         * rowpainter.h (nestMargin): new func
2722         (changebarMargin): new func
2723         (rightMargin): new func
2724
2725         * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
2726         now functions.
2727         (paintLast): ditto
2728
2729         * factory.C (createInset): modify setDrawFrame
2730
2731         * cursor.C: use Debug::DEBUG a bit more
2732
2733 2004-08-14  André Pönitz  <poenitz@gmx.net>
2734
2735         * coordcache.[Ch]:
2736         * Makefile.am: new files to accomodate an 'external' (x,y)-position
2737         cache for all insets in (at least partially) visible (top-level)
2738         paragraphs.
2739
2740         * BufferView_pimpl.C: reset external coord cache before every update.
2741         This means the coord cache only contains valid entries.
2742
2743 2004-08-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
2744
2745         bug 1096
2746         * BufferView_pimpl.C (getInsetByCode): move function out of class
2747         and change in to a template in anon namespace. Also fix to do what
2748         suits us better.
2749
2750 2004-08-13  Lars Gullik Bjønnes  <larsbj@lyx.org>
2751
2752         bug 1305
2753         * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
2754         of char
2755         (breakParagraph): rename par to par_offset and use a local
2756         reference. Add code to keep the language over a rebreak.
2757         (breakParagraphConservative): rename par to par_offset, use a
2758         local reference
2759         (mergeParagraph): ditto
2760         (outerHook): ditto
2761         (isFirstInSequence): ditto
2762         (outerFont): rename pit to par_offset
2763
2764         * paragraph.C: ws change
2765         * paragraph.h: ditto
2766         * text3.C: ditto
2767         * text.C: ditto
2768
2769 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2770
2771         * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
2772         treatment for ']'
2773
2774         * paragraph.C (simpleTeXOnePar): when we have a \item with
2775         optional argument, enclose the argument with curly brackets (in
2776         case it contains a closing square bracket)
2777
2778         * text2.C (editXY):
2779         * text2.C (editXY):
2780         * text3.C (checkInsetHit): constify
2781
2782 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2783
2784         * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
2785         documents (bug 1629)
2786
2787 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2788
2789         Fix toggling of collapsable insets with the mouse (bug 1558)
2790
2791         * lyxfunc.C (dispatch): adapt to LCursor changes
2792
2793         * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
2794         make sure that dispatch is not invoked twice
2795
2796         * cursor.C (needsUpdate): new method
2797         (dispatch): return void
2798         (result): new method, to access the DispatchResult of the cursor.
2799
2800 2004-08-13  José Matos  <jamatos@lyx.org>
2801
2802         * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
2803
2804 2004-08-13  André Pönitz  <poenitz@gmx.net>
2805
2806         * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
2807
2808         * CutAndPaste.C (eraseSelection): fix cursor position after erasing
2809           multiple cells
2810
2811 2004-08-12  André Pönitz  <poenitz@gmx.net>
2812
2813         * text3.C: take out the 'cursor right' form insertInset and only
2814         do it in those places when it is really needed. Fixes crash on
2815         C-m...
2816
2817 2004-08-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2818
2819         * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
2820
2821         * BufferView_pimpl.C (setBuffer): initialize the current font of
2822         the underlying LyXText
2823
2824 2004-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2825
2826         * kbsequence.C (print): use UI native formatting for menu
2827         shortcuts
2828
2829         * text.C (insertChar): call Paragraph::insertChar with a font
2830         argument (cosmetic)
2831
2832         * paragraph.C (insertInset, insertChar): the version that takes a
2833         LyXFont argument is now a wrapper around the other one (the
2834         opposite used to be true).
2835
2836         * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
2837         argument. Font setting is done in Paragraph now.
2838
2839 2004-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2840
2841         * outputparams.h: add new members intitle and lang.
2842
2843         * paragraph.C (simpleTeXOnePar): initialize rp.lang and
2844         rp.intitle. Actually use rp in call to simpleTeXSpecialChars
2845
2846 2004-08-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2847
2848         * text3.C (dispatch): remove special handling of button 4 and 5,
2849         it is now taken care of in the frontend code.
2850
2851 2004-07-25  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2852
2853         * Spacing.h: add <string> (STLPort compile fix)
2854
2855 2004-08-02  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2856
2857         * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
2858
2859 2004-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2860
2861         * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
2862         to bool.
2863
2864         * converter.C (showMessage): inherit from unary_function, make
2865         operator() const.
2866
2867         * buffer.C (writeFile): initialize retval
2868
2869         * InsetList.h: rename private variable list to list_
2870         * InsetList.[Ch]: adjust accordingly.
2871
2872 2004-07-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
2873
2874         * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
2875         * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
2876         * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
2877         * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
2878         * ParagraphParameters.C, LaTeXFeatures.C: replace
2879         "support/std_sstream.h" with <sstream>
2880
2881 2004-07-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
2882
2883         * lyxserver.C (startPipe): use this (pointer) not *this (reference)
2884         * lyxsocket.C (LyXServerSocket): ditto
2885         (serverCallback): ditto
2886
2887 2004-07-23  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2888
2889         * LaTeXFeatures.C: check release date when loading jurabib.
2890
2891 2004-07-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
2892
2893         * lyxserver.C (startPipe): call register_socket_callback
2894         (endPipe): call unregister_socket_callback
2895
2896 2004-07-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
2897
2898         * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
2899         (LyXServerSocket): register the callback
2900         (LyXServerSocket): unregister the callback
2901         (fd): delete function
2902         (serverCallback): improve error checking and setup the callbacks.
2903         (dataCallback): change arg to fd.
2904         (writeln): new func (copied fro the client socket) used for server
2905         write to client.
2906         (LyXDataSocket): simplify
2907         (~LyXDataSocket): close ann unregiser callback
2908         (server): delete function
2909         (fd): delete function
2910         (readln): small changes, improve some std::string usage
2911         (writeln): constify a bit
2912
2913 2004-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2914
2915         * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
2916         Qt frontend
2917
2918 2004-07-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2919
2920         * BufferView_pimpl.C (setBuffer): set the layout combox value only
2921         after it has been populated
2922
2923 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2924
2925         * text2.C (insertInset): move cursor when inserting inset.
2926
2927 2004-06-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2928
2929         * kbmap.C (findbindings): a couple of new methods. returns a
2930         container of kb_sequence objects. The real work is done by the
2931         private recursive version
2932         (printbindings): uses findbindings to print out a bracketed list
2933         of bindings (renamed from findbinding).
2934
2935         * MenuBackend.C (binding): use kb_keymap::findbindings
2936
2937         * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
2938
2939 2004-07-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2940
2941         * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
2942
2943 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2944
2945         * paragraph.C (isWord): return true on insets that report
2946         isLetter().
2947
2948         * text.C (getWord): use Paragraph::isWord to decide what is in a
2949         word and what is not; fix bug 1609.
2950
2951 2004-06-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2952
2953         * tex-strings.C: add "none" to string_paperpackages[], fixes
2954         off-by-one-error in the paperpackage selection.
2955
2956         * lyxlex.[Ch]:
2957         * tex-strings.[Ch]: char const * string[n]
2958         -> char const * const string[]
2959
2960 2004-06-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2961
2962         * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
2963         command, return early.
2964
2965 2004-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
2966
2967         * debug.h: add DEBUG to enum and fix size of ANY.
2968
2969         * debug.C: add support for Debug::DEBUG
2970         (showTags): cast errorTags.level to unsigned int
2971
2972         * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
2973         (redoCurrentBuffer): ditto
2974         (updateScrollbar): ditto
2975         * cursor.C (dispatch): ditto
2976         * text2.C (setLayout): ditto
2977         (setFont): ditto
2978         (updateCounters): ditto
2979         (editXY): ditto
2980         (deleteEmptyParagraphMechanism): ditto
2981
2982 2004-06-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
2983
2984         * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
2985         annotations to cleanup the Makefile slightly.
2986
2987 2004-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2988
2989         * lyxrc.C: do not set user_email to a default value but use empty
2990         instead. The entry used to be translated, which does not work
2991         since at the point where lyxrc is constructed there is no
2992         translation service available
2993
2994         * messages.C (getLocaleDir): remove and use directly
2995         lyx_localedir() instead
2996
2997 2004-06-02  Angus Leeming  <leeming@lyx.org>
2998
2999         Fix crash caused by dereferencing null pointer 'exportdata' in
3000         OutputParams by creating a new ExportData variable on the heap,
3001         storing it in a boost::shared_ptr.
3002         The crash was triggered when generating an Instant Preview
3003         of an external inset.
3004
3005         * Makefile.am: add outputparams.C
3006
3007         * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
3008         (c-tor): allocate memory to it.
3009
3010         * exporter.C (c-tor): associated changes.
3011
3012 2004-06-01  Angus Leeming  <leeming@lyx.org>
3013
3014         * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
3015         contains data before calling isInset(0). (Bug 1513.)
3016
3017 2004-06-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3018
3019         * exporter.C (checkOverwrite): new method
3020         * exporter.C (copyFile): new method
3021         * exporter.C (Export): copy referenced files to the document dir
3022         * exporter.[Ch]: new class ExportedFile
3023         * exporter.[Ch]: new class ExportData. Contains currently the
3024         names of referenced external files
3025         * outputparams.h: add exportdata member.
3026
3027 2004-05-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3028
3029         * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
3030         version.C-tmp
3031
3032 2004-05-19  Angus Leeming  <leeming@lyx.org>
3033
3034         * LaTeXFeatures.C:
3035         * ToolbarBackend.C:
3036         * bufferparams.C:
3037         * lyxfunc.C: small changes due to the introduction of namespace
3038         lyx::frontend and the moving of namespace biblio to lyx::biblio.
3039
3040 2004-05-18  Alfredo Braunstein  <abraunst@lyx.org>
3041
3042         * text3.C (dispatch): supress update when only moving the cursor
3043         * cursor.C (selHandle): remove commented code
3044
3045 2004-05-17  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3046
3047         * paragraph.C (startTeXParParams): correct column count
3048         * CutAndPaste.C (pasteSelection): remove const_cast
3049         * output_docbook.C (docbookParagraphs): remove const_cast
3050         * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
3051         const_cast and return ParagraphList::const_iterator
3052         * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
3053         * output_plaintext.C (writeFileAscii): remove const_cast
3054         * paragraph.[Ch] (simpleTeXOnePar): make const
3055         * paragraph_funcs.C (outerPar): use const iterators
3056         * paragraph_pimpl.C (validate): use const iterators
3057         * text.C (setHeightOfRow): use const iterators
3058
3059 2004-05-17  Angus Leeming  <leeming@lyx.org>
3060
3061         * lfuns.h:
3062         * LyXAction.C (init): new LFUN_INSET_REFRESH.
3063
3064         * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
3065         over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
3066         if the citation engine has changed.
3067
3068 2004-05-14  José Matos  <jamatos@lyx.org>
3069
3070         * buffer.C (makeDocBookFile): add a default Formal Public Identifier
3071         if the textclass does not provide it. Have it different for sgml and
3072         xml.
3073         support the language of document.
3074         * output_docbook.C (docbookParagraphs):
3075         * paragraph.[Ch] (getDocbookId): new function that gets the id of the
3076         first anchor as the id of the paragraph, remove special case code.
3077         * sgml.C (escapeChar): escape only < & >.
3078
3079 2004-05-14  Angus Leeming  <leeming@lyx.org>
3080
3081         * bufferparams.h: move biblio::CiteEngine enum here to minimize
3082         dependencies on src/frontends/controllers/biblio.h. Define a
3083         CiteEngine_enum wrapper class to enable the enum to be forward
3084         declared.
3085
3086 2004-05-12  Angus Leeming  <leeming@lyx.org>
3087
3088         * buffer.C: up LYX_FORMAT to 234.
3089         * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
3090         use_numerical_citations with a single biblio::CiteEngine cite_engine
3091         variable.
3092         * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
3093
3094 2004-05-13  José Matos  <jamatos@lyx.org>
3095
3096         * converter.h:
3097         * converter.C (Converter, readFlags): add xml member.
3098         * outputparams.h: add XML flavor.
3099         * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
3100
3101 2004-05-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3102
3103         * lyxfunc.C (dispatch):
3104         (getStatus): fix handling of LFUN_SEQUENCE
3105
3106 2004-04-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3107
3108         * debug.C (showLevel): do not forget the end-of-line marker
3109
3110 2004-04-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3111
3112         * kbmap.C (read): do not stop parsing a bind file when an error
3113         occurs (bug 1575)
3114
3115 2004-04-29  Angus Leeming  <leeming@lyx.org>
3116
3117         * cursor.C:
3118         * factory.C:
3119         * pariterator.C:
3120         * text2.C: wrap a bunch of #warning statements
3121         inside #ifdef WITH_WARNINGS blocks.
3122
3123 2004-04-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3124
3125         * buffer.C: increment format to 233.
3126
3127 2004-04-28  Angus Leeming  <leeming@lyx.org>
3128
3129         * BufferView_pimpl.C:
3130         * lyxfunc.C:
3131         * text3.C:
3132         s/updateToolbar()/updateToolbars()/
3133         s/Toolbar.h/Toolbars.h/
3134
3135 2004-04-28  Angus Leeming  <leeming@lyx.org>
3136
3137         * BufferView.[Ch] (c-tor):
3138         * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
3139         No longer passes these data to the WorkArea generator.
3140
3141 2004-04-28  Angus Leeming  <leeming@lyx.org>
3142
3143         * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
3144
3145 2004-04-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3146
3147         * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
3148
3149 2003-09-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3150
3151         * output_latex.C (TeXEnvironment): make sure that there is a line
3152         break before \end{foo} for the last paragraph of a document
3153         (TeXOnePar): if the paragraph is at the end of the document (or
3154         inset) and the language has to be reset, then make sure that the
3155         line break is _before_ the language command, not after (fixes bug
3156         1225); also make sure that the language reset command is the first
3157         thing after the paragraph (to ensure proper nesting of
3158         environments and thus fix bug 1404)
3159
3160 2004-04-21  John Levon  <levon@movementarian.org>
3161
3162         * ToolbarBackend.h:
3163         * ToolbarBackend.C: make "name" be a programmatic name
3164         and a gui_name field.
3165
3166         * lyxfunc.C: display the minibuffer on M-x
3167
3168 2004-04-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3169
3170         * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
3171         (bug 1526)
3172
3173 2004-04-19  Angus Leeming  <leeming@lyx.org>
3174
3175         * BufferView_pimpl.C (setBuffer): changed preview interface.
3176
3177         * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
3178         possible values.
3179
3180 2004-04-19  John Levon  <levon@movementarian.org>
3181
3182         * BufferView_pimpl.C:
3183         * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
3184
3185 2004-04-05  Angus Leeming  <leeming@lyx.org>
3186
3187         * text.C (redoParagraphs): add call to updateCounters(), thereby
3188         fixing the missing "Figure #:" label from the caption of a
3189         figure float.
3190
3191 2004-04-13  Angus Leeming  <leeming@lyx.org>
3192
3193         * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
3194         cursor is clicked out of an inset.
3195
3196 2004-04-13  Angus Leeming  <leeming@lyx.org>
3197
3198         * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
3199         than an InsetOld one.
3200
3201 2004-04-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3202
3203         * format.[Ch]: add editor to Format
3204         * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
3205         * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
3206
3207 2004-04-08  André Pönitz  <poenitz@gmx.net>
3208
3209         * metricsinfo.h: remove PainterInfo::width member
3210
3211 2004-04-08  Angus Leeming  <leeming@lyx.org>
3212
3213         * lyx_sty.C (boldsymbol_def): modify so that it outputs
3214         "\providecommand" rather than "\newcommand", thereby preventing
3215         clashes with packages that define "\boldsymbol" themselves.
3216         Eg, beamer.
3217
3218 2004-04-08  Angus Leeming  <leeming@lyx.org>
3219
3220         * lyxrc.C (read): don't try to set the color of none, inherit, ignore
3221         thereby squashing an unnecessary warning.
3222
3223 2004-04-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3224
3225         * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
3226         setBuffer()
3227
3228 2004-04-07  Alfredo Braunstein  <abraunst@lyx.org>
3229
3230         * BufferView.C (setCursor): call redoParagraph (some insets could
3231         have been opened)
3232         (putSelectionAt): remove the 'double update' trick
3233
3234         * BufferView_pimpl.C (fitCursor): call refreshPar
3235         (workAreaDispatch): remove an uneeded update call
3236         (dispatch): remove some manual update calls
3237
3238         * cursor.[Ch]: remove cached_y_, updatePos
3239         (selHandle): set noUpdate when appropriate
3240
3241         * lyxfunc.C (dispatch): track if we need an update
3242
3243         * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
3244
3245         * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
3246         (paintSelection): cheap optimization, do not call cursorX when not
3247         needed
3248         (paintPars): change signature
3249         (refreshPar): add
3250         (paintText): adjust
3251         (paintTextInset): adjust
3252
3253         * text.C: adjust
3254
3255 2004-04-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3256
3257         * lengthcommon.C: compilation fix: remove explicit array size from
3258         unit_name[] and friends
3259
3260 2004-04-05  Angus Leeming  <leeming@lyx.org>
3261
3262         * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
3263
3264         * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
3265         present only for the preferences dialog.
3266         (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
3267
3268 2004-04-05  Angus Leeming  <leeming@lyx.org>
3269
3270         * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
3271         to enable the frontends to export changes to lyxrc correctly.
3272
3273         * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
3274
3275 2004-04-07  André Pönitz  <poenitz@gmx.net>
3276
3277         * cursor.[Ch] (selClear, adjust): remove math
3278
3279         * cursor_slice.C: more agressive assert
3280
3281         * lyxfunc.C:
3282         * BufferView_pimpl.C: rework mouse event dispatch
3283
3284         * dociterator.C:
3285         * paragraph.C:
3286         * text2.C:
3287         * text3.C: adjust
3288
3289 2004-04-05  André Pönitz  <poenitz@gmx.net>
3290
3291         * cursor.[Ch] (valign, halign...): remove unneeded functions
3292
3293 2004-04-05  Angus Leeming  <leeming@lyx.org>
3294
3295         * lyxlength.[Ch] (unit_name et al.): const-correct.
3296
3297 2004-04-05  Angus Leeming  <leeming@lyx.org>
3298
3299         * BufferView_pimpl.C:
3300         * buffer.C:
3301         * counters.C:
3302         * cursor.C:
3303         * lyxfunc.C
3304         * paragraph.C:
3305         * pariterator.C:
3306         * text.C:
3307         * text2.C:
3308         * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
3309
3310 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
3311
3312         * text3.C (getStatus): add LFUN_BEGINNINGBUF
3313
3314 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
3315
3316         * lyxfind.C: add a couple of inTexted() tests + other small fixes
3317         * BufferView_pimpl.[Ch] (getStatus)
3318         * BufferView.[Ch] (getStatus): add
3319         * lyxfunc.C (getStatus): move lfuns handled in
3320         BufferView::dispatch to te function above
3321         * Cursor.C (setSelection): set selection() = true
3322
3323 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
3324
3325         * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
3326
3327 2004-03-31  Angus Leeming  <leeming@lyx.org>
3328
3329         * lyxfunc.C (dispatch): Fall through to the generic
3330         Dialogs::show("preamble").
3331
3332 2004-03-31  Angus Leeming  <leeming@lyx.org>
3333
3334         * lyxfunc.C (dispatch): Fall through to the generic
3335         Dialogs::show("spellchecker").
3336
3337 2004-03-31  Angus Leeming  <leeming@lyx.org>
3338
3339         * lyxfunc.C (getStatus, dispatch): changed invocation of the
3340         preferences dialog.
3341
3342 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
3343
3344         * BufferView.C
3345         * cursor.[Ch]
3346         * dociterator.[Ch]:
3347         * insetiterator.[Ch]:
3348         * lyxfind.C:
3349         * lyxfunc.C:
3350         * pariterator.[Ch]:
3351         * text2.C:
3352         * undo.[Ch]: s/DocumentIterator/DocIterator/g
3353
3354 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
3355
3356         * BufferView.C (setCursor, putSelectionAt): call edit to open the
3357         insets where we are putting the cursor.
3358
3359 2004-03-31  Angus Leeming  <leeming@lyx.org>
3360
3361         * lfuns.h:
3362         * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
3363
3364         * lyxrc.[Ch] (read, write): overloaded member functions taking
3365         a std::[io]stream arguments.
3366
3367         * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
3368
3369 2004-03-31  Angus Leeming  <leeming@lyx.org>
3370
3371         * lyxfunc.C (loadTextclass): new helper function, invoked by two of
3372         dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
3373
3374         * lyxtextclass.C (load): if the text class couldn't be loaded, then
3375         don't overwrite 'loaded_ = false' with 'loaded_ = true' !
3376
3377 2004-03-31  Angus Leeming  <leeming@lyx.org>
3378
3379         * lyxfunc.C (dispatch): remove the cursor-manipulation code from
3380         the LFUN_ALL_INSETS_TOGGLE code.
3381
3382 2004-03-30  Angus Leeming  <leeming@lyx.org>
3383
3384         * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
3385         has died. Fall through to the generic Dialogs::show("document").
3386
3387 2004-03-30  Angus Leeming  <leeming@lyx.org>
3388
3389         * lfuns.h:
3390         * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
3391         LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
3392
3393         * lyxfunc.C (getStatus, dispatch): define the actions for these
3394         lfuns. Little more than a cut and pste job from ControlDocument.C
3395
3396         * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
3397
3398 2004-03-30  Angus Leeming  <leeming@lyx.org>
3399
3400         * lfuns.h:
3401         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
3402         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
3403
3404         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
3405         open/closed state of ollapsable insets. Usage:
3406
3407         all-inset-toggle <state> <name>, where
3408         <state> == "open" || "closed" || "toggle" and
3409         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
3410
3411         * lyxtext.h, text2.C (toggleInset): removed.
3412
3413         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
3414         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
3415         now passes LFUN_INSET_TOGGLE to the found inset.
3416
3417         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
3418         is now invoked as "all-insets-toggle toggle branch".
3419
3420 2004-03-30  Angus Leeming  <leeming@lyx.org>
3421
3422         * dociterator.C:
3423         * insetiterator.C:
3424         * pariterator.[Ch]: added/corrected header blurb.
3425
3426 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
3427
3428         * dociterator.[Ch]: add an inset_ member
3429         (backwardPos): implemented
3430         (backwardPos, forwardPos): use inset_ when the stack is empty.
3431         (doc_iterator_begin, doc_iterator_end): implemented
3432         * pariterator.[Ch]: adjust, add begin, end
3433         * insetiterator.[Ch]: adjust, add begin, end
3434         * cursor.C:
3435         * document.C:
3436         * BufferView.C:
3437         * BufferView_pimpl.C:
3438         * CutAndPaste.C: adjust
3439
3440 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3441
3442         * buffer.C: increment file format to 232.
3443         * LaTeXFeatures.C: add bibtopic package.
3444         * bufferparams.[Ch]: param \use_bibtopic.
3445
3446         * lyxrc.[Ch]: add lyxrc bibtex_command
3447         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
3448
3449         * buffer.C: increment file format to 231.
3450
3451 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
3452
3453         * dociterator.C: implement forwardPar
3454         * iterators.[Ch]: remove, replaced by
3455         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
3456         * BufferView.C:
3457         * BufferView_pimpl.C:
3458         * CutAndPaste.C:
3459         * buffer.C:
3460         * bufferview_funcs.C:
3461         * cursor.C:
3462         * lyxfind.C
3463         * lyxfunc.C
3464         * paragraph_funcs.C
3465         * toc.C:
3466         * Makefile.am: adjust
3467
3468 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
3469
3470         * CutAndPaste.C (pasteSelection): fix 2 crashes
3471         (eraseSelection): fix a crash
3472         * paragraph_funcs.C: remove a warning
3473
3474 2004-03-28  Angus Leeming  <leeming@lyx.org>
3475
3476         * lfuns.h:
3477         * LyXAction.C (init): new LFUN_PRINT.
3478
3479         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
3480
3481 2004-03-27  Angus Leeming  <leeming@lyx.org>
3482
3483         * lfuns.h:
3484         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
3485
3486         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
3487
3488 2004-03-27  Angus Leeming  <leeming@lyx.org>
3489
3490         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
3491         insetlist always contains non-null pointers to insets.
3492
3493 2004-03-26  Angus Leeming  <leeming@lyx.org>
3494
3495         * src/BufferView_pimpl.C:
3496         * src/CutAndPaste.C:
3497         * src/buffer.C:
3498         * src/iterators.C:
3499         * src/output_plaintext.C:
3500         * src/outputparams.h:
3501         * src/paragraph_funcs.C:
3502         * src/rowpainter.C:
3503         * src/text.C:
3504         * src/text2.C:
3505         * src/frontends/controllers/ControlErrorList.C:
3506         * src/frontends/gtk/FileDialogPrivate.C:
3507         * src/frontends/gtk/GPainter.C:
3508         * src/frontends/gtk/GToolbar.C:
3509         * src/frontends/qt2/QRef.C:
3510         * src/mathed/math_scriptinset.C: squash compiler warnings.
3511
3512 2004-03-26  Angus Leeming  <leeming@lyx.org>
3513
3514         * ispell.C (LaunchIspell::start):
3515         * lyx_cb.C (AutoSaveBuffer::start):
3516         invoke run(DontWait) rather than runNonBlocking().
3517
3518 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
3519
3520         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
3521
3522 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3523
3524         * kbsequence.C (print): adjust
3525
3526         * kbmap.C (printKeySym): rename and change signature
3527         (printKey): use LyXKeySym::print()
3528
3529 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
3530
3531         * undo.C: add using std::advance to compile for stlport
3532
3533 2004-03-24  Angus Leeming  <leeming@lyx.org>
3534
3535         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
3536         it leads to a crash when no buffer is present.
3537
3538 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3539             Martin Vermeer  <martin.vermeer@hut.fi>
3540
3541         * lyxfunc.C (dispatch):
3542         * bufferparams.C (readToken): use the new LColor::setColor
3543
3544         * LColor.[Ch] (setColor): new version that takes two strings as
3545         argument and creates a new color entry if necessary
3546
3547 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3548
3549         * buffer.C (makeLaTeXFile): if the main latex file that is
3550         processed is usually a subdocument of some master, then pretend
3551         for a while that it is actually the master
3552
3553 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3554
3555         * buffer.C (getLabelList):
3556         (getBibkeyList): use getMasterBuffer()
3557         (getMasterBuffer): new method. Returns the main document in the
3558         case where one is using included documents.
3559
3560 2004-03-25  André Pönitz  <poenitz@gmx.net>
3561
3562         * Makefile.am:
3563         * iterators.[Ch]:
3564         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
3565
3566         * ParagraphList_fwd.h: change ParagraphList to a std::vector
3567
3568         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
3569         text*.C over here. Rename namespace CutAndPaste to lyx::cap
3570
3571         * ParameterStruct.h: merge with ParagraphParameters
3572
3573         * lyxtext.h: remove LyXText::parOffset() and getPar()
3574
3575         * text3.C: Remove all 'manual' update calls. We do now one per user
3576         interaction which is completely sufficient.
3577
3578         * Bidi.C:
3579         * BufferView.[Ch]:
3580         * BufferView_pimpl.C:
3581         * FontIterator.[Ch]:
3582         * MenuBackend.C:
3583         * ParagraphParameters.[Ch]:
3584         * buffer.C:
3585         * buffer.h:
3586         * bufferlist.C:
3587         * cursor.[Ch]:
3588         * cursor_slice.[Ch]:
3589         * dociterator.[Ch]:
3590         * errorlist.[Ch]:
3591         * factory.C:
3592         * lfuns.h:
3593         * lyxfind.C:
3594         * lyxfunc.C:
3595         * output_docbook.[Ch]:
3596         * output_latex.[Ch]:
3597         * output_linuxdoc.[Ch]:
3598         * output_plaintext.[Ch]:
3599         * paragraph.[Ch]:
3600         * paragraph_funcs.[Ch]:
3601         * paragraph_pimpl.[Ch]:
3602         * rowpainter.C:
3603         * tabular.[Ch]:
3604         * text.C:
3605         * text2.C:
3606         * toc.C:
3607         * undo.[Ch]: adjust
3608
3609         * frontends/controllers/ControlDocument.C:
3610         * frontends/controllers/ControlErrorList.C:
3611         * frontends/controllers/ControlSpellchecker.C:
3612         * insets/inset.C:
3613         * insets/inset.h:
3614         * insets/insetbase.h:
3615         * insets/insetbibitem.C:
3616         * insets/insetbox.C:
3617         * insets/insetbranch.C:
3618         * insets/insetcaption.C:
3619         * insets/insetcharstyle.C:
3620         * insets/insetcharstyle.h:
3621         * insets/insetcollapsable.C:
3622         * insets/insetcollapsable.h:
3623         * insets/insetert.C:
3624         * insets/insetfloat.C:
3625         * insets/insetfoot.C:
3626         * insets/insetmarginal.C:
3627         * insets/insetnote.C:
3628         * insets/insetoptarg.C:
3629         * insets/insettabular.C:
3630         * insets/insettext.C:
3631         * insets/insettext.h:
3632         * insets/insetwrap.C:
3633         * mathed/math_mboxinset.C:
3634         * mathed/math_nestinset.C:
3635         * mathed/math_scriptinset.C:
3636         * mathed/math_scriptinset.h:
3637         * support/types.h:
3638
3639 2004-03-24  Angus Leeming  <leeming@lyx.org>
3640
3641         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
3642         deal with any child processes that have finished but are waiting to
3643         communicate this fact to the rest of LyX.
3644
3645 2004-03-24  Angus Leeming  <leeming@lyx.org>
3646
3647         64-bit compile fixes.
3648
3649         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
3650         (c-tor): pass lyx::pos_types rather than ints.
3651
3652         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
3653         lyx::pos_type.
3654
3655         * text.C (Delete): compile fix.
3656         (getPar): ensure that function declaration is the same as that in
3657         the header file.
3658
3659 2004-03-23  Angus Leeming  <leeming@lyx.org>
3660
3661         * ispell.C (LaunchIspell):
3662         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
3663         a boost::shred_ptr rather than a std::auto_ptr.
3664
3665 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3666
3667         * lyxfunc.C (getStatus): handle read-only buffers correctly;
3668         handle LFUN_FILE_INSERT_*
3669
3670         * lyxrc.C (setDefaults, getDescription, output, read):
3671         * lyxrc.h: remove ps_command
3672
3673 2004-03-22  Angus Leeming  <leeming@lyx.org>
3674
3675         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
3676         Ensure that error_handler is processed once only and that all data
3677         is saved before attempting to output any warning messages.
3678
3679         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
3680
3681 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
3682
3683         * tabular.C (TeXRow): crash fix (from Kayvan and Andr�
3684
3685 2004-03-19  André Pönitz  <poenitz@gmx.net>
3686
3687         * cursor.[Ch] (reset): take main text inset as argument
3688
3689         * BufferView: adjust
3690         * BufferView_pimpl.C: adjust
3691
3692         * paragraph.[Ch]: fix completely broken operator=()
3693
3694 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3695
3696         * LColor.C (getFromLyXName): make sure that the color name is used
3697         as lowercase.
3698
3699 2004-03-17  Angus Leeming  <leeming@lyx.org>
3700
3701         * lfuns.h:
3702         * LyXAction.C (init): remove LFUN_FORKS_KILL.
3703
3704         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
3705         dialog and to kill a forked process.
3706
3707 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
3708
3709         * text2.C (setCursorFromCoordinates): fix font problem
3710
3711 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
3712
3713         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
3714         bogus "rebuild cursor" code
3715
3716 2004-03-11  André Pönitz  <poenitz@gmx.net>
3717
3718         * buffer.[Ch]: use InsetText instead of LyXText as container for
3719         the main lyx text.
3720
3721         * dociterator.[Ch]: drop the BufferView * member which is not needed
3722         anymore after the change to buffer.C
3723
3724         * paragraph_funcs.C:
3725         * text.C:
3726         * text2.C:
3727         * BufferView.[Ch]:
3728         * BufferView_pimpl.[Ch]:
3729         * cursor.[Ch]:
3730         * cursor_slice.[Ch]: adjust
3731
3732         * text3.C: fix bug in mathDispatch
3733
3734 2004-03-08  André Pönitz  <poenitz@gmx.net>
3735
3736         * undo.[Ch]: use 'StableDocumentIterator' as base for
3737         the Undo struct.
3738
3739 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3740
3741         * LaTeXFeatures.C:
3742         * bufferparams.[Ch]: add jurabib support and param.
3743
3744         * LaTeX.C: add FIXME/comment.
3745
3746 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3747
3748         * buffer.C: increment file format to 230.
3749
3750 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
3751
3752         * cursor.C (dispatch): avoid infinite loops
3753
3754 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3755
3756         * rowpainter.C (paintSelection): fix x coordinates
3757
3758 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3759
3760         * text.C (rowBreakPoint): fix breaking before displayed insets
3761
3762 2004-03-01  André Pönitz  <poenitz@gmx.net>
3763
3764         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
3765
3766         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
3767
3768         * Makefile.am:
3769         * BufferView.C:
3770         * BufferView_pimpl.C:
3771         * buffer.C:
3772         * lyxfind.C:
3773         * lyxfunc.C:
3774         * text.C:
3775         * text2.C:
3776         * text3.C: adjust
3777
3778 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3779
3780         * lyxtext.h:
3781         * text.C:
3782         * text2.C:
3783         * rowpainter.C:
3784         * BufferView_pimpl.C: rename textwidth -> maxwidth,
3785         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
3786
3787 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3788
3789         * Bidi.[Ch] (computeTables): const correctness
3790         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
3791         fill_hfill, fill_label_hfill and x from Row
3792         * lyxtext.h: prepareToPrint returns a RowMetrics
3793         * rowPainter.C: adjust
3794         * text.C (prepareToPrint): use width, not textWidth. adjust
3795         (redoParagraphInternal, cursorX): adjust
3796         * text2.C (getColumnNearX): adjust
3797         (init): put a default value to the top LyXText::width
3798
3799 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3800
3801         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
3802
3803 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3804
3805         * lyxtext.h: add FontIterator class
3806
3807         * text.C (FontIterator, operator*, operator->, operator++): add
3808         (rowBreakPoint, setRowWidth): adjust (fixing a
3809         rebreaking bug)
3810
3811 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3812
3813         * BufferView_pimpl.C (workAreaDispatch): allow also
3814         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
3815
3816 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
3817
3818         * text.C (rowBreakPoint): fix a bug showing with very large insets
3819
3820 2004-02-25  André Pönitz  <poenitz@gmx.net>
3821
3822         * text3.C:
3823         * cursor.[Ch]: move some mathed specific code to mathed
3824
3825 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3826
3827         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
3828         use_tempdir in preferences
3829         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
3830         tempfile creation
3831         * lyx_main.C: ensure that tempdir is valid
3832         * lyxlex.h: correct typo
3833         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
3834         * paragraph.[Ch] (isMultiLingual): make const
3835         * cursor.[Ch] (openable): make const
3836
3837 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3838
3839         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
3840
3841 2004-02-20  André Pönitz  <poenitz@gmx.net>
3842
3843         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
3844
3845         * cursor.[Ch]: prepare for localized getStatus()
3846
3847         * lyxtext.h:
3848         * tabular.C:
3849         * text.C:
3850         * text2.C:
3851         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
3852
3853 2004-02-20  André Pönitz  <poenitz@gmx.net>
3854
3855         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
3856
3857 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
3858
3859         * text2.C (setCursorFromCoordinates): switch to absolute coords
3860         (cursorUp): adjust
3861         (cursorDown): adjust
3862         * text3.C (dispatch): adjust
3863
3864 2004-02-16  André Pönitz  <poenitz@gmx.net>
3865
3866         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
3867           insets/ChangeLog)
3868
3869         * cursor_slice.[Ch]: remove unneeded acessor function
3870
3871         * lyxtext.h: rename rtl() to isRTL()
3872
3873         * rowpainter.C:
3874         * tabular.C:
3875         * text.C:
3876         * text2.C:
3877         * text3.C: adjust
3878
3879 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
3880
3881         * rowpainter.C (paintSelection): coord fix
3882
3883 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
3884
3885         * Spacing.C: compile fix
3886
3887 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
3888
3889         * cursor.C (dispatch): restore current_ before returning
3890
3891 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
3892
3893         * text2.C (cursorUp, cursorDown): fix coords
3894         (moveUp): fix crash
3895
3896 2004-02-12  André Pönitz  <poenitz@gmx.net>
3897
3898         * lyxtext.h:
3899         * text.C:
3900         * text2.C:
3901         * text3.C: add LCursor & parameter to most cursor movement functions
3902           remove usage of LyXText::cursorRow() and cursorPar()
3903
3904         * cursor.[Ch]: add textRow() needed members
3905
3906         * BufferView.C:
3907         * BufferView_pimpl.C:
3908         * paragraph.[Ch]:
3909         * BufferView.C:
3910         * BufferView_pimpl.C: adjust
3911
3912 2004-02-11  André Pönitz  <poenitz@gmx.net>
3913
3914         * lyxfunc.C:
3915         * BufferView.[Ch]:
3916         * BufferView_pimpl.C: shift undo/redo handling
3917
3918         * cursor.[Ch]: fix mathed crash
3919
3920         * lyxfind.C:
3921         * lyxtext.h: move selectionAsText to LCursor
3922
3923         * output_latex.C:
3924         * paragraph.C:
3925         * text.C:
3926         * text2.C:
3927         * text3.C: adjust
3928
3929         * rowpainter.C: fix excessive drawing
3930
3931 2004-02-06  André Pönitz  <poenitz@gmx.net>
3932
3933         * BufferView.[Ch]:
3934         * BufferView_pimpl.[Ch]:
3935         * text3.C: move some text specific LFUN handling
3936
3937 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
3938
3939         * text3.C (checkInsetHit): adjust coords
3940         * text2.C (getColumnNearX): adjust coords
3941         (edit): adjust coords
3942         * text.C (getRowNearY): add two asserts
3943
3944 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
3945
3946         * converter.C:
3947         * format.C: add using std::distance to compile on gcc 2.95/stlport
3948
3949 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
3950
3951         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
3952
3953 2004-02-04  André Pönitz  <poenitz@gmx.net>
3954
3955         * BufferView.[Ch] (insertInset):
3956         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
3957
3958         * text2.C:
3959         * text3.C: adjust
3960
3961 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
3962
3963         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
3964         on the default clause of the switch
3965         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
3966         wasn't catched by LCursor::dispatch
3967
3968 2004-02-03  André Pönitz  <poenitz@gmx.net>
3969
3970         * BufferView.C:
3971         * cursor.[Ch]: some additional asserts
3972
3973         * undo.[Ch]: remove LyXText dependency in interface
3974
3975         * lyxfunc.C: adjust
3976
3977         * lyxtext.h (firstPar, lastPar): remove dead functions
3978
3979         * text.C:
3980         * text2.C:
3981         * text3.C:
3982         * paragraph.[Ch]: adjust
3983
3984 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
3985
3986         * lyxfind.C (find): fix argument order in call to ::find
3987
3988 2004-02-02  André Pönitz  <poenitz@gmx.net>
3989
3990         * cursor.[Ch]: remove direct access to anchor
3991
3992         * text.C: remove findText() hack
3993
3994 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
3995
3996         * iterators.[Ch] (lockPath): remove in favour of...
3997         * BufferView.[Ch] (setCursor): this addition
3998         * BufferView.C (putSelectionAt): adjust
3999         * undo.C (performUndoOrRedo): adjust
4000         * lyxfunc.C (dispatch): adjust
4001
4002 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
4003
4004         * iterators.C (lockPath): add a missing slice
4005         * undo.C (performUndoOrRedo): remove redundant positioning code
4006
4007 2004-02-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4008
4009         * vc-backend.C (scanMaster): ";" -> ';'
4010
4011 2004-01-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
4012
4013         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
4014         std::binary_function
4015
4016         * lyxtextclass.C (compare_name): rename to...
4017         (LayoutNamesEqual): ...this
4018
4019         * lyxlex_pimpl.C (compare_tags): inherit from
4020         std::binary_function, put back into anon namespace
4021
4022         * lyxfind.C (MatchString): inherig from std::binary_function
4023         (findChange): use empty() istead of !size()
4024
4025         * format.C (FormatNamesEqual): new functor
4026         (getFormat): use it
4027         (getNumber): use it
4028         (add): use it
4029         (erase): use it
4030         (setViewer): use it
4031
4032         * converter.C (compare_Converter): rename to...
4033         (ConverterEqual): ...this, and fixup a bit.
4034         (getConverter): use it, and make function const
4035         (getNumber): use it, and make function const
4036         (add): use it
4037         (erase): use it:
4038
4039         * bufferlist.C: add using boost::bind
4040
4041         * MenuBackend.C (MenuNamesEqual): new functor
4042         (hasMenu): use it, and make function const
4043         (hasSubmenu): use nested bind to get rid of compare_memfun.
4044
4045 2004-01-30  André Pönitz  <poenitz@gmx.net>
4046
4047         * BufferView_pimpl.C:
4048         * cursor.C:
4049         * cursor.h:
4050         * cursor_slice.[Ch]:
4051         * lyxfunc.C:
4052         * lyxtext.h:
4053         * paragraph_funcs.C:
4054         * paragraph_funcs.h:
4055         * rowpainter.C:
4056         * text.C:
4057         * text2.C:
4058         * text3.C: move some of the edit(x,y) handling to the insets
4059         some coordinate changes.
4060
4061 2004-01-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4062
4063         * text.C: add using statements for std::advance and std::distance
4064
4065         * paragraph.C: add using statement for std::distance
4066
4067         * lyxfind.C: add using statement for std::advance
4068
4069         * cursor.C (region): remove std:: from swap
4070         (openable): use nucleus in stead of operator->
4071
4072         * BufferView.C: add using statements for std::distance and std::swap
4073
4074 2004-01-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4075
4076         * iterators.C: Remove the pimple, move the needed structures to
4077         the header file. Create accessor for the positions stack.
4078         (asPosIterator): remove function
4079
4080         * PosIterator.C (PosIterator): move constructors to top of file
4081         (PosIterator): reimplement the constructor taking a ParIterator in
4082         terms of setFrom.
4083         (setFrom): new function
4084         (operator!=): inline it
4085
4086 2004-01-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
4087
4088         * lyxfind.C (replaceAll): use std::advance
4089
4090         * iterators.h: inherit from std::iterator.
4091
4092         * PosIterator.C (advance, distance): remove
4093         * PosIterator.h: interit from std::iterator.
4094
4095 2004-01-26  André Pönitz  <poenitz@gmx.net>
4096
4097         * BufferView.[Ch]:
4098         * BufferView_pimpl.[Ch]:
4099         * InsetList.[Ch]:
4100         * PosIterator.[Ch]:
4101         * buffer.h:
4102         * bufferview_funcs.C:
4103         * cursor.[Ch]:
4104         * cursor_slice.h:
4105         * factory.[Ch]:
4106         * iterators.[Ch]:
4107         * lyxfind.C:
4108         * lyxfunc.C:
4109         * lyxtext.h:
4110         * output_docbook.C:
4111         * output_latex.C:
4112         * output_linuxdoc.C:
4113         * output_plaintext.C:
4114         * paragraph.[Ch]:
4115         * paragraph_funcs.[Ch]:
4116         * paragraph_pimpl.[Ch]:
4117         * rowpainter.C:
4118         * tabular.C:
4119         * tabular.h:
4120         * text.C:
4121         * text2.C:
4122         * text3.C: more IU:  dumps most of the rest of the mathcursor
4123     implementation into cursor.[Ch]; "globalize" a bit of it.
4124
4125 2004-01-25  Angus Leeming  <leeming@lyx.org>
4126
4127         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
4128
4129 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
4130
4131         * LaTeXFeatures.h: add nice_ and nice() const
4132         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
4133
4134 2004-01-20  André Pönitz  <poenitz@gmx.net>
4135
4136         * BufferView.[Ch]:
4137         * BufferView_pimpl.C:
4138         * PosIterator.C:
4139         * bufferview_funcs.C:
4140         * cursor.[Ch]:
4141         * cursor_slice.[Ch]:
4142         * factory.C:
4143         * iterators.C:
4144         * lyx_cb.C:
4145         * lyxfind.C:
4146         * lyxfunc.C:
4147         * lyxtext.h:
4148         * rowpainter.C:
4149         * text.C:
4150         * text2.C:
4151         * text3.C:
4152         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
4153           LCursor and mathcursor parts to LCursor and InsetBase.
4154
4155 2004-01-15  André Pönitz  <poenitz@gmx.net>
4156
4157         * cursor_slice.[Ch]: add a few covienience functions
4158
4159         * funcrequest.[Ch]: remove BufferView * member
4160
4161         * BufferView_pimpl.C:
4162         * cursor.C:
4163         * factory.[Ch]:
4164         * lyxfind.[Ch]:
4165         * lyxfunc.C:
4166         * lyxtext.h:
4167         * text3.C:
4168         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
4169
4170 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
4171
4172         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
4173         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
4174
4175 2004-01-13  André Pönitz  <poenitz@gmx.net>
4176
4177         * textcursor.[Ch]:
4178         * lyxtext.h: hide cursor and selection anchor behind accessor function
4179
4180         * BufferView.C:
4181         * BufferView_pimpl.[Ch]:
4182         * PosIterator.C:
4183         * bufferview_funcs.C:
4184         * cursor.h:
4185         * lyxfind.C:
4186         * lyxfunc.C:
4187         * text.C:
4188         * text2.C:
4189         * text3.C:
4190         * undo.C: adjust
4191
4192         * cursor.h:
4193         * cursor_slice.[Ch]: some integer type changes for inset unification
4194
4195         * lyxcursor.[hC]: remove, it's CursorSlice now.
4196
4197         * Makefile.am:
4198         * BufferView_pimpl.[Ch]:
4199         * bufferview_funcs.C:
4200         * cursor_slice.C:
4201         * lyxtext.h:
4202         * text.C:
4203         * text2.C:
4204         * text3.C:
4205         * textcursor.[Ch]: adjust
4206
4207 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
4208
4209         * text2.C (undoSpan): add and use
4210         * text.C (breakParagraph): use undoSpan (fix bug 578)
4211         * lyxtext.h: adjust
4212
4213 2004-01-08  Angus Leeming  <leeming@lyx.org>
4214
4215         * BufferView_pimpl.C (MenuInsertLyXFile):
4216         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
4217         * lyxfunc.C (menuNew, open, doImport):
4218         FileFilterList change to the FileDialog open and save functions.
4219
4220 2004-01-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
4221
4222         * ShareContainer.h: make isEqual and isUnique adaptable
4223
4224         * CutAndPaste.C: make resetOwnerAndChanges adaptable
4225
4226 2004-01-07  Angus Leeming  <leeming@lyx.org>
4227
4228         * LyXAction.C:
4229         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
4230
4231         * BufferView_pimpl.C (dispatch): act on these LFUNs.
4232
4233         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
4234         functions replacing find, replace and replaceAll.
4235
4236         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
4237         LFUN_WORDFIND(FORWARD|BACKWARD).
4238
4239 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
4240
4241         * text.C (breakParagraph): remove an outdated #warning
4242
4243 2004-01-07  André Pönitz  <poenitz@gmx.net>
4244
4245         * lyxfind.C: somewhat clearer logic
4246
4247         * text.C: prevent crash in cursorX on unitialized row cache
4248
4249 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
4250
4251         * lyxcursor.[Ch] (operator>): add
4252         * textcursor.C (selStart, selEnd): use std::min and std::max
4253
4254 2004-01-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4255
4256         * Chktex.C: include boost/format.hpp
4257
4258 2004-01-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
4259
4260         * InsetList.C: replace functor MathcIt with adaptable functor
4261         InsetTablePosLess
4262         (insetIterator): modify accordingly
4263
4264         * BranchList.h: move the BranchNamesEqual functor here from...
4265         * BranchList.C: ... to here
4266
4267         * BranchList.C: new BranchListEqual fuctor, use it. Remove
4268         SameName and match.
4269         (add): replace a finding loop with std::find_if.
4270
4271 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
4272
4273         * output_docbook.C: moving LatexParam functionality into
4274         .layout files
4275
4276 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
4277
4278         * buffer.C: increment format to 229.
4279
4280 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
4281
4282         * LaTeXFeatures.C:
4283         * lyx_sty.[Ch]: remove minipageindent_def
4284
4285         * LyXAction.C:
4286         * factory.C:
4287         * lfuns.h:
4288         * lyxfunc.C:
4289         * text3.C: remove LFUN_INSET_MINIPAGE
4290
4291 2003-12-28  Angus Leeming  <leeming@lyx.org>
4292
4293         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
4294
4295 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
4296
4297         * text2.C (setParagraph): fix off-by-one crash
4298
4299 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
4300
4301         * output_docbook.C: header stuff for AGU
4302
4303 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
4304
4305         * text2.C (redoCursor): remove
4306         * text.C:
4307         * text3.C:
4308         * BufferView_pimpl.C: remove calls to redoCursor and
4309         setCursor(cursor.par(), cursor.pos()) all around
4310
4311 2003-12-15  Angus Leeming  <leeming@lyx.org>
4312
4313         * buffer.C: up the format to 228.
4314
4315 2003-12-15  André Pönitz  <poenitz@gmx.net>
4316
4317         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
4318         slices
4319
4320         * Makefile.am:
4321
4322         * BufferView_pimpl.C:
4323         * cursor.[Ch]:
4324         * lyxcursor.[Ch]:
4325         * rowpainter.[Ch]:
4326         * lyxtext.h:
4327         * text.C:
4328         * text2.C:
4329         * text3.C: adjust
4330
4331 2003-12-15  Angus Leeming  <leeming@lyx.org>
4332
4333         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
4334         than getFromGUIName to manipulate the color.
4335
4336 2003-12-14  Angus Leeming  <leeming@lyx.org>
4337
4338         * BranchList.[Ch]: minimize the API.
4339         (Branch::getBranch, getColor): now return a 'const &'.
4340         (Branch::setSelected) now returns a bool set to true if the
4341         selection status changes.
4342         (BranchList::clear, size, getColor, setColor, setSelected,
4343         allBranches, allSelected, separator): removed.
4344         (BranchList::find): new functions, returning the Branch with
4345         the given name.
4346         (BranchList::add, remove): return a bool indicating that
4347         the operation was successful.
4348
4349         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
4350         new InsetBranch::isBranchSlected member function.
4351
4352         * LColor.[Ch]: mimimize the API.
4353         (fill): renamed as addColor and made private.
4354         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
4355         versions of these functions taking a string arg have been removed.
4356
4357         * bufferparams.C (readToken):
4358         * lyxfunc.C (dispatch):
4359         * lyxrc.C (read): changes due to the altered BranchList and
4360         LColor APIs.
4361
4362         * factory.C (createInset, readInset): changes due to altered
4363         InsetBranch c-tor.
4364
4365 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
4366
4367         * factory.C:
4368         * lyxfunc.C: remove insetminipage. "minipage-insert"
4369         now produces a frameless minipage box inset.
4370
4371 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
4372
4373         * textcursor.[Ch] (selStart,selEnd): add new methods
4374         remove selection::start, end, use LyXCursor::operator<
4375         * lyxcursor.[Ch] (operator<): add
4376         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
4377         * BufferView.[Ch] (unsetXSel): add
4378         * text2.C (clearSelection): use unsetXSel,adjust
4379         * text.C: adjust
4380         * text3.C: adjust
4381         * rowpainter.C: adjust
4382         * bufferview_funcs.C (put_selection_at): adjust
4383
4384 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
4385
4386         * BufferView_pimpl.C: small coord. correction
4387
4388 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
4389
4390         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
4391         dragging over the splash screen.
4392
4393 2003-12-11  Angus Leeming  <leeming@lyx.org>
4394
4395         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
4396         as it is now handled in LyXText::dispatch.
4397
4398         * text3.C (doInsertInset): remove a level of nesting.
4399
4400 2003-12-11  Angus Leeming  <leeming@lyx.org>
4401
4402         * factory.C (createInset): changes due to the changed interface to
4403         InsetCommandMailer::string2params.
4404
4405 2003-12-10  Angus Leeming  <leeming@lyx.org>
4406
4407         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
4408         'dialog-show-new-inset <inset name>'
4409
4410 2003-12-10  Angus Leeming  <leeming@lyx.org>
4411
4412         * buffer.C: up the format to 227.
4413
4414         * factory.C: the box inset is now identified simply by 'Box'.
4415
4416 2003-12-10  Angus Leeming  <leeming@lyx.org>
4417
4418         * buffer.C: up the format to 226.
4419
4420         * factory.C: the note inset is now identified simply by 'Note'.
4421
4422 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
4423
4424         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
4425         when a pit is enough. Standarize a couple of loops.
4426
4427 2003-12-05  Angus Leeming  <leeming@lyx.org>
4428
4429         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
4430         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
4431         data to the re-worked "log" dialog.
4432
4433 2003-12-03  André Pönitz  <poenitz@gmx.net>
4434
4435         * PosIterator.C:
4436         * iterators.C:
4437         * lyxtext.h:
4438         * output_latex.C:
4439         * paragraph_funcs.C:
4440         * text.C:
4441         * text2.C: use Inset::getText instead of Inset::getParagraph
4442
4443 2003-12-03  André Pönitz  <poenitz@gmx.net>
4444
4445         * buffer.[Ch]:
4446         * lyxtext.h:
4447         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
4448         InsetText::read() as LyXText::read()
4449
4450 2003-12-02  Angus Leeming  <leeming@lyx.org>
4451
4452         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
4453         type. Add a comment in the implementation that the function uses
4454         the stream's bad() function rather than fail() as the std::streams
4455         would do.
4456
4457 2003-12-02  André Pönitz  <poenitz@gmx.net>
4458
4459         * lyxlex.[Ch]: make interface more similar to std::stream
4460
4461         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
4462
4463 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
4464
4465         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
4466
4467 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
4468
4469         * vspace.[Ch]: remove VSpace::NONE
4470
4471 2003-12-01  André Pönitz  <poenitz@gmx.net>
4472
4473         * buffer.[Ch]:
4474         * lyxtext.h: move ParagraphList member to LyXText
4475         rename LyXText::ownerParagraphs to LyXText::paragraph
4476
4477         * CutAndPaste.C:
4478         * bufferview_funcs.C:
4479         * iterators.[Ch]:
4480         * lyx_cb.C:
4481         * paragraph.C:
4482         * rowpainter.C:
4483         * tabular.C:
4484         * text.C:
4485         * text2.C:
4486         * text3.C: adjust
4487
4488         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
4489
4490         * undo.C: fix cursor positioning
4491
4492 2003-12-01  John Levon  <levon@movementarian.org>
4493
4494         * BufferView_pimpl.C: fix a crash on exit with
4495         a buffer open
4496
4497 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
4498
4499         * BranchList.C: fix setSelected() method.
4500
4501 2003-11-28  André Pönitz  <poenitz@gmx.net>
4502
4503         * ParagraphParameters.[Ch]:
4504         * ParameterStruct.h: remove space above/below from Paragraph to
4505          InsetVSpace
4506
4507         * BufferView_pimpl.C:
4508         * factory.C:
4509         * lyxfunc.C:
4510         * lyxtext.h:
4511         * output_latex.C:
4512         * paragraph.C:
4513         * paragraph_funcs.C:
4514         * rowpainter.[Ch]:
4515         * text.C:
4516         * text2.C:
4517         * text3.C: adjust
4518
4519 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
4520
4521         * factory.C: Syntax change for CharStyles
4522
4523 2003-11-28  André Pönitz  <poenitz@gmx.net>
4524
4525         * BufferView.[Ch]:
4526         * BufferView.[Ch]:
4527         * buffer.[Ch]:
4528         * buffer.[Ch]: move LyXText member
4529
4530 2003-11-28  André Pönitz  <poenitz@gmx.net>
4531
4532         * BufferView.[Ch]: make LyXText * text a private member
4533
4534         * BufferView_pimpl.C:
4535         * cursor.C:
4536         * iterators.C:
4537         * lyx_cb.C:
4538         * lyxfind.C:
4539         * lyxtext.h:
4540         * rowpainter.[Ch]:
4541         * text.C:
4542         * text2.C:
4543         * undo.C: adjust
4544
4545         * output_plaintext.C: cleanup
4546
4547 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
4548
4549         * buffer.C:
4550         * lyxtextclass.[Ch]: parametrize SGML document header
4551
4552 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
4553
4554         * converter.[Ch]:
4555         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
4556         getFlavor().
4557
4558 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
4559
4560         * text2.C (setFont): rework using PosIterator (no more recursive)
4561         (setCharFont): no more needed
4562         (setLayout): no more selection cursors fiddling (done by redoCursor)
4563         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
4564         destroy remaining ones)
4565
4566 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
4567
4568         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
4569         * lyxtext.h: ditto
4570         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
4571         selection cursors
4572         * lyxfunc.C: adjust
4573         * text3.C: adjust + re-allow multi par depth changes
4574         * textcursor.C: simplify a bit
4575
4576 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
4577
4578         * src/buffer.C:
4579         * src/lyxlayout.C:
4580         * src/lyxlayout.h:
4581         * src/lyxtext.h:
4582         * src/output_docbook.C:
4583         * src/output_latex.C:
4584         * src/paragraph.C:
4585         * src/paragraph.h:
4586         * src/sgml.C:
4587         * src/sgml.h:
4588         * src/text2.C: Introducing a number of tags parametrizing various
4589         XML formats that we may want to support
4590
4591 2003-11-25  André Pönitz  <poenitz@gmx.net>
4592
4593         * InsetList.[Ch] (begein, end): inline as suggested by profiler
4594
4595         * lyxtext.h (leftMargin/rightMargin): simplify interface
4596
4597         * rowpainter.C:
4598         * text.C:
4599         * text2.C:
4600         * text3.C: adjust
4601
4602 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
4603
4604         * lyxfunc.C (dispatch): propogate the bibtex databases from the
4605         master file to any child files. Fixes bug 546.
4606
4607 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
4608
4609         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
4610
4611 2003-11-24  André Pönitz  <poenitz@gmx.net>
4612
4613         * rowpainter.C: simplification
4614
4615         * text2.C (updateCounters): remove call to redoParagraph on
4616         changed labels as this is far too expensive.
4617
4618 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
4619
4620         * converter.C (convert): fix a crash: this function gets
4621         called with buffer == 0 from importer code.
4622
4623 2003-11-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4624
4625         * text3.C (cursorPrevious): make sure that we do not compare
4626         iterators form different containers.
4627         (cursorNext): ditto
4628
4629         * rowpainter.C (paintSelection): make sure that we do not compare
4630         iterators from different containers.
4631
4632         * text3.C (dispatch): [PRIOR] make sure that we do not compare
4633         iterators from different ParagraphList containers.
4634         [NEXT] ditto
4635
4636         * text2.C (LyXText): change order of initialization slightly
4637         (operator=): new function. copy all variables except cache_par_
4638         (moveUp): make sure that we do not compare iterators from
4639         different ParagraphList constainers.
4640         (moveDown): ditto
4641
4642         * text.C (firstPar): new function
4643         (lastPar): new function
4644         (endPar): new function
4645
4646         * lyxtext.h: move things around and group public functions, public
4647         variables, private functions, private variables
4648
4649 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
4650
4651         * factory.C: change call to InsetERT constructor to avoid
4652         additional invocation of method status
4653         * text2.C (toggleInset): remove redundant update() call
4654         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
4655         instead of a Bufferview pointer
4656
4657 2003-11-21  André Pönitz  <poenitz@gmx.net>
4658
4659         * rowpainter.C: simplification
4660
4661 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
4662
4663         * text3.C (dispatch): make possible to extend a word/row selection
4664         with the mouse
4665
4666 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
4667
4668         * lyxtext.h: x0_,y0_ -> xo_,yo_
4669         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
4670         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
4671         * rowpainter.C (paintRows): paint full paragraphs
4672
4673 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
4674
4675         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
4676         screen coordinates)
4677
4678 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
4679
4680         * lyxtext.h: add x0_, y0_
4681         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
4682         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
4683
4684 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
4685
4686         * text2.C (setCursorIntern): move the x_target update here *
4687         * text3.C: change some bv() to true/false in calls to
4688         cursorUp/Down/Right/Left
4689         * cursor.C: use helper function.
4690
4691 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
4692
4693         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
4694         * paragraph_funcs.[Ch]: correct comment
4695         * rowpainter.C: do not paint selections away from bv->cursor()
4696         Fix a long standing selection painting bug.
4697         * text3.C: generalize mouse-selection code to LyXTexts other that
4698         top one
4699         * textcursor.C: do not use y coords if we can use par offsets
4700
4701 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
4702
4703         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
4704         cursor position after e.g. inset insert)
4705
4706 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
4707
4708         * lyxfind.C (replace): adjust to locking removal + some
4709         code simplification
4710
4711 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
4712
4713         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
4714         of the path
4715
4716 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
4717
4718         * lyxlayout.[Ch]:
4719         * output_docbook.C: XML sanitation: new layout
4720         parameters InnerTag and CommandDepth
4721
4722 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
4723
4724         * BufferView_pimpl.C:
4725         * factory.C:
4726         * text3.C: Fix the insertion and modification of button-style
4727         insets
4728
4729 2003-11-13  André Pönitz  <poenitz@gmx.net>
4730
4731         * InsetList.[Ch]: remove deleteLyXText
4732
4733         * paragraph.[Ch]: cache beginOfBody position
4734
4735         * Bidi.C:
4736         * text.C:
4737         * text2.C:
4738         * text3.C: remove superfluous update() calls
4739
4740         * vspace.C: cleanup
4741
4742 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
4743
4744         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
4745         * BufferView.C (fitLockedInsetCursor): remove
4746         * cursor.[Ch] (getDim): add
4747         * text.C (getRowNearY): add faster version
4748         * text3.C: remove some update calls
4749
4750 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
4751
4752         * LaTeXFeatures.C:
4753         * LyXAction.C:
4754         * MenuBackend.C:
4755         * MenuBackend.h:
4756         * dispatchresult.h:
4757         * factory.C:
4758         * lfuns.h:
4759         * lyxfunc.C:
4760         * lyxtextclass.C:
4761         * lyxtextclass.h:
4762         * text3.C: The Character Style /XML short element patch.
4763
4764 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
4765
4766         * text3.C:
4767         * factory.C: Small step to solving 'unable to insert some insets'
4768         problem
4769
4770 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
4771
4772         * cursor.[Ch] (updatePos): new function for updating the y
4773         position of the tip inset
4774         * bufferview_funcs.C (put_selection_at):
4775         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
4776
4777 2003-11-11  André Pönitz  <poenitz@gmx.net>
4778
4779         * text.C: remove big comment on invalid Paragraph pointers as it is
4780         not valid anymore
4781
4782 2003-11-11  André Pönitz  <poenitz@gmx.net>
4783
4784         * text_funcs.[Ch]: merge with ...
4785
4786         * text.C: ... this
4787
4788         * lyxtext.h:
4789         * text2.C:
4790         * text3.C: adjust
4791
4792         * Makefile.am: remove text_funcs.[Ch]
4793
4794 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
4795
4796         * cursor.C (getPos): return absolute cached y coord
4797
4798         * BufferView_pimpl.C (fitCursor): new simplistic code
4799         (workAreaDispatch): add a fitCursor call
4800
4801 2003-11-10  André Pönitz  <poenitz@gmx.net>
4802
4803         * BufferView.[Ch]:
4804         * BufferView_pimpl.[Ch]: merge update() and updateInset()
4805
4806 2003-11-10  André Pönitz  <poenitz@gmx.net>
4807
4808         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
4809         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
4810         indicate that the cursor needs to leave an inset
4811
4812         * lyxtext.h: remove inset locking
4813
4814         * cursor.[Ch]: re-implement functionality provided by inset locking
4815
4816         * BufferView.[Ch]:
4817         * BufferView_pimpl.[Ch]:
4818         * LyXAction.C:
4819         * bufferview_funcs.[Ch]:
4820         * factory.C:
4821         * funcrequest.[Ch]:
4822         * iterators.C:
4823         * lyx_cb.C:
4824         * lyxfind.C:
4825         * lyxfunc.C:
4826         * text.C:
4827         * text2.C:
4828         * text3.C:
4829         * undo.C: adjust
4830
4831 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
4832
4833         * PosIterator.[Ch]: replace the stack with a vector, add inset
4834         accesor
4835         * iterators.[C]: adjust
4836
4837 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
4838
4839         * lyxfind.C (replaceAll): mark the buffer dirty if something was
4840         replaced
4841         * paragraph_funcs.C (readParToken): put the correct id in the
4842         error item, not the id of the top paragraph
4843
4844 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
4845
4846         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
4847         * bufferview_funcs.C (put_selection_at): use the above
4848
4849 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
4850
4851         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
4852
4853 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4854
4855         * output_linuxdoc.h:
4856         * output_plaintext.h:
4857         * output.h:
4858         * output_docbook.h: add #include statements
4859
4860 2003-11-05  José Matos  <jamatos@lyx.org>
4861
4862         * output_docbook.[Ch]:
4863         * output_latex.[Ch]:
4864         * output_linuxdoc.[Ch]:
4865         * output_plaintext.[Ch]: New files for output formats.
4866         * output.[Ch]: New file for helper functions.
4867
4868         * buffer.[Ch]:
4869         * paragraph_funcs.[Ch]: output functions moved to new files.
4870
4871         * outputparams.h: rename of latexrunparams.h
4872
4873         * LaTeX.[Ch]:
4874         * buffer.[Ch]:
4875         * bufferlist.[Ch]:
4876         * converter.[Ch]:
4877         * exporter.C:
4878         * paragraph.[Ch]:
4879         * paragraph_funcs.[Ch]:
4880         * paragraph_pimpl.[Ch]:
4881         * tabular.[Ch]: rename ascii to plaintext
4882         and LatexRunParams to OutputParams.
4883
4884 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
4885
4886         * iterators.[Ch] (text): require bv argument
4887         * undo.C (recordUndo):
4888         * lyxfunc.C (dispatch):
4889         * bufferview_funcs.C (put_selection_at): adjust
4890
4891 2003-11-05  Jo� Luis M. Assirati  <assirati@fma.if.usp.br>
4892
4893         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
4894
4895 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
4896
4897         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
4898         nestings
4899
4900 2003-11-04  André Pönitz  <poenitz@gmx.net>
4901
4902         * cursor.[Ch]: restructure
4903
4904         * BufferView.[Ch]:
4905         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
4906
4907         * iterators.[Ch] (asCursor): remove
4908
4909         * lfuns.h: remove LFUN_INSET_EDIT
4910
4911         * lyxfunc.C:
4912         * tabular.C:
4913         * text.C:
4914         * text2.C:
4915         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
4916
4917 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4918
4919         * lyxfind.[Ch]: complete overhaul
4920         * BufferView_pimpl.C:
4921         * lyxfunc.C: adjust
4922         * paragraph.[Ch] (insert): add
4923
4924 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4925
4926         * BufferView.[Ch]:
4927         * lyxtext.h:
4928         * text.C: remove dead spellcheck code
4929
4930 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
4931
4932         * dispatchresult.h: add a val setter
4933
4934         * cursor.C (dispatch): use a tempvar for data_[i]
4935
4936 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4937
4938         * PosIterator.[Ch]: compile fix
4939
4940 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4941
4942         * text.C (cursorPar): deactivate the cursor cache
4943
4944 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
4945
4946         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
4947
4948 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4949
4950         * text3.C (dispatch): adjust for new DisptchResult semantics.
4951
4952         * lyxfunc.C (dispatch): handle update when return from
4953         Cursor::dispatch, adjust for new DispatchResult semantics.
4954
4955         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
4956         DispatchResult(true) mean to not update. Add class functions for
4957         setting dispatched and update, as well as reading.
4958
4959         * cursor.C (dispatch): don't handle update here
4960
4961 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4962
4963         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
4964         * trans_mgr.C: adjust
4965
4966         * paragraph_funcs.C (readParToken): exception safety
4967
4968         * lyxvc.h: store the vcs pointer in a scoped_ptr
4969         * lyxvc.C: adjust
4970
4971         * lyxsocket.C (serverCallback): exception safety
4972
4973         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
4974
4975         * ispell.C (clone): make it return a auto_ptr
4976
4977         * factory.C (createInset): exception safety
4978         (readInset): exception safety
4979
4980         * bufferlist.C (newBuffer): exception safety
4981
4982         * Thesaurus.C (Thesaurus): use initialization for aik_
4983
4984         * MenuBackend.C (expandToc): exception safety.
4985
4986 2003-11-03  André Pönitz  <poenitz@gmx.net>
4987
4988         * buffer.C:
4989         * buffer.h:
4990         * bufferview_funcs.C: remove getInsetFromId()
4991
4992         * lyxcursor.[Ch]:
4993         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
4994
4995         * lyxfunc.C:
4996         * text2.C:
4997         * text3.C: adjust
4998
4999 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
5000
5001         * PosIterator.C (distance, advance): new
5002         * bufferview_funcs.[Ch] (put_selection_at): new
5003         * iterators.[Ch] (lockPath): new
5004
5005 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
5006
5007         * iterators.[Ch] (asPosIterator): added
5008         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
5009         * PosIterator.[Ch]: added
5010
5011 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5012
5013         * text3.C:
5014         * lyxfunc.C:
5015         * cursor.C (dispatch):
5016         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
5017
5018         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
5019         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
5020         contructor, add a class function dispatched. Remove operator>=
5021
5022 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5023
5024         * debug.C: only use the default constructor for debugstream
5025         (lyxerr) here.
5026
5027         * main.C (main): include debug.h and setup the lyxerr streambuf
5028         here.
5029
5030 2003-10-31  José Matos  <jamatos@lyx.org>
5031
5032         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
5033
5034         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
5035         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
5036         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
5037         * paragraph_pimpl.C (simpleTeXSpecialC):
5038         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
5039         add LatexRunParams argument.
5040
5041         * exporter.C (Export): change call accordingly.
5042
5043         * latexrunparams.h: add new member to take care of the other backends.
5044 2003-10-30  José Matos  <jamatos@lyx.org>
5045
5046         * buffer.C (makeLinuxDocFile, makeDocBookFile):
5047         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
5048         factorise code for paragraph output.
5049         * buffer.[Ch]:
5050         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
5051         move functions.
5052
5053 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5054
5055         * text3.C (dispatch):
5056         * lyxfunc.C (dispatch):
5057         * cursor.C (dispatch):
5058         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
5059
5060         * dispatchresult.h: make the dispatch_result_t ctor explicit
5061
5062 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
5063
5064         * sgml.[Ch]:
5065         * buffer.C: small refactoring of docbook stuff
5066
5067 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5068
5069         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
5070         meaning.
5071
5072 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5073
5074         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
5075         operator dispatch_result_t, and operators for == != and >=
5076
5077         * cursor.C (dispatch): adjust for operator dispatch_result_t
5078         removal. comment out call to update
5079
5080         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
5081
5082 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5083
5084         * text3.C:
5085         * text2.C:
5086         * text.C:
5087         * lyxtext.h:
5088         * lyxfunc.C:
5089         * cursor.C:
5090         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
5091         (dispatch):
5092
5093         * dispatchresult.h: new file, DispatchResult broken out of
5094         insets/insetbase.h
5095
5096         * Makefile.am (lyx_SOURCES): add dispatchresult.h
5097
5098 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
5099
5100         * text.C (rowBreakPoint): put a hack inside #if 0
5101
5102 2003-10-28  André Pönitz  <poenitz@gmx.net>
5103
5104         * lyxtext.h:
5105         * metricsinfo.C:
5106         * paragraph_funcs.C:
5107         * rowpainter.C:
5108         * text.C:
5109         * text2.C: general cleanup (lots of small stuff)
5110
5111 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
5112
5113         * text2.C (cursorEnd): simple fix to the "end key goes to one
5114         before the end on last row" bug
5115
5116 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
5117
5118         * text.C (backspace): fix the "zombie characters"
5119
5120 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
5121
5122         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
5123
5124 2003-10-27  André Pönitz  <poenitz@gmx.net>
5125
5126         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
5127
5128         * factory.C: handle new InsetPagebreak, InsetLine
5129
5130         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
5131         and move handling into new InsetPagebreak, InsetLine
5132
5133         * BufferView_pimpl.C:
5134         * LyXAction.C:
5135         * ParagraphParameters.C:
5136         * ParameterStruct.h:
5137         * lyxfunc.C:
5138         * lyxtext.h:
5139         * paragraph.C:
5140         * paragraph.h:
5141         * paragraph_funcs.C:
5142         * paragraph_pimpl.C:
5143         * rowpainter.C:
5144         * text.C:
5145         * text2.C:
5146         * text3.C: adjust
5147
5148 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
5149
5150         * text.C:
5151         * lyxrow_funcs.[Ch]:
5152         * Bidi.C:
5153         * paragraph.C:
5154         * lyxtext.h:
5155         * rowpainter.C:
5156         * text2.C:
5157         * text3.C: remove lastPos uses in favour of Row::endpos
5158
5159 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
5160
5161         * undo.C (performUndoOrRedo): fix two crashes by setting a
5162         cursor by hand and reordering some calls. Use bv->lockInset instead
5163         of inset->edit because the latter loses cursor information
5164
5165 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
5166
5167         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
5168         by Martin
5169         (rowBreakPoint): fix width. change point to point + 1.
5170         Add a missing check.
5171
5172 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
5173
5174         * MenuBackend.C:
5175         * lyxfunc.C: fix (at least partly) the problems
5176         with the Nav menu and headers inside branch insets
5177         reported by Kayvan
5178
5179 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
5180
5181         * paragraph.C (getChar): add strong asserts
5182
5183         * lyxrow_funcs.C (lastPos): remove hideous hack
5184
5185         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
5186         (fill): adjust to that (avoid an infinite loop)
5187
5188 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
5189
5190         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
5191
5192 2003-10-23  André Pönitz  <poenitz@gmx.net>
5193
5194         * RowList_fwd.h: change list<> to vector<> to gain speed
5195         after suggestion from Alfredo
5196
5197 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
5198
5199         * lyxtext.h: move the bidi stuff from here...
5200         * text.C: and here
5201         * text2.C: and here
5202         * Bidi.[Ch]: ... to here
5203
5204 2003-10-23  André Pönitz  <poenitz@gmx.net>
5205
5206         * lyxtext.h:
5207         * text.C (isLastRow, isFirstRow): new functions
5208
5209         * paragraph.h: new width cache member
5210
5211         * rowpainter.C: replace RowList::iterator with Row & where possible
5212
5213         * lyxfunc.C: replace several view()->text with a single call
5214
5215         * toc.C: fix 'unused' warning
5216
5217 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
5218
5219         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
5220         when woring with stream::pos_type
5221         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
5222
5223 2003-10-22  André Pönitz  <poenitz@gmx.net>
5224
5225         * lyxtext.h:
5226         * text.C: use Row & instead of RowList::iterator
5227
5228         * lyxrow.h: rename end() to endpos()
5229
5230         * rowpainter.C:
5231         * text.C:
5232         * text2.C: adjust
5233
5234 2003-10-22  Angus Leeming  <leeming@lyx.org>
5235
5236         * buffer.[Ch] (fully_loaded): new member function, returning true
5237         only when the file has been loaded fully.
5238         Used to prevent the premature generation of previews and by the
5239         citation inset to prevent computation of the natbib-style label.
5240
5241         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
5242         templates are all set up.
5243
5244         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
5245
5246 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
5247
5248         * text.C: fixed an "oops" in the "is a bit silly"
5249         bug fix
5250
5251 2003-10-21  André Pönitz  <poenitz@gmx.net>
5252
5253         * FuncStatus.[Ch]: small stuff, whitespace
5254
5255         * lyxfont.[Ch]: operator<<() for debug reasons
5256
5257         * lyxfunc.C:
5258         * lyxrow_funcs.C:
5259         * lyxtext.h: whitespace, spelling
5260
5261         * paragraph.C: naming of variables
5262
5263         * text.C:
5264         * text2.C: small stuff
5265
5266
5267 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
5268
5269         * text.C: (1) finish off the inset display() work;
5270         (2) fix the "is a bit silly" bug (accessing char
5271         past end of par).
5272
5273 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
5274
5275         * text.C: re-introduce display() for insets, fixing the
5276         various bugs (stretch of line above, math inset
5277         positioning, ...)
5278
5279 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5280
5281         * text.C (rightMargin): remove spurious semicolon
5282
5283         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
5284         1415)
5285
5286 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
5287
5288         * text3.C: fix one crash due to wrong cursor def
5289
5290 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
5291
5292         * vc-backend.C (scanMaster): make the regex static
5293
5294         * LaTeX.C (scanAuxFile): make the regexs static
5295
5296         * text3.C (doInsertInset, dispatch, dispatch):
5297         * text2.C (cursorUp, cursorDown):
5298         * text.C (selectNextWordToSpellcheck):
5299         * BufferView_pimpl.C (dispatch):
5300         * lyxfunc.C (dispatch):  localDispatch -> dispatch
5301
5302 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5303
5304         * lyxsocket.C: include <cerrno>
5305
5306 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
5307
5308         * lyxfunc.C (dispatch): remove textcache stuff
5309
5310         * bufferlist.C (release): remove textcache stuff
5311         (closeAll): ditto
5312
5313         * TextCache.C: delete file
5314         * TextCache.h: delete file
5315
5316         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
5317
5318         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
5319         delete of the bv_->text.
5320         (resizeCurrentBuffer): remove texcache stuff
5321         (workAreaResize): ditto
5322
5323 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5324
5325         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
5326         action.
5327
5328 2003-10-16  André Pönitz  <poenitz@gmx.net>
5329
5330         * lyxrow.[Ch]:
5331         * paragraph.h:
5332         * rowpainter.C:
5333         * text.C:
5334         * text2.C:
5335         * text3.C: speed up by storing y positions per paragraph plus per-row
5336         offset instead of having a 'full' y position in the row.
5337
5338 2003-10-15  André Pönitz  <poenitz@gmx.net>
5339
5340         * iterators.[Ch]:
5341         * iterators.[Ch]:
5342         * undo.[Ch]: make undo aware of inner insets
5343
5344 2003-10-14  Angus Leeming  <leeming@lyx.org>
5345
5346         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
5347         static member functions LyX::ref() and LyX::cref.
5348         (lastfiles): new accessor functions for the new lastfiles_ member var.
5349         (addLyXView, views_): add a new LyXView to the list of views_.
5350         (updateInset): loop over all LyXViews to call their own updateInset
5351         member function, returning a pointer to the Buffer owning the inset.
5352
5353         * BufferView_pimpl.C (loadLyXFile):
5354         * MenuBackend.C (expandLastfiles):
5355         * bufferlist.C (MenuWrite, QuitLyX):
5356         lastfiles is no longer a global variable.
5357         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
5358
5359         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
5360         static function. Access through LyX::cref().emergencyCleanup().
5361
5362 2003-10-14  André Pönitz  <poenitz@gmx.net>
5363
5364         * iterators.[Ch]: new direct access to innermost LyXText and Inset
5365
5366         * undo.[Ch]: restoring part of 'undo in insets'
5367
5368         * Makefile.am:
5369         * undo_funcs.[Ch]: merge with undo.[Ch]
5370
5371         * tabular.C: small cleansing stuff
5372
5373 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
5374
5375         * paragraph_funcs.C (readParToken): report unknown insets as error
5376         boxes. Use the outer paragraph as location (also for unknown
5377         tokens).
5378
5379         * factory.C (readInset): do not abort on reading an unknown inset.
5380         Eat it and return 0.
5381
5382 2003-10-13  Angus Leeming  <leeming@lyx.org>
5383
5384         * lyx_main.C (LyX): remove call to setDisplayTranslator().
5385
5386         * lyxrc.C: displayTranslator is now a function,
5387         declared in GraphicsTypes.h.
5388
5389 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
5390
5391         * format.C: new placeholder $$a to pass the socket address.
5392
5393         * bufferlist.[Ch]: new function getBufferFromTmp.
5394
5395         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
5396           files in the temporary dir.
5397
5398 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
5399
5400         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
5401
5402         * Makefile.am: add lyxsocket.[Ch].
5403
5404         * lyx_main.C (error_handler): handle SIGPIPE.
5405
5406 2003-10-13  André Pönitz  <poenitz@gmx.net>
5407
5408         * BufferView_pimpl.C:
5409         * lyxtext.h:
5410         * text.C:
5411         * text2.C:
5412         * text3.C:
5413         * undo_funcs.[Ch]: use paroffset_type instead of
5414           ParagraphList::iterators to prevent multiple conversion
5415           (and get a more robust interface)
5416
5417 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5418
5419         * lyxfunc.C (dispatch): RESULT -> dispatch_result
5420         * lyxtext.h: ditto
5421         * text3.C (dispatch): ditto
5422
5423 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5424
5425         * LaTeX.C (handleFoundFile): move the static to smaller scope,
5426         move the onlyfile, use onlyfile instead of foundfile in a couple
5427         of places.
5428
5429         * DepTable.C (update): flush the error stream a bit more
5430
5431 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5432
5433         * lyxserver.C (callback): adjust
5434
5435         * lyxfunc.C (getStatus): add a missing brace in commented code
5436         (ensureBufferClean): reindent
5437         (dispatch): delete version taking a string
5438
5439 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
5440
5441         * LaTeX.C (deplog): move found file handlig from here...
5442         (handleFoundFile): .. to new function here.
5443         (deplog): make sure to discover several files mentioned on the
5444         same log line.
5445
5446 2003-10-10  André Pönitz  <poenitz@gmx.net>
5447
5448         * lyxfunc.C:
5449         * lyxtext.h:
5450         * tabular.C:
5451         * text.C:
5452         * text2.C:
5453         * text3.C: fix some of the tabular crashes
5454
5455 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
5456
5457         * MenuBackend.C (binding): put debug message into Debug::KBMAP
5458
5459         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
5460
5461 2003-10-09  André Pönitz  <poenitz@gmx.net>
5462
5463         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
5464
5465         * BufferView.C:
5466         * BufferView_pimpl.C:
5467         * bufferview_funcs.C:
5468         * lyx_cb.C:
5469         * lyxcursor.C:
5470         * lyxfind.C:
5471         * lyxfunc.C:
5472         * lyxtext.h:
5473         * text.C:
5474         * text2.C:
5475         * text3.C:
5476         * text_funcs.[Ch]:
5477         * textcursor.[Ch]:
5478         * undo_funcs.C: adjust
5479
5480 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5481
5482         * text2.C (incrementItemDepth): new function, use a backtracking
5483         algorithm to discover the correct item depth.
5484         (resetEnumCounterIfNeeded): new function, use a backtracking
5485         algorithm to discover if counter reset is needed.
5486         (setCounter): use them. Simplify a bit. Add different labels for
5487         different item depths for itemize.
5488
5489         * paragraph.C (Paragraph): remove initialization of enumdepth
5490         (operator=): ditto
5491
5492         * paragraph.h: get rid of enumdepth, and use itemdepth both for
5493         enumerate and itemize. Change the type of itemdepth to signed char.
5494
5495 2003-10-08  André Pönitz  <poenitz@gmx.net>
5496
5497         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
5498           thing assignable.
5499         * text.C:
5500         * text2.C: adjust
5501
5502         * tabular.[Ch]: fix crash after 'row-insert'
5503
5504 2003-10-08  Angus Leeming  <leeming@lyx.org>
5505
5506         Fix doxygen warnings.
5507
5508         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
5509         Remove CutAndPaste:: prefix from header file declaration.
5510
5511         * LColor.h (fill): remove LColor:: prefix from declaration.
5512
5513         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
5514         use lyx::depth_type rather than Paragraph::depth_type so that
5515         header file and .C file match.
5516
5517         * converter.h (intToFormat): remove Converters:: prefix from declaration.
5518
5519         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
5520         * aspell.C: \file aspell_local.C -> \file aspell.C
5521         * gettext.C: \file gettext.C -> \file src/gettext.C
5522         * gettext.h: \file gettext.h -> \file src/gettext.h
5523         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
5524         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
5525         * text.C: \file text.C -> \file src/text.C
5526
5527         * toc.C: move comment so that doxygen is not confused.
5528
5529 2003-10-07  Angus Leeming  <leeming@lyx.org>
5530
5531         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
5532
5533 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
5534
5535         * aspell.C:
5536         * aspell_local.h: add forgotten std::string's.
5537
5538 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
5539
5540         * LaTeXFeatures.C:
5541         * LyXAction.C:
5542         * factory.C:
5543         * lfuns.h:
5544         * lyxfunc.C:
5545         * text3.C: The Box patch. Fancybox support, minipage, parbox
5546
5547 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
5548
5549         * CutAndPaste.h:
5550         * DepTable.h:
5551         * FloatList.h:
5552         * LaTeXFeatures.h:
5553         * ParagraphParameters.h:
5554         * TextCache.h:
5555         * Thesaurus.h:
5556         * bufferlist.h:
5557         * exporter.h:
5558         * importer.h:
5559         * lastfiles.h:
5560         * lyxfind.h:
5561         * lyxfont.h:
5562         * lyxlex.h:
5563         * lyxtextclasslist.h:
5564         * messages.h:
5565         * paragraph.h:
5566         * paragraph_pimpl.C:
5567         * textcursor.h: add <string> and other small fixes to make Lars'
5568         std::string patch compile with STLport.
5569
5570 2003-10-06  Angus Leeming  <leeming@lyx.org>
5571
5572         * LColor.h: Add missing #include <string>.
5573
5574 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5575
5576         * All most all file in all subdirs: Make <string> be the prefered
5577         way of getting to std::string, add using declarations.
5578
5579 2003-10-06  André Pönitz  <poenitz@gmx.net>
5580
5581         * metricsinfo.C: initialize LyXFont before changing attribute.
5582         (fixes the 'math in \emph is upright' bug)
5583
5584 2003-10-06  André Pönitz  <poenitz@gmx.net>
5585
5586         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
5587
5588 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
5589
5590         * graph.C:
5591         * paragraph_pimpl.C: Small fixes to build using STLport
5592
5593 2003-10-02  André Pönitz  <poenitz@gmx.net>
5594
5595         * lyxfunc.C:
5596         * text3.C: move handling of LFUN_DEPTH *; fix #1360
5597
5598 2003-10-01  André Pönitz  <poenitz@gmx.net>
5599
5600         * factory.C: assert early
5601
5602 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
5603
5604         * lyx_main.C: remove the global debug object
5605
5606         * debug.h: adjust for new debugstream
5607
5608         * debug.C: adjust for new debugstream and keep the global debug
5609         object here.
5610
5611 2003-09-22  Angus Leeming  <leeming@lyx.org>
5612
5613         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
5614         of g++ which otherwise complain that the scoped_ptr destructor can't delete
5615         an incomplete class LyXFont.
5616
5617 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
5618
5619         * factory.C: bug fix in branches
5620
5621 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5622
5623         * lyxfunc.C (processKeySym): adjust
5624         (dispatch): adjust
5625         (dispatch): change arg name from ev to func, adjust
5626         (sendDispatchMessage): ditto
5627
5628         * lyx_main.C (defaultKeyBindings): adjust keybindings
5629         (deadKeyBindings): ditto
5630
5631         * kbsequence.C (addkey): return a FuncRequest
5632
5633         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
5634
5635         * kbmap.C (bind): take a FuncRequest as arg, adjust
5636         (read): adjust
5637         (lookup): adjust
5638         (defkey): change to take a FuncRequest as arg, adjust
5639         (findbinding): take a FuncRequest as arg, adjust.
5640
5641         * funcrequest.h (operator=): added
5642
5643         * funcrequest.C (FuncRequest): default kb_action changed from
5644         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
5645
5646         * buffer.C (dispatch): simplify
5647         (dispatch): adjust to take a FuncRequest as arg, adjust
5648
5649         * boost.C (assertion_failed): change assertion message slightly
5650
5651         * ToolbarBackend.C (read): simplify
5652
5653         * MenuBackend.C (binding): adjust call to findbinding, add a
5654         message if no binding is found.
5655         (read): simplify
5656         (expandToc): correct by adding a empty FuncRequest
5657
5658         * LyXAction.C: include <boost/assert.hpp>
5659         (isPseudoAction): delete function
5660         (LookupFunc): change name to...
5661         (lookupFunc): this. change return type to FuncRequest.
5662         (getActionName): take kb_action as arg, simplify
5663         (funcHasFlag): add an assert, simplify.
5664
5665 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
5666
5667         * toc.C (action): return a FuncRequest, simplify
5668
5669         * lyxfunc.C (processKeySym): adjust
5670         (getStatus): delete version that takes an int.
5671         (getStatus): adjust
5672         (dispatch): delete version that takes action as int
5673         (dispatch): adjust
5674         (sendDispatchMessage): simplify and adjust
5675
5676         * funcrequest.C (getArg): take unsigned int as arg
5677
5678         * ToolbarBackend.C (read): adjust
5679         (add): delete version that takes func as a string.
5680         (getIton): take a FuncRequest as arg
5681
5682         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
5683         action.
5684
5685         * MenuBackend.C (MenuItem): add a new construct that only takes a
5686         Kind, simplify the constructor use for submenus.
5687         (add): adjust
5688         (expandLastfiles): adjust
5689         (expandDocuments): adjust
5690         (expandFormats): adjust
5691         (expandFloatListInsert): adjust
5692         (expandFloatInsert): adjust
5693         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
5694
5695         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
5696         Remove class variables lyx_pseudo_map and lyx_arg_map
5697
5698         * LyXAction.C (searchActionArg): delete function
5699         (getPseudoAction): delete function
5700         (retrieveActionArg): delete function
5701         (LookupFunc): make it return kb_action, simplify.
5702         (getActionName): simplify
5703
5704         * factory.C (createInset): fix new bug
5705
5706 2003-09-19  Angus Leeming  <leeming@lyx.org>
5707
5708         * CutAndPaste.C (pasteSelection): remove fudge used to set the
5709         masterFilename_ parameter in the include inset.
5710
5711         * factory.C (createInset): changes due to the changes to InsetInclude.
5712
5713 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5714
5715         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
5716
5717 2003-09-18  Angus Leeming  <leeming@lyx.org>
5718
5719         * buffer.C:
5720         * BufferView.C: pass the buffer when calling Inset::getLabelList,
5721         Inset::fillWithBibKeys.
5722         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
5723
5724 2003-09-18  Angus Leeming  <leeming@lyx.org>
5725
5726         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
5727         variables.
5728         (ctor): pass and store a 'Buffer const &'
5729         (buffer): new member function.
5730
5731         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
5732         '*this' to the LaTeXFeatures ctor.
5733
5734 2003-09-18  Angus Leeming  <leeming@lyx.org>
5735
5736         * LColor.h:
5737         * lyxfont.C:
5738         * lyxfont.h:
5739         * lyxtext.h:
5740         * text.C: rename EnumLColor as LColor_color.
5741
5742 2003-09-18  Angus Leeming  <leeming@lyx.org>
5743
5744         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
5745         remove #include "insets/insetbase.h" from cursor.h.
5746
5747 2003-09-18  Angus Leeming  <leeming@lyx.org>
5748
5749         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
5750         InsetOld_code to remove #include "inset.h".
5751
5752         * iterators.C: add #include "insets/inset.h"
5753
5754 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
5755
5756         * BufferView.C: remove more locking stuff that apparently doesn't
5757         do anything sensible.
5758
5759 2003-09-16  André Pönitz  <poenitz@gmx.net>
5760
5761         * paragraph.[Ch]:
5762         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
5763           performance boost.
5764
5765 2003-09-16  Angus Leeming  <leeming@lyx.org>
5766
5767         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
5768
5769         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
5770         arg/return type.
5771
5772         * paragraph.h: remove #include "lyxfont.h". Forward declare
5773         LyXFont_size.
5774
5775 2003-09-16  Angus Leeming  <leeming@lyx.org>
5776
5777         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
5778         of support/textutils.h.
5779         (isWord): move the contents of support/textutils.h's IsWordChar here.
5780
5781         * buffer.C:
5782         * lyxfind.C:
5783         * rowpainter.C:
5784         * text.C:
5785         * text2.C: add #include "paragraph.h".
5786
5787         * rowpainter.C:
5788         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
5789
5790 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5791
5792         * main.C:
5793         * lyx_main.C:
5794         * lyx_cb.C:
5795         * buffer.C:
5796         * LaTeX.C: use namespace alias for lyx::support::os
5797
5798 2003-09-16  Angus Leeming  <leeming@lyx.org>
5799
5800         * bufferparams.C:
5801         * bufferview_funcs.C:
5802         * factory.C:
5803         * lyxfunc.C:
5804         * paragraph_pimpl.C:
5805         * rowpainter.C:
5806         * text.C: add #include "LColor.h".
5807
5808 2003-09-16  Angus Leeming  <leeming@lyx.org>
5809
5810         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
5811         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
5812         return LyXFont &.
5813         Store the FontBits::color variable as an int rather than as an
5814         LColor::colorso that we can move LColor.h out of the lyxfont.h header
5815         file.
5816
5817         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
5818         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
5819         string calls together.
5820
5821         * lyxrc.C: add #include "LColor.h".
5822
5823 2003-09-15  Angus Leeming  <leeming@lyx.org>
5824
5825         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
5826         a cow_ptr.
5827
5828 2003-09-15  Angus Leeming  <leeming@lyx.org>
5829
5830         * LColor.h: add an EnumLColor wrapper for LColor::color.
5831
5832         * lyxfont.[Ch] (color, setColor, realColor):
5833         * lyxtext.h, text.C (backgroundColor):
5834         pass EnumLColor args to/from the functions, rather than LColor::color
5835         ones.
5836
5837         * lyxfont.h:
5838         * lyxtext.h: forward declare EnumLColor.
5839
5840         * lyx_main.C: add #include "LColor.h".
5841
5842 2003-09-15  Angus Leeming  <leeming@lyx.org>
5843
5844         * .cvsignore: add lyx-gtk.
5845
5846 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5847
5848         * Chktex.C
5849         * LaTeX.C
5850         * LaTeXFeatures.C
5851         * ParagraphParameters.C
5852         * Spacing.C
5853         * buffer.C
5854         * bufferparams.C
5855         * bufferview_funcs.C
5856         * chset.C
5857         * counters.C
5858         * funcrequest.C
5859         * lyxfont.C
5860         * lyxgluelength.C
5861         * lyxlength.C
5862         * paragraph.C
5863         * paragraph_funcs.C
5864         * text3.C
5865         * vc-backend.C: remove usage of STRCONV
5866
5867 2003-09-15  Angus Leeming  <leeming@lyx.org>
5868
5869         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
5870         explicitly define the color passed to the painter.
5871
5872 2003-09-15  Angus Leeming  <leeming@lyx.org>
5873
5874         * bufferparams.C (BufferParams): reorder member initializers to avoid
5875         compiler warning.
5876
5877 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
5878
5879         * CutAndPaste.C (pasteSelection): remove an outdated #warning
5880         * text.C (updateRowPositions): remove an unusual nop
5881
5882 2003-09-12  André Pönitz  <poenitz@gmx.net>
5883
5884         * BufferView_pimpl.C:
5885         * Bullet.C:
5886         * layout.h:
5887         * lyxfunc.C:
5888         * lyxlayout.[Ch]:
5889         * lyxtextclass.C:
5890         * rowpainter.C:
5891         * text.C:
5892         * text2.C:
5893         * Counters.[Ch]: finish the 'automatic counters' job
5894
5895 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5896
5897         * aspell.C: include <boost/assert.cpp> (compile fix)
5898
5899 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
5900
5901         * boost.C (assertion_failed): use lyx::support::abort instead of
5902         assert.
5903
5904 2003-09-10  Angus Leeming  <leeming@lyx.org>
5905
5906         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
5907         with their _fwd progeny.
5908
5909 2003-09-09  Angus Leeming  <leeming@lyx.org>
5910
5911         134 files throughtout the source tree: replace 'using namespace abc;'
5912         directives with the appropriate 'using abc::xyz;' declarations.
5913
5914 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
5915
5916         * boost.C (emergencyCleanup): moved here from LAssert.c
5917         (assertion_failed): new function, called by BOOST_ASSERT
5918
5919         * several files: change Assert to BOOST_ASSERT
5920
5921 2003-09-09  Angus Leeming  <leeming@lyx.org>
5922
5923         * buffer.[Ch]: Add an Impl class and move Buffer's member
5924         variables into it. As a result move several header files out of
5925         buffer.h.
5926
5927         Add header files to lots of .C files all over the tree as a result.
5928
5929 2003-09-09  Angus Leeming  <leeming@lyx.org>
5930
5931         * buffer.[Ch]: make Buffer's member variables private. Add
5932         accessor functions.
5933
5934         Lots of changes all over the tree as a result.
5935
5936 2003-09-08  Angus Leeming  <leeming@lyx.org>
5937
5938         * graph.C: #include <config.h>.
5939
5940 2003-09-08  Angus Leeming  <leeming@lyx.org>
5941
5942         * BranchList.C:
5943         * BufferView.C:
5944         * BufferView_pimpl.C:
5945         * CutAndPaste.C:
5946         * DepTable.C:
5947         * LaTeX.C:
5948         * LaTeXFeatures.C:
5949         * LyXAction.C:
5950         * MenuBackend.C:
5951         * TextCache.C:
5952         * aspell.C:
5953         * buffer.C:
5954         * bufferlist.C:
5955         * changes.C:
5956         * chset.C:
5957         * converter.C:
5958         * counters.C:
5959         * debug.C:
5960         * graph.C:
5961         * ispell.C:
5962         * lyx_cb.C:
5963         * lyxfind.C:
5964         * lyxfunc.C:
5965         * lyxlex_pimpl.C:
5966         * lyxrc.C:
5967         * lyxrow.C:
5968         * paragraph.C:
5969         * rowpainter.C:
5970         * texrow.C:
5971         * text.C:
5972         * text2.C:
5973         * toc.C: remove redundant using directives.
5974
5975 2003-09-07  Angus Leeming  <leeming@lyx.org>
5976
5977         * LaTeXFeatures.h: remove #include "support/types.h".
5978         * ToolbarBackend.h: remove #include <algorithm>.
5979         * changes.h: remove #include <ctime>.
5980         * debug.h: remove #include <iosfwd>.
5981         * graph.h: remove #include "support/std_string.h".
5982         * lyx_main.h: remove #include <csignal>.
5983         * lyxlex_pimpl.h: remove #include <fstream>.
5984         * sgml.h: remove #include <algorithm>, <utility>.
5985         * toc.h: remove #include "support/std_ostream.h".
5986         Add #include <iosfwd>.
5987
5988 2003-09-07  Angus Leeming  <leeming@lyx.org>
5989
5990         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
5991
5992         * converter.h: forward declare LatexRunParams.
5993         * encoding.h: remove #include "lyxrc.h".
5994         * lyxtext.h: remove #include "LColor.h".
5995         * lyxtextclass.h: remove #include "support/types.h".
5996         * trans.h: remove #include "tex-accent.h".
5997         * trans_mgr.h: remove #include "tex-accent.h".
5998         * insets/inset.h: remove #include "support/types.h", <vector>.
5999         * insets/insetcollapsable.h: remove #include "LColor.h".
6000         * insets/insetinclude.h: remove #include "dimension.h".
6001         * insets/insetlatexaccent.h: remove #include "dimension.h".
6002         * insets/insetoptarg.h:: remove #include "insettext.h".
6003         * insets/insettext.h: remove #include "dimension.h",
6004         <boost/shared_ptr.hpp>
6005
6006         * insets/renderers.h: add #include "dimension.h".
6007         * insets/updatableinset.h: add #include "support/types.h".
6008
6009         * many .C files: Associated changes.
6010
6011 2003-09-06  Angus Leeming  <leeming@lyx.org>
6012
6013         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
6014         one, inside testInvariant.
6015
6016         * PrinterParams.C: new file.
6017         * PrinterParams.[Ch]: move the function bodies out of line.
6018
6019 2003-09-06  Angus Leeming  <leeming@lyx.org>
6020
6021         * ParagraphParameters.h: forward declare ParameterStruct rather than
6022         including its header file.
6023         (depth): moved out-of-line.
6024
6025 2003-09-06  Angus Leeming  <leeming@lyx.org>
6026
6027         * BufferView_pimpl.h:
6028         * kbmap.h:
6029         * kbsequence.h:
6030         * lyxfunc.h: forward declare LyXKeySym rather than
6031         #include "frontends/LyXKeySym.h".
6032
6033         * BufferView_pimpl.C:
6034         * kbmap.C:
6035         * kbsequence.C:
6036         * lyxfunc.C: associated changes.
6037
6038 2003-09-06  Angus Leeming  <leeming@lyx.org>
6039
6040         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
6041         As a result, can remove the #include "insets/inset.h" from BufferView.h
6042
6043 2003-09-06  Angus Leeming  <leeming@lyx.org>
6044
6045         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
6046         As a result, can remove the #include "insets/inset.h" from BufferView.h
6047
6048 2003-09-06  Angus Leeming  <leeming@lyx.org>
6049
6050         * buffer_funcs.C:
6051         * buffer.h:
6052         * bufferlist.C:
6053         * BufferView.C:
6054         * bufferview_funcs.C:
6055         * BufferView_pimpl.C:
6056         * CutAndPaste.C:
6057         * lyx_cb.C:
6058         * lyxfunc.C:
6059         * paragraph.h:
6060         * ParagraphParameters.C:
6061         * tabular.C:
6062         * text3.C:
6063         * toc.C:
6064         * undo_funcs.C:
6065         * frontends/controllers/ControlDocument.C:
6066         * insets/insetcaption.C: rearrange the #includes into some sort of
6067         coherent order.
6068
6069         * buffer.h: remove #includes ErrorList.h, undo.h
6070
6071 2003-09-06  Angus Leeming  <leeming@lyx.org>
6072
6073         * support/types.h: add a 'depth_type' typedef, used to store the
6074         nesting depth of a paragraph.
6075
6076         * paragraph.h:
6077         * ParameterStruct.h: use this lyx::depth_type typedef rather than
6078         defining explicitly.
6079
6080         * buffer.h:
6081         * paragraph_funcs.h:
6082         * ParagraphParameters.h:
6083         * sgml.h: use lyx::depth_type rather than Paragraph or
6084         ParameterStruct's depth_type.
6085
6086         * buffer.h
6087         * paragraph_funcs.h: no need to #include paragraph.h anymore.
6088
6089         * BufferView.C:
6090         * BufferView_pimpl.C:
6091         * CutAndPaste.C:
6092         * ParagraphParameters.C:
6093         * buffer_funcs.C:
6094         * bufferlist.C:
6095         * bufferview_funcs.C:
6096         * lyx_cb.C:
6097         * lyxfunc.C:
6098         * tabular.C:
6099         * text3.C:
6100         * toc.C:
6101         * undo_funcs.C:
6102         * frontends/LyXView.C:
6103         * frontends/controllers/ControlDocument.C:
6104         * frontends/controllers/ControlErrorList.C:
6105         * insets/insetbibitem.C:
6106         * insets/insetbranch.C:
6107         * insets/insetcaption.C:
6108         * insets/insetcollapsable.C:
6109         * insets/insetenv.C:
6110         * insets/insetert.C:
6111         * insets/insetfloat.C:
6112         * insets/insetfoot.C:
6113         * insets/insetfootlike.C:
6114         * insets/insetnewline.C:
6115         * insets/insetquotes.C:
6116         * insets/insettabular.C:
6117         * insets/insettext.C:
6118         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
6119
6120         * frontends/controllers/ControlChanges.C: #include "changes.h".
6121
6122 2003-09-06  Angus Leeming  <leeming@lyx.org>
6123
6124         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
6125         than #including paragraph.h.
6126
6127         * ParagraphList.h:
6128         * RowList.h: deleted. Superfluous.
6129
6130         * CutAndPaste.h:
6131         * iterators.h:
6132         * lyxcursor.h:
6133         * lyxtext.h:
6134         * text_funcs.h:
6135         * undo.h:
6136         * undo_funcs.h:
6137         * insets/inset.h:
6138         * insets/insettext.h: use ParagraphList_fwd.h rather than
6139         ParagraphList.h.
6140
6141         * paragraph.h: don't forward declare ParagraphList.
6142
6143         * buffer.h:
6144         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
6145         rather than ParagraphList.h. paragraph.h is still needed for the
6146         Paragraph::depth_type parameters.
6147
6148         * textcursor.h: enable it to compile stand-alone in light of the
6149         above changes.
6150
6151         * bufferview_funcs.C:
6152         * iterators.C:
6153         * lyxfunc.C:
6154         * lyxrow_funcs.C:
6155         * paragraph.C:
6156         * rowpainter.C:
6157         * text.C:
6158         * text2.C:
6159         * text3.C:
6160         * text_funcs.C:
6161         * textcursor.C:
6162         * undo.C:
6163         * frontends/controllers/ControlParagraph.C:
6164         * frontends/controllers/ControlTabular.C:
6165         * insets/insetmarginal.C:
6166         * insets/insetminipage.C:
6167         * insets/insetnote.C:
6168         * insets/insetoptarg.C: add header files needed to compile again.
6169
6170 2003-09-06  Angus Leeming  <leeming@lyx.org>
6171
6172         * RowList_fwd.h: new file, forward-declaring Row rather than
6173         #including lyxrow.h.
6174
6175         * lyxrow_funcs.h:
6176         * lyxtext.h:
6177         * paragraph.h:
6178         * insets/insettext.h: use it instead of RowList.h
6179
6180         * bufferview_funcs.C:
6181         * lyxfunc.C:
6182         * lyxrow_funcs.C:
6183         * paragraph.C:
6184         * rowpainter.C:
6185         * text.C:
6186         * text2.C:
6187         * text3.C: #include "RowList.h".
6188
6189 2003-09-05  Angus Leeming  <leeming@lyx.org>
6190
6191         * factory.C (createInset):
6192         * vspace.C (c-tor): replace sscanf call with an istringstream.
6193         * ispell.C: re-add missing HP/UX headers.
6194         * lyxserver.C: re-add missing  os2 headers.
6195
6196 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
6197
6198         * BranchList.C:
6199         * graph.C:
6200         * ispell.C:
6201         * lastfiles.C:
6202         * lyx_cb.C:
6203         * lyxserver.C:
6204         * texrow.C:
6205         * text3.C: re-add missing system headers, needed for 2.95.2.
6206
6207 2003-09-05  Angus Leeming  <leeming@lyx.org>
6208
6209         Changes most place everywhere due to the removal of using directives
6210         from support/std_sstream.h.
6211
6212 2003-09-05  Angus Leeming  <leeming@lyx.org>
6213
6214         Replace LString.h with support/std_string.h,
6215         Lsstream.h with support/std_sstream.h,
6216         support/LIstream.h with support/std_istream.h,
6217         support/LOstream.h with support/std_ostream.h.
6218
6219         Changes resulting throughout the tree.
6220
6221 2003-09-05  Angus Leeming  <leeming@lyx.org>
6222
6223         * sgml.h: ensure that the header file can be compiled stand-alone.
6224         * *.C: strip out redundant #includes. (320 in total.)
6225
6226 2003-09-04  Angus Leeming  <leeming@lyx.org>
6227
6228         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
6229         here (from getPackages).
6230
6231         * debug.[Ch]: add a new EXTERNAL tag.
6232
6233 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
6234
6235         * text2.C (cursorEnd): simplify
6236         (setCursor): adjust
6237         (getColumnNearX): adjust
6238
6239         * text.C (computeBidiTables): adjust
6240         (fill): adjust
6241
6242         * rowpainter.C (paintChars): adjust
6243         (paintSelection): adjust
6244         (paintChangeBar): adjust
6245         (paintText): adjust
6246
6247         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
6248         lastPos instead.
6249         (numberOfSeparators): adjust
6250
6251 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
6252
6253         * LyXAction.C:
6254         * box.[Ch]:
6255         * lfuns.h:
6256         * lyxfunc.C:
6257         * text3.C: Restricts the mouse click functionality
6258         of insets like bibtex, include, toc and floatlist to the visible
6259         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
6260         up the dialogs. Cursor has to be in front of the inset (i.e.
6261         start of row) for this to function.
6262
6263 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
6264
6265         * bufferview_funcs.C (currentState): output row information
6266
6267 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
6268
6269         * bufferview_funcs.C (currentState): output paragraph position
6270
6271 2003-09-04  Angus Leeming  <leeming@lyx.org>
6272
6273         * FloatList.h: move out #include "Floating.h".
6274         * LaTeX.h: move out #include "DepTable.h".
6275         * LyXAction.h: move out #include "funcrequest.h".
6276         * buffer.h: move out #include "author.h", "iterators.h".
6277         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
6278         * lyx_main.h: move out #include "errorlist.h".
6279         * lyxfunc.h: move out #include "FuncStatus.h".
6280         * lyxtext: move out #include "lyxcursor.h".
6281         * paragraph_pimpl.h: move out #include "counters.h".
6282
6283 2003-09-03  Angus Leeming  <leeming@lyx.org>
6284
6285         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
6286         preamble_snippets list, enabling us to add snippets to the preamble
6287         only if the snippet was not there already.
6288
6289 2003-09-04  Angus Leeming  <leeming@lyx.org>
6290
6291         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
6292
6293 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
6294
6295         * lyxfunc.C (dispatch): if fitCursor did something be sure to
6296         update
6297
6298 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
6299
6300         * BranchList.C: point fix, earlier forgotten
6301
6302 2003-09-02  Angus Leeming  <leeming@lyx.org>
6303
6304         * box.C (contains): renamed from 'contained' after a fantastic
6305         amount of hot air.
6306
6307 2003-09-02  John Levon  <levon@movementarian.org>
6308
6309         * BufferView.C:
6310         * lyxcursor.h:
6311         * lyxcursor.C:
6312         * lyxfunc.C:
6313         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
6314
6315 2003-09-02  John Levon  <levon@movementarian.org>
6316
6317         * text2.C: simplification of cursorEnd(), including partial
6318         fix for bug 1376
6319
6320 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6321
6322         * buffer.C (readFile): add a space
6323
6324 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
6325
6326         * BufferView_pimpl.C (update): remove bogus fitCursor() call
6327
6328 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6329
6330         * buffer.C (readFile): new function, take a filename and a
6331         ParagraphList::iterator
6332         (readFile): adjust
6333         (readFile): adjust, make it private. don't use setStream, make
6334         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
6335         always contain the filename.
6336
6337         * BufferView.C (insertLyXFile): simplify and make it work for
6338         gzipped files.
6339
6340 2003-08-30  John Levon  <levon@movementarian.org>
6341
6342         * Makefile.am: fix dist (from Kayvan)
6343
6344 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6345
6346         * most files: change to use const Buffer refs
6347
6348 2003-08-27  André Pönitz  <poenitz@gmx.net>
6349
6350         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
6351         on top of ownerPar().
6352
6353 2003-08-27  John Levon  <levon@movementarian.org>
6354
6355         * funcrequest.C: properly initialise POD members
6356
6357 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
6358
6359         * lyxtext.h (top_y): move top_y from here
6360         * text.C:
6361         * text2.C:
6362         * text3.C:
6363         * BufferView.[Ch]:
6364         * BufferView_pimpl.[Ch]: to here
6365         * frontends/screen.C:
6366         * insets/insettabular.C:
6367         * insets/insettext.C: adjust
6368         * rowpainter.[Ch] (paintRows): remove LyXText & argument
6369
6370 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
6371
6372         * BufferView.[Ch]:
6373         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
6374
6375 2003-08-26  André Pönitz  <poenitz@gmx.net>
6376
6377         * paragraph_func.[Ch] (outerPar): new function
6378
6379         * paragraph.C:
6380         * paragraph_funcs.C:
6381         * paragraph_funcs.h:
6382         * paragraph_pimpl.C:
6383         * text2.C: remove Inset::par_owner
6384
6385 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
6386
6387         * lyxrow_funcs.C:
6388         * lyxtext.h:
6389         * text.C:
6390         * text2.C: eliminates the needFullRow/display() stuff
6391         altogether, putting the logic in metrics/draw in the insets.
6392
6393 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
6394
6395         * text2.C (redoParagraphInternal, redoParagraphs):
6396         * text.C (redoParagraph): add a call to updateRowPositions at the
6397         end of each 'metrics-like' call. Remove all others.
6398         (getRow): remove the 'y-computing' version.
6399         (getRowNearY): do not compute nor return the real y. Solve the
6400         'y < 0' problem and simplify.
6401
6402 2003-08-22  Angus Leeming  <leeming@lyx.org>
6403
6404         * *.[Ch]: clean-up of licence and author blurbs.
6405         Also move config.h out of a few .h files and into a few .C files.
6406
6407 2003-08-22  André Pönitz  <poenitz@gmx.net>
6408
6409         * lyxrow.[Ch]: add x_ and *fill_ members
6410
6411         * lyxtext.h:
6412         * text.C:
6413         * rowpainter.C:
6414         * text2.C: adjust/remove prepareToPrint() calls
6415
6416 2003-08-22  André Pönitz  <poenitz@gmx.net>
6417
6418         * lyxrow.[Ch]: add  end_ member
6419
6420         * lyxrow_funcs.C: use LyXRow::end_
6421
6422         * lyxtext.h (singleWidth): add LyXFont parameter
6423
6424         * rowpainter.C:
6425         * text2.C: adjust LyXText::singleWidth() calls
6426
6427         * text.C (redoParagraph): simplify row breaking logic
6428
6429
6430 2003-08-19  André Pönitz  <poenitz@gmx.net>
6431
6432         * funcrequest.C: initialize button_ member
6433
6434         * text3.C:
6435         * rowpainter.[Ch]: interface consolidation
6436
6437 2003-08-18  André Pönitz  <poenitz@gmx.net>
6438
6439         * BufferView.C:
6440         * BufferView_pimpl.C:
6441         * lyxfind.C:
6442         * paragraph_funcs.C:
6443         * rowpainter.C:
6444         * text3.C: remove LyXScreen::draw() and fitCursor calls
6445
6446         * BranchList.h: remove spurious semicolons
6447
6448         * MenuBackend.C: fix branchlist related crash
6449
6450 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
6451
6452         * BranchList.[Ch]:
6453         * InsetList.[Ch]:
6454         * LColor.[Ch]:
6455         * LyXAction.C:
6456         * Makefile.am:
6457         * MenuBackend.[Ch]:
6458         * bufferparams.[Ch]:
6459         * factory.C:
6460         * lfuns.h:
6461         * lyxfunc.C:
6462         * text3.C: implements the 'branch inset'
6463         idea. This allows the output of various versions of a document
6464         from a single source version, selectively outputing or suppressing
6465         output of parts of the text.
6466         This implementation contains a 'branch list editor' in a separate
6467         tab of the document settings dialog. Branches are user definable
6468         and have a "display colour" to distinguish them on-screen.
6469
6470         ColorHandler was somewhat cleaned up.
6471         (1) make possible a dynamically growing LColor list by allowing
6472         the graphic context cache to grow along (vector);
6473         (2) eliminate an IMHO unnecessary step in colour allocation.
6474
6475 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
6476
6477         * BufferView_pimpl.C: compile fix
6478
6479 2003-08-15  André Pönitz  <poenitz@gmx.net>
6480
6481         * rowpainter.C: remove extra metrics calls
6482
6483         * lyxtext.h: merge the two constructors into a single one,
6484           pass reference to owner's par list
6485
6486         * BufferView_pimpl.C:
6487         * text.C:
6488         * text2.C: adjust
6489
6490 2003-08-15  André Pönitz  <poenitz@gmx.net>
6491
6492         * lyxrow_funcs.[Ch]:
6493         * lyxtext.h:
6494         * paragraph.h:
6495         * paragraph_funcs.C:
6496         * rowpainter.C:
6497         * text.C:
6498         * text2.C:
6499         * text3.C:
6500         * text_funcs.C: split LyXText::rowlist_ into individual
6501         Paragraph::rows_ chunks
6502
6503         * BufferView.[Ch]:
6504         * BufferView_pimpl.[Ch]:
6505         * lyxfind.C:
6506         * lyxtext.h:
6507         * text3.C: remove toggleSelection()
6508
6509 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
6510
6511         * bufferlist.C: beautify two alerts (shorter text of buttons)
6512         * buffer.C: Remove redundant ' ' from message
6513         * tabular.h:
6514         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
6515         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
6516         rename VALIGN_CENTER to VALIGN_MIDDLE
6517
6518 2003-08-11  André Pönitz  <poenitz@gmx.net>
6519
6520         * lyxtext.h (getPar):
6521         * text.C: new function
6522
6523 2003-08-11  André Pönitz  <poenitz@gmx.net>
6524
6525         * Makefile.am:
6526         * tracer.[Ch]: remove unneeded files
6527
6528         * InsetList.[Ch]: remove resizeInsetsLyXText()
6529
6530         * lyxtext.h:
6531         * text.C:
6532         * text2.C:
6533         * text3.C: merge insertParagraphs() and appendParagraph()
6534         remove breakAgain(), update()
6535
6536         * BufferView_pimpl.[Ch]:
6537         * bufferview_funcs.[Ch]:
6538         * lyxfunc.C:
6539         * paragraph.[Ch]:
6540         * rowpainter.C:
6541         * tabular.C: adjust after text & InsetList changes.
6542
6543 2003-08-08  André Pönitz  <poenitz@gmx.net>
6544
6545         * text.C (insertChar, backspace): replace rowlist fiddling
6546         with rebreak of full par
6547
6548         * lyxtext.h:
6549         * text.C (breakAgainOneRow, redoHeightOfParagraph,
6550         checkParagraph, updateInset): removed
6551
6552 2003-08-07  André Pönitz  <poenitz@gmx.net>
6553
6554         * paragraph.C:
6555         * text3.C: merge some LFUN handlers, remove dead code
6556
6557 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6558
6559         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
6560
6561 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
6562
6563         * text2.C (DEPM): fix part of bug 1255 and 1256
6564
6565 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6566
6567         * BufferView_pimpl.C (workAreaDispatch): change to use
6568         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
6569         that are no mouse related.
6570
6571 2003-08-05  André Pönitz  <poenitz@gmx.net>
6572
6573         * BufferView.[Ch]:
6574         * BufferView_pimpl.[Ch]:
6575         * bufferview_funcs.C:
6576         * text2.C:
6577         * text3.C: rip out "deep update"
6578
6579         * textcursor.[Ch] (last_sel_cursor): remove unused member
6580
6581 2003-08-04  André Pönitz  <poenitz@gmx.net>
6582
6583         * BufferView.[Ch]:
6584         * BufferView_pimpl.[Ch]:
6585         * ParagraphParameters.C:
6586         * bufferview_funcs.C:
6587         * lyx_cb.C:
6588         * lyxfind.C:
6589         * lyxfunc.C:
6590         * text.C:
6591         * text2.C:
6592         * text3.C: replace "complicated" BufferView::update(...) calls with
6593         simpler ones.
6594
6595         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
6596
6597 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
6598
6599         * Makefile.am (lyx_SOURCES): add paper.h
6600
6601 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6602
6603         * Makefile.am: move things around so that both lyx-qt and
6604         lyx-xforms can be built (according to --with-frontend). Then lyx
6605         is a symbolic link to lyx-[firstfrontend]
6606
6607 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
6608
6609         * Always use std::endl with lyxerr
6610
6611 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
6612
6613         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
6614
6615 2003-08-01  André Pönitz  <poenitz@gmx.net>
6616
6617         * BufferView.[Ch]:
6618         * BufferView_pimpl.[Ch]:
6619         * lyxfunc.C:
6620         * text3.C: merge BufferView::repaint() and BufferView::update()
6621
6622 2003-08-01  José Matos  <jamatos@lyx.org>
6623
6624         * buffer.[Ch]: file_format is no longer a buffer data element.
6625
6626 2003-08-01  André Pönitz  <poenitz@gmx.net>
6627
6628         * BufferView.C:
6629         * lyxtext.h:
6630         * text.C:
6631         * text2.C: make redoParagraph more independent of current cursor
6632
6633         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
6634         * text.C:
6635         * text2.C: remove unneeded members
6636
6637 2003-07-30  André Pönitz  <poenitz@gmx.net>
6638
6639         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
6640
6641         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
6642           create a single function...
6643
6644         * paragraph_funcs.C (moveItem): ... here.
6645
6646         * text.C:
6647           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
6648
6649 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
6650
6651         * LColor.[Ch]: Add comment and greyedout logical colors.
6652
6653 2003-07-30  André Pönitz  <poenitz@gmx.net>
6654
6655         * tabular.C: don't use Assert too heavily. This crashes where it
6656           shouldn't
6657
6658 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
6659
6660         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
6661         is disabled (bug 1232)
6662
6663 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
6664
6665         * factory.C: limited 'arg' scope
6666
6667 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
6668
6669         * factory.C: fixed Note submenu issues
6670
6671 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
6672
6673         * factory.C: submenu for Note/Comment/Greyedout
6674
6675 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
6676
6677         * lyx_main.C (LyX):
6678         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
6679
6680 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
6681
6682         * LaTeXFeatures.C:
6683         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
6684         greyedout. Patch provided by Jürgen Spitzmüller.
6685
6686 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6687
6688         * kbmap.C (read): fix error message when reading bind files
6689
6690 2003-07-29  Angus Leeming  <leeming@lyx.org>
6691
6692         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
6693         certainly does not do what it purports to do. I am doing it, and
6694         us, a favour by killing it.
6695
6696 2003-07-28  José Matos  <jamatos@lyx.org>
6697
6698         * buffer.C (readBody, do_writeFile):
6699         * paragraph.C(readParagraph): \end_document replaces \the_end.
6700
6701 2003-07-29  André Pönitz  <poenitz@gmx.net>
6702
6703         * BufferView.[Ch]:
6704         * BufferView_pimpl.[Ch]:
6705         * lyxfunc.C:
6706         * text2.C:
6707         * text3.C:
6708         * textcursor.[Ch]: remove toggleToggle & Co
6709
6710 2003-07-28  José Matos  <jamatos@fep.up.pt>
6711
6712         * buffer.C (readParagraph):
6713         * params_func (readParToken, readParagraph):
6714         * paragraph.C (write): \layout -> \begin_layout.
6715
6716 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6717
6718         * lyxlex_pimpl.C (setFile): clean up slightly.
6719
6720         * bufferparams.h: add compressed var
6721
6722         * buffer_funcs.C (readFile): adjust for LyXLex change
6723         (newFile): ditto + simplify
6724
6725         * buffer.C (writeFile): handle writing of compressed files
6726
6727         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
6728         Check if the file is compressed and set a bufferparm if so.
6729
6730         * Makefile.am (lyx_LDADD): remove explicit -lz
6731
6732 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6733
6734         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
6735         makeDocBookFile): put the real LyX version in the first line of
6736         the file
6737
6738         * version.h:
6739         * version.C.in: remove lyx_docversion
6740
6741         * tabular.C (write_attribute): add a template-based version to
6742         write enums properly
6743
6744 2003-07-28  André Pönitz  <poenitz@gmx.net>
6745
6746         * lyxtext.h:
6747         * text.C:
6748         * text2.C:
6749         * text3.C: use doubles again for x-coordinates. They are needed.
6750
6751 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6752
6753         * messages.C (getLocaleDir): use lyx_localedir()
6754
6755         * lyxlex_pimpl.C (setFile): compress stuff
6756
6757         * buffer.C (writeFile): add some compression stuff
6758         (do_writeFile): new func, dont call expliti close... will this
6759         breake anything?
6760
6761         * Makefile.am (lyx_LDADD): add -lz
6762
6763 2003-07-28  José Matos  <jamatos@fep.up.pt>
6764
6765         * buffer.C: increment file format.
6766         * paragraph_funcs (readParagraph, readParToken):
6767         * paragraph.C (readParagraph): add \end_layout.
6768
6769 2003-07-27  Angus Leeming  <leeming@lyx.org>
6770
6771         * Makefile.am: remove special casing for configure-time setting of
6772         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
6773
6774         * lyx_main.C (init): remove all Jean-Marc's magic setting of
6775         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
6776
6777 2003-07-26  André Pönitz  <poenitz@gmx.net>
6778
6779         * paragraph_func.[Ch]:
6780         * paragraph.C (realizeFont): inline it whereever it is used
6781
6782         * rowpainter.C:
6783         * text.C:
6784         * text2.C:
6785         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
6786
6787
6788 2003-07-26  André Pönitz  <poenitz@gmx.net>
6789
6790         *       lyxtext.h:
6791         * text.C:
6792         * text2.C: get rid of LyXText::need_break_row
6793
6794 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6795
6796         * toc.[Ch]: put namespace toc inside namespace lyx
6797
6798         * MenuBackend.C (expandToc2): adjust for lyx::toc
6799         (expandToc): ditto
6800
6801         * lyxfunc.C (dispatch): adjust for lyx::find
6802
6803         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
6804         lyx::find instead. Reorganize a bit.
6805         (LyXReplace): rename to replace
6806         (LyXFind): rename to find
6807
6808         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
6809         (dispatch): ditto
6810
6811 2003-07-26  André Pönitz  <poenitz@gmx.net>
6812
6813         * text.C (setHeightOfRow): restrict scope of temporary variable
6814
6815         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
6816           code (never has been used?)
6817
6818 2003-07-27  Asger Alstrup  <alstrup@local>
6819
6820         * text.C (fill): Optimise algorithm to exploit that we can reuse
6821         the LyXFont for many characters.
6822         (setHeightOfRow): Same thing.
6823         (rowBreakPoint): Same thing.
6824
6825 2003-07-26  Asger Alstrup  <alstrup@local>
6826
6827         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
6828
6829         * text.C (singleWidth): Spurious font copying in hot-spot
6830         singleWidth avoided. Reorder tests for arabic for efficiency.
6831
6832         * text.C (fill): handle empty paragraphs better.
6833
6834 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6835
6836         * ispell.C:
6837         * encoding.h: add includes
6838
6839         * lyxrc.C: remove reading of bind files
6840
6841         * lyx_main.C (init): setup bindings and menus only if we have a
6842         gui.
6843
6844         * kbmap.C (read): new method. Do the actual reading of bind
6845         files.
6846
6847         * converter.C (dvipdfm_options):
6848         * bufferparams.C:
6849         * lyxrc.C (read):
6850         (output): adapt PAPER_* enums.
6851
6852         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
6853
6854         * bufferparams.h: remove paper-related enums from there
6855
6856         * paper.h: New file. A trivial header file to hold paper-related
6857         enums. It should later expand to contain many paper-related
6858         horrors access.
6859
6860         * lyxrc.C: declare extern displayTranslator
6861
6862 2003-07-27  José Matos  <jamatos@fep.up.pt>
6863
6864         * tabular.[Ch] (linuxdoc): add support for tables and figures
6865         (linuxdoc).
6866
6867 2003-07-27  José Matos  <jamatos@fep.up.pt>
6868
6869         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
6870         consistency in both functions.
6871         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
6872
6873 2003-07-26  Asger Alstrup  <alstrup@local>
6874
6875         * rowpainter.C (paintRows): Change algorithm to work directly on
6876         the insets rather than asking every character in the document
6877         whether its an inset.
6878
6879 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
6880
6881         * buffer.C (openFileWrite): factorize some code
6882
6883 2003-07-26  Angus Leeming  <leeming@lyx.org>
6884
6885         * lyx_cb.C:
6886         * lyx_main.[Ch]: replace occurances of system_tempdir with
6887         os::getTmpDir().
6888
6889 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6890
6891         * rename Inset to InsetOld
6892
6893 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
6894
6895         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
6896         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
6897         which I think is a bit clearer. EDIT is gone, since it was
6898         premature optimisation, and broken for mathed anyway.
6899         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
6900         with cursor positioning in insets as well (math insets still do not
6901         work, but that's a different story anyway.) It mysteriously
6902         crashes sometimes with undo in the first paragraph, but I'm fairly
6903         confident that this is a compiler bug.
6904
6905 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6906
6907         * paragraph.C (Paragraph): adjust for new clone return type
6908         (operator==): ditto
6909         (copyIntoMinibuffer): ditto
6910
6911 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
6912
6913         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
6914         by not having a special case, and always doing a full rebreak of
6915         the document after undo.
6916
6917 2003-07-23  Angus Leeming  <leeming@lyx.org>
6918
6919         * factory.C (createInset): InsetExternal::setParams now takes a
6920         Buffer const * arg.
6921
6922 2003-07-23  Angus Leeming  <leeming@lyx.org>
6923
6924         * factory.C (createInset): changed interface to the external and
6925         graphics mailers' string2params functions.
6926
6927 2003-07-23  Angus Leeming  <leeming@lyx.org>
6928
6929         * factory.C (createInset): pass a
6930         Buffer const * parameter to InsetExternalMailer's string2params.
6931
6932 2003-07-22  John Levon  <levon@movementarian.org>
6933
6934         * Thesaurus.h: include the right aiksaurus header
6935
6936 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6937
6938         * MenuBackend.C (expand): check menu shortcuts unconditionally
6939
6940 2003-07-21  Angus Leeming  <leeming@lyx.org>
6941
6942         * factory.C (createInset): pass a
6943         buffer_path parameter to InsetGraphicsMailer's string2params.
6944
6945 2003-07-21  Angus Leeming  <leeming@lyx.org>
6946
6947         * BufferView_pimpl.C (buffer):
6948         * buffer.C (d-tor):
6949         * lyx_main.C (LyX):
6950         * lyxfunc.C (dispatch):
6951         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
6952         rather than the grfx shortcut.
6953
6954 2003-07-21  André Pönitz  <poenitz@gmx.net>
6955
6956         * rowpainter.C: remove unused variables
6957
6958         * tabular_funcs.C:
6959         * tabular_funcs.h: move to tabular.C
6960         * Makefile.am: adjust
6961
6962         * tabular.[Ch]: basic optical cleaning
6963
6964         * author.h: pass references, not values
6965
6966 2003-07-18  André Pönitz  <poenitz@gmx.net>
6967
6968         * lyxtext.h:
6969         * metricsinfo.C:
6970         * metricsinfo.h:
6971         * rowpainter.C:
6972         * text.C:
6973         * text2.C:
6974         * text3.C: two-phase drawing for InsetText and InsetTabular
6975         some float -> int changes.
6976
6977 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
6978
6979         * lyx_main.C: fix the fix
6980
6981 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
6982
6983         * lyx_main.C: fix a crash in batch mode if no files specified
6984         * converter.C: ws
6985
6986 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
6987
6988         * format.[Ch] (papersize): moved to BufferParams
6989         * converter.[Ch] (dvips_options): moved to BufferParams
6990         (dvipdfm_options): moved to anon namespace
6991         * bufferparams.[Ch]: added above functions.
6992
6993 2003-07-17  André Pönitz  <poenitz@gmx.net>
6994
6995         * lyxtext.h:
6996         * rowpainter.C:
6997         * text2.C: don't call inset->update() anymore
6998
6999         * metricsinfo.[Ch]: add convenience constructor
7000
7001 2003-07-16  André Pönitz  <poenitz@gmx.net>
7002
7003         * lyxcursor.[Ch]:
7004         * lyxfunc.[Ch]:
7005         * text.C:
7006         * text2.C: replace the LyXCursor::irow_ member with
7007          on-demand computation of the value
7008
7009 2003-07-16  John Levon  <levon@movementarian.org>
7010
7011         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
7012
7013 2003-07-15  André Pönitz  <poenitz@gmx.net>
7014
7015         * text.C:
7016         * text2.C: remove no more needed refresh_row
7017
7018 2003-07-15  André Pönitz  <poenitz@gmx.net>
7019
7020         * lyxtext.h:
7021         * rowpainter.C:
7022         * text2.C:
7023         * text3.C: refresh_status tristate -> need_update bool
7024
7025 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
7026
7027         * lyxtext.h (init): remove reinit argument (act as if always true)
7028         * text2.C: adjust to that
7029
7030 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
7031
7032         * bufferview_funcs.[Ch]: introduce function replaceSelection()
7033         * text3.C: use it to delete selections in some cases
7034         (bugs 441, 673, 702, 954).
7035
7036 2003-07-14  André Pönitz  <poenitz@gmx.net>
7037
7038         * rowpainter.[Ch]: reduce interface
7039
7040 2003-07-14  André Pönitz  <poenitz@gmx.net>
7041
7042         * BufferView_pimpl.C:
7043         * text2.C: adjust after removing unused BufferView * argument
7044
7045 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
7046
7047         * text2.C (init): fix a crash fired on resize
7048
7049 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
7050
7051         * buffer.[Ch]: added new closing signal
7052         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
7053         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
7054         BufferView::Pimpl via the closing the signal
7055
7056 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
7057
7058         * buffer.[Ch]: take out all bv-related from buffer
7059         * BufferView.C:
7060         * BufferView_pimpl.[Ch]: connect to new signals
7061         * CutAndPaste.C: removed useless asserts
7062         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
7063         * lyxvc.[Ch]:
7064         * vc-backend.[Ch]:
7065         * lyxfunc.C: moved view-related funciontality from vc here
7066         * paragraph.C: removed outdated comments
7067         * text.C: ws
7068
7069 2003-07-10  André Pönitz  <poenitz@gmx.net>
7070
7071         * BufferView_pimpl.C:
7072         * tabular.h:
7073         * tabular_funcs.C:
7074         * text.C:
7075         * text2.C: remove InsetText::InnerCache, clean up consequences
7076
7077 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
7078
7079         * ispell.C: fix two typos in error messages
7080
7081 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
7082
7083         * Extend Note inset to other forms of annotation like Comment
7084         and Greyedout. Right button click gives dialog.
7085
7086         Files modified or added (+):
7087
7088         * insetnote.[Ch]
7089         * FormNote.[Ch]      +
7090         * ControlNote.[Ch]   +
7091         * form_note.fd       +
7092         * Makefile.am in frontends/xforms, frontends/xforms/forms,
7093         frontends/controllers
7094         * xforms/Dialogs.C
7095         * factory.C
7096
7097 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
7098
7099         * aspell.C: add missing namespace lyx::support
7100
7101 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
7102
7103         * BufferView.[Ch] (newFile): Add
7104         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
7105         * LaTeX.[Ch] (message): added this signal and use it
7106         * buffer.[Ch] (busy, message): added these signals and use them
7107         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
7108         * converter.C:
7109         * exporter.C:
7110         * format.C:
7111         * importer.C: use buffer signals instead of direct bv calling
7112         * lyx_cb.[Ch] (ShowMessage): removed
7113         * lyx_main.C:
7114         * lyxfunc.C:
7115         * paragraph_funcs.C:
7116         * text2.C: use buffer signals
7117
7118 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7119
7120         * introduce namespace lyx::graphics
7121
7122 2003-07-02  André Pönitz  <poenitz@gmx.net>
7123
7124         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
7125
7126 2003-07-01  André Pönitz  <poenitz@gmx.net>
7127
7128         * text.C:
7129         * text2.C:
7130         * text3.C:
7131         * text_funcs.[Ch]:
7132         * textcursor.h:
7133         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
7134           text*.C to text_func.C
7135
7136 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7137
7138         * introduce namespace lyx::support
7139
7140 2003-06-30  André Pönitz  <poenitz@gmx.net>
7141
7142         * Chktex.C:
7143         * funcrequest.C:
7144         * lyxtext.h:
7145         * text.C: re-enable --with-included-string
7146
7147 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7148
7149         * textcursor.C: add <config.h>
7150
7151         * text.C (getWord): remove const from word_location arg
7152
7153         * lyxvc.C (getLogFile): fix const type order
7154
7155         * lyxtext.h: remove const from word_location arg, add arg name
7156
7157         * lyxlayout.h: currect type on labeltype.
7158
7159         * importer.C: correct \file
7160
7161         * converter.C (intToFormat): use std:: on ret val, ws changes
7162
7163         * bufferlist.h: correct \file
7164
7165         * buffer.C (makeLinuxDocFile): fix const type order
7166         (makeDocBookFile): ditto
7167         (fillWithBibKeys): use std:: on stdlib args.
7168
7169         * CutAndPaste.C: fix authors.
7170         (availableSelections): use std:: on return vector
7171
7172 2003-06-27  André Pönitz  <poenitz@gmx.net>
7173
7174         * BufferView_pimpl.C:
7175         * bufferview_funcs.C:
7176         * lyxcursor.C:
7177         * lyxcursor.h:
7178         * lyxfunc.C:
7179         * lyxtext.h:
7180         * rowpainter.C:
7181         * text.C:
7182         * text2.C:
7183         * text3.C: remove LyXCursor::row_ member
7184
7185         * lyxtext.h:
7186         * text.C: rename fullRebreak() to partialRebreak() and implement
7187           a fullRebreak() that really bereks fully
7188
7189         * textcursor.h: new struct for cursor-related data
7190
7191 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
7192
7193         * lyx_main.C (LyX): get full path of document loaded on the
7194         command line
7195
7196 2003-06-26  André Pönitz  <poenitz@gmx.net>
7197
7198         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
7199           remove unused/broken operator>,<,>=.
7200
7201         *       text.C: remove only use of broken operator<= in an Assert().
7202
7203 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
7204
7205         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
7206         moved errorlist_.clear to showErrorList
7207
7208 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
7209
7210         * converter.C (scanLog, runLaTeX):
7211         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
7212         move the bv->showErrorList call to the callers
7213         * lyxfunc.C: i.e. here...
7214         * text2.C: and here
7215         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
7216         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
7217         namespace, the second to...
7218         * buffer_funcs (BufferFormat, parseErrors): added
7219         * errorlist.C (ErrorList(TeXErrors const &)): removed
7220
7221 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7222
7223         * ToolbarBackend.C (getIcon): complain when icon cannot be found
7224
7225 2003-06-24  "Garst R. Reese" <reese@isn.net>
7226
7227         * debug.C: fix typo
7228
7229 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7230
7231         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
7232
7233         * version.C.in: change docversion to 1.4
7234
7235 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
7236
7237         * buffer.C: fix a bug just introduced
7238
7239 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
7240
7241         * buffer.[Ch]: added the parseError signal and use it, removed
7242         sgmlError
7243         * BufferView.[Ch] (addError): moved to ...
7244         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
7245         to the Buffer::parseError signal to catch (guess what) parse errors
7246         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
7247
7248 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
7249
7250         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
7251         ability to create a buffer and to return an existing one from
7252         the list. Moved these functions to...
7253         * buffer_funcs.[Ch]: added
7254         * BufferView.[Ch] (loadLyXFile): added
7255         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
7256         job removed from bufferlist::loadLyXFile.
7257         * buffer.C (setReadOnly): make it work without view
7258         (i.e added an if (users))
7259
7260 2003-06-19  Angus Leeming  <leeming@lyx.org>
7261
7262         * lfuns.h:
7263         * LyXAction.C (init):
7264         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
7265         with LFUN_DIALOG_SHOW <name> <data>.
7266
7267 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7268
7269         * CutAndPaste.C (availableSelections): small compilation fix for
7270         ancient (gcc 2.9x) compilers
7271
7272 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
7273
7274         * text3.C (cursorNext): add tmp var
7275
7276         * text2.C (updateCounters): for function calling out of for clause
7277         (replaceSelectionWithString): ditto
7278         (insertStringAsParagraphs): ditto
7279         (getColumnNearX): add tmp var
7280         (setCursorFromCoordinates): add tmp var
7281         (cursorDownParagraph): add tmp var
7282         (deleteEmptyParagraphMechanism): add tmp var
7283
7284         * text.C (insertChar): add tmp var
7285
7286         * rowpainter.C (paintDepthBar): add tmp var
7287
7288         * CutAndPaste.C (availableSelections): potentially check all
7289         paragraphs in a cut to fill the shown strings.
7290
7291 2003-06-18  André Pönitz  <poenitz@gmx.net>
7292
7293         * kbmap.[Ch]: use vector<> instead of list<>
7294
7295 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
7296
7297         * text3.C (dispatch): handle arg to LFUN_PASTE, call
7298         pasteSelection with index
7299
7300         * text2.C (pasteSelection): modify, call pasteSelection with index
7301
7302         * paragraph.C (asString): reimplement version with no interval to
7303         call the one with interval.
7304
7305         * lyxtext.h: add index arg to pasteSelection
7306
7307         * MenuBackend.C (MenuItem): handle PasteRecent
7308         (Menu::read::Menutags): add md_pasterecent
7309         (read): handle it
7310         (expandPasteRecent): new function
7311         (expand): use it
7312
7313         * MenuBackend.h: add PasteRecent to MenuItem::Kind
7314
7315         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
7316         the limited stack
7317         (availableSelections): new function
7318
7319 2003-06-17  Angus Leeming  <leeming@lyx.org>
7320
7321         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
7322
7323 2003-06-17  Angus Leeming  <leeming@lyx.org>
7324
7325         * lfuns.h:
7326         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
7327
7328         * lyxfunc.C (dispatch): invoke it.
7329
7330 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7331
7332         * iterators.C (operator++, ParPosition): reintroduce some
7333         const_cast for the benefit of older compilers.
7334
7335 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7336
7337         * text3.C (dispatch): do not modify clipboard when doing
7338         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
7339         LFUN_DELETE_SKIP on a selection selection
7340
7341 2003-06-16  André Pönitz  <poenitz@gmx.net>
7342
7343         * BufferView.C:
7344         * buffer.C:
7345         * buffer.h:
7346         * paragraph.C:
7347         * tabular.[Ch]: IU of clone() and getLabelList();
7348
7349 2003-06-13  André Pönitz  <poenitz@gmx.net>
7350
7351         * tabular.h: compactification
7352
7353 2003-06-12  André Pönitz  <poenitz@gmx.net>
7354
7355         * tabular.C:
7356         * tabular.h:
7357         * tabular_funcs.h: some renaming plus whitespace
7358
7359 2003-06-12  André Pönitz  <poenitz@gmx.net>
7360
7361         * BufferView.C:
7362         * BufferView_pimpl.C:
7363         * CutAndPaste.C:
7364         * buffer.C:
7365         * iterators.[Ch]:
7366         * lyxfunc.C:
7367         * text.C:
7368         * toc.C: Return a Paragraph & for ParIterator::operator*()
7369
7370 2003-06-11  John Levon  <levon@movementarian.org>
7371
7372         * lyx_main.C:
7373         * ToolbarBackend.h:
7374         * ToolbarBackend.C: add "Toolbars" section and
7375         put the flags there
7376
7377 2003-06-10  Angus Leeming  <leeming@lyx.org>
7378
7379         * lfuns.h:
7380         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
7381
7382         * lyxfunc.C (dispatch): invoke it.
7383
7384 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
7385
7386         * main.C: protect <ios> with HAVE_IOS
7387         (main): protect sync_with_stdio with HAVE_IOS
7388
7389 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
7390
7391         * text2.C (cutSelection): adjust
7392         (pasteSelection): adjust
7393
7394         * messages.C: handle get of empty string
7395
7396         * main.C (main): use sync_with_stdio(false)
7397
7398         * lyxfunc.C (dispatch): adjust
7399
7400         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
7401         (WriteAs): remove unneeded BufferView arg.
7402
7403         * bufferparams.h: use correct types on papersize, papersize2 and
7404         paperpackage.
7405
7406         * bufferparams.C (readToken): adjust for type
7407         (writeLaTeX): add missing cases to switch.
7408
7409         * bufferlist.C (quitWriteBuffer): adjust
7410         (close): adjust
7411
7412         * buffer.C (asciiParagraph): remove some commented code.
7413
7414         * CutAndPaste.C: remove current_view extern variable.
7415         (cutSelection): add BufferParams arg.
7416         (eraseSelection): add BufferParams arg.
7417         (pasteSelection): add Buffer const & arg
7418
7419 2003-06-07  John Levon  <levon@movementarian.org>
7420
7421         * buffer.C:
7422         * paragraph_funcs.C:
7423         * paragraph_pimpl.C:
7424         * text.C:
7425         * text2.C:
7426         * paragraph.h:
7427         * paragraph.C: allow InsetERT to freely space lines,
7428         and some consolidation of code
7429
7430 2003-06-06  José Matos  <jamatos@fep.up.pt>
7431
7432         * buffer.C (makeDocBookFile): fix bug #821
7433
7434 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
7435
7436         * BufferView_pimpl.C (dispatch): use Dialogs::visible
7437
7438 2003-06-04  Angus Leeming  <leeming@lyx.org>
7439
7440         * buffer.C: bump format to 224.
7441
7442 2003-06-05  André Pönitz  <poenitz@gmx.net>
7443
7444         * text2.C (redoParagraphs): remove two const_cast<>
7445
7446 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
7447
7448         * ParagraphList.h: remove last remnants of NO_STD_LIST
7449
7450 2003-06-03  Angus Leeming  <leeming@lyx.org>
7451
7452         * factory.C (createInset): small change to the way InsetExternal's params
7453         are set.
7454
7455 2003-06-04  André Pönitz  <poenitz@gmx.net>
7456
7457         * buffer.h: use Undo directly instead of shared_ptr<Undo>
7458
7459         * paragraph_pimpl.h:
7460         * paragraph.[Ch]: some Inset -> UpdatableInset changes
7461
7462         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
7463
7464         * undo_funcs.C: make some simple cases of undo work again
7465
7466 2003-06-03  John Levon  <levon@movementarian.org>
7467
7468         * ispell.C: HPUX doesn't have sys/select.h
7469         (from Albert Chin)
7470
7471 2003-06-03  John Levon  <levon@movementarian.org>
7472
7473         * CutAndPaste.C: update tabular and include inset
7474         buffer references
7475
7476         * buffer.h:
7477         * paragraph.h:
7478         * paragraph.C: remove owningBuffer(), don't pass Buffer
7479         to clone()
7480
7481         * factory.C: insetGraphicsParams changed
7482
7483 2003-06-02  John Levon  <levon@movementarian.org>
7484
7485         * LyXAction.C:
7486         * factory.C:
7487         * lfuns.h:
7488         * lyxfunc.C:
7489         * text3.C: remove insetparent
7490
7491 2003-06-02  John Levon  <levon@movementarian.org>
7492
7493         * buffer.h:
7494         * buffer.C: fix inset_iterator.end(), move out of line
7495         (bug 1149)
7496
7497 2003-06-01  John Levon  <levon@movementarian.org>
7498
7499         * text3.C: use a proper cut/paste when doing inset
7500         insert (from Jürgen Spitzmüller)
7501
7502 2003-06-01  John Levon  <levon@movementarian.org>
7503
7504         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
7505
7506 2003-05-30  André Pönitz  <poenitz@gmx.net>
7507
7508         * rowpainter.C: unify second drawing phase
7509
7510 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
7511
7512         * trans_mgr.C: remove one case of current_view
7513
7514         * text2.C (cursorBottom): delete NO_STD_LIST stuff
7515
7516         * paragraph_funcs.h: remove paragraph.h include
7517
7518         * paragraph.h: delete NO_STD_LIST stuff
7519
7520         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
7521
7522         * buffer.h: remove paragraph.h include
7523
7524         * ParagraphList.C: delete file
7525
7526         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
7527
7528         * toc.C (getTocList): adjust
7529
7530         * paragraph_pimpl.C (validate): adjust
7531
7532         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
7533
7534         * paragraph.C (Paragraph): adjust
7535         (getPositionOfInset): use const_iterator, adjust
7536         (bibitem): use const_iterator, adjust
7537         (setInsetOwner): adjust
7538
7539         * iterators.C (operator++): adjust
7540
7541         * InsetList.[Ch]: Replace selfmade iterator with standard
7542         vector::iterator also introduce const_iterator. Remove getPos,
7543         getInset and setInset from InsetTable. Adjust accordingly.
7544
7545         * BufferView.C (lockInset): adjust
7546         (ChangeInsets): adjust
7547
7548         * tabular.[Ch]: delete commented same_id functions
7549
7550 2003-05-28  John Levon  <levon@movementarian.org>
7551
7552         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
7553
7554 2003-05-28  André Pönitz  <poenitz@gmx.net>
7555
7556         * metricsinfo.[Ch]: remove 'fullredraw' member
7557
7558 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
7559
7560         * lyxtextclass.C (operator): remove caching.
7561
7562 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7563
7564         * text3.C: adjust
7565
7566         * text2.C (cursorBottom): adjust
7567         (setCounter): use ParagraphList::find, adjust
7568
7569         * text.C (workWidth): use ParagraphList::find, adjust
7570
7571         * lyxcursor.C (LyXCursor): adjust
7572
7573         * buffer.C (inset_iterator): adjust
7574
7575         * ParagraphList.h: make iterator(value_type) private, make
7576         ParagraphList a friend of iterator.
7577
7578         * ParagraphList.C (find): new function
7579
7580         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7581
7582 2003-05-27  André Pönitz  <poenitz@gmx.net>
7583
7584         * dimension.[Ch]: a -> asc, d -> des, w -> wid
7585
7586 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7587
7588         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
7589
7590 2003-05-26  John Levon  <levon@movementarian.org>
7591
7592         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
7593
7594 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
7595
7596         * remove same_id from function signatures, adjust.
7597
7598 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
7599
7600         * undo_funcs.C (createUndo): use the id functions directly, adjust.
7601
7602         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
7603
7604         * paragraph.C (Paragraph): get rid of same_ids parameter
7605
7606         * ParagraphList.C (insert): adjust
7607         (push_back): adjust
7608
7609 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
7610
7611         * paragraph_funcs.C (breakParagraph): adjust
7612         (breakParagraphConservative): adjust
7613
7614         * buffer.C (readParagraph): adjust
7615
7616         * ParagraphList.C (insert): take a reference instead of a pointer
7617         (insert): adjust
7618
7619         * paragraph.[Ch] (id): new function
7620
7621         * bufferlist.C (newFile): adjust
7622
7623         * ParagraphList.C (ParagraphList): adjust
7624         (assign): adjust
7625         (push_back): take a reference instead of a pointer.
7626
7627         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
7628
7629         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
7630         instead.
7631
7632         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
7633         set else use old code.
7634
7635         * ParagraphList.C: remove all NO_NEXT code and only compile this
7636         code of NO_STD_LIST is set.
7637
7638 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
7639
7640         * BufferView_pimpl.C:
7641         * TextCache.C:
7642         * TextCache.h:
7643         * bufferlist.C:
7644         * errorlist.h:
7645         * format.C:
7646         * format.h:
7647         * graph.C:
7648         * lyxfunc.C:
7649         * lyxrc.C:
7650         * graphics/GraphicsConverter.C:
7651         * graphics/PreviewLoader.C: header adjustment
7652
7653 2003-05-23  Angus Leeming  <leeming@lyx.org>
7654
7655         * LaTeXFeatures.[Ch] (useBabel): new method.
7656         * bufferparams.C (writeLaTeX): use it.
7657
7658 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
7659
7660         * ParagraphList.h (set): remove unused function.
7661
7662 2003-05-23  André Pönitz  <poenitz@gmx.net>
7663
7664         * BufferView.C:
7665         * BufferView_pimpl.C:
7666         * buffer.C:
7667         * buffer.h:
7668         * lyxfunc.C:
7669         * undo_funcs.C: setUndo reworked
7670
7671         * iterators.[Ch]: add access to topmost ParagraphList
7672
7673         * lyxtext.[Ch] (workWidth): add a const
7674
7675 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
7676
7677         * texrow.[Ch] (increasePos): remove function
7678         * exporter.C (export): removed unused var and outdated comment
7679
7680 2003-05-23  Angus Leeming  <leeming@lyx.org>
7681
7682         * latexrunparams.h: rename fragile as moving_arg.
7683         * paragraph.C (simpleTeXOnePar): ditto.
7684         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
7685
7686 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
7687
7688         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
7689         (createUndo): ditto
7690         (textUndoOrRedo): comment out a currently unused var.
7691
7692         * paragraph.h (NO_NEXT): enable NO_NEXT
7693
7694         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
7695
7696         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
7697
7698         * exporter.C (Export): adjust for removeAutoInsets removal.
7699
7700         * buffer.C (runChktex): adjust for removeAutoInsets removal.
7701
7702         * LyXAction.C (init): remove LFUN_REMOVEERRORS
7703
7704         * BufferView.[Ch] (removeAutoInsets): delete function
7705
7706 2003-05-22  Angus Leeming  <leeming@lyx.org>
7707
7708         * latexrunparams.h: add a free_spacing variable.
7709
7710         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
7711         to pass moving_arg, as the data is stored in runparams.fragile.
7712
7713         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
7714         to Inset::latexOptional or to simpleTeXOnePar.
7715
7716         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
7717         free_spacing arg to Inset::latexOptional.
7718
7719         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7720         free_spacing arg.
7721
7722 2003-05-22  Angus Leeming  <leeming@lyx.org>
7723
7724         * latexrunparams.h: add fragile and use_babel variables.
7725
7726         * bufferparams.[Ch] (writeLaTeX): return use_babel.
7727         * buffer.C (makeLaTeXFile): store this returned value in
7728         runparams.use_babel, thus passing it to the inset::latex methods.
7729
7730         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
7731         simpleTeXSpecialChars as it is now stored in runparams.fragile.
7732
7733         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
7734         longer has a fragile arg, as it is stored in runparams.fragile.
7735
7736         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
7737         moving_arg parameter as the data is stored in runparams.fragile.
7738
7739         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7740         a fragile parameter as the data is stored in runparams.fragile.
7741
7742 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7743
7744         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
7745
7746 2003-05-22  Angus Leeming  <leeming@lyx.org>
7747
7748         * latexrunparams.h: add a 'bool nice' which defaults to false.
7749
7750         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
7751         now encapsulated within runparams.
7752
7753         * bufferlist.C (updateIncludedTeXfiles):
7754         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
7755
7756 2003-05-22  Angus Leeming  <leeming@lyx.org>
7757
7758         * latexrunparams.h: new file containing struct LatexRunParams.
7759         * Makefile.am: add new file.
7760
7761         * LaTeX.[Ch] (c-tor, run):
7762         * buffer.[Ch] (makeLaTeXFile):
7763         * bufferlist.[Ch] (updateIncludedTeXfiles):
7764         * converter.C (convert, scanLog):
7765         * converter.[Ch] (runLaTeX):
7766         * exporter.C (Export):
7767         * paragraph.[Ch] (simpleTeXOnePar):
7768         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
7769         * paragraph_funcs.[Ch] (latexParagraphs):
7770         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
7771         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
7772         pass around a LatexRunParams parameter.
7773
7774 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7775
7776         * paragraph.[Ch]: remove unused constructor
7777
7778         * ParagraphList.C (erase): new function, taking two iterators
7779
7780 2003-05-22  André Pönitz  <poenitz@gmx.net>
7781
7782         * undo_funcs.C: remove duplicated code
7783
7784         * iterator.[Ch]: operator=
7785
7786 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7787
7788         * tabular.C (SetMultiColumn): ws changes
7789
7790         * rowpainter.C (paintFirst): get rid of a ->previous
7791
7792         * lyx_cb.C (getPossibleLabel): parlist simplification
7793
7794         * BufferView.C (ChangeInsets): simplify slightly.
7795
7796 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
7797
7798         * LyXAction.C: new lfun space-insert, kill protected-space-insert
7799         * lfuns.h: new LFUN_SPACE
7800         * lyxfunc.C: protected space has a new lfun
7801         * paragraph_funcs.C: read new space insets
7802         * text3.C:
7803         * factory.C: handle new space insets
7804
7805 2003-05-22  André Pönitz  <poenitz@gmx.net>
7806
7807         * BufferView.C:
7808         * BufferView_pimpl.C:
7809         * buffer.[Ch]:
7810         * lyxfunc.C:
7811         * undo_funcs.C: return a ParIterator from getParFromID.
7812
7813         * iterators.[Ch]: add two const's
7814
7815 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
7816
7817         * toc.C (getTocList): adjust
7818
7819         * iterators.[Ch]: rework for parlist
7820
7821         * buffer.C (par_iterator_begin): adjust
7822         (par_iterator_end): adjust
7823
7824         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
7825
7826         * BufferView.C (removeAutoInsets): adjust
7827         (ChangeInsets): adjust
7828
7829 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
7830
7831         * text.C (top_y): fix bug 1110
7832
7833 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
7834
7835         * errorlist.[Ch]: added
7836         * buffer.C:
7837         * BufferView.[Ch]:
7838         * BufferView_pimpl.C:
7839         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
7840         instead
7841
7842 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7843
7844         * Makefile.am: ensure that lyx is relinked upon changes to the
7845         various "convenience" libs.
7846
7847 2003-05-20  Angus Leeming  <leeming@lyx.org>
7848
7849         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
7850         files are compiled in alphabetical order again.
7851
7852         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
7853
7854 2003-05-19  Angus Leeming  <leeming@lyx.org>
7855
7856         * gettext.[Ch]: remove "char const * _(char const *)".
7857
7858 2003-05-19  André Pönitz  <poenitz@gmx.net>
7859
7860         * dimension.[Ch]: promote from mathed/dimension.[Ch]
7861
7862         * Makefile.am:
7863         * BufferView.C:
7864         * DepTable.h:
7865         * LaTeXFeatures.C:
7866         * buffer.C:
7867         * lyxfont.C:
7868         * lyxlex.h:
7869         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
7870
7871 2003-05-19  André Pönitz  <poenitz@gmx.net>
7872
7873         * buffer.C:
7874         * lyxlayout.[Ch]:
7875         * lyxtextclass.[Ch]:
7876         * paragraph.C:
7877         * paragraph_funcs.[Ch]:
7878         * text2.C:
7879         * text3.C: more insetenv work
7880
7881 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
7882
7883         * ParagraphParameters.C (params2string): small bug fixed
7884
7885 2003-05-16  André Pönitz  <poenitz@gmx.net>
7886
7887         * debug.C:
7888         * bufferview_funcs.C: patch from Kornel Benko to prevent
7889           crash when _(...) is called twice in a statement
7890
7891 2003-05-16  André Pönitz  <poenitz@gmx.net>
7892
7893         * BufferView.C:
7894         * lyxfunc.C:
7895         * text.C:
7896         * text2.C:
7897         * text3.C:
7898         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
7899
7900 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
7901
7902         * lyx_main.C (init): remove spurious static_cast
7903
7904 2003-05-14  André Pönitz  <poenitz@gmx.net>
7905
7906         * BufferView.C: fix format string
7907
7908 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
7909
7910         * BufferView.[Ch] (insertErrors): removed
7911         * BufferView.[Ch] (showErrorList): added
7912         * buffer.C (runChkTeX):
7913         * converter.C (scanLog): call showErrorList instead of inserterrors
7914
7915 2003-05-13  André Pönitz  <poenitz@gmx.net>
7916
7917         * BufferView_pimpl.C:
7918         * buffer.C:
7919         * bufferview_func.C:
7920         * MenuBackend.C:
7921         * lyxfunc.C:
7922         * lyxrc.C:
7923         * tex-accent.C:
7924         * text3.C:
7925         * toc.C:
7926         * tabular_funcs.h: tostr() from its own header
7927
7928         * ParagraphParameters.C:
7929         * ToolbarBackend.C:
7930         * bufferparams.C:
7931         * format.C:
7932         * lyxlex_pimpl.C:
7933         * text3.C: STRCONV()
7934
7935 2003-05-12  André Pönitz  <poenitz@gmx.net>
7936
7937         * BufferView.C:
7938         * BufferView_pimpl.C:
7939         * CutAndPaste.C:
7940         * LaTeX.C:
7941         * LaTeXFeatures.C:
7942         * ParagraphParameters.C:
7943         * buffer.C:
7944         * bufferlist.C:
7945         * bufferparams.C:
7946         * bufferview_funcs.C:
7947         * converter.C:
7948         * counters.C:
7949         * debug.C:
7950         * exporter.C:
7951         * format.C:
7952         * importer.C:
7953         * lyx_cb.C:
7954         * lyx_main.C:
7955         * lyxfont.C:
7956         * lyxfunc.C:
7957         * lyxvc.C:
7958         * paragraph.C:
7959         * paragraph_funcs.C:
7960         * tabular.C:
7961         * tabular_funcs.C:
7962         * text2.C:
7963         * text3.C:  boost::format -> bformat  all over the place
7964
7965
7966 2003-05-09  André Pönitz  <poenitz@gmx.net>
7967
7968         * LColor.[Ch]: Pimpl the #include <map> away
7969
7970 2003-05-09  John Levon  <levon@movementarian.org>
7971
7972         * bufferlist.C: never remove emergency saves
7973
7974 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7975
7976         * Makefile.am: better lib building
7977
7978 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
7979
7980         * texrow.[Ch]: remove dependency on Paragraph and just store a id
7981         instead.
7982         * paragraph_pimpl.C (simpleTeXBlanks): adjust
7983         (simpleTeXSpecialChars): adjust
7984         (simpleTeXSpecialChars): adjust
7985         * paragraph.C (simpleTeXOnePar): adjust
7986         * buffer.C (makeLaTeXFile): adjust
7987
7988         * Makefile.am (BOOST_LIBS): allow boost as system lib.
7989
7990         * text2.C (changeDepth): parlist cleanup
7991         (getColumnNearX): ditto
7992
7993         * rowpainter.C (getLabelFont): parlist cleanup
7994
7995         * bufferlist.C (newFile): parlist cleanup
7996
7997         * CutAndPaste.C (eraseSelection): parlist cleanup
7998
7999         * BufferView_pimpl.C (trackChanges): parlist cleanup
8000         (dispatch): ditto
8001
8002         * BufferView.C (lockInset): parlist cleanup.
8003         (ChangeInsets): ditto
8004
8005 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
8006
8007         * CutAndPaste.h: Update file header.
8008
8009         * CutAndPaste.C: Update file header.
8010         Store the parts cut out of the Document in a limited_stack.
8011         (copySelection): adjust
8012         (pasteSelection): new function, takes the index in the limited stack.
8013         (nrOfParagraphs): adjust
8014         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
8015         simplify error inset insertion.
8016         (checkPastePossible): adjust
8017
8018 2003-05-06  John Levon  <levon@movementarian.org>
8019
8020         * text2.C: don't cast wrap inset to float
8021
8022 2003-05-05  André Pönitz  <poenitz@gmx.net>
8023
8024         * iterator.C:
8025         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
8026
8027         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
8028           few naked Paragraph *.
8029
8030 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
8031
8032         * bufferparams.C: Output warning if a document with missing
8033         TeX document class is loaded
8034         * exporter.C: Disable TeX exports if the document class is missing
8035         * lyxtextclass.C:
8036         * lyxtextclass.h:
8037         * lyxtextclasslist.C: Handle new textclass.lst format; new method
8038         isTeXClassAvailable()
8039
8040 2003-05-03  John Levon  <levon@movementarian.org>
8041
8042         * BufferView.h:
8043         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
8044         explicit cursor show/hide
8045
8046         * BufferView_pimpl.h:
8047         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
8048         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
8049
8050         * lyxfunc.C: hide cursor before dispatching.
8051
8052         * lyx_cb.C:
8053         * lyxfind.C:
8054         * text.C:
8055         * text3.C: remove explicit cursor hides
8056
8057 2003-05-02  André Pönitz  <poenitz@gmx.net>
8058
8059         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
8060
8061         * undo_funcs.C:
8062         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
8063           linked lists
8064
8065         * text2.C: tiny whitespace
8066
8067 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8068
8069         * undo_funcs.C: almost only ws changes.
8070
8071         * ParagraphList.C (splice): just return if pl is empty.
8072
8073 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8074
8075         * ParagraphList.C (splice): new function.
8076
8077         * CutAndPaste.C (pasteSelection): use it
8078
8079 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8080
8081         * CutAndPaste.C (pasteSelection): remove the last next and
8082         previous from this file.
8083
8084 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8085
8086         * CutAndPaste.C (pasteSelection): more clean up, user proper
8087         ParagraphList functions for pasteing.
8088
8089         * ParagraphList.C (insert): new function, three arg insert
8090
8091 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8092
8093         * ParagraphList.C (insert): new function, three arg insert
8094
8095         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
8096         not on paragraphs.
8097
8098 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8099
8100         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
8101
8102 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8103
8104         * CutAndPaste.C (pasteSelection): remove some unneeded code.
8105
8106 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8107
8108         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
8109         (copySelection): clean up a bit.
8110         (pasteSelection): use make_pair
8111
8112         * ParagraphList.C (ParagraphList): implement copy constructor
8113         (operator=): implement, base on copy constructor.
8114         (assign): new func
8115
8116         * paragraph.C (erase): return a bool
8117
8118         * paragraph_pimpl.C (erasePos): remove function, move contents...
8119         (erase): ... here. Return a bool.
8120         (erase): call erase instead of erasePos.
8121
8122 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
8123
8124         * ParagraphList.h: define PitPosPair
8125         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
8126         ParagraphList, fix a bug on pasting multiple pars
8127         * text2.C: change interface to C&P
8128
8129 2003-04-30  André Pönitz  <poenitz@gmx.net>
8130
8131         * undo_func.C: revert part of yesterday's patch 2
8132
8133 2003-04-30  John Levon  <levon@movementarian.org>
8134
8135         * LColor.C: s/tabular/table/
8136
8137 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
8138
8139         * text3.C (dispatch): do not convert iterator -> pointer
8140         * undo_funcs.C (setCursorParUndo): ditto
8141         * text_funcs.C (transposeChars): ditto
8142
8143         * text2.C (setLayout): ws changes only
8144
8145         * text.C (breakParagraph): do not convert iterator -> pointer
8146         (insertChar): ditto
8147         (acceptChange): ditto
8148         (rejectChange): ditto
8149         (changeCase): ditto
8150         (Delete): ditto
8151         (backspace): ditto
8152
8153         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
8154         pointer
8155
8156 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
8157
8158         * text3.C (gotoInset): YABG (yet another bad getChar)
8159
8160 2003-04-29  André Pönitz  <poenitz@gmx.net>
8161
8162         * paragraph.h: make operator= private unimplemented as long as
8163           it is unusable
8164
8165         * ParagraphList.C: whitespace
8166
8167         * paragraph.[Ch]:
8168         * paragraph_pimpl.[Ch]:
8169         * paragraph_funcs.C:
8170         * CutAndPaste.C:
8171         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
8172
8173         * text2.C:
8174           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
8175
8176 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
8177
8178         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
8179         * paragraph.[Ch] (erase):
8180         * paragraph_pimpl.[Ch] (erase): change return type and value
8181         * text2.C (cutSelection): some rework
8182
8183 2003-04-28  John Levon  <levon@movementarian.org>
8184
8185         * bufferlist.C: changes for unsaved changes dialog
8186
8187 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
8188
8189         * bufferlist.C (newFile): set language (messages_) for new
8190         documents also.
8191
8192         * buffer.C (readFile): ws changes only.
8193
8194 2003-04-28  André Pönitz  <poenitz@gmx.net>
8195
8196         * undo_funcs.C:
8197         * lyxfunc.C:
8198         * buffer.[Ch]:
8199         * BufferView_pimpl.C:
8200         * BufferView.C: getParFromID related ParagraphList::iterator changes
8201
8202 2003-04-28  André Pönitz  <poenitz@gmx.net>
8203
8204         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
8205           Changes
8206
8207 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
8208
8209         * messages.C: remove one more localedir class variable.
8210
8211 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
8212
8213         * messages.C (getLocaleDir): singleton generation function
8214         (Pimpl): use it.
8215         (Messages): add a default constructor.
8216
8217         * main.C (main): do not setup localedir here, do not call
8218         gettext_init.
8219
8220         * gettext.C (_): use it.
8221         (gettext_init): delete funciton
8222
8223 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
8224
8225         * gettext.C (getLyXMessages): new singleton generating function.
8226
8227         * buffer.C (updateDocLang): adjust
8228
8229         * Makefile.am (messages.o): add target
8230         (main.o): remove target
8231
8232 2003-04-27  John Levon  <levon@movementarian.org>
8233
8234         * bufferlist.C:
8235         * lyx_cb.C:
8236         * lyxfunc.C:
8237         * lyxvc.C: specify cancel button in Alert::prompt
8238
8239 2003-04-26  John Levon  <levon@movementarian.org>
8240
8241         * text3.C:
8242         * lyxfunc.C:
8243         * lfuns.h:
8244         * LyXAction.C: add LFUN_INSET_SETTINGS
8245
8246         * lyxfunc.C: don't enable tabular-feature when there's
8247         just any locking inset
8248
8249 2003-04-26  John Levon  <levon@movementarian.org>
8250
8251         * bufferlist.C: re-add Cancel to buffer close question
8252
8253         * lyxfunc.C: fix import UI a bit
8254
8255 2003-04-25  John Levon  <levon@movementarian.org>
8256
8257         * gettext.C: remove the broken asserts for now
8258
8259 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
8260
8261         * messages.C: make case where setlocale cannot comply work better.
8262
8263         * buffer.C (updateDocLang): new function
8264         (changeLanguage): use it
8265         (readFile): use it
8266
8267         * text2.C (setCounter): use B_ a bit.
8268
8269         * lyxlayout.C (Read): be sure to trim the label strings.
8270
8271         * messages.C (Messages): fix typo in comment
8272
8273         * buffer.C (readFile): set message_ after file is loaded.
8274         (makeDocBookFile): remove double return
8275         (changeLanguage): reset message_ upon language change.
8276         (B_): new func, use this to get translated buffer strings.
8277
8278         * main.C: add myself and Jean Marc as authors.
8279
8280 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
8281
8282         * messages.[hC]: pimplify Messages, and three different pimpls to be
8283         used in different circumstances.
8284
8285         * gettext.[Ch]: change for use with new message code.
8286
8287 2003-04-24 André Pönitz <poenitz@gmx.net>
8288
8289         * factory.C: support for eqref
8290
8291 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
8292
8293         * messages.[Ch]: add missing char
8294
8295         * Makefile.am (lyx_SOURCES): add messages.[Ch]
8296
8297         * messages.[Ch]: New files
8298
8299 2003-04-18  John Levon  <levon@movementarian.org>
8300
8301         * BufferView.h:
8302         * BufferView.C:
8303         * BufferView_pimpl.C:
8304         * lfuns.h:
8305         * LyXAction.C:
8306         * lyxtext.h:
8307         * text2.C: remove layout-copy/paste (bug 778)
8308
8309 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
8310
8311         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
8312
8313 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
8314
8315         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
8316         if they succeed. Act accordingly.
8317
8318 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
8319
8320         * text2.C (setCharFont): adjust
8321         (setCounter): adjust
8322         (insertStringAsLines): adjust
8323
8324         * text.C (leftMargin): adjust
8325         (setHeightOfRow): adjust
8326
8327         * rowpainter.C (paintFirst): adjust
8328         (paintLast): adjust
8329
8330         * paragraph_funcs.C (depthHook): ParagraphList::iterators
8331         (outerHook): ditto
8332         (isFirstInSequence): ditto
8333         (getEndLabel): ditto
8334         (outerFont): adjust
8335
8336         * paragraph.C (getParLanguage): comment out some hard stuff.
8337
8338         * buffer.C (insertStringAsLines): take a ParagraphList as arg
8339         (sgmlError): ditto
8340         (simpleDocBookOnePar): ditto
8341         (makeDocBookFile): use ParagraphList::iterator
8342
8343         * CutAndPaste.C (pasteSelection): adjust
8344
8345 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
8346
8347         * text2.C (getFont): adjust
8348         (getLayoutFont): adjust
8349         (getLabelFont): adjust
8350
8351         * paragraph_funcs.C (TeXOnePar): adjust
8352
8353         * buffer.C (simpleLinuxDocOnePar): adjust
8354         (simpleDocBookOnePar): adjust
8355
8356         * CutAndPaste.C (pasteSelection): adjust
8357
8358         * BufferView.C (getEncoding): adjust
8359
8360         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
8361
8362 2003-04-16  John Levon  <levon@movementarian.org>
8363
8364         * lyxfind.C: use parlist stuff for search/changes
8365
8366 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
8367
8368         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
8369
8370         * text2.C (deleteEmptyParagraphMechanism): adjust
8371
8372         * text2.[Ch] (ownerParagraph): delete func (both of them
8373
8374 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8375
8376         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
8377
8378 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8379
8380         * ParagraphList.C: prepare for NO_NEXT
8381
8382 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8383
8384         * text2.C (getFont): adjust
8385         (getLayoutFont): adjust
8386         (getLabelFont): adjust
8387
8388         * paragraph.C (getFont): adjust
8389         (getLabelFont): adjust
8390         (getLayoutFont): adjust
8391
8392         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
8393
8394 2003-04-15  John Levon  <levon@movementarian.org>
8395
8396         From Angus Leeming
8397
8398         * lyx_main.C: handle Include in .ui files
8399
8400 2003-04-15  John Levon  <levon@movementarian.org>
8401
8402         * MenuBackend.C: make the doc files length shorter
8403
8404         * ToolbarBackend.h:
8405         * ToolbarBackend.C: handle toolbar placement flags,
8406         Minibuffer
8407
8408 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8409
8410         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
8411         adjust
8412
8413         * paragraph_funcs.C (TeXOnePar): adjust
8414
8415         * paragraph.C (getLabelFont): add outerfont arg, adjust
8416         (getLayoutFont): ditto
8417         (simpleTeXOnePar): adjust
8418
8419         * paragraph_pimpl.C (realizeFont): delete func
8420
8421 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
8422
8423         * text2.C (beforeFullRowInset): added a bad getchar check, removed
8424         row argument, constify cur argument.
8425
8426 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8427
8428         * text2.C (getFont): adjust
8429         (getLayoutFont): adjust
8430         (getLabelFont): adjust
8431
8432         * paragraph_funcs.C (TeXOnePar): adjust
8433         (outerFont): new func...
8434         (realizeFont): ...moved out from here, changed this to facilitate
8435         transition
8436
8437         * paragraph.C (getFont): take outerfont as arg, adjust
8438         (simpleTeXOnePar): add outerfont arg, adjust
8439
8440         * buffer.C (simpleLinuxDocOnePar): adjust
8441         (simpleDocBookOnePar): adjust
8442
8443         * CutAndPaste.C (pasteSelection): adjust
8444
8445         * BufferView.C (getEncoding): adjust
8446
8447 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8448
8449         * text2.C (setCharFont): adjust
8450         (setCounter): adjust
8451
8452         * text.C (leftMargin): adjust
8453         (setHeightOfRow): adjust
8454
8455         * rowpainter.C (paintFirst): adjust
8456         (paintLast): adjust
8457
8458         * paragraph_pimpl.C (realizeFont): adjust
8459
8460         * paragraph.C (isFirstInSequence): move from here...
8461         * paragraph_funcs.C (isFirstInSequence): ...to here
8462
8463         * paragraph.C (outerHook): move from here...
8464         * paragraph_funcs.C (outerHook): ...to here
8465
8466         * paragraph.C (depthHook): move from here...
8467         * paragraph_funcs.C (depthHook): ...to here
8468
8469         * paragraph.C (getEndLabel): move from here...
8470         * paragraph_funcs.C (getEndLabel): ...to here
8471
8472         * text2.C (realizeFont): move from here...
8473         * paragraph_funcs.C (realizeFont): ...to here
8474
8475 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8476
8477         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
8478
8479 2003-04-14  Angus Leeming  <leeming@lyx.org>
8480
8481         * LColor.[Ch]: scrap LColor mathcursor.
8482
8483 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8484
8485         * lyxlex.[Ch] (text): delete function
8486         * trans.C (Load): adjust
8487         * paragraph_funcs.C (readParToken): adjust
8488
8489 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8490
8491         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
8492         vector<char> instead of a char[].
8493
8494         * lyxlex_pimpl.C (getString): adjust
8495         (next): adjust
8496         (lex): use getString
8497         (eatLine): adjust
8498         (nextToken): adjust
8499
8500         * lyxlex.C (text): use pimpl_->getString()
8501         (getBool): ditto
8502         (findToken): ditto
8503
8504 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8505
8506         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
8507         (makeFontEntriesLayoutSpecific): temp var for par.size()
8508         (setLayout): temp var for ownerParagraphs().end()
8509         (fullRebreak): temp var for rows().end()
8510         (selectionAsString): temp var for boost::next(startpit), realize
8511         that the while really is a regular for loop.
8512         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
8513         setCursor in one place.
8514         (setParagraph): temp vr for ownerParagraphs().end()
8515         (updateCounters): make the while loop a for loop
8516         (cutSelection): temp var for ownerParagraphs().end()
8517         (updateInset): make the do {} while() a regular for loop
8518         (getCursorX): use temp vars
8519         (setCurrentFont): use temp vars
8520         (getColumnNearX): use temp vars
8521
8522 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
8523
8524         * text.C (transformChar): use temp var for getChar
8525         (computeBidiTables): use temp var for row->par()
8526         (fill): move temp vars for row->par() and pit->layout() earlier in
8527         the function.
8528         (labelFill): use temp var for row->par()
8529         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
8530         asc and desc, realize that pit never changes and that firstpit is
8531         just a duplicate and not needed. Exchange rit->par() with pit in a
8532         lot of places.
8533         (breakAgain): use a temp var for boost::next(rit)
8534         (breakAgainOneRow): ditto
8535         (breakParagraph): use a temp var for rows().begin()
8536         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
8537         (cursorRightOneWord): use temp var for cursor.par() and
8538         cursor.pos(), remove usage of tmpcursor.
8539         (cursorLeftOneWord): use temp var for cursor.par() and
8540         cursor.pos() only set cur at end of function.
8541
8542 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
8543
8544         * text.C, text2.C: exchange all usage of Paragraph::next with
8545         boost::next(ParagraphList::iterator)
8546
8547         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
8548
8549         * text2.C (cursorTop): simplify implementation
8550         (cursorBottom): ditto
8551         (setParagraph): use ParagraphList::iterator
8552         (setCurrentFont): adjust
8553         (getColumnNearX): adjust
8554         (cursorRight): adjust
8555         (cursorLeft): remove usage of Paragraph::previous
8556         (cursorUpParagraph): ditto
8557         (deleteEmptyParagraphMechanism): slight cleanup
8558
8559         * text.C (isBoundary): take a Paragraph const & instead of a
8560         pointer as arg.
8561         (addressBreakPoint): ditto
8562         (leftMargin): remove usage of Paragraph::previous.
8563         (setHeightOfRow): ditto
8564         (cursorLeftOneWord): ditto
8565         (selectNextWordToSpellcheck): ditto
8566         (Delete): ditto
8567         (backspace): ditto
8568         (breakParagraph): remove one usage of Paragraph::next
8569         (redoParagraph): ditto
8570         (acceptChange): ditto
8571         (insertChar): adjust
8572         (rowBreakPoint): adjust
8573
8574         * bufferview_funcs.C (toggleAndShow): adjust
8575
8576 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
8577
8578         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
8579         methods to access it.
8580         * lyxtext.h:
8581         * text.C: Added updateRowPositions to compute all row positions.
8582         Make top_y and getRowNearY() to use the cached y position
8583
8584 2003-04-11  John Levon  <levon@movementarian.org>
8585
8586         * text.C (rowBreakPoint): reintroduce the labelEnd
8587         checks, code copied from the row fill stuff. Deep voodoo.
8588
8589         * text.C (fill): add a comment and debugging for the
8590         next poor soul.
8591
8592 2003-04-11  John Levon  <levon@movementarian.org>
8593
8594         * text.C: make sure fullrow insets get wrapped to the next line,
8595         even when they're in a manual label
8596
8597 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
8598
8599         * text2.C (insertParagraph): make it take ParagraphList::iterator
8600         as arg.
8601         (setLayout): make it return ParagraphList::iterator
8602         (redoParagraphs): ditto
8603         (setCounter): ditto
8604         (checkParagraph): ditto
8605
8606         * text.C (getRow): make getrow take ParagraphList::iterator as arg
8607
8608         * text2.C: adjust several funcs.
8609         (realizeFont): take a ParagraphList::iterator as arg.
8610         (getLayoutFont): ditto
8611         (getLabelFont): ditto
8612         (setCharFont): ditto
8613
8614         * text.C: adjust several funcs.
8615
8616 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
8617
8618         * text.C (selectNextWordToSpellcheck): don't accidentally
8619         skip insets
8620
8621 2003-04-10  John Levon  <levon@movementarian.org>
8622
8623         * ToolbarBackend.C (getIcon): special handling for
8624         LFUN_MATH_DELIM
8625
8626 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
8627
8628         * text2.C (cursorRight): a getChar assert fixed
8629
8630 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
8631
8632         * text2.C (getFont): change to take a ParagraphList::iterator
8633         instead of Paragraph*
8634         Adjust several functions.
8635
8636         * text.C (transformChar): change to take a ParagraphList::iterator
8637         instead of Paragraph*
8638         (singleWidth): ditto
8639         Adjust several functions.
8640
8641         * rowpainter.C: adjust several functions
8642         * rowpainter.h:store a ParagraphList::iterator and not a
8643         Paragraph&.
8644
8645
8646 2003-04-09  John Levon  <levon@movementarian.org>
8647
8648         * lyxfunc.C:
8649         * lfuns.h:
8650         * LyXAction.h:
8651         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
8652         and the "help" bits as well
8653
8654 2003-04-09  John Levon  <levon@movementarian.org>
8655
8656         * ToolbarBackend.h:
8657         * ToolbarBackend.C: allow multiple toolbars
8658
8659 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
8660
8661         * undo_funcs.C (setCursorParUndo): adjust
8662
8663         * text_funcs.C (transposeChars): adjust
8664
8665         * text3.C (gotoNextInset): adjust
8666         (dispatch): adjust
8667
8668         * text2.C (setLayout): adjust
8669         (changeDepth): adjust
8670         (setFont): adjust
8671         (redoParagraphs): adjust
8672         (selectionAsString): adjust
8673         (setParagraph): adjust
8674         (insertInset): adjust
8675         (cutSelection): adjust
8676         (copySelection): adjust
8677         (pasteSelection): adjust
8678         (insertStringAsLines): adjust
8679         (updateInset): adjust
8680         (setCursor): change to take a ParagraphList::iterator parameter
8681         (setCursorIntern): change to take a ParagraphList::iterator parameter
8682         (setCurrentFont): adjust
8683         (cursorLeft): adjust
8684         (cursorRight): adjust
8685         (deleteEmptyParagraphMechanism): adjust
8686
8687         * text.C (breakParagraph): adjust
8688         (insertChar): adjust
8689         (acceptChange): adjust
8690         (rejectChange): adjust
8691         (selectNextWordToSpellcheck): adjust
8692         (changeCase): adjust
8693         (Delete): adjust
8694         (backspace): adjust
8695
8696         * lyxfind.C (SearchForward): adjust
8697         (SearchBackward): adjust
8698         (nextChange): adjust
8699
8700         * lyxcursor.C (par): adjust
8701
8702         * lyxcursor.h: store a ParagraphList::iterator instead of a
8703         Paragraph*
8704
8705         * lyx_cb.C (getPossibleLabel): adjust
8706
8707         * bufferview_funcs.C (toggleAndShow): adjust
8708
8709         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
8710         (dispatch): adjust
8711
8712         * BufferView.C (removeAutoInsets): adjust
8713         (lockedInsetStoreUndo): adjust
8714
8715 2003-04-09  John Levon  <levon@movementarian.org>
8716
8717         * ToolbarBackend.C: try icon without argument
8718         if with argument fails
8719
8720 2003-04-08  John Levon  <levon@movementarian.org>
8721
8722         * ToolbarBackend.h:
8723         * ToolbarBackend.C: add getIcon(), handle tooltip,
8724         and change from "Icon" to "Item".
8725
8726 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
8727
8728         * BufferView.C (lockInset): another bad getchar crunched
8729
8730 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
8731
8732         * text2.C (changeDepth): do not setUndo on test_only (make undo work
8733         again)
8734
8735 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
8736
8737         * lyxfind.C (searchForward, searchBackwards): bug 782
8738
8739 2003-04-07  John Levon  <levon@movementarian.org>
8740
8741         * paragraph.C: remove dead comment
8742
8743         * text.C: remove troublesome depth-fiddling code
8744         in leftMargin() and rightMargin() (bug 1017)
8745
8746         * text.C: fix breaking of rows in nested lists
8747         (bug 1004)
8748
8749         * text2.C (updateCounters): fix up depth values
8750         (bug 1013)
8751
8752 2003-04-07  John Levon  <levon@movementarian.org>
8753
8754         * BufferView_pimpl.C: clear message when doc finishes resizing,
8755         and after a mouse event
8756
8757         * lyxfunc.C: clear message after exiting inset
8758
8759 2003-04-07  John Levon  <levon@movementarian.org>
8760
8761         * bufferview_funcs.C: show math status not outside
8762         status in the statusbar
8763
8764 2003-04-07  John Levon  <levon@movementarian.org>
8765
8766         * lyxfunc.C: note status changed after a depth change
8767
8768 2003-04-04  Angus Leeming  <leeming@lyx.org>
8769
8770         * LaTeX.h: move AuxInfo operator==, != out of line.
8771         Remove LaTeX virtual destructor; nothing derives from it.
8772         Move operator()() out of public area and rename it startscript().
8773         Change protected for private.
8774
8775 2003-04-04  Angus Leeming  <leeming@lyx.org>
8776
8777         * lyxfunc.C:
8778         * text2.C: remove unneeded #includes.
8779
8780 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
8781
8782         * text2.C (dEPM): fix the heigth of the next row
8783
8784 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
8785
8786         * text.C: squashed an invalid getChar requester + some ws changes
8787
8788 2003-04-03  John Levon  <levon@movementarian.org>
8789
8790         * bufferview_funcs.h:
8791         * bufferview_funcs.C:
8792         * lyxfunc.C:
8793         * lyxtext.h:
8794         * text2.C: make getStatus work for the env depth lfuns
8795
8796 2003-04-03  John Levon  <levon@movementarian.org>
8797
8798         * bufferview_funcs.h:
8799         * bufferview_funcs.C:
8800         * lyxfunc.C:
8801         * lyxtext.h:
8802         * text2.C: parlistize decDepth(), by merging it with incDepth()
8803
8804 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
8805
8806         * lyxrow.h: store a ParagraphList::iterator instead of a
8807         Paragraph* and adjust other class functions to suit.
8808
8809         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
8810         above.
8811
8812 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
8813
8814         * text2.C (setCursor): do not anchor to cursor row for the time being
8815
8816 2003-04-02  John Levon  <levon@movementarian.org>
8817
8818         * LyXAction.C:
8819         * lfuns.h:
8820         * lyx_main.C:
8821         * lyxtext.h:
8822         * text.C:
8823         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
8824
8825 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8826
8827         * paragraph.h: make ParagraphList and ParagraphList::iterator
8828         friends of Paragraph.
8829
8830         * buffer.C (makeLinuxDocFile): move towards ParagraphList
8831
8832         * ParagraphList.C: Use the private next_ and previous_ from
8833         Paragraph.
8834
8835 2003-04-01  John Levon  <levon@movementarian.org>
8836
8837         * ToolbarBackend.h:
8838         * ToolbarBackend.C:
8839         * Makefile.am: rename, remove defaults gunk
8840
8841         * MenuBackend.h:
8842         * MenuBackend.C: remove defaults gunk
8843
8844         * Languages.h:
8845         * Languages.C: remove defaults gunk
8846
8847         * lyx_main.h:
8848         * lyx_main.C: error out if files couldn't be found.
8849
8850 2003-04-02  John Levon  <levon@movementarian.org>
8851
8852         * text2.C: make incDepth() use parlist
8853
8854 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8855
8856         * undo_funcs.C (firstUndoParagraph): adjust
8857
8858         * text3.C (gotoInset): adjust
8859         (dispatch): adjust, and rewrite loop.
8860
8861         * text2.C (init): adjust, and rewrite loop.
8862         (redoParagraphs): adjust
8863         (updateInset): adjust, and rewrite loop.
8864         (deleteEmptyParagraphMechanism): adjust
8865
8866         * tabular.C (LyXTabular): adjust
8867         (SetMultiColumn): adjust
8868         (TeXRow): adjust
8869
8870         * lyxtext.[Ch] (ownerParagraph): delete function
8871         (ownerParagraphs): new function returns a ParagraphList.
8872
8873         * BufferView.C (removeAutoInsets): adjust
8874         (insertErrors): adjust
8875         (setCursorFromRow): adjust
8876
8877 2003-04-01  Angus Leeming  <leeming@lyx.org>
8878
8879         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
8880         in the frontends.
8881
8882 2003-04-02  John Levon  <levon@movementarian.org>
8883
8884         * lyxtext.h:
8885         * text.C:
8886         * Makefile.am:
8887         * text_funcs.h:
8888         * text_funcs.C: make transposeChars a free function
8889
8890         * lyxrow_funcs.C: remove wrong comment
8891
8892 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8893
8894         * lyxtext.h: adjust
8895         * rowpainter.C: adjust
8896         * text.C: adjust
8897         * text2.C: adjust
8898         * text3.C: adjust
8899
8900         * lyxrow_funcs. [Ch]: new files
8901
8902         * lyxrow.[Ch]: remove next and previous pointers
8903         (next,previous): remove accessor functions
8904         (isParEnd): move to lyxrow_funcs
8905         (lastPos): move to lyxrow_funcs
8906         (nextRowIsAllInset): move to lyxrow_funcs
8907         (lastPrintablePos): move to lyxrow_funcs
8908         (numberOfSeparators): move to lyxrow_funcs
8909         (numberOfHfills): move to lyxrow_funcs
8910         (numberOfLabelHfills): move to lyxrow_funcs
8911         (hfillExpansion): move to lyxrow_funcs
8912
8913         * lyxfunc.C: adjust
8914
8915         * bufferview_funcs.C (toggleAndShow): adjust
8916
8917         * RowList.h: Remove class RowList from file leave just a
8918         std::list<Row>.
8919
8920         * RowList.C: delete file
8921
8922         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
8923         and lyxrow_funcs.h
8924
8925 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8926
8927         * text3.C (cursorPrevious): adjust
8928         (cursorNext): adjust
8929         (dispatch): adjust
8930
8931         * text2.C (redoHeightOfParagraph): adjust
8932         (redoDrawingOfParagraph): adjust
8933         (setCursor): adjust
8934
8935         * text.C (breakParagraph): adjust
8936         (insertChar): adjust
8937         (backspace): adjust
8938
8939         * rowpainter.C (RowPainter): adjust
8940         (leftMargin): simplify and adjust
8941         (most rowpainter functions): adjust.
8942
8943         * rowpainter.h: store the row as RowList::iterator not as Row*
8944
8945         * lyxcursor.C (row): taka RowList::iterator as arg
8946         (irow): ditto
8947
8948         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
8949         of Row*.
8950
8951 2003-04-01  Angus Leeming  <leeming@lyx.org>
8952
8953         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
8954         stuff like bool Bool.
8955
8956 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
8957
8958         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
8959         rewrite a loop
8960
8961 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8962
8963         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
8964         RowList::iterator.
8965
8966         * lyxtext.h (rows): drop one version and leve a const variant that
8967         returns a RowList::iterator.
8968
8969 2003-03-31  Angus Leeming  <leeming@lyx.org>
8970
8971         * text.C (fill): ensure that the signature is the same as that in the
8972         header file.
8973
8974 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
8975
8976         * text2.C (redoParagraphs): adjust
8977         (updateCounters): adjust
8978         (checkParagraph): adjust
8979         (getColumnNearX): adjust and reformat a bit.
8980
8981         * text.C (top_y): adjust
8982         (workWidth): adjust
8983         (leftMargin): adjust
8984         (prepareToPrint): adjust
8985         (getRow): adjust
8986         (getRowNearY): adjust
8987
8988         * lyxtext.h: make rowlist_ mutable.
8989
8990         * RowList.h: add const_iterator
8991         * RowList.C: adjust for RowList::const_iterator.
8992
8993         * text2.C (getCursorX): make it take a RowList::iterator as arg,
8994         adjust.
8995
8996 2003-03-31  John Levon  <levon@movementarian.org>
8997
8998         * lyxrc.h:
8999         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
9000
9001         * lyx_main.C: set default fonts from using lyx_gui funcs
9002
9003         * exporter.C: pdf_mode moved from lyxrc
9004
9005         * lyx_cb.C:
9006         * lyxfunc.C: changes from above
9007
9008 2003-03-31  John Levon  <levon@movementarian.org>
9009
9010         * lyx_main.C: fix to the last fix
9011
9012 2003-03-31  John Levon  <levon@movementarian.org>
9013
9014         * bufferlist.C: "Load original" -> "Load Original"
9015
9016         * converter.C:
9017         * exporter.C:
9018         * importer.C:
9019         * lyx_main.C:
9020         * format.C: more Alert cleanups
9021
9022 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
9023
9024         * text2.C (removeParagraph): make it take a RowList::iterator as
9025         arg, adjust.
9026         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
9027         (postRowPaint): make it take a RowList::iterator as arg, adjust.
9028
9029         * text.C (anchor_row): make it take a RowList::iterator as arg,
9030         adjust.
9031         (computeBidiTables): make it take a const reference to Row instead
9032         of Row pointer, adjust.
9033         (leftMargin): make it take a RowList::iterator as arg, adjust.
9034         (rowBreakPoint): adjust
9035         (breakAgainOneRow): make it take a RowList::iterator as arg,
9036         adjust.
9037         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
9038
9039         * bufferview_funcs.C (toggleAndShow): adjust
9040
9041 2003-03-30  John Levon  <levon@movementarian.org>
9042
9043         * Makefile.am:
9044         * BoostFormat.h:
9045         * boost-inst.C: moved to support
9046
9047         * several files: changes as a result
9048
9049 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
9050
9051         * text2.C (LyXText): adjust.
9052         (init): adjust
9053         (removeRow): make it take a RowList::iterator as arg, adjust.
9054         (fullRebreak): adjust
9055         (deleteEmptyParagraphMechanism): adjust
9056         (clearPaint): adjust
9057         (postPaint): adjust
9058
9059         * text.C (top_y): adjust
9060         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
9061         (breakAgain): make it take a RowList::iterator as arg, adjust.
9062         (breakParagraph): adjust
9063         (insertChar): adjust
9064         (backspace): adjust
9065
9066         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
9067         need_break_row, and refresh_row.
9068
9069         * text3.C (dispatch): adjust
9070
9071         * text2.C (checkParagraph): adjust
9072         (setCursor): adjust
9073         (setCursorFromCoordinates): adjust
9074
9075         * text.C (top_y): adjust
9076         (workWidth): adjust
9077         (getRow): make it return a RowList::iterator, adjust
9078         (getRowNearY): make it return a RowList::iterator, adjust
9079
9080         * text2.C (init): adjust
9081         (insertRow): remove function
9082         (insertParagraph): adjust
9083         (redoParagraphs): adjust
9084         (fullRebreak): adjust
9085         (updateCounters): adjust
9086
9087         * text.C (top_y): rewrite to use RowList iterators.
9088         (top_y): adjust
9089         (setHeightOfRow): rewrite to sue RowList iterators.
9090         (appendParagraph): adjust
9091         (breakAgain): adjust
9092         (breakAgainOneRow): adjust
9093         (breakParagraph): adjust
9094         (getRow): adjust
9095         (getRowNearY): adjust, and remove commented code.
9096
9097         * lyxtext.h (firstRow): delete function
9098         (lastRow): delete function
9099         (rows): new function (const and non-const versions.)
9100         (insertRow): delete function
9101
9102         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
9103
9104 2003-03-29  John Levon  <levon@movementarian.org>
9105
9106         * BufferView_pimpl.C: always update scrollbar top
9107         because pasting text when we're anchored could mean we
9108         miss an update altogether
9109
9110 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
9111
9112         * text2.C (init): use rowlist_.end() and not 0.
9113         (insertRow): change to take a RowList::iterator as arg, adjust
9114         for this.
9115         (insertParagraph): change to take a RowList::iterator as arg,
9116         adjust for this.
9117         (redoParagraphs): remove some debug msgs.
9118
9119         * text.C (appendParagraph): change to take a RowList::iterator
9120         arg, adjust for this.
9121         (breakAgain): add an assert
9122         (breakAgainOneRow): ditto
9123
9124 2003-03-29  John Levon  <levon@movementarian.org>
9125
9126         * text2.C: do not clear selection after inc/decDepth
9127         (bug 550)
9128
9129 2003-03-29  John Levon  <levon@movementarian.org>
9130
9131         * BufferView.C:
9132         * buffer.C: fix broken strerrors according to Lars
9133
9134 2003-03-29  John Levon  <levon@movementarian.org>
9135
9136         * converters.C: more Alert cleanups
9137
9138 2003-03-29  John Levon  <levon@movementarian.org>
9139
9140         * bufferview_funcs.C: remove pointless Alert
9141
9142         * buffer.C: fix confusing error message when
9143         a template is chmoded 000
9144
9145 2003-03-29  John Levon  <levon@movementarian.org>
9146
9147         * BufferView.C:
9148         * BufferView.h:
9149         * BufferView_pimpl.C: Alert fixes
9150
9151         * Makefile.am:
9152         * tabular.C:
9153         * tabular-old.C: remove unused table compat reading
9154
9155 2003-03-29  John Levon  <levon@movementarian.org>
9156
9157         * BufferView.C:
9158         * buffer.C:
9159         * lyx_cb.h:
9160         * lyx_cb.C: more Alert cleanups
9161
9162         * lyxfunc.C: don't allow chktex if not latex document
9163
9164 2003-03-29  John Levon  <levon@movementarian.org>
9165
9166         * lyx_cb.C:
9167         * BufferView.C:
9168         * buffer.C: warnings pushed down from support/,
9169         kill err_alert
9170
9171 2003-03-29  John Levon  <levon@movementarian.org>
9172
9173         * lyxfunc.C: safety check for C-r (revert)
9174
9175 2003-03-29  John Levon  <levon@movementarian.org>
9176
9177         * bufferlist.h:
9178         * bufferlist.C: several UI fixes using Alert::prompt.
9179         Fix the pointless looping quit code. Fix stupid revert
9180         behaviour (bug 938)
9181
9182         * lyxvc.h:
9183         * lyxvc.C:
9184         * lyx_cb.C: use Alert::prompt
9185
9186         * lyx_main.C: remove a silly question
9187
9188         * lyxfunc.C: remove a couple of silly questions,
9189         use Alert::prompt
9190
9191 2003-03-28  John Levon  <levon@movementarian.org>
9192
9193         * text2.C: fix bug 974 (End on empty par)
9194
9195 2003-03-28  John Levon  <levon@movementarian.org>
9196
9197         * BufferView_pimpl.C:
9198         * LyXAction.C:
9199         * lfuns.h: remove do-nothing math greek lfuns
9200
9201 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
9202
9203         * lyxgluelength.h (isValidGlueLength): add default arg on
9204         parameter 2. Remove default arg from friend in class.
9205
9206         * lyxlength.h (isValidLength): add default arg on parameter 2.
9207         Remove default arg from friend in class.
9208
9209         * text2.C (LyXText): adjust, initialize refresh_row.
9210         (init): adjust
9211         (removeRow): adjust
9212         (insertRow): adjust
9213         (insertParagraph): adjst
9214         (redoParagraphs): adjust
9215         (fullRebreak): adjust
9216         (updateCounters): adjust
9217         (deleteEmptyParagraphMechanism): first attempt at fixing a
9218         crashing bug.
9219
9220         * text.C (top_y): adjust
9221         (setHeightOfRow): adjust
9222         (getRow): adjust
9223         (getRowNearY): adjust
9224
9225         * lyxtext.h: include RowList.h
9226         (~LyXText): not needed anymore, deleted.
9227         (firstRow): modify for RowList
9228         (lastRow): new function
9229         Delete firstrow and lastrow class variables, add a Rowlist
9230         rowlist_ class variable.
9231
9232         * lyxrow.C (lastPos): use empty() and not !size() to check if a
9233         paragraph is empty.
9234
9235         * RowList.C (insert): fix case where it == begin().
9236
9237 2003-03-26  Angus Leeming  <leeming@lyx.org>
9238
9239         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
9240         the thesaurus dialog.
9241
9242 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
9243
9244         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
9245
9246         * RowList.[Ch]: new files
9247
9248         * ParagraphList.C (erase): handle the case where it == begin
9249         correctly.
9250
9251 2003-03-25  John Levon  <levon@movementarian.org>
9252
9253         * Makefile.am:
9254         * aspell_local.h:
9255         * aspell.C: add new aspell support
9256
9257         * lyxrc.h:
9258         * lyxrc.C: Make use_pspell be use_spell_lib. Always
9259         have it accessible.
9260
9261 2003-03-25  Angus Leeming  <leeming@lyx.org>
9262
9263         * lfuns.h:
9264         * LyXAction.C (init): new LFUN_INSET_INSERT.
9265
9266         * BufferView_pimpl.C (dispatch): split out part of the
9267         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
9268
9269         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
9270         LFUN_INSET_APPLY.
9271
9272 2003-03-25  Angus Leeming  <leeming@lyx.org>
9273
9274         * lyxfunc.C (dispatch): changes to the Dialogs interface.
9275
9276 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
9277
9278         * text2.C:
9279         * text3.C: remove useless row->height(0)
9280
9281 2003-03-25  John Levon  <levon@movementarian.org>
9282
9283         * lyxtext.h:
9284         * text2.C:
9285         * text3.C: rename the refreshing stuff to better names
9286
9287 2003-03-24  John Levon  <levon@movementarian.org>
9288
9289         * BufferView_pimpl.h:
9290         * BufferView_pimpl.C: update layout choice on a mouse
9291         press/release
9292
9293 2003-03-23  John Levon  <levon@movementarian.org>
9294
9295         * Makefile.am: fix commandtags.h reference
9296
9297 2003-03-22  John Levon  <levon@movementarian.org>
9298
9299         * BufferView_pimpl.C:
9300         * lyxtext.h:
9301         * rowpainter.C:
9302         * rowpainter.h:
9303         * text.C:
9304         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
9305
9306 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
9307
9308         * lyxtext.h:
9309         * text.C: take the rtl methods out of line
9310
9311 2003-03-21 André Pönitz <poenitz@gmx.net>
9312
9313         * metricsinfo.[Ch]: new files containing structures to be passed around
9314         during the two-phase-drawing...
9315
9316 2003-03-21 André Pönitz <poenitz@gmx.net>
9317
9318         * lyxtextclass.C: read 'environment' tag.
9319
9320 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
9321
9322         * text2.C (removeRow): fix bug 964
9323
9324 2003-03-20  John Levon  <levon@movementarian.org>
9325
9326         * rowpainter.C:
9327         * text.C:
9328         * text2.C: paint cleanups. Inset::update() dropped font
9329         parameter
9330
9331 2003-03-19  John Levon  <levon@movementarian.org>
9332
9333         * lyxfunc.C: only fitcursor/markDirty if available()
9334
9335 2003-03-19  John Levon  <levon@movementarian.org>
9336
9337         * commandtags.h: rename to ...
9338
9339         * lfuns.h: ... this, and renumber / cleanup
9340
9341 2003-03-19  John Levon  <levon@movementarian.org>
9342
9343         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
9344         fit the cursor after an lfun
9345
9346         * BufferView.h:
9347         * BufferView.C:
9348         * BufferView_pimpl.h:
9349         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
9350
9351         * LyXAction.C: layout-character should have ReadOnly
9352
9353         * ParagraphParameters.C:
9354         * buffer.C:
9355         * bufferview_funcs.C:
9356         * lyx_cb.C:
9357         * lyxfind.C:
9358         * lyxtext.h:
9359         * text.C:
9360         * text2.C:
9361         * text3.C:
9362         * undo_funcs.C: changes from above
9363
9364 2003-03-18  John Levon  <levon@movementarian.org>
9365
9366         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
9367         remove it from update()
9368
9369         * lyxfunc.C: update layout choice after an lfun
9370
9371         * text3.C: remove extra updateLayoutChoice()s
9372
9373 2003-03-18  John Levon  <levon@movementarian.org>
9374
9375         * text.C: top_y change means full repaint, fix
9376         a drawing bug with cursor movement
9377
9378 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
9379
9380         * lyxtext.h:
9381         * text.C:
9382         * text2.C: anchor row on setCursor
9383
9384 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
9385
9386         * lyxtext.h: remove almost all mutable keywords
9387         * text.C:
9388         * text2.C:
9389         * text3.C: remove const keywords accordingly
9390
9391 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
9392
9393         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
9394         anon namespace
9395         (TeXEnvironment): ditto
9396         (TeXOnePar): ditto
9397
9398 2003-03-17  John Levon  <levon@movementarian.org>
9399
9400         * text.C (rowBreakPoint): remove attempt to fix displayed
9401         math insets inside a manual label
9402
9403 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
9404
9405         * lyxtext.h: remove BufferView* as first arg from almost all class
9406         functions.
9407         * other files: adjust.
9408
9409 2003-03-17  John Levon  <levon@movementarian.org>
9410
9411         * lyxtext.h:
9412         * undo_funcs.C:
9413         * text2.C: more paint cleanups
9414
9415         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
9416
9417         * rowpainter.h:
9418         * rowpainter.C: remove "smart" background painting code
9419
9420 2003-03-16  John Levon  <levon@movementarian.org>
9421
9422         * lyxtext.h:
9423         * text.C:
9424         * text2.C:
9425         * text3.C: add helper functions for setting refresh_row/y
9426
9427 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
9428
9429         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
9430         newline inset which *can* get inserted in the pass_thru layouts.
9431         This is primarily for literate documents.
9432
9433 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
9434
9435         * buffer.C: increment LYX_FORMAT to 223
9436
9437 2003-03-14 André Pönitz <poenitz@gmx.net>
9438
9439         * textclass.h: prepare for environment handling, ws changes
9440         * lyxlayout.C: read latexheader and latexfooter tags
9441
9442 2003-03-14  John Levon  <levon@movementarian.org>
9443
9444         * text2.C: rewrite ::status() a bit
9445
9446 2003-03-13  John Levon  <levon@movementarian.org>
9447
9448         * lyxtext.h: add some docs
9449
9450 2003-03-13  John Levon  <levon@movementarian.org>
9451
9452         * lyxtext.h:
9453         * text.C:
9454         * text2.C:
9455         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
9456
9457 2003-03-13  John Levon  <levon@movementarian.org>
9458
9459         * text3.C: fix appendix redrawing
9460
9461 2003-03-13  John Levon  <levon@movementarian.org>
9462
9463         * text.C (setHeightOfRow):
9464         * rowpainter.h:
9465         * rowpainter.C: make appendix mark have the text
9466           "Appendix" so the user knows what it is
9467
9468         * LColor.h:
9469         * LColor.C: s/appendixline/appendix/ from above
9470
9471 2003-03-13  John Levon  <levon@movementarian.org>
9472
9473         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
9474
9475         * text.C: fix a getChar(pos) bug properly
9476
9477 2003-03-13  Angus Leeming  <leeming@lyx.org>
9478
9479         * commandtags.h:
9480         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
9481         Probably only temporary. Let's see how things pan out.
9482
9483         * BufferView.C (unlockInset):
9484         * BufferView_pimpl.C (fitCursor):
9485         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
9486
9487         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
9488         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
9489
9490         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
9491         new functions that convert ParagraphParameters to and from a string.
9492
9493         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
9494         BufferView::Pimpl's dispatch.
9495         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
9496
9497 2003-03-13 André Pönitz <poenitz@gmx.net>
9498
9499         * lyxfunc.C:
9500         * text3.C:
9501         * factory.C: make it aware of InsetEnv
9502
9503 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
9504
9505         * text2.C (setCursor): never ask for one past last
9506         (setCursor): add some debugging messages.
9507
9508         * text.C (singleWidth): never ask for one past last
9509         (singleWidth): ditto
9510         (leftMargin): ditto
9511         (rightMargin): ditto
9512         (rowBreakPoint): ditto
9513         (setHeightOfRow): ditto
9514         (prepareToPrint): ditto
9515
9516         * rowpainter.C (paintBackground): never ask for one past last
9517         (paintText): never ask for one past last
9518
9519         * paragraph_pimpl.C (getChar): make the assert stricter, never
9520         allow the one past last pos to be taken
9521
9522         * paragraph.C (getChar): ws changes only
9523
9524         * lyxrow.C (nextRowIsAllInset): never ask for one past last
9525         (numberOfSeparators): ditto
9526         (numberOfHfills): ditto
9527
9528 2003-03-12  John Levon  <levon@movementarian.org>
9529
9530         * author.h:
9531         * author.C:
9532         * bufferparams.h:
9533         * bufferparams.C:
9534         * paragraph_funcs.C: fix per-buffer authorlists
9535
9536 2003-03-12  John Levon  <levon@movementarian.org>
9537
9538         * text.C: fix newline in right address
9539
9540 2003-03-12  Angus Leeming  <leeming@lyx.org>
9541
9542         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
9543         duplicate those in LyXFunc::dispatch.
9544
9545         * commandtags.h:
9546         * LyXAction.C:
9547         * ToolbarDefaults.C:
9548         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
9549         Add LFUN_FONTFREE_UPDATE.
9550
9551         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
9552         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
9553
9554         * bufferview_func.[Ch]: several new functions to facilliate
9555         transfer of data to and from the character dialog.
9556
9557 2003-03-12  John Levon  <levon@movementarian.org>
9558
9559         * buffer.C:
9560         * paragraph.h:
9561         * paragraph.C:
9562         * paragraph_funcs.C:
9563         * paragraph_pimpl.C:
9564         * sgml.C:
9565         * tabular.C:
9566         * text.C:
9567         * text3.C: remove META_NEWLINE in favour of an inset
9568
9569         * rowpainter.h:
9570         * rowpainter.C: remove paintNewline (done by inset)
9571
9572 2003-03-12  John Levon  <levon@movementarian.org>
9573
9574         * paragraph_pimpl.C: complain about bad getChar()s
9575         for a while at least
9576
9577 2003-03-12  John Levon  <levon@movementarian.org>
9578
9579         * buffer.h:
9580         * buffer.C: move paragraph read into a separate function,
9581         a little renaming to reflect that.
9582
9583         * bufferparams.h:
9584         * bufferparams.C: remove the author_ids map, not necessary now
9585
9586         * factory.h:
9587         * factory.C: moved Buffer::readInset to here
9588
9589         * paragraph_funcs.h:
9590         * paragraph_funcs.C: readParagraph free function moved from
9591         buffer.C
9592
9593         * tabular.C: name change
9594
9595 2003-03-12  John Levon  <levon@movementarian.org>
9596
9597         * buffer.C:
9598         * ParagraphParameters.C: move par params input to
9599         a read() method
9600
9601         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
9602         behave like a normal read from the stream wrt reading
9603         a line vs. a \\token
9604
9605 2003-03-12  John Levon  <levon@movementarian.org>
9606
9607         * paragraph.C:
9608         * ParagraphParameters.h:
9609         * ParagraphParameters.C: move output code to a
9610         ::write() method
9611
9612 2003-03-12  John Levon  <levon@movementarian.org>
9613
9614         * BufferView.C (insertLyXFile):
9615         * buffer.h:
9616         * buffer.C:
9617         * tabular.C: use a parlist iterator for creating the
9618           document.
9619
9620 2003-03-12  John Levon  <levon@movementarian.org>
9621
9622         * buffer.C: make current_change static local not
9623           static file-scope
9624
9625 2003-03-12  John Levon  <levon@movementarian.org>
9626
9627         * buffer.C: fix insertStringAsLines for change tracking
9628
9629 2003-03-12  John Levon  <levon@movementarian.org>
9630
9631         * BufferView.C:
9632         * tabular.C:
9633         * buffer.h:
9634         * buffer.C:
9635         * bufferparams.h:
9636         * bufferparams.C: move author list into params. Rename some
9637           functions. Move the header reading into a separate token
9638           loop. Move the header token reading into BufferParams.
9639
9640 2003-03-12  John Levon  <levon@movementarian.org>
9641
9642         * changes.C: put debug inside lyxerr.debugging() checks
9643
9644 2003-03-11 André Pönitz <poenitz@gmx.net>
9645
9646         * factory.C: make it aware of InsetHFill
9647
9648 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9649
9650         * buffer.C (latexParagraphs): move function from here...
9651         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
9652         args.
9653
9654 2003-03-10  Angus Leeming  <leeming@lyx.org>
9655
9656         * LyXAction.C (init): fix bug in poplating array with multiple entries
9657         with the same LFUN (spotted by JMarc).
9658
9659 2003-03-10  John Levon  <levon@movementarian.org>
9660
9661         * text.C:
9662         * text2.C: move getColumnNearX() near its
9663         only call site
9664
9665 2003-03-10  John Levon  <levon@movementarian.org>
9666
9667         * text.C: fix break before a minipage
9668
9669 2003-03-10  John Levon  <levon@movementarian.org>
9670
9671         * text.C: fix the last commit
9672
9673 2003-03-09  John Levon  <levon@movementarian.org>
9674
9675         * lyxtext.h:
9676         * text.C:
9677         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
9678         bug 365 (don't break before insets unless needed). Don't
9679         return a value > last under any circumstances.
9680
9681 2003-03-09  Angus Leeming  <leeming@lyx.org>
9682
9683         * BufferView_pimpl.C (trackChanges, dispatch): call
9684         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
9685
9686 2003-03-09  Angus Leeming  <leeming@lyx.org>
9687
9688         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
9689         than Dialogs::showAboutlyx().
9690
9691 2003-03-09  Angus Leeming  <leeming@lyx.org>
9692
9693         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
9694         than Dialogs::showTabularCreate().
9695
9696 2003-03-09  John Levon  <levon@movementarian.org>
9697
9698         * lyxtext.h:
9699         * text.C:
9700         * text2.C: 3rd arg to nextBreakPoint was always the same.
9701           Use references.
9702
9703 2003-03-08  John Levon  <levon@movementarian.org>
9704
9705         * lyxrow.C:
9706         * paragraph.C:
9707         * paragraph.h:
9708         * rowpainter.C:
9709         * text.C:
9710         * text2.C: Remove the "main" bit from the "main body"
9711           notion.
9712
9713 2003-03-08  John Levon  <levon@movementarian.org>
9714
9715         * text.C (leftMargin): The left margin of an empty
9716         manual label paragraph should not include the label width
9717         string length.
9718
9719         * text.C (prepareToPrint): don't attempt to measure hfills
9720         for empty manual label paragraphs - the answer should be 0
9721
9722 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
9723
9724         * CutAndPaste.C: remove commented code and reindent.
9725
9726 2003-03-08  John Levon  <levon@movementarian.org>
9727
9728         * lyxfunc.h:
9729         * lyxfunc.C: move reloadBuffer()
9730
9731         * BufferView.h:
9732         * BufferView.C: to here
9733
9734         * lyxvc.C: add comment
9735
9736         * vc-backend.h:
9737         * vc-backend.C: call bv->reload() to avoid
9738           getStatus() check on MENURELOAD
9739
9740 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
9741
9742         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
9743         to an old format .dep file.
9744
9745 2003-03-07  Angus Leeming  <leeming@lyx.org>
9746
9747         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
9748         when the LFUN_MOUSE_RELEASE should have been handled by
9749         inset->localDispatch.
9750
9751 2003-03-07  Angus Leeming  <leeming@lyx.org>
9752
9753         * BufferView_pimpl.C (dispatch):
9754         * LyXAction.C (init):
9755         * ToolbarDefaults.C (init):
9756         * commandtags.h:
9757         * lyxfunc.C (getStatus):
9758         remove LFUN_INSET_GRAPHICS.
9759
9760         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
9761
9762 2003-03-07  Angus Leeming  <leeming@lyx.org>
9763
9764         * commandtags.h:
9765         * LyXAction.C (init):
9766         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
9767
9768         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
9769
9770         * commandtags.h:
9771         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
9772
9773         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
9774         localDispatch method LFUN_INSET_DIALOG_UPDATE.
9775
9776 2003-03-07  Angus Leeming  <leeming@lyx.org>
9777
9778         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
9779         remove "ert".
9780
9781 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
9782
9783         * ParagraphList.C (front): new function
9784         (back): implement
9785
9786 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
9787
9788         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
9789         and top_row_offset_. removed var first_y.
9790         * text.C (top_y):
9791         * text2.C (LyXText, removeRow):
9792         * text3.C:
9793         * BufferView_pimpl.C:
9794         use these methods instead of using first_y
9795
9796 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
9797
9798         * text2.C (pasteSelection): adjust for checkPastePossible
9799
9800         * CutAndPaste.C: remove Paragraph * buf and replace with
9801         ParagraphList paragraphs.
9802         (DeleteBuffer): delete
9803         (cutSelection): change the tc type to textclass_type
9804         (copySelection): change the tc type to textclass_type
9805         (copySelection): adjust for ParagraphList
9806         (pasteSelection): change the tc type to textclass_type
9807         (pasteSelection): adjust for Paragraphlist
9808         (nrOfParagraphs): simplify for ParagraphList
9809         (checkPastePossible): simplify for ParagraphList
9810         (checkPastePossible): remove unused arg
9811
9812         * ParagraphList.C (insert): handle the case where there are no
9813         paragraphs yet.
9814
9815         * CutAndPaste.h: make CutAndPaste a namespace.
9816
9817         * text3.C (dispatch): adjust
9818
9819         * text.C (breakParagraph): add a ParagraphList as arg
9820
9821         * paragraph_funcs.C (breakParagraph): change to take a
9822         BufferParams and a ParagraphList as args.
9823         (breakParagraphConservative): ditto
9824         (mergeParagraph): ditto
9825         (TeXDeeper): add a ParagraphList arg
9826         (TeXEnvironment): ditto
9827         (TeXOnePar): ditto
9828
9829         * buffer.C (readLyXformat2): adjust
9830         (insertStringAsLines): adjust
9831         (latexParagraphs): adjust
9832
9833         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
9834         (cutSelection): adjust
9835         (pasteSelection): adjust
9836
9837         * BufferView_pimpl.C (insertInset): adjust
9838
9839 2003-03-05  Angus Leeming  <leeming@lyx.org>
9840
9841         * commandtags.h:
9842         * LyXAction.C (init):
9843         * BufferView_pimpl.C (dispatch):
9844         * lyxfunc.C (getStatus):
9845         remove LFUN_CHILD_INSERT.
9846
9847         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
9848
9849 2003-03-05  Angus Leeming  <leeming@lyx.org>
9850
9851         * commandtags.h:
9852         * LyXAction.C (init):
9853         * src/factory.C (createInset):
9854         * lyxfunc.C (getStatus):
9855         * text3.C (dispatch):
9856         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
9857
9858         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
9859
9860 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
9861
9862         * ParagraphList.C (insert): handle insert right before end()
9863         (erase): fix cases where it can be first or last paragraph.
9864
9865 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9866
9867         * paragraph_funcs.C (TeXEnvironment): remove all usage of
9868         Paragraph::next and Paragraph::previous
9869         (TeXOnePar): ditto
9870
9871         * text.C (breakParagraph): adjust
9872
9873         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
9874         BufferParams& as arg.
9875         (breakParagraph): use ParagraphList::insert
9876         (breakParagraphConservative): take a Buffer* instead of a
9877         BufferParams& as arg.
9878         (breakParagraphConservative): use ParagraphList::insert.
9879
9880         * buffer.C (insertStringAsLines): un-const it
9881         (insertStringAsLines): adjust
9882
9883         * ParagraphList.C (insert): new function
9884
9885         * CutAndPaste.C (pasteSelection): adjust
9886
9887         * text.C (backspace): adjust
9888
9889         * tabular.C (SetMultiColumn): adjust
9890
9891         * CutAndPaste.C (cutSelection): adjust
9892         (pasteSelection): adjust
9893
9894         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
9895         Buffer const * as arg
9896
9897         * ParagraphList.C (erase): new function
9898         * paragraph_funcs.C (mergeParagraph): use it
9899         (mergeParagraph): make it take a Buffer* instead of a
9900         BufferParams* as arg
9901
9902         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
9903         as arg
9904         (breakParagraphConservative): ditto
9905
9906         * paragraph.h: remove the breakParagraph friend
9907
9908         * paragraph.C (eraseIntern): new function
9909         (setChange): new function
9910
9911         * paragraph_funcs.C (mergeParagraph): make it take a
9912         ParagraphList::iterator instead of a Paragraph *, adjust
9913         accordingly.
9914
9915         * paragraph.h: move an #endif so that the change tracking stuff
9916         also works in the NO_NEXT case.
9917
9918 2003-03-04  Angus Leeming  <leeming@lyx.org>
9919
9920         * commandtags.h:
9921         * LyXAction.C: new LFUN_INSET_MODIFY.
9922
9923         * BufferView_pimpl.C (dispatch): if an inset is found to be open
9924         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
9925
9926 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9927
9928         * several files: ws changes only
9929
9930         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
9931         (TeXEnvironment): ditto
9932         (TeXDeeper): ditto
9933
9934         * buffer.C (makeLaTeXFile): adjust
9935         (latexParagraphs): make it take ParagraphList::iterator as args
9936
9937 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
9938
9939         * buffer.C (latexParagraphs): adjust
9940
9941         * paragraph.C (TeXOnePar): move function...
9942         (optArgInset): move function...
9943         (TeXEnvironment): move function...
9944         * paragraph_pimpl.C (TeXDeeper): move function...
9945         * paragraph_funcs.C: ...here
9946
9947         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
9948
9949 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
9950
9951         * buffer.C (readInset): remove compability code for old Figure and
9952         InsetInfo insets
9953
9954 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
9955
9956         * buffer.C: ws changes
9957         (readInset):
9958
9959         * BufferView_pimpl.C: ditto
9960         * author.C: ditto
9961         * buffer.h: ditto
9962         * bufferlist.h: ditto
9963         * changes.h: ditto
9964         * lyxfunc.C: ditto
9965
9966 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
9967
9968         * converter.[Ch]: split into itself +
9969         * graph.[Ch]
9970         * format.[Ch]
9971         * Makefile.am: += graph.[Ch] + format.[Ch]
9972         * MenuBackend.C
9973         * buffer.C
9974         * exporter.C
9975         * importer.C
9976         * lyx_main.C
9977         * lyxfunc.C
9978         * lyxrc.C: added #include "format.h"
9979
9980 2003-02-27  Angus Leeming  <leeming@lyx.org>
9981
9982         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
9983           a label.
9984
9985         * factory.C (createInset): add "label" to the factory.
9986
9987         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
9988           string and do no more.
9989
9990 2003-02-27  Angus Leeming  <leeming@lyx.org>
9991
9992         * commandtags.h:
9993         * LyXAction.C (init):
9994         * factory.C (createInset):
9995         * BufferView_pimpl.C (dispatch):
9996           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
9997
9998         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
9999
10000         * lyxfunc.C (dispatch):
10001         * text3.C (dispatch): pass name to params2string.
10002
10003 2003-02-26  Angus Leeming  <leeming@lyx.org>
10004
10005         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
10006           blocks together.
10007           Rearrange the ~includes. Strip out the unnecessary ones.
10008
10009         * factory.C (createInset): reformat.
10010           create new insets for the various LFUN_XYZ_APPLY lfuns.
10011
10012 2003-02-26  John Levon  <levon@movementarian.org>
10013
10014         * lyxrow.h:
10015         * lyxrow.C: add isParStart,isParEnd helpers
10016
10017         * paragraph.h: make isInserted/DeletedText take refs
10018
10019         * paragraph_funcs.h:
10020         * paragraph_funcs.C: remove #if 0'd code
10021
10022         * lyxtext.h:
10023         * text3.C:
10024         * text2.C:
10025         * text.C: use lyxrow helpers above.
10026           Move draw and paint routines to RowPainter.
10027           Make several methods use refs not pointers.
10028           Make backgroundColor() const.
10029           Add markChangeInDraw(), isInInset().
10030           Merge changeRegionCase into changeCase.
10031           Make workWidth() shouldn't-happen code into an Assert.
10032
10033         * rowpainter.h:
10034         * rowpainter.C: new class for painting a row.
10035
10036         * vspace.h:
10037         * vspace.C: make inPixels take a ref
10038
10039 2003-02-26  Angus Leeming  <leeming@lyx.org>
10040
10041         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
10042         LFUN_REF_APPLY.
10043
10044 2003-02-25  John Levon  <levon@movementarian.org>
10045
10046         * ispell.C: give the forked command a more accurate name
10047
10048 2003-02-22  John Levon  <levon@movementarian.org>
10049
10050         * toc.h:
10051         * toc.C: make TocItem store an id not a Paragraph *
10052           (bug #913)
10053
10054 2003-02-21  Angus Leeming  <leeming@lyx.org>
10055
10056         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
10057           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
10058           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
10059           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
10060           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
10061           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
10062
10063         * BufferView_pimpl.C (dispatch):
10064         * LyXAction.C (init):
10065         * factory.C (createInset):
10066         * lyxfunc.C (getStatus, dispatch):
10067         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
10068
10069 2003-02-21  Angus Leeming  <leeming@lyx.org>
10070
10071         * BufferView_pimpl.C (MenuInsertLyXFile):
10072         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
10073         * lyxfunc.C (menuNew, open, doImport):
10074           no longer pass a LyXView & to fileDlg.
10075
10076 2003-02-21  Angus Leeming  <leeming@lyx.org>
10077
10078         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
10079         * LyXAction.C: change, BIBKEY to BIBITEM.
10080         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
10081         Change InsetBibKey to InsetBibitem.
10082         Change BIBKEY_CODE to BIBITEM_CODE.
10083         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
10084         * factory.C: replace insetbib.h with insetbibitem.h.
10085         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
10086         * paragraph.C: replace insetbib.h with insetbibitem.h.
10087         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
10088         Change bibkey() to bibitem().
10089         * text.C: remove insetbib.h.
10090         * text2.C: replace insetbib.h with insetbibitem.h.
10091         change bibkey() to bibitem().
10092         * text3.C: remove insetbib.h.
10093         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
10094
10095 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10096
10097         * lyxrc.C (output): enclose user email in quotes (in case there are
10098         several words)
10099
10100 2003-02-18  John Levon  <levon@movementarian.org>
10101
10102         * buffer.h: add std::
10103
10104 2003-02-17  John Levon  <levon@movementarian.org>
10105
10106         * SpellBase.h:
10107         * ispell.h:
10108         * ispell.C:
10109         * pspell.h:
10110         * pspell.C: reworking. Especially in ispell, a large
10111           number of clean ups and bug fixes.
10112
10113         * lyxfunc.C: fix revert to behave sensibly
10114
10115 2003-02-17 André Pönitz <poenitz@gmx.net>
10116
10117         * LyXAction.C:
10118         * commandtags.h: new LFUN_INSERT_BIBKEY
10119
10120         * layout.h:
10121         * lyxlayout.C:
10122         * buffer.C:
10123         * factory.C:
10124         * text.C:
10125         * text2.C:
10126         * text3.C:
10127         * paragraph.[Ch]:
10128         * paragraph_func.C: remove special bibkey handling
10129
10130 2003-02-17  John Levon  <levon@movementarian.org>
10131
10132         * text.C (Delete): fix case where delete at the end of
10133           the very first paragraph would not merge the pars
10134
10135 2003-02-17  John Levon  <levon@movementarian.org>
10136
10137         * lyxrow.C: fix lastPrintablePos()
10138
10139 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10140
10141         * bufferparams.C (writeLaTeX): add a std:here
10142
10143         * buffer.C: and remove a using directive there
10144
10145 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10146
10147         * buffer.C (makeLaTeXFile): move the code that generates the
10148           preamble...
10149
10150         * bufferparams.C (writeLaTeX): ... in this new method
10151
10152         * LaTeXFeatures.C (getEncodingSet): make const
10153           (getLanguages): make const
10154
10155         * MenuBackend.C (binding): returns the binding associated to this
10156           action
10157           (add): sets the status of each item by calling getStatus. Adds
10158           some intelligence.
10159           (read): add support for OptSubMenu
10160           (expand): remove extra separator at the end of expanded menu
10161
10162 2003-02-15  John Levon  <levon@movementarian.org>
10163
10164         * BufferView.C:
10165         * BufferView_pimpl.C:
10166         * bufferlist.h:
10167         * bufferlist.C: remove pointless BufferStorage bloat. Remove
10168           inset code that had no actual effect. Remove unneeded status
10169           code.
10170
10171 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10172
10173         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
10174           in preamble
10175
10176 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
10177
10178         * text.C (drawLengthMarker): also draw an arrow marker for
10179           symbolic lengths (medskip...)
10180
10181 2003-02-14  John Levon  <levon@movementarian.org>
10182
10183         * tabular.h:
10184         * tabular.C: better method names
10185
10186 2003-02-14  John Levon  <levon@movementarian.org>
10187
10188         * BufferView_pimpl.C:
10189         * bufferlist.C:
10190         * buffer.C:
10191         * converter.C:
10192         * lyx_cb.C:
10193         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
10194           it's a more accurate name. Remove some pointless uses.
10195
10196 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10197
10198         * text2.C (LyXText): change order of initilizers to shut off
10199           warnings
10200
10201 2003-02-14  John Levon  <levon@movementarian.org>
10202
10203         * buffer.C: use ParIterator for getParFromID()
10204
10205         * paragraph.h:
10206         * paragraph.C:
10207         * paragraph_pimpl.h:
10208         * paragraph_pimpl.C: remove unused getParFromID()
10209
10210 2003-02-14  John Levon  <levon@movementarian.org>
10211
10212         * buffer.C: remove some very old #if 0'd parse code
10213
10214 2003-02-13  John Levon  <levon@movementarian.org>
10215
10216         * text.h:
10217         * text.C:
10218         * text2.C: move hfillExpansion(), numberOfSeparators(),
10219           rowLast(), rowLastPrintable(), numberofHfills(),
10220           numberOfLabelHfills() ...
10221
10222         * lyxrow.h:
10223         * lyxrow.C: ... to member functions here.
10224
10225         * paragraph.h:
10226         * paragraph.C:
10227         * lyxtext.h:
10228         * text.C: remove LyXText::beginningOfMainBody(), and call
10229           p->beginningOfMainBody() directly. Move the check for
10230           LABEL_MANUAL into the latter.
10231
10232         * text.h:
10233         * text.C:
10234         * text2.C:
10235         * vspace.C:
10236         * BufferView.h:
10237         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
10238
10239         * text.h:
10240         * text.C:
10241         * text2.C:
10242         * text3.C:
10243         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
10244           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
10245
10246 2003-02-13  John Levon  <levon@movementarian.org>
10247
10248         * CutAndPaste.C: remove debug
10249
10250 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10251
10252         * paragraph.C (asString): remove two unused variables
10253
10254         * lyxtextclass.C (readTitleType):
10255           (Read):
10256           (LyXTextClass): handle new members titletype_ and titlename_
10257
10258         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
10259
10260 2003-02-09  John Levon  <levon@movementarian.org>
10261
10262         * buffer.h:
10263         * buffer.C: replace hand-coded list with a map for the dep clean
10264
10265 2003-02-08  John Levon  <levon@movementarian.org>
10266
10267         * LaTeX.C: consolidate code into showRunMessage() helper
10268
10269 2003-02-08  John Levon  <levon@movementarian.org>
10270
10271         * lyxfind.C:
10272         * lyxtext.h:
10273         * text2.C:
10274         * BufferView.C: change setSelectionOverString() to setSelectionRange()
10275           and pass the size in explicitly
10276
10277         * BufferView_pimpl.h:
10278         * BufferView_pimpl.C:
10279         * BufferView.h:
10280         * BufferView.C: add getCurrentChange()
10281
10282         * BufferView_pimpl.h:
10283         * BufferView_pimpl.C: handle change lfuns
10284
10285         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
10286           for changes. Mark pasted paragraphs as new.
10287
10288         * support/lyxtime.h:
10289         * support/lyxtime.C:
10290         * DepTable.C: abstract time_t as lyx::time_type
10291
10292         * LColor.h:
10293         * LColor.C: add colours for new text, deleted text, changebars
10294
10295         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
10296           package use "usenames" option.
10297
10298         * commandtags.h:
10299         * lyxfunc.C:
10300         * LyXAction.C: add change lfuns
10301
10302         * Makefile.am:
10303         * author.h:
10304         * author.C: author handling
10305
10306         * buffer.h:
10307         * buffer.C: add a per-buffer author list, with first entry as
10308           current author. Handle new .lyx tokens for change tracking. Output
10309           author list to .lyx file. Output dvipost stuff to .tex preamble.
10310           Bump lyx format to 222.
10311
10312         * bufferlist.h:
10313         * bufferlist.C: add setCurrentAuthor() to reset current author details
10314           in all buffers.
10315
10316         * bufferparams.h:
10317         * bufferparams.C: add param for tracking
10318
10319         * bufferview_funcs.C: output change info in minibuffer
10320
10321         * Makefile.am:
10322         * changes.h:
10323         * changes.C: add change-tracking structure
10324
10325         * debug.h:
10326         * debug.C: add CHANGES debug flag
10327
10328         * lyxfind.h:
10329         * lyxfind.C: add code for finding the next change piece
10330
10331         * lyxrc.h:
10332         * lyxrc.C: add user_name and user_email
10333
10334         * lyxrow.h:
10335         * lyxrow.C: add a metric for the top of the text line
10336
10337         * lyxtext.h:
10338         * text.C: implement accept/rejectChange()
10339
10340         * lyxtext.h:
10341         * text.C: paint changebars. Paint new/deleted text in the chosen
10342         colours. Strike through deleted text.
10343
10344         * paragraph.h:
10345         * paragraph.C:
10346         * paragraph_pimpl.h:
10347         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
10348           in the current change to the insert functions. Rework erase to
10349           mark text as deleted, adding an eraseIntern() and a range-based
10350           erase(). Implement per-paragraph change lookup and
10351           accept/reject.
10352
10353         * paragraph_funcs.C: Fixup paste for change tracking.
10354
10355         * tabular.C: mark added row/columns as new.
10356
10357         * text.C: fix rowLast() to never return -1. Don't allow
10358           spellchecking of deleted text. Track transpose changes. Don't
10359           allow paragraph break or merge where appropriate.
10360
10361         * text2.C: leave cursor at end of selection after a cut.
10362
10363 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10364
10365         * text.C (getLengthMarkerHeight):
10366         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
10367         visible on screen too.
10368
10369 2003-02-07  John Levon  <levon@movementarian.org>
10370
10371         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
10372
10373 2003-02-05  Angus Leeming  <leeming@lyx.org>
10374
10375         * lyxserver.C (read_ready): revert my patch of 11 September last year
10376         as it sends PC cpu through the roof. Presumably this means that
10377         the lyxserver will no longer run on an Alpha...
10378
10379 2003-01-30  Angus Leeming  <leeming@lyx.org>
10380
10381         * factory.C (createInset): create an InsetCommandParam of type "index"
10382         and use it to 'do the right thing'.
10383
10384         * text2.C (getStringToIndex): ensure that cursor position is always
10385         reset to the reset_cursor position.
10386
10387 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10388
10389         * lyxfunc.C (getStatus): "buffer-export custom" should never be
10390         disabled.
10391
10392 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
10393
10394         * bufferview.C:
10395         * lyxcb.C:
10396         * lyxfunc.C: Output messages with identical spelling, punctuation,
10397         and spaces
10398
10399 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
10400
10401         * MenuBackend.C (expandFormats): List only viewable export formats
10402         in "View" menu
10403
10404         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
10405         message
10406
10407         * lyxfunc.C (getStatus): Make sure that formats other than
10408         "fax" can also be disabled
10409
10410 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10411
10412         * text3.C (dispatch): put the lfuns that insert insets in 3
10413         groups, and call doInsertInset with appropriate arguments.
10414         (doInsertInset): new function, that creates an inset and inserts
10415         it according to some boolean parameters.
10416
10417 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
10418
10419         * buffer.C (readFile): remember to pass on 'par' when calling
10420         readFile recursively.
10421
10422 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10423
10424         * MenuBackend.C (expandFormats): add "..." to import formats.
10425
10426 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
10427
10428         * paragraph.C (asString): Remove XForms RTL hacks.
10429
10430 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
10431         * buffer.C: fix typo
10432
10433 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
10434
10435         * Makefile.am (LIBS): delete var
10436         (lyx_LDADD): add @LIBS@ here instead.
10437
10438 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
10439
10440         * Clarify the meaning of "wheel mouse jump"
10441
10442 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10443
10444         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
10445         tabular in a float
10446
10447 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10448
10449         * importer.C (Loaders): do not preallocate 3 elements in the
10450         vector, since one ends up with 6 elements otherwise
10451
10452 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10453
10454         * DepTable.C (write): write the file name as last element of the
10455         .dep file (because it may contain spaces)
10456         (read): read info in the right order
10457
10458 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10459
10460         * paragraph_pimpl.C (simpleTeXBlanks):
10461         (simpleTeXSpecialChars):
10462         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
10463
10464         * tabular.C (latex): add some missing case statements. Reindent.
10465
10466         * MenuBackend.C (expandToc): remove unused variable.
10467
10468 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
10469
10470         * LColor.C:
10471         * LaTeX.C:
10472         * LyXAction.C:
10473         * MenuBackend.C:
10474         * buffer.C:
10475         * exporter.C:
10476         * lyxfunc.C:
10477         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
10478         and the like.
10479
10480 2003-01-05  John Levon  <levon@movementarian.org>
10481
10482         * BufferView.h:
10483         * BufferView.C: add getEncoding()
10484
10485         * kbsequence.h:
10486         * kbsequence.C: do not store last keypress
10487
10488         * lyxfunc.h:
10489         * lyxfunc.C: store last keypress here instead. Pass encoding
10490           to getISOEncoded()
10491
10492 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10493
10494         * lyx_main.C (init): remove annoying error message when following
10495         symbolic links (bug #780)
10496
10497 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10498
10499         * text.C (insertChar):
10500         * lyxrc.C (getDescription): remove extra spaces
10501
10502 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10503
10504         * lyxrc.C (getDescription): remove extra spaces
10505
10506 2002-12-20  John Levon  <levon@movementarian.org>
10507
10508         * text3.C: hack fix for page up/down across tall rows
10509
10510 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10511
10512         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
10513         not been invoked
10514
10515 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10516
10517         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
10518         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
10519         thesaurus is not compiled in
10520
10521 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
10522
10523         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
10524
10525 2002-12-16  Angus Leeming  <leeming@lyx.org>
10526
10527         * lyxrc.[Ch]:
10528         * lyx_main.C (init): remove override_x_deadkeys stuff.
10529
10530 2002-12-12  John Levon  <levon@movementarian.org>
10531
10532         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
10533           insert. Only remove shift modifier under strict
10534           circumstances.
10535
10536 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
10537
10538         * MenuBackend.C (expandToc): fix crash.
10539
10540 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
10541
10542         * MenuBackend.C (expandToc): gettext on float names.
10543
10544 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
10545
10546         * lyxlength.[Ch]: set default unit to UNIT_NONE,
10547         implement bool empty() [bug 490]
10548
10549 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
10550
10551         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
10552
10553 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
10554
10555         * several files: ws changes
10556
10557 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
10558
10559         * text2.C (setCounter): clean up a bit, use boost.format.
10560         (updateCounters): initialize par upon declaration.
10561
10562         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
10563         if the layout exists. We do not just store the layout any more.
10564         (SwitchLayoutsBetweenClasses): use boost.format
10565
10566 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10567
10568         * converter.C (convert): if from and to files are the same, use a
10569         temporary files as intermediary
10570
10571 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10572
10573         * commandtags.h:
10574         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
10575
10576 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
10577
10578         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
10579
10580 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
10581
10582         * tabular.C (asciiPrintCell): use string(size, char) instead of
10583         explicit loop.
10584
10585         * sgml.C (openTag): fix order of arguments to string constructor
10586         (closeTag): ditto
10587
10588         * lyxfunc.C (dispatch): use boost.format
10589
10590         * lots of files: change "c" -> 'c'
10591
10592 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
10593
10594         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
10595
10596 2002-11-25  Angus Leeming  <leeming@lyx.org>
10597
10598         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
10599
10600         * lyx_main.C (init): compile fix.
10601
10602 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
10603
10604         * lyx_cb.C (start): boost.formatify
10605         do not include <iostream>
10606
10607         * lengthcommon.C: ws only
10608
10609         * boost-inst.C,BoostFormat.h: add more explict instantations
10610
10611 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
10612
10613         * lots of files: handle USE_BOOST_FORMAT
10614
10615 2002-11-21  John Levon  <levon@movementarian.org>
10616
10617         * pspell.C: fix compile
10618
10619 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10620
10621         * lyxfunc.C (dispatch): use boost::format
10622         (open): ditto
10623         (doImport): ditto
10624
10625         * lyxfont.C (stateText): use boost::format
10626
10627         * lyx_main.C (LyX): use boost::format
10628         (init): ditto
10629         (queryUserLyXDir): ditto
10630         (readRcFile): ditto
10631         (parse_dbg): ditto
10632         (typedef boost::function): use the recommened syntax.
10633
10634         * importer.C (Import): use boost::format
10635
10636         * debug.C (showLevel): use boost::format
10637
10638         * converter.C (view): use boost::format
10639         (convert): ditto
10640         (move): ditto
10641         (scanLog): ditto
10642
10643         * bufferview_funcs.C (currentState): use boost::format
10644
10645         * bufferlist.C (emergencyWrite): use boost::format
10646
10647         * buffer.C (readLyXformat2): use boost::format
10648         (parseSingleLyXformat2Token): ditto
10649
10650         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
10651
10652         * LaTeX.C (run): use boost::format
10653
10654         * Chktex.C (scanLogFile): use boost::format
10655
10656         * BufferView_pimpl.C (savePosition): use boost::format
10657         (restorePosition): ditto
10658         (MenuInsertLyXFile): ditto
10659
10660         * BoostFormat.h: help file for explicit instation.
10661
10662 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
10663
10664         * tabular.C (latex): Support for block alignment in fixed width
10665         columns.
10666
10667 2002-11-17  John Levon  <levon@movementarian.org>
10668
10669         * BufferView_pimpl.C:
10670         * lyx_cb.C:
10671         * lyxfunc.C: split filedialog into open/save
10672
10673 2002-11-08  Juergen Vigna  <jug@sad.it>
10674
10675         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
10676         by my last patch (hopefully).
10677
10678 2002-11-08  John Levon  <levon@movementarian.org>
10679
10680         * iterators.h:
10681         * iterators.C:
10682         * buffer.h:
10683         * buffer.C:
10684         * paragraph.h:
10685         * paragraph.C:
10686         * toc.h:
10687         * toc.C: ParConstIterator, and use it (from Lars)
10688
10689 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
10690
10691         * lyxtextclass.[Ch]: revise and add doxygen comments
10692
10693 2002-11-07  John Levon  <levon@movementarian.org>
10694
10695         * text.C: fix progress value for spellchecker
10696
10697         * toc.C: fix navigate menu for insetwrap inside minipage
10698
10699         * paragraph_funcs.C: added FIXME for suspect code
10700
10701 2002-11-07  John Levon  <levon@movementarian.org>
10702
10703         * BufferView_pimpl.C: fix redrawing of insets
10704           on buffer switch
10705
10706 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10707
10708         * text2.C (updateCounters): fix bug 668
10709
10710 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
10711
10712         * text3.C (dispatch): Do not make the buffer dirty when moving the
10713         cursor.
10714
10715 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
10716
10717         * vc-backend.C: STRCONV
10718         (scanMaster): ditto
10719
10720         * text2.C (setCounter): STRCONV
10721
10722         * paragraph.C (asString): STRCONV
10723
10724         * lyxlength.C (asString): STRCONV
10725         (asLatexString): ditto
10726
10727         * lyxgluelength.C (asString): STRCONV
10728         (asLatexString): ditto
10729
10730         * lyxfunc.C (dispatch): STRCONV
10731         (open): ditto
10732
10733         * lyxfont.C (stateText): STRCONV
10734
10735         * importer.C (Import): STRCONV
10736
10737         * counters.C (labelItem): STRCONV
10738         (numberLabel): ditto
10739         (numberLabel): remove unused ostringstream o
10740
10741         * chset.C: STRCONV
10742         (loadFile): ditto
10743
10744         * bufferview_funcs.C (currentState): STRCONV
10745
10746         * buffer.C (readFile): STRCONV
10747         (asciiParagraph): ditto
10748         (makeLaTeXFile): ditto
10749
10750         * Spacing.C (writeEnvirBegin): STRCONV
10751
10752         * LaTeXFeatures.C (getLanguages): STRCONV
10753         (getPackages): ditto
10754         (getMacros): ditto
10755         (getBabelOptions): ditto
10756         (getTClassPreamble): ditto
10757         (getLyXSGMLEntities): ditto
10758         (getIncludedFiles): ditto
10759
10760         * LaTeX.C: STRCONV
10761         (run): ditto
10762         (scanAuxFile): ditto
10763         (deplog): ditto
10764
10765         * LString.h: add the STRCONV macros
10766
10767         * BufferView_pimpl.C (savePosition): STRCONV
10768         (restorePosition): ditto
10769         (MenuInsertLyXFile): ditto
10770
10771         * vc-backend.C (scanMaster): change from submatch[...] to
10772         submatch.str(...)
10773
10774         * funcrequest.C: include config.h
10775
10776         * factory.C: include config.h
10777
10778         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
10779
10780         * box.C: include config.h
10781
10782         * LaTeX.C (scanAuxFile): change from submatch[...] to
10783         submatch.str(...)
10784         (deplog): ditto
10785
10786 2002-10-25  Angus Leeming  <leeming@lyx.org>
10787
10788         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
10789
10790         * ispell.[Ch] (setError): new method.
10791         * ispell.C (c-tor): move out child process into new class LaunchIspell.
10792         Use setError() insetead of goto END.
10793
10794         * lyx_cb.C (AutoSave): move out child process into new class
10795         AutoSaveBuffer.
10796
10797 2002-10-30  John Levon  <levon@movementarian.org>
10798
10799         * text3.C: make start appendix undoable
10800
10801 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
10802
10803         * lyxlength.C (inPixels): Fix returned value.
10804
10805         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
10806         environment.
10807
10808 2002-10-24  Angus Leeming  <leeming@lyx.org>
10809
10810         * lyxgluelength.h: no need to forward declare BufferParams
10811         or BufferView, so don't.
10812
10813 2002-10-21  John Levon  <levon@movementarian.org>
10814
10815         * BufferView.C: menuUndo ->undo, redo
10816
10817         * BufferView.h: document, remove dead, make some methods private
10818
10819         * paragraph_funcs.h:
10820         * paragraph_funcs.C:
10821         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
10822
10823         * buffer.h:
10824         * buffer.C:
10825         * sgml.h:
10826         * sgml.C: move sgml open/close tag into sgml.C
10827
10828         * bufferview_funcs.h: unused prototype
10829
10830         * lyxfunc.h:
10831         * lyxfunc.C: remove unused
10832
10833         * lyxtext.h:
10834         * text.C: remove unused
10835
10836 2002-10-21  John Levon  <levon@movementarian.org>
10837
10838         * BufferView.h:
10839         * BufferView.C:
10840         * BufferView_pimpl.h:
10841         * BufferView_pimpl.C: fix mouse wheel handling based on
10842           patch from Darren Freeman
10843
10844 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
10845
10846         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
10847
10848 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
10849
10850         * lyxlength.C (inPixels): Fix hanfling of negative length.
10851         Fix LyXLength::MU case.
10852
10853 2002-10-16  John Levon  <levon@movementarian.org>
10854
10855         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
10856
10857 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10858
10859         * converter.C (view): add support for $$i (file name) and $$p
10860         (file path) for the viewer command. If $$i is not specified, then
10861         it is appended to the command (for compatibility with old syntax)
10862
10863 2002-10-14  Juergen Vigna  <jug@sad.it>
10864
10865         * undo_funcs.C (textHandleUndo): alter the order in which the
10866         new undopar is added to the LyXText, as we have to set first
10867         the right prev/next and then add it as otherwise the rebuild of
10868         LyXText is not correct. Also reset the cursor to the right paragraph,
10869         with this IMO we could remove the hack in "redoParagraphs()".
10870
10871 2002-10-09  Angus Leeming  <leeming@lyx.org>
10872
10873         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
10874         to turn off an optimisation if a new inset is to be inserted.
10875
10876 2002-10-11 André Pönitz <poenitz@gmx.net>
10877
10878         * lyxtext.h: make some functions public to allow access
10879         from inset/lyxtext for handling LFUN_PRIOR/NEXT
10880
10881 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10882
10883         * text3.C (dispatch): when changing layout, avoid an infinite loop
10884         [bug #652]
10885
10886 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10887
10888         * lyxrc.C (read): treat a viewer or converter command of "none" as
10889         if it were empty.
10890
10891         * MenuBackend.C (expandFormats): for an update, also allow the
10892         formats that are not viewable
10893
10894         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
10895         script if it is newer than the lyxrc.defaults in user directory
10896
10897 2002-10-07 André Pönitz <poenitz@gmx.net>
10898
10899         * text.C: Vitaly Lipatov's small i18n fix
10900
10901 2002-09-25  Angus Leeming  <leeming@lyx.org>
10902
10903         * ispell.h: doxygen fix.
10904
10905 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
10906
10907         * buffer.h (readFile): Add a new argument to the method, to allow
10908         reading of old-format templates.
10909
10910 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
10911
10912         * toc.C (getTocList): Get TOC from InsetWrap.
10913
10914 2002-09-16  John Levon  <levon@movementarian.org>
10915
10916         * lyxfunc.C: check tabular for cut/copy too
10917
10918 2002-09-12  John Levon  <levon@movementarian.org>
10919
10920         * LyXAction.C: tidy
10921
10922         * factory.h:
10923         * factory.C: add header
10924
10925         * paragraph_funcs.h:
10926         * paragraph_funcs.C: cleanup
10927
10928 2002-09-11  John Levon  <levon@movementarian.org>
10929
10930         * PrinterParams.h: odd/even default to true
10931
10932 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
10933
10934         * PrinterParams.h: update printer parameters for new xforms dialog
10935
10936 2002-09-11  Angus Leeming  <leeming@lyx.org>
10937
10938         * lyxserver.C (read_ready): re-write to make it more transparent
10939         and to make it work in coherent fashion under Tru64 Unix.
10940
10941 2002-09-11  André Pönitz <poenitz@gmx.net>
10942
10943         * commandtags.h:
10944         * LyXAction.C:
10945         * text3.C: implement LFUN_WORDSEL
10946
10947 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
10948
10949         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
10950         make floatlist_ a boost::shared_ptr<FloatList>
10951
10952         * lyxtextclass.C: include FloatList.h
10953         (LyXTextClass): initialize floatlist_
10954         (TextClassTags): add TC_NOFLOAT
10955         (Read): match "nofloat" to TC_NOFLOAT and use it.
10956         (readFloat): modify call to floatlist_
10957         (floats): ditto
10958         (floats): ditto
10959
10960         * FloatList.[Ch] (FloatList): remove commented out float
10961         initialization.
10962         (erase): new function
10963
10964 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10965
10966         * MenuBackend.C (expandToc): fix crash when there is no document
10967         open
10968
10969 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
10970
10971         * many files: Add insetwrap.
10972
10973 2002-09-09  John Levon  <levon@movementarian.org>
10974
10975         * text2.C: remove confusing and awkward depth wraparound
10976
10977 2002-09-09  John Levon  <levon@movementarian.org>
10978
10979         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
10980
10981         * buffer.h:
10982         * buffer.C: remove getIncludeonlyList()
10983
10984         * paragraph.C:
10985         * lyxfunc.C: remove headers
10986
10987 2002-09-09  Juergen Vigna  <jug@sad.it>
10988
10989         * text.C (getColumnNearX): fix form Michael this is most
10990         probably a cut&paste bug.
10991
10992 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
10993
10994         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
10995
10996         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
10997         references, ws changes.
10998
10999         * text2.C (init): update counters after init
11000         (insertParagraph): no need to set counter on idividual paragraphs.
11001         (setCounter): access the counters object in the textclass object
11002         on in the buffer object.
11003         (updateCounters): ditto
11004
11005         * lyxtextclass.C: include counters.h, add variable ctrs_ as
11006         shared_ptr<Counters> to avoid loading counters.h in all
11007         compilation units.
11008         (LyXTextClass): initialize ctrs_
11009         (TextClassTags): add TC_COUNTER, and ...
11010         (Read): use it here.
11011         (CounterTags): new tags
11012         (readCounter): new function
11013         (counters): new funtion
11014         (defaultLayoutName): return a const reference
11015
11016         * counters.C (Counters): remove contructor
11017         (newCounter): remove a couple of unneeded statements.
11018         (newCounter): simplify a bit.
11019         (numberLabel): some small formatting changes.
11020
11021         * buffer.[Ch]: remove all traces of counters, move the Counters
11022         object to the LyXTextClass.
11023
11024 2002-09-06  Alain Castera  <castera@in2p3.fr>
11025
11026         * tabular.C: uses \tabularnewline; uses >{...} construct from array
11027         package to set the horizontal alignment on fixed width columns.
11028
11029         * lyx_sty.C:
11030         * lyx_sty.h: added tabularnewline macro def.
11031
11032         * LaTeXFeatures.C: added NeedTabularnewline macro feature
11033
11034 2002-09-06  John Levon  <levon@movementarian.org>
11035
11036         * LyXAction.C: tooltips for sub/superscript
11037
11038         * MenuBackend.C: a bit more verbose
11039
11040         * lyxfunc.C: tiny clean
11041
11042         * undo_funcs.C: document undo_frozen
11043
11044 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
11045
11046         * counters.C (Counters): add missing algorithm counter.
11047
11048         * text2.C (setCounter): lookup the counter with layouts latexname
11049         instead of by section number.
11050         (setCounter): use a hackish way to lookup the correct enum
11051         counter.
11052         a float name->type change
11053         reset enum couners with counter name directly instead of depth value.
11054
11055         * counters.C (Counters): remove the push_backs, change to use the
11056         float type not the float name.
11057         (labelItem): remove unused string, float name->type change
11058
11059         * counters.h: don't include vector, loose the enums and sects vectors
11060
11061 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
11062
11063         * lyxtextclass.C (TextClassTags): add TC_FLOAT
11064         (Read): add float->TC_FLOAT to textclassTags
11065         (Read): and handle it in the switch
11066         (readFloat): new function
11067
11068         * FloatList.C (FloatList): comment out the hardcoded float
11069         definitions.
11070
11071         * lyxlayout.h: ws change.
11072
11073 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
11074
11075         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
11076
11077 2002-09-03  Angus Leeming  <leeming@lyx.org>
11078
11079         * BufferView_pimpl.h: qualified name is not allowed in member
11080         declaration: WorkArea & Pimpl::workarea() const;
11081
11082         * factory.C: added using std::endl directive.
11083
11084         * text3.C: added using std::find and std::vector directives.
11085
11086 2002-08-29  André Pönitz <poenitz@gmx.net>
11087
11088         * lyxtext.h:
11089         * text2.C: remove unused member number_of_rows
11090
11091         * Makefile.am:
11092         * BufferView2.C: remove file, move contents to...
11093         * BufferView.C: ... here
11094
11095         * BufferView_pimpl.C:
11096         * factory.C: move more inset creation to factory
11097
11098         * vspace.C: avoid direct usage of LyXText, ws changes
11099
11100         * BufferView.[Ch]:
11101                 don't provide direct access to WorkArea, use two simple
11102                 acessors haveSelction() and workHeight() instead
11103
11104
11105 2002-08-29  John Levon  <levon@movementarian.org>
11106
11107         * BufferView_pimpl.C (dispatch): do not continue when
11108           no buffer
11109
11110 2002-08-28  André Pönitz <poenitz@gmx.net>
11111
11112         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
11113
11114         * BufferView.h:
11115         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
11116
11117 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
11118
11119         * buffer.C: increment LYX_FORMAT to 221
11120
11121         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
11122         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
11123
11124         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
11125
11126         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
11127
11128 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11129
11130         * factory.C (createInset): use LyXTextClass::floats
11131
11132         * MenuBackend.C (expandFloatListInsert):
11133         (expandFloatInsert):
11134         (expandToc):
11135
11136         * text2.C (setCounter):
11137
11138         * LaTeXFeatures.C (useFloat):
11139         (getFloatDefinitions):
11140
11141         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
11142
11143         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
11144         floatlist_, with accessor floats().
11145
11146         * FloatList.h: remove global FloatList
11147
11148 2002-08-26  André Pönitz <poenitz@gmx.net>
11149
11150         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
11151
11152         * BufferView.h:
11153         * BufferView2.C:
11154         * BufferView_pimpl.C:
11155         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
11156
11157 2002-08-25  John Levon  <levon@movementarian.org>
11158
11159         * LyXAction.C: fix margin note description
11160
11161 2002-08-24  John Levon  <levon@movementarian.org>
11162
11163         * buffer.C:
11164         * bufferlist.C:
11165         * bufferview_funcs.C:
11166         * lyxfont.C:
11167         * undo_funcs.C: cleanups
11168
11169         * lyxfunc.C: disable CUT/COPY when no selection
11170
11171 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
11172
11173         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
11174         in "enum UNIT"; e.g. PTW for Percent of TextWidth
11175
11176         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
11177         Add backward compatibility to "mono", "gray" and "no".
11178
11179 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
11180
11181         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
11182         (and file_format >= 200).
11183
11184 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11185
11186         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
11187
11188 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11189
11190         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
11191
11192 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
11193
11194         * BufferView_pimpl.C:
11195         * LyXAction.C:
11196         * buffer.C:
11197         * commandtags.h:
11198         * lyxfunc.C:
11199         * paragraph.[Ch]:
11200         * text2.C:
11201         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
11202         inset and code to make it  work with the paragraph code. The inset
11203         can be anywhere in the paragraph, but will only do the expected
11204         thing in LaTeX if the layout file contains the parameter line
11205                         OptionalArgs    1
11206         (or more generally, a nonzero value) for that layout.
11207
11208 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
11209
11210         * paragraph.h: remove the declaration of undefined counters class
11211         function.
11212
11213 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
11214
11215         * text2.C (setCounter):  fixed enumeration mis-count as reported by
11216         Dr. Richard Hawkins.
11217
11218 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11219
11220         * paragraph_funcs.h: remove some unneeded includes
11221
11222         * text.C (backspace): pasteParagraph now in global scipe
11223
11224         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
11225         (pasteSelection): ditto
11226
11227         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
11228         * paragraph_funcs.C (pasteParagraph): ... here
11229
11230 2002-08-20  André Pönitz <poenitz@gmx.net>
11231
11232         * commandtags.h: new LFUNs for swapping/copying table row/colums
11233
11234         * LyXAction.C:
11235         * lyxfunc.C: support for new lfuns
11236
11237 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
11238
11239         * tabular.C:
11240         * buffer.[Ch]: remove NO_COMPABILITY stuff
11241
11242 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
11243
11244         * boost.C (throw_exception): new file, with helper function for
11245         boost compiled without exceptions.
11246
11247         * paragraph.h:
11248         * lyxlength.C:
11249         * buffer.C:
11250         * ParameterStruct.h:
11251         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
11252
11253         * bufferlist.C (emergencyWriteAll): use boost bind
11254
11255         * BufferView_pimpl.C (moveCursorUpdate): remove inline
11256
11257         * text.C: include paragraph_funcs.h
11258         (breakParagraph): breakParagraph is now in global scope
11259
11260         * paragraph_funcs.[Ch]: new files
11261
11262         * paragraph.C (breakParagraph,breakParagraphConservative): move to
11263         global scope
11264
11265         * buffer.C: include paragraph_funcs.h
11266         (insertStringAsLines): breakParagraph is now in global scope
11267
11268         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
11269         paragraph_funcs.C
11270
11271         * CutAndPaste.C: include paragraph_funcs.h
11272         (cutSelection): breakParagraphConservative is now in global scope
11273         (pasteSelection): ditto
11274
11275         * buffer.h: declare oprator== and operator!= for
11276         Buffer::inset_iterator
11277
11278         * bufferlist.C (emergencyWrite): don't use fmt(...)
11279
11280         * text3.C: add using std::endl
11281
11282         * BufferView.C (moveCursorUpdate): remove default arg
11283
11284 2002-08-20  André Pönitz <poenitz@gmx.net>
11285
11286         * buffer.[Ch]: move inline functions to .C
11287
11288         * BufferView2.C:
11289         * BufferView_pimpl.C:
11290         * text.C:
11291         * buffer.[Ch]: use improved inset_iterator
11292
11293         * buffer.C:
11294         * paragraph.[Ch]: write one paragraph at a time
11295
11296 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
11297
11298         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
11299         style if style is not specified.
11300
11301 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11302
11303         * text2.C (setCounter): when searching for right label for a
11304         caption, make sure to recurse to parent insets (so that a caption
11305         in a minipage in a figure float works) (bug #568)
11306
11307 2002-08-20  André Pönitz <poenitz@gmx.net>
11308
11309         * text3.C: new file for LyXText::dispatch() and helpers
11310
11311         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
11312
11313         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
11314
11315 2002-08-19  André Pönitz <poenitz@gmx.net>
11316
11317         * lyxtext.h:
11318         * text.C: new LyXText::dispatch()
11319
11320         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
11321
11322 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
11323
11324         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
11325
11326         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
11327         Hebrew text.
11328
11329 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11330
11331         * Makefile.am: use $(variables) instead of @substitutions@
11332
11333 2002-08-15  André Pönitz <poenitz@gmx.net>
11334
11335         * lyxfunc.C:
11336         * BufferView_pimpl.C: streamlining mathed <-> outer world
11337         interaction
11338
11339         * commandtags.h:
11340         * LyXAction.C: remove unused LFUN_MATH
11341
11342 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
11343
11344         * paragraph.[Ch]: add some NO_NEXT ifdefs.
11345
11346 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
11347
11348         * paragraph.C (Paragraph): reformat a bit
11349         (cutIntoMinibuffer): use builtin InsetList function instad of
11350         doing it manually.
11351         (getInset): ditto
11352
11353         * buffer.C: include boost/bind.hpp, add using std::for_each
11354         (writeFileAscii): use ParagraphList iterators
11355         (validate): use for_each for validate traversal of paragraphs
11356         (getBibkeyList): use ParagraphList iterators
11357         (resizeInsets): use for_each to resizeInsetsLyXText for all
11358         paragraphs.
11359         (getParFromID): use ParagraphList iterators
11360
11361         * BufferView2.C (lockInset): use paragraph list and iterators
11362
11363 2002-08-14  John Levon  <levon@movementarian.org>
11364
11365         * lyxserver.C: remove spurious xforms include
11366
11367 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11368
11369         * lyxfunc.C (getStatus): disable math-extern outside of math mode
11370
11371 2002-08-13  André Pönitz <poenitz@gmx.net>
11372
11373         * LyXAction.[Ch]:
11374         * lyxfunc.C: further cleaning
11375
11376 2002-08-13  André Pönitz <poenitz@gmx.net>
11377
11378         * funcrequest.h: new constructor
11379
11380         * funcrequest.C: move stuff here from .h
11381
11382         * Makefile.am:
11383         * BufferView_pimpl.C:
11384         * LyXAction.C:
11385         * toc.C:
11386         * lyxfunc.C: subsequent changes
11387
11388         * lyxfunc.h: new view() member function
11389
11390         * lyxfunc.C: subsequent changes
11391
11392 2002-08-13  Angus Leeming  <leeming@lyx.org>
11393
11394         * BufferView2.C:
11395         * BufferView_pimpl.C:
11396         * buffer.C:
11397         * converter.C:
11398         * importer.C:
11399         * lyxfunc.C:
11400         * lyxvc.C:
11401         * toc.C:
11402         * vc-backend.C:
11403         changes due to the changed LyXView interface that now returns references
11404         to member variables not pointers.
11405
11406 2002-08-13  Angus Leeming  <leeming@lyx.org>
11407
11408         * WordLangTuple (word, lang_code): return references to strings,
11409         not strings.
11410
11411         * BufferView.h:
11412         * SpellBase.h:
11413         * lyxtext.h: forward-declare WordLangTuple.
11414
11415         * BufferView2.C:
11416         * ispell.C:
11417         * pspell.C:
11418         * text.C: #include "WordLangTuple.h".
11419
11420         * lyxtext.h:
11421         * text.C: (selectNextWordToSpellcheck): constify return type.
11422
11423 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
11424
11425         * buffer.C:
11426         * buffer.h:
11427         * lyxtext.h:
11428         * paragraph.C:
11429         * paragraph_pimpl.h:
11430         * text.C:
11431         * text2.C:
11432         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
11433         suggested by Angus.
11434         Made updateCounter always count from start of buffer, and removed
11435         second argument (par).
11436         Reverted floats number display to '#'. Perhaps I'll try again when the
11437         code base is sanitized a bit.
11438
11439 2002-08-12  Angus Leeming  <leeming@lyx.org>
11440
11441         * buffer.[Ch] (getLabelList): constify.
11442
11443 2002-08-07  André Pönitz <poenitz@gmx.net>
11444
11445         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
11446
11447         * funcrequest.h: extension to keep mouse (x,y) position
11448
11449 2002-08-12  Juergen Vigna  <jug@sad.it>
11450
11451         * BufferView2.C (insertErrors): forbid undo when inserting error
11452         insets.
11453
11454         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
11455
11456 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
11457
11458         * ParagraphList.[Ch]: new files
11459
11460         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
11461
11462         * BufferView2.C (lockInset): ParagraphList changes
11463         * toc.C: ditto
11464         * text2.C: ditto
11465         * bufferlist.C: ditto
11466         * buffer.h: ditto
11467         * buffer.C: ditto
11468
11469 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
11470
11471         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
11472         unused class variable counter_,
11473
11474         * paragraph.[Ch] (getFirstCounter): delete unused function
11475
11476         * counters.C: include LAssert.h
11477         (reset): add a new function with no arg, change other version to
11478         not have def. arg and to not allow empty arg.
11479
11480         * text2.C (setCounter): remove empty arg from call to Counters::reset
11481
11482 2002-08-11  John Levon  <levon@movementarian.org>
11483
11484         * Makefile.am: add WordLangTuple.h
11485
11486 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
11487
11488         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
11489         lyxfunc.C lyxlex_pimpl.C: ws changes only.
11490
11491         * insets/insettext.C: InsetList changes
11492
11493         * graphics/GraphicsSupport.C (operator()): InsetList changes
11494
11495         * toc.C (getTocList): InsetList changes
11496
11497         * paragraph_pimpl.[Ch]: InsetList changes
11498
11499         * paragraph.[Ch]: InsetList changes
11500
11501         * buffer.C (inset_iterator): InsetList changes
11502         (setParagraph): ditto
11503         * buffer.h (inset_iterator): ditto
11504         * iterators.C (operator++): ditto
11505         * iterators.h: ditto
11506
11507         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
11508
11509         * InsetList.[Ch]: new files, most InsetList handling moved out of
11510         paragraph.C.
11511
11512         * BufferView2.C (removeAutoInsets): InsetList changes
11513         (lockInset): ditto
11514         (ChangeInsets): ditto
11515
11516 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
11517
11518         * paragraph_pimpl.h (empty): new function
11519
11520         * paragraph.[Ch] (empty): new function
11521
11522         * other files: use the new Paragraph::empty function
11523
11524 2002-08-09  John Levon  <levon@movementarian.org>
11525
11526         * lyxtext.h: remove unused refresh_height
11527
11528 2002-08-09  John Levon  <levon@movementarian.org>
11529
11530         * Makefile.am:
11531         * sgml.h:
11532         * sgml.C:
11533         * buffer.C:
11534         * paragraph.h:
11535         * paragraph.C: move sgml char escaping out of paragraph
11536
11537         * paragraph.h:
11538         * paragraph.C: remove id setter
11539
11540         * buffer.C:
11541         * paragraph.C:
11542         * paragraph_pimpl.C: remove dead tex_code_break_column
11543
11544         * bufferview_funcs.C: small cleanup
11545
11546         * lyxfunc.C: remove dead proto
11547
11548         * lyxtext.h: make some stuff private. Remove some dead stuff.
11549
11550         * lyxgluelength.C: make as[LyX]String() readable
11551
11552 2002-08-08  John Levon  <levon@movementarian.org>
11553
11554         * LyXAction.h:
11555         * LyXAction.C:
11556         * MenuBackend.C:
11557         * ToolbarDefaults.C:
11558         * lyxfunc.C:
11559         * lyxrc.C:
11560         * toc.C: lyxaction cleanup
11561
11562 2002-08-08  John Levon  <levon@movementarian.org>
11563
11564         * BufferView2.C: small cleanup
11565
11566         * lyxfind.h:
11567         * lyxfind.C: move unnecessary header into the .C
11568
11569 2002-08-08  John Levon  <levon@movementarian.org>
11570
11571         * funcrequest.h: just tedious nonsense
11572
11573         * lyx_main.h:
11574         * lyx_main.C: cleanups
11575
11576         * buffer.C:
11577         * vspace.C: remove dead header lyx_main.h
11578
11579 2002-08-07  Angus Leeming  <leeming@lyx.org>
11580
11581         * Paragraph.[Ch]:
11582         * paragraph_pimpl.h:
11583         Forward declare class Counters in paragraph.h by moving the ctrs member
11584         variable into Paragraph::Pimpl.
11585         (counters): new method, returning a reference to pimpl_->ctrs.
11586
11587         * text2.C: ensuing changes.
11588
11589 2002-08-07  John Levon  <levon@movementarian.org>
11590
11591         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
11592
11593         * BufferView_pimpl.C: announce X selection on double/triple
11594           click
11595
11596         * lyx_main.C: use correct bool in batch dispatch
11597
11598         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
11599
11600 2002-08-07  André Pönitz <poenitz@gmx.net>
11601
11602         * funcrequest.h: new class to wrap a kb_action and its argument
11603
11604         * BufferView.[Ch]:
11605         * BufferView_pimpl[Ch]:
11606         * LaTeX.C:
11607         * LyXAction.[Ch]:
11608         * lyxfunc.[Ch]:
11609         * lyxrc.C: subsequent changes
11610
11611
11612 2002-08-07  John Levon  <levon@movementarian.org>
11613
11614         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
11615           document options change.
11616
11617 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
11618
11619         * counters.[Ch]
11620         * text2.C
11621         * paragraph.[Ch]
11622         * makefile.am: move counters functionality over from
11623         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
11624
11625 2002-08-06  John Levon  <levon@movementarian.org>
11626
11627         * WordLangTuple.h: new file for word + language code tuple
11628
11629         * SpellBase.h:
11630         * pspell.h:
11631         * pspell.C:
11632         * ispell.h:
11633         * ispell.C:
11634         * lyxtext.h:
11635         * text.C:
11636         * text2.C:
11637         * BufferView.h:
11638         * BufferView2.C: use WordLangTuple
11639
11640         * layout.h:
11641         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
11642
11643 2002-08-06  John Levon  <levon@movementarian.org>
11644
11645         * lyx_main.C: fix cmdline batch handling
11646
11647 2002-08-06  André Pönitz <poenitz@gmx.net>
11648
11649         * lyxrc.C: set default for show_banner to true
11650
11651 2002-08-06  John Levon  <levon@movementarian.org>
11652
11653         * pspell.C: fix a crash, and allow new aspell to work
11654
11655 2002-08-06  John Levon  <levon@movementarian.org>
11656
11657         * lyxfunc.C:
11658         * kbmap.C: small cleanup
11659
11660         * vspace.h:
11661         * vspace.C: add const
11662
11663 2002-08-05  John Levon  <levon@movementarian.org>
11664
11665         * LyXAction.C: back to tabular-insert
11666
11667 2002-08-04  John Levon  <levon@movementarian.org>
11668
11669         * BufferView.h:
11670         * BufferView.C: cosmetic change
11671
11672         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
11673
11674         * bufferlist.C:
11675         * buffer.h:
11676         * buffer.C:
11677         * lyxcb.h:
11678         * lyxcb.C:
11679         * lyxserver.C:
11680         * lyxvc.C:
11681         * vc-backend.C:
11682         * BufferView2.C: purge all "Lyx" not "LyX" strings
11683
11684         * lyxcursor.h:
11685         * lyxcursor.C: attempt to add some documentation
11686
11687         * lyxfunc.C:
11688         * commandtags.h:
11689         * LyXAction.C:
11690         * ToolbarDefaults.C:
11691         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
11692           merge with LFUN_TABULAR_INSERT
11693
11694         * Makefile.am:
11695         * SpellBase.h:
11696         * ispell.h:
11697         * ispell.C:
11698         * pspell.h:
11699         * pspell.C: split up i/pspell implementations into separate
11700           files, many cleanups
11701
11702         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
11703
11704         * text2.C: some cleanup
11705
11706         * lyxfunc.C: don't check for isp_command == "none" any more, it
11707           didn't make any sense
11708
11709 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
11710
11711         * counters.[Ch]
11712         * text2.C
11713         * paragraph.[Ch]
11714         * makefile.am: move counters functionality over
11715         from text2.C/paragraph.[Ch] to counters.[Ch], and
11716         make proper C++.
11717 2002-08-02  John Levon  <levon@movementarian.org>
11718
11719         * buffer.C: s/lyxconvert/lyx2lyx/
11720
11721 2002-08-02  Angus Leeming  <leeming@lyx.org>
11722
11723         * lyxlex.C: revert John's change as it breaks reading of the user
11724         preamble.
11725
11726 2002-08-02  Angus Leeming  <leeming@lyx.org>
11727
11728         * importer.C (Import):
11729         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
11730         changes due to LyXView::view() now returning a boost::shared_ptr.
11731
11732 2002-08-02  John Levon  <levon@movementarian.org>
11733
11734         * lyxlex.C: small cleanup
11735
11736 2002-08-02  John Levon  <levon@movementarian.org>
11737
11738         * text2.C (status): small cleanup, no logic change
11739
11740 2002-08-01  John Levon  <levon@movementarian.org>
11741
11742         * buffer.h:
11743         * buffer.C (writeFile): don't output alerts, caller
11744           handles this
11745
11746         * bufferlist.C:
11747         * lyx_cb.C: from above
11748
11749         * lyxfunc.C: allow to open non-existent files
11750
11751 2002-07-31  John Levon  <levon@movementarian.org>
11752
11753         * lyxserver.C: don't let incidental errors get
11754           in the way (errno)
11755
11756 2002-07-30  John Levon  <levon@movementarian.org>
11757
11758         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
11759
11760 2002-07-30  John Levon  <levon@movementarian.org>
11761
11762         * lyxserver.h:
11763         * lyxserver.C: remove I/O callback too
11764
11765 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11766
11767         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
11768         log.
11769
11770 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
11771
11772         * many files: strip,frontStrip -> trim,ltrim,rtrim
11773
11774 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
11775
11776         * PrinterParams.h: remove extern containsOnly, and include
11777         support/lstrings.h instead.
11778
11779         * LaTeX.C (scanAuxFile): modify because of strip changes
11780         (deplog): ditto
11781         * buffer.C (makeLaTeXFile): ditto
11782         * bufferparams.C (writeFile): ditt
11783         * lyxfont.C (stateText): ditto
11784         * lyxserver.C (read_ready): ditto
11785         * vc-backend.C (scanMaster): ditto
11786
11787         * BufferView_pimpl.h: ws changes
11788
11789         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
11790
11791 2002-07-26  André Pönitz <poenitz@gmx.net>
11792
11793         * kb_sequence.C: remove unnedred usings
11794
11795 2002-07-26  Juergen Vigna  <jug@sad.it>
11796
11797         * lyxfind.C (LyXReplace): we have to check better if the returned
11798         text is not of theLockingInset()->getLockingInset().
11799
11800 2002-07-25  Juergen Vigna  <jug@sad.it>
11801
11802         * lyxfind.C (LyXReplace): don't replace if we don't get the
11803         right LyXText.
11804
11805         * undo_funcs.C (createUndo): remove debugging code.
11806
11807 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
11808
11809         * buffer.C (parseSingleLyXformat2Token): Use default placement
11810         when reading old floats.
11811
11812         * FloatList.C (FloatList): Change the default placement of figure
11813         and tables to "tbp".
11814
11815 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
11816
11817         * MenuBackend.C: using std::max
11818
11819 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11820
11821         * MenuBackend.C (expandToc):
11822         (expandToc2): code moved from xforms menu frontend. It is now
11823         generic and TOCs are transparent to menu frontends.
11824
11825 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11826
11827         * toc.C (getTocList): protect against buf=0
11828
11829         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
11830         Menu as first parameter. Now, this calls itself recursively to
11831         expand a whole tree (this will be useful for TOC handling)
11832         (expandFloatInsert): remove 'wide' version of floats
11833
11834         * MenuBackend.h (submenuname): returns the name of the submenu.
11835         (submenu): returns the submenu itself, provided it has been
11836         created by MenuBackend::expand
11837
11838 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11839
11840         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
11841         insets which have noFontChange == true. (bug #172)
11842
11843 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11844
11845         * BufferView_pimpl.C: add connection objects and use them...
11846         (Pimpl): here.
11847
11848 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11849
11850         * MenuBackend.C (expandLastfiles):
11851         (expandDocuments):
11852         (expandFormats):
11853         (expandFloatListInsert):
11854         (expandFloatInsert):
11855         (expand): split expand in parts
11856
11857 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11858
11859         * lyx_gui.C: use lyx_gui::exit()
11860
11861 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11862
11863         * LyXAction.C: show the failing pseudo action
11864
11865 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
11866
11867         * buffer.C (readFile): Run the lyxconvert script in order to read
11868         old files.
11869
11870 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11871
11872         * LyXAction.C:
11873         * commandtags.h:
11874         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
11875
11876 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11877
11878         * LyXAction.C:
11879         * commandtags.h:
11880         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
11881
11882 2002-07-22  Herbert Voss  <voss@lyx.org>
11883
11884         * lengthcommon.C:
11885         * lyxlength.[Ch]: add support for the vertical lengths
11886
11887 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
11888
11889         * toc.[Ch]: std:: fixes
11890
11891 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11892
11893         * lyxrc.C: do not include lyx_main.h
11894
11895         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
11896         for layouts
11897
11898         * lyxrc.C:
11899         * encoding.C:
11900         * bufferlist.C:
11901         * BufferView2.C: include "lyxlex.h"
11902
11903         * tabular.h:
11904         * bufferparams.h: do not #include "lyxlex.h"
11905
11906         * lyxtextclasslist.C (Add): remove method
11907         (classlist): renamed to classlist_
11908
11909         * paragraph_pimpl.C:
11910         * paragraph.C:
11911         * text2.C:
11912         * CutAndPaste.C:
11913         * bufferview_funcs.C:
11914         * bufferlist.C:
11915         * text.C:
11916         * LaTeXFeatures.C:
11917         * buffer.C:
11918         * toc.C (getTocList): use BufferParams::getLyXTextClass
11919
11920         * toc.C (getTocList): use InsetFloat::addToToc
11921
11922         * toc.[Ch]: new files, containing helper functions to handle table
11923         of contents
11924
11925         * lyxfunc.C (dispatch): no need to remove spaces around command
11926         given as a string
11927         (getStatus): handle LFUN_SEQUENCE by returning the status of the
11928         first command of the sequence; it is not very clever, but I do not
11929         have a better idea, actually
11930
11931         * LyXAction.C (LookupFunc): make sure to remove space at the
11932         beginning and end of the command
11933
11934 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11935
11936         * MenuBackend.C (getMenubar): new method: return the menubar of
11937         this menu set
11938         (read): treat differently reading of menu and menubar (in
11939         particular, the menubar has no name now)
11940         (Menu::menubar): remove
11941
11942         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
11943         saving is finished
11944
11945 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
11946
11947         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
11948         a bibitem inset in a RTL paragraph.
11949
11950 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
11951
11952         * paragraph_pimpl.C: constify
11953
11954         * BufferView_pimpl.C:
11955         * LaTeX.C:
11956         * lyxfunc.C: fix dispatch in a nicer way
11957
11958 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11959
11960         * lyxfunc.C (dispatch):
11961         * BufferView_pimpl.C:
11962         * BufferView_pimpl.h:
11963         * BufferView.C:
11964         * BufferView.h: rename Dispatch() to dispatch()
11965
11966         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
11967
11968         * lyxlayout.C (Read): honor DependsOn tag
11969
11970         * lyxlayout.[Ch] (depends_on): new method
11971
11972         * version.C.in: update lyx_docversion
11973
11974         * LaTeXFeatures.C (getMacros): only define \LyX when needed
11975
11976         * paragraph.C (validate): remove from here...
11977         * paragraph_pimpl.C (validate): ... and move here
11978         (isTextAt): make it const
11979
11980         * buffer.C (getLists): ws cleanup
11981
11982 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
11983
11984         * language.C (read): Use iso8859-1 encoding in latex_lang
11985         (this prevents LyX from crashing when using iso10646-1 encoding).
11986
11987 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11988
11989         * text2.C (toggleInset): if cursor is inside an inset, close the
11990         inset and leave cursor _after_ it
11991
11992 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
11993
11994         * lyxfunc.C: move minibuffer completion handling out of here
11995
11996 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
11997
11998         * BufferView_pimpl.C:
11999         * LaTeX.C: fix dispatch calls
12000
12001 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
12002
12003         * text.C (drawChars): Fix Arabic text rendering.
12004
12005 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
12006
12007         * LyXAction.C:
12008         * commandtags.h:
12009         * lyxfunc.C: remove message-push/pop
12010
12011         * lyxserver.C:
12012         * lyxfunc.h:
12013         * lyxfunc.C: rationalise some code by removing verboseDispatch
12014           in favour of a bool argument to dispatch()
12015
12016 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12017
12018         * lyx_main.C (init): make sure to read symlinks as absolute paths
12019
12020 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
12021
12022         * lyxfunc.h:
12023         * lyxfunc.C: no need for commandshortcut to be a member
12024
12025 2002-07-15  André Pönitz <poenitz@gmx.net>
12026
12027         * converter.C: add support for $$s (scripts from lib/scripts dir)
12028         * lyx_main.C: white space
12029
12030 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
12031
12032         * bufferlist.C:
12033         * lyxrc.h:
12034         * lyxrc.C: remove second exit confirmation
12035
12036 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
12037
12038         * BufferView.h:
12039         * BufferView.C:
12040         * BufferView2.C:
12041         * BufferView_pimpl.h:
12042         * BufferView_pimpl.C:
12043         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
12044
12045 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12046
12047         * MenuBackend.C (expand): add numeric shortcuts to document menu
12048
12049         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
12050
12051 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12052
12053         * lyxfont.C (setLyXFamily):
12054         (setLyXSeries):
12055         (setLyXShape):
12056         (setLyXSize):
12057         (setLyXMisc):
12058         (lyxRead):
12059         * debug.C (value):
12060         * buffer.C (asciiParagraph): use ascii_lowercase
12061
12062 2002-07-15  Mike Fabian  <mfabian@suse.de>
12063
12064         * lyxlex_pimpl.C (search_kw):
12065         * lyxlex.C (getLongString):
12066         * converter.h (operator<):
12067         * converter.C (operator<):
12068         * buffer.C (parseSingleLyXformat2Token):
12069         (asciiParagraph):
12070         * ToolbarDefaults.C (read):
12071         * MenuBackend.C (checkShortcuts):
12072         (read):
12073         * LColor.C (getFromGUIName):
12074         (getFromLyXName): use the compare_ascii_no_case instead of
12075         compare_no_case, because in turkish, 'i' is not the lowercase
12076         version of 'I', and thus turkish locale breaks parsing of tags.
12077
12078 2002-07-16  Angus Leeming  <leeming@lyx.org>
12079
12080         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
12081         now takes a Buffer const & argument.
12082
12083 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
12084
12085         * BufferView.C (resize): check there's a buffer to resize
12086
12087 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
12088
12089         * lyxfunc.C: remove dead code
12090
12091         * lyxserver.h:
12092         * lyxserver.C: use lyx_guii::set_read_callback
12093
12094 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
12095
12096         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
12097         an inset in a RTL paragraph.
12098
12099 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
12100
12101         * lyxfunc.C: repaint after a font size update
12102
12103 2002-07-15  André Pönitz <poenitz@gmx.net>
12104
12105         * lyxlength.C: inBP should be able to return negative values
12106
12107 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
12108
12109         * lyxfunc.C: use lyx_gui::update_fonts()
12110
12111 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
12112
12113         * lyxfunc.C: use lyx_gui::update_color()
12114
12115 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
12116
12117         * bufferlist.C:
12118         * lyxfunc.h:
12119         * lyxfunc.C:
12120         * lyxrc.h:
12121         * lyxrc.C: remove file->new asks for name option, and let
12122           buffer-new take an argument
12123
12124 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
12125
12126         * BufferView_pimpl.C: remove unneeded extra repaint()
12127
12128 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
12129
12130         * LyXAction.C: allow command-sequence with NoBuffer
12131
12132         * lyxfunc.C: don't insist on trailing ';' for command-sequence
12133
12134 2002-07-10  Angus Leeming  <leeming@lyx.org>
12135
12136         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
12137
12138 2002-07-09  Angus Leeming  <leeming@lyx.org>
12139
12140         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
12141
12142 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
12143
12144         * lengthcommon.h: whitespace
12145
12146         * lyxfunc.C: update scrollbar after goto paragraph
12147
12148         * lyxtext.h: factor out page break drawing, and fix it so
12149           page break/added space paints as selected nicely
12150
12151 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
12152
12153         * BufferView_pimpl.C: add FIXMEs, clean up a little
12154
12155 2002-07-09  André Pönitz <poenitz@gmx.net>
12156
12157         * lyxfont.[Ch]: support for wasy symbols
12158
12159 2002-07-08  André Pönitz <poenitz@gmx.net>
12160
12161         * BufferView_pimpl.C: apply John's patch for #93.
12162
12163 2002-07-05  Angus Leeming  <leeming@lyx.org>
12164
12165         * BufferView_pimpl.C (buffer): generate previews if desired.
12166
12167         * LColor.h: add "preview" to the color enum.
12168
12169         * LColor.C (LColor): add a corresponding entry to the items array.
12170
12171         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
12172         with this buffer.
12173
12174 2002-07-05  Angus Leeming  <leeming@lyx.org>
12175
12176         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
12177         The body of the code is now in the method that is passed an ostream &
12178         rather than a file name.
12179         Pass an additional only_preamble parameter, useful for the forthcoming
12180         preview stuff.
12181
12182 2002-07-03  André Pönitz <poenitz@gmx.net>
12183
12184         * lyxfunc.C: simplify getStatus() a bit for math stuff
12185
12186 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12187
12188         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
12189
12190 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12191
12192         * text.C (changeRegionCase): do not change case of all the
12193         document when region ends at paragraph end (bug #461)
12194
12195 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12196
12197         * paragraph.C (startTeXParParams):
12198         (endTeXParParams): add \protect when necessary
12199
12200 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12201
12202         * BufferView_pimpl.C (workAreaExpose): remove warning
12203
12204 2002-06-27  Angus Leeming  <leeming@lyx.org>
12205
12206         * Makefile.am: add lyxlayout_ptr_fwd.h.
12207
12208 2002-06-26  André Pönitz <poenitz@gmx.net>
12209
12210         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
12211
12212 2002-06-25  Angus Leeming  <leeming@lyx.org>
12213
12214         * lyxfunc.C (dispatch): Comment out the call to
12215         grfx::GCache::changeDisplay. The method no longer exists now that the
12216         pixmap generation part of the graphics loader has been moved into
12217         InsetGraphics.
12218
12219 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12220
12221         * text2.C: layout as layout
12222
12223         * text.C: layout as layout
12224
12225         * tabular.C (OldFormatRead): layout as layout
12226
12227         * paragraph_pimpl.C (TeXDeeper): layout as layout
12228         (realizeFont): layout as layout
12229
12230         * paragraph.C (writeFile): layout as layout
12231         (validate): layout as layout
12232         (getFont): layout as layout
12233         (getLabelFont): layout as layout
12234         (getLayoutFont): layout as layout
12235         (breakParagraph): layout as layout
12236         (stripLeadingSpaces): layout as layout
12237         (getEndLabel): layout as layout
12238         (getMaxDepthAfter): layout as layout
12239         (applyLayout): layout as layout
12240         (TeXOnePar): layout as layout
12241         (simpleTeXOnePar): layout as layout
12242         (TeXEnvironment): layout as layout
12243         (layout): layout as layout
12244         (layout): layout as layout
12245
12246         * lyxtextclass.C (compare_name): new functor to work with
12247         shared_ptr, layout as layout
12248         (Read): layout as layout
12249         (hasLayout): layout as layout
12250         (operator): layout as layout
12251         (delete_layout): layout as layout
12252         (defaultLayout): layout as layout
12253
12254         * lyxlayout_ptr_fwd.h: new file
12255
12256         * lyxlayout.C (Read): layout as layout
12257
12258         * lyx_cb.C (MenuInsertLabel): layout as layout
12259
12260         * bufferlist.C (newFile): layout as layout
12261
12262         * buffer.C (readLyXformat2): layout as layout
12263         (parseSingleLyXformat2Token): layout as layout
12264         (insertStringAsLines): layout as layout
12265         (asciiParagraph): layout as layout
12266         (latexParagraphs): layout as layout
12267         (makeLinuxDocFile): layout as layout
12268         (simpleLinuxDocOnePar): layout as layout
12269         (makeDocBookFile): layout as layout
12270         (simpleDocBookOnePar): layout as layout
12271         (getLists): layout as layout
12272
12273         * LaTeXFeatures.C (getTClassPreamble): layout as layout
12274
12275         * CutAndPaste.C (cutSelection): layout as layout
12276         (pasteSelection): layout as layout
12277         (SwitchLayoutsBetweenClasses): layout as layout
12278
12279         * BufferView_pimpl.C (Dispatch): layout as layout
12280         (smartQuote): layout as layout
12281
12282         * BufferView2.C (unlockInset): layout as layout
12283
12284 2002-06-24  André Pönitz <poenitz@gmx.net>
12285
12286         * lyxfunc.C: fix #487
12287
12288 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
12289
12290         * lyxrc.h:
12291         * lyxrc.C:
12292         * lyxfunc.C: remove display_shortcuts, show_banner
12293
12294 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
12295
12296         * Buffer_pimpl.C: oops, update on resize
12297
12298 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
12299
12300         * buffer.C:
12301         * converter.C:
12302         * exporter.C:
12303         * lyxfunc.C:
12304         * BufferView.h:
12305         * BufferView.C: use repaint()
12306
12307         * BufferView_pimpl.h:
12308         * BufferView_pimpl.C: s/updateScreen()/repaint()/
12309           as it's a clearer description. Remove superfluous
12310           redraws.
12311
12312 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
12313
12314         * text.C: fix bug 488. Not ideal, but getting
12315           getWord() to work properly for the insets that
12316           matter is more difficult ...
12317
12318 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
12319
12320         * BufferView_pimpl.C:
12321         * LyXAction.C:
12322         * commandtags.h:
12323         * lyxfunc.C: remove the six million index lyxfuncs to just
12324           one, and DTRT (bug 458)
12325
12326 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
12327
12328         * BufferView.h:
12329         * BufferView.C:
12330         * BufferView_pimpl.h:
12331         * BufferView_pimpl.C: clean up resize() stuff,
12332           and unnecessary updateScreen()s
12333
12334 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
12335
12336         * BufferView.h:
12337         * BufferView.C:
12338         * BufferView_pimpl.h:
12339         * BufferView_pimpl.C:
12340         * lyxfind.h:
12341         * lyxfind.C:
12342         * minibuffer.C: remove focus management of workarea,
12343           not needed. Use screen's greyOut()
12344
12345 2002-06-17  Herbert Voss  <voss@lyx.org>
12346
12347         * converter.C: (convert) do not post a message, when converting
12348         fails, let the calling function decide what to do in this case
12349
12350 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
12351
12352         * lyxfunc.C: tidy up a little
12353
12354 2002-06-16    <alstrup@diku.dk>
12355
12356         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
12357         Got rid of FORMS_H_LOCATION include. Now we are
12358         GUII.
12359
12360 2002-06-15  LyX Development team  <lyx@rilke>
12361
12362         * buffer.[Ch] (sgmlOpenTag):
12363         (sgmlCloseTag): Added support for avoiding pernicious mixed
12364         content. Return number of lines written.
12365
12366         (makeLinuxDocFile):
12367         (makeDocBookFile): Fixed calls to sgml*Tag.
12368         Simple white space clean.
12369
12370         (simpleDocBookOnePar): Simple white space clean.
12371
12372         * tabular.[Ch] (docBook): Renamed to docbook and got another
12373         argument to related with the pernicious mixed content.
12374
12375         (docbookRow): Fixed calls for docbook inset method.
12376
12377 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
12378
12379         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
12380         so it's X11 independent.
12381
12382         * kb*.[Ch]: ditto.
12383
12384         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
12385
12386 2002-06-15  Lyx Development team  <lyx@electronia>
12387
12388         * intl.h: Renamed getTrans to getTransManager.
12389
12390 2002-06-14  Angus Leeming  <leeming@lyx.org>
12391
12392         * Makefile.am: nuke forgotten stl_string_fwd.h.
12393
12394 2002-06-12  Angus Leeming  <leeming@lyx.org>
12395
12396         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
12397
12398 2002-06-13  Angus Leeming  <leeming@lyx.org>
12399
12400         * LaTeX.C:
12401         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
12402
12403 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
12404
12405         * kbmap.C (getiso): add support for cyrillic and greek
12406
12407 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12408
12409         * BufferView.h:
12410         * BufferView.C:
12411         * BufferView_pimpl.h:
12412         * BufferView_pimpl.C: move bogus scrolling logic
12413           to xforms
12414
12415 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12416
12417         * lyxfunc.C:
12418         * BufferView_pimpl.C: view->resize() change
12419
12420 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12421
12422         * BufferView_pimpl.C: topCursorVisible
12423           prototype change
12424
12425 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12426
12427         * Makefile.am:
12428         * lyx_gui.h:
12429         * lyx_gui.C: move to frontends/
12430
12431         * main.C:
12432         * lyx_main.h:
12433         * lyx_main.C: changes from above
12434
12435 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12436
12437         * intl.C:
12438         * intl.h:
12439         * kbmap.C:
12440         * kbsequence.C:
12441         * lyx_cb.C:
12442         * lyx_main.C: minor tidy
12443
12444 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12445
12446         * BufferView_pimpl.h:
12447         * BufferView_pimpl.C:
12448         * BufferView.h:
12449         * BufferView.C: make painter() const,
12450           remove dead code
12451
12452         * BufferView2.C: use screen() accessor
12453
12454         * lyx_main.h:
12455         * lyx_main.C: some minor cleanup
12456
12457 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12458
12459         * BufferView_pimpl.h:
12460         * BufferView_pimpl.C: remove enter/leaveView,
12461           use workHeight()
12462
12463 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12464
12465         * BufferView.h:
12466         * BufferView.C:
12467         * BufferView2.C:
12468         * BufferView_pimpl.h:
12469         * BufferView_pimpl.C: only construct screen once,
12470           rename
12471
12472         * lyxrc.C: remove pointless comment
12473
12474 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
12475
12476         * BufferView.h:
12477         * BufferView.C: remove active() and belowMouse()
12478
12479         * BufferView_pimpl.h:
12480         * BufferView_pimpl.C: use workarea() not workarea_,
12481           and make it use a scoped_ptr instead
12482
12483 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
12484
12485         * lyx_gui.C: add debug message on BadWindow
12486
12487 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12488
12489         * sp_spell.C: fdopen is not part of the C++ standard.
12490
12491         * paragraph.C (InsetIterator): use >= instead of ==
12492
12493 2002-06-07  Angus Leeming  <leeming@lyx.org>
12494
12495         Fixes needed to compile with Compaq cxx 6.5.
12496         * BufferView_pimpl.C:
12497         * DepTable.C:
12498         * buffer.C:
12499         * converter.C:
12500         * encoding.C:
12501         * lyx_gui.C:
12502         * lyx_main.C:
12503         * lyxtextclasslist.C:
12504         * minibuffer.C:
12505         * sp_spell.C:
12506         * tabular_funcs.C:
12507         * vc-backend.C:
12508         all c-library variables have been moved into namespace std. Wrap
12509         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
12510
12511         * lyxlength.C:
12512         * tabular-old.C:
12513         * tabular.C:
12514         Add a using std::abs declaration.
12515
12516         * kbmap.h (modifier_pair):
12517         * paragraph.h (InsetTable, InsetList):
12518         * lyxfont.h (FontBits):
12519         type definition made public.
12520
12521         * bufferlist.C (emergencyWriteAll): the compiler complains that
12522         there is more than one possible lyx::class_fun template to choose from.
12523         I re-named the void specialisation as lyx::void_class_fun.
12524
12525         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
12526
12527         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
12528         the compiler is is unable to find tostr in write_attribute.
12529
12530 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12531
12532         * buffer.C (sgmlError): hide #warning
12533
12534 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12535
12536         * xtl/*: get rid of xtl, which is not in use anyway
12537
12538         * LyXAction.C (init):
12539         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
12540         were unimplemented xtl experimentation
12541
12542 2002-06-04  André Pönitz <poenitz@gmx.net>
12543
12544         * lyxfunc.C: disable array operation on simple formulae
12545
12546 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
12547
12548         * converter.C: constify a bit
12549
12550 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
12551
12552         * lyx_gui.C: check xforms version correctly
12553
12554 2002-04-30  Herbert Voss  <voss@lyx.org>
12555
12556         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
12557         "keep" option
12558
12559 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
12560
12561         * lyxvc.C: fix bug 416 (make sure buffer is saved before
12562           attempt to register it with a VCS)
12563
12564 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12565
12566         * lyx_main.C (init): honor variables LYX_DIR_13x and
12567         LYX_USERDIR_13x
12568
12569 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
12570
12571         * buffer.h:
12572         * buffer.C:
12573         * lyx_main.C: fix a crash on bad command line,
12574           and give a useful exit status on error
12575
12576         * lyxfunc.C (doImport): allow -i lyx to work
12577
12578 2002-03-30  André Pönitz <poenitz@gmx.net>
12579
12580         * lyxfunc.C: mathed font changes
12581
12582 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
12583
12584         * LaTeX.C:
12585         * importer.h:
12586         * importer.C:
12587         * lyx_sty.h:
12588         * lyx_sty.C:
12589         * lyxlex.C:
12590         * lyxrow.h:
12591         * lyxtext.h:
12592         * paragraph.h:
12593         * paragraph.C:
12594         * texrow.h:
12595         * texrow.C:
12596         * text.C:
12597         * trans_mgr.h: srcdocs, and some minor cleanups
12598
12599 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12600
12601         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
12602         call getFont all the time)
12603
12604 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12605
12606         * switch from SigC signals to boost::signals
12607
12608 2002-05-29  André Pönitz <poenitz@gmx.net>
12609
12610         * paragraph_pimpl.C (getChar): don't call size() too often...
12611
12612 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12613
12614         * paragraph_pimpl.C (insertChar): do not try to update tables when
12615         appending (pos == size())
12616
12617         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
12618         in order to reduce drastically the number of comparisons needed to
12619         parse a large document
12620
12621 2002-05-29  André Pönitz <poenitz@gmx.net>
12622
12623         * text.C:
12624         * text2.C:
12625         * lyxtextclass.C:
12626         * sp_pspell.h:
12627         * textclasslist.[Ch]:
12628         * sp_ispell.h: whitespace change
12629
12630 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12631
12632         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
12633         lyxaction directly now.
12634
12635 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
12636
12637         * trans.C:
12638         * lyxfont.C:
12639         * lyxvc.C: remove unused headers
12640
12641 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
12642
12643         * Makefile.am:
12644         * buffer.h:
12645         * undostack.h:
12646         * undostack.C:
12647         * undo_funcs.h:
12648         * undo_funcs.C: some cleanups. Use shared_ptr
12649           and a template for the undo stacks.
12650
12651 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
12652
12653         * BufferView_pimpl.h:
12654         * BufferView_pimpl.C:
12655         * kbmap.h:
12656         * kbmap.C:
12657         * kbsequence.h:
12658         * kbsequence.C:
12659         * lyxfunc.h:
12660         * lyxfunc.C:
12661         * text2.C: use key_state/mouse_state
12662
12663 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12664
12665         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
12666         and LSubstring
12667
12668         * chset.C: change include order
12669         (loadFile): use boost regex and get rid of LRegex and LSubstring
12670
12671         * Makefile.am (BOOST_LIBS): new variable
12672         (lyx_LDADD): use it
12673
12674         * LaTeX.C: change include order.
12675         (scanAuxFile): use boost regex and get rid of LRegex and
12676         LSubstring
12677         (deplog): ditto
12678
12679 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
12680
12681         * ColorHandler.h:
12682         * ColorHandler.C:
12683         * FontInfo.h:
12684         * FontInfo.C: moved to frontends/xforms/
12685
12686         * FontLoader.h:
12687         * FontLoader.C: moved into frontends for GUIIzation
12688
12689         * Makefile.am:
12690         * lyx_gui.C:
12691         * lyxfont.C:
12692         * lyxfunc.C: changes from above
12693
12694 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
12695
12696         * LColor.C: remove spurious X include
12697
12698         * BufferView_pimpl.C:
12699         * Makefile.am:
12700         * font.h:
12701         * font.C:
12702         * text.C:
12703         * text2.C: move font metrics to frontends/
12704
12705 2002-05-24  Juergen Vigna  <jug@sad.it>
12706
12707         * undo_funcs.C (textHandleUndo): fix the cursor selection after
12708         setting the undo_cursor.
12709
12710         * ParagraphParameters.h: include local includes first.
12711
12712 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
12713
12714         * BufferView_pimpl.C:
12715         * BufferView_pimpl.h:
12716         * Makefile.am:
12717         * WorkArea.h:
12718         * WorkArea.C:
12719         * screen.C: move WorkArea into frontends/
12720
12721         * lyxscreen.h:
12722         * screen.C:
12723         * text.C:
12724         * BufferView.C:
12725         * BufferView2.C: move LyXScreen into frontends/
12726
12727         * lyxlookup.h:
12728         * lyxlookup.C:
12729         * lyx_gui.C: move lyxlookup into frontends/xforms/
12730
12731 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
12732
12733         * BufferView2.C:
12734         * BufferView_pimpl.C:
12735         * FontLoader.C:
12736         * LyXView.h:
12737         * LyXView.C:
12738         * Makefile.am:
12739         * WorkArea.C:
12740         * XFormsView.h:
12741         * XFormsView.C:
12742         * buffer.C:
12743         * bufferlist.C:
12744         * bufferview_funcs.C:
12745         * converter.C:
12746         * importer.C:
12747         * lyx_cb.C:
12748         * lyx_gui.C:
12749         * lyx_main.C:
12750         * lyx_find.C:
12751         * lyxfunc.C:
12752         * lyxvc.C:
12753         * minibuffer.C:
12754         * text.C:
12755         * text2.C:
12756         * trans.C:
12757         * vc-backend.C: move LyX/XFormsView into frontends/
12758
12759 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
12760
12761         * Makefile.am:
12762         * PainterBase.C:
12763         * PainterBase.h:
12764         * Painter.C:
12765         * Painter.h:
12766         * WorkArea.C:
12767         * WorkArea.h:
12768         * screen.C:
12769         * tabular.C:
12770         * text.C:
12771         * text2.C: move Painter to frontends/
12772
12773 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12774
12775         * buffer.C: comment out some some code that depend upon lyx_format
12776         < 220
12777
12778         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
12779         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
12780
12781         * buffer.h (NO_COMPABILITY): turn off compability
12782
12783         * ColorHandler.C: include scoped_array.hpp
12784
12785         * font.C: Use more specific smart_ptr header.
12786         * Painter.C: ditto
12787         * gettext.C: ditto
12788         * ShareContainer.h: ditto
12789         * lyx_main.h: ditto
12790         * kbmap.h: ditto
12791         * FontInfo.h: ditto
12792         * BufferView_pimpl.h: ditto
12793         * ColorHandler.h: ditto
12794
12795         * kbmap.C (defkey): change call to shared_ptr::reset
12796
12797 2002-05-21  Juergen Vigna  <jug@sad.it>
12798
12799         * buffer.C (insertErtContents): fix to insert ert asis if it is
12800         non empty. Skip it completely if it contains only whitespaces.
12801
12802 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
12803
12804         * BufferView_pimpl.C:
12805         * BufferView2.C: clear selection on paste (bug 393)
12806
12807 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12808
12809         * DepTable.C: include ctime
12810
12811 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
12812
12813         * buffer.C (latexParagraphs): Add new argument (moving_arg).
12814
12815 2002-05-14  Juergen Vigna  <jug@sad.it>
12816
12817         * text.C (breakParagraph): fixed function to honor the keepempty
12818         layout in the right maner and also to permit the right breaking
12819         algorithm on empty or non empyt keepempty paragraphs.
12820
12821         * paragraph.C (breakParagraph): we have to check also if the par
12822         is really empty (!size()) for isempty otherwise we do the wrong
12823         paragraph break.
12824
12825 2002-05-10  Juergen Vigna  <jug@sad.it>
12826
12827         * buffer.[Ch] : The following are only changes to the ert
12828         compatibility read reading old LaTeX layout and font stuff and
12829         convert it to ERTInsets.
12830
12831         * buffer.h: added isErtInset().
12832
12833         * buffer.C (struct ErtComp): add a fromlayout bool to check
12834         if we're inside a LaTeX layout.
12835         (isErtInset): new helper function.
12836         (insertErtContents): look for other ert insets before this one
12837         and insert the contents there, so that we don't have subsequent
12838         ERT insets with nothing between them. This way we create only one
12839         inset with multiple paragraphs. Also check if we don't insert only
12840         spaces ' ' as they are ignored anyway afterwards in the .tex file
12841         so if we have only spaces we will ignore this latex part in the
12842         new file.
12843         (parseSingleLyXformat2Token \\layout): better compatibility when
12844         reading layout-latex stuff.
12845         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
12846         language tag.
12847         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
12848         stuff after reading the inset only get the information back from
12849         the stack.
12850
12851 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
12852
12853         * buffer.C (makeLaTeXFile): Put language options after loading babel.
12854
12855         * LaTeXFeatures.C (getBabelOptions): New method.
12856
12857 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12858
12859         * BufferView_pimpl.C (Dispatch): work around missing argument for
12860         'layout'
12861
12862 2002-05-08  Juergen Vigna  <jug@sad.it>
12863
12864         * text.C (leftMargin): handle paragraph leftindent.
12865
12866         * paragraph.C (writeFile): write the new \\leftindent tag.
12867         (validate): handle leftindent code.
12868         (TeXEnvironment): handle paragraphleftindent code again.
12869
12870         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
12871
12872         * buffer.C (parseSingleLyXformat2Token): added compatibility code
12873         for paragrap_extra indent code and new token \\leftindent.
12874         (latexParagraphs): handle the leftindent as environment.
12875
12876         * ParameterStruct.h: added leftindent support.
12877
12878         * ParagraphParameters.C (leftIndent): added support functions for
12879         the paragraph left indent.
12880
12881         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
12882         more appropriate.
12883
12884 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
12885
12886         * paragraph.C (isRightToLeftPar): Return false for a paragraph
12887         inside insetERT.
12888
12889         * text.C (computeBidiTables): No bidi in insetERT.
12890
12891         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
12892         in RTL documents.
12893
12894 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12895
12896         * version.C.in: pre 5
12897
12898 2002-05-02  José Matos  <jamatos@fep.up.pt>
12899         * buffer.C (makeDocBookFile): white space changes, add newline to
12900         command styles.
12901         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
12902
12903         * tabular.C (docBook): fix typo.
12904
12905 2002-05-03  Juergen Vigna  <jug@sad.it>
12906
12907         * screen.C (drawFromTo): recalculate the rowpointer if we had a
12908         change in LyXText as we can not be sure it was not freed.
12909         (drawOneRow): remove unused code.
12910
12911         * text.C (drawInset): redo the calculation of the need_break_row as
12912         it could have a row which was already freed.
12913         (draw): look at the return value of drawInset and return false if
12914         it also returned false.
12915         (paintRowText): look at the return value of draw and return false if
12916         it also returned false.
12917
12918         * lyxtext.h: added bool return type to drawInset() and draw() so that
12919         if we have a change in the row so that the rowbreak has to be redone
12920         we abort drawing as it will be called again.
12921
12922 2002-05-02  Juergen Vigna  <jug@sad.it>
12923
12924         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
12925         a change in the maintext also if we're inside an inset.
12926         (Dispatch): set the cursor again after a break line and after the
12927         screen has been updated as it could be we're in a different row.
12928
12929         * text2.C (fixCursorAfterDelete): check to make sure we don't request
12930         to set the cursor behind the pargraph with > size().
12931         (setCursor): check also for the same paragraph when checking where
12932         to put the cursor if we have a NFR inset.
12933
12934         * buffer.C (parseSingleLyXformat2Token): move the compatibility
12935         parts of layout read further up as it still was in the wrong
12936         position.
12937
12938 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12939
12940         * screen.C (drawFromTo): change sine fullRebreak always return
12941         true.
12942
12943         * buffer.C (parseSingleLyXformat2Token): reindent some
12944
12945         * BufferView_pimpl.C (update): change since fullRebreak always
12946         return true.
12947         (Dispatch): git rid of the last hardcoded "Standard"s.
12948
12949 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12950
12951         * text2.[Ch] (fullRebreak): make it return void now that we always
12952         returned true.
12953
12954 2002-04-30  Juergen Vigna  <jug@sad.it>
12955
12956         * buffer.C (parseSingleLyXformat2Token): reset the font before the
12957         ert compatibility check for "latex" layout.
12958
12959 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
12960
12961         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
12962         minipages: use col% instead of p%, and also use the current font.
12963         (makeLaTeXFile): Fix use babel condition.
12964         (parseSingleLyXformat2Token): Correct font when reading old floats.
12965
12966 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
12967
12968         * BufferView_pimpl.C (Dispatch): Check that float type exists when
12969         inserting list of floats.
12970
12971 2002-04-25  Herbert Voss  <voss@lyx.org>
12972
12973         * MenuBackend.C (expand): don't add the graphics extensions to the
12974         export menu
12975
12976 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12977
12978         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
12979         non-existing layout, do not complain if it was the default layout
12980         of the original class (bug #342)
12981
12982 2002-04-24  Juergen Vigna  <jug@sad.it>
12983
12984         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
12985         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
12986
12987 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
12988
12989         * buffer.C (getBibkeyList): If using \bibliography, return the
12990         option field with the reference itself. Enables us to provide natbib
12991         support when using \bibliography.
12992
12993 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
12994
12995         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
12996
12997         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
12998         natbib is provided by the LaTeX class.
12999
13000 2002-04-23  Juergen Vigna  <jug@sad.it>
13001
13002         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
13003         Wakeup functions.
13004
13005         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
13006
13007 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13008
13009         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
13010
13011         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
13012         ensuremath around textordmasculine, textordfeminine and
13013         textdegree.
13014
13015 2002-04-19  Juergen Vigna  <jug@sad.it>
13016
13017         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
13018         reinitializing the buffer otherwise row-dimensions may be wrong.
13019         (update): reset also the selection cursors if they do exits otherwise
13020         their x/y positions may be wrong.
13021
13022         * text2.C (cursorDown): don't enter the inset if we came from a row
13023         above and are one row over the inset.
13024
13025         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
13026         really leaving an inset.
13027
13028 2002-04-18  Juergen Vigna  <jug@sad.it>
13029
13030         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
13031         of the selected paragraph does not have the selected layout also if
13032         the last one had!
13033
13034         * text2.C (setLayout): fixed bug which did not change last selected
13035         paragraph.
13036
13037         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
13038         changed the read and substituted \\end_float with \\end_inset!
13039
13040         * BufferView_pimpl.C (cursorPrevious):
13041         (cursorNext): fixed to make it work with rows heigher than the work
13042         area without moving the cursor only the draw of the row.
13043         (workAreaMotionNotify): fix jumping over high rows.
13044
13045 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13046
13047         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
13048         Ressler.
13049
13050 2002-04-16  Juergen Vigna  <jug@sad.it>
13051
13052         * text2.C (setCursor): set also the irow().
13053         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
13054         (cursorUp):
13055         (cursorDown): support for locking an inset if the x_fix value goes
13056         inside it. That way I can transverse insets too with cursor up/down.
13057
13058         * lyxrow.h: added irow helper function same as other (i) functions.
13059
13060         * BufferView_pimpl.C (cursorPrevious):
13061         (cursorNext): fixed for insets!
13062
13063 2002-04-15  Juergen Vigna  <jug@sad.it>
13064
13065         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
13066         position otherwise it is wrong in some cases.
13067
13068         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
13069         inside the inset before the call.
13070
13071 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
13072
13073         * buffer.[Ch] (getBibkeyList): make it const.
13074
13075 2002-04-12  Juergen Vigna  <jug@sad.it>
13076
13077         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
13078
13079         * text2.C (getCursorX): new helper function
13080         (setCursor): compute also ix_
13081         (setCursorFromCoordinates): set also ix.
13082
13083         * lyxcursor.h: added ix_ and helper functions.
13084
13085         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
13086
13087         * buffer.C (insertStringAsLines): dont break paragraph if the this
13088         paragraph is inside an inset which does not permit it!
13089
13090         * text.C (breakParagraph): honor keepempty flag and break the paragraph
13091         also with no chars on this paragraph.
13092         (paintRowText): only paint stuff if it's inside the workarea!
13093
13094         * paragraph.C (breakParagraph): honor keepempty flag and break the
13095         paragraph always below not above.
13096
13097         * BufferView2.C (unlockInset): update the paragraph layout on inset
13098         unlock as we changed paragraph in such a case.
13099
13100         * lyxfind.C (LyXFind): clear the former selection if not found!
13101
13102         * text2.C (insertInset): freeze Undo after setUndo so that it is not
13103         again called in insertChar().
13104
13105         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
13106         an inset which uses the whole row!
13107         (rightMargin): ditto.
13108         (insertChar): force a rebreak if we inserted an inset!
13109
13110 2002-03-28  Herbert Voss  <voss@lyx.org>
13111
13112         * lyxlength.[Ch]: add inBP() to get the right PS-point
13113         units (BigPoint). With inPixels we have rounding errors
13114
13115 2002-04-11  Juergen Vigna  <jug@sad.it>
13116
13117         * text2.C (setCursorFromCoordinates): set iy to the right value.
13118         (setCursor): add check if row->previous exists!
13119
13120         * buffer.C (parseSingleLyXformat2Token): reset font after read of
13121         an old float_type as this was the case in the old code!
13122
13123         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
13124
13125         * BufferView2.C (showLockedInsetCursor): use iy
13126         (fitLockedInsetCursor): ditto
13127
13128         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
13129         locked insets as there we have the right value now.
13130
13131         * lyxcursor.C: added iy_ variable and iy functions to set to the
13132         baseline of cursor-y of the locked inset.
13133
13134         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
13135         (setCursor): fixed for insets which need a full row.
13136
13137         * text.C (rowLastPrintable): don't ignore the last space when before
13138         an inset which needs a full row.
13139         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
13140         as last character of a row when before a inset which needs a full row.
13141
13142 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13143
13144         * version.C.in: update date
13145
13146         * text2.C (fullRebreak): try to always return true and see what
13147         happens...
13148
13149 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13150
13151         * MenuBackend.C (expand): use Floating::listName
13152
13153         * FloatList.C (FloatList): add listName argument to the built-in
13154         floats
13155
13156         * Floating.[Ch]: add listName member, which is the 'List of XXX'
13157         text associated with the float.
13158
13159 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13160
13161         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
13162
13163 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13164
13165         * ShareContainer.h: add a couple of missing typenames.
13166
13167 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
13168
13169         * lyxrc.C (getDescription): use _() correctly rather than N_().
13170
13171 2002-03-28  Herbert Voss  <voss@lyx.org>
13172
13173         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
13174         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
13175
13176 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13177
13178         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
13179         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
13180
13181 2002-03-29  Juergen Vigna  <jug@sad.it>
13182
13183         * lyxfunc.C (dispatch): add a missing fitCursor call.
13184
13185         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
13186         it was scrolled by a cursor move, so return the bool status.
13187
13188         * BufferView.C (fitCursor): return the bool flag also to the outside
13189         world as this is needed.
13190
13191         * screen.C (toggleToggle): don't subtract the offset if it's positive.
13192
13193         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
13194         call the edit() as it is not needed (and wrong) IMO.
13195         (workAreaButtonPress): set the screen_first variable before evt.
13196         unlock the inset as this may change screen_first and then we have
13197         a wrong y position for the click!
13198
13199 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13200
13201         * MenuBackend.C (expand): another translation that I missed
13202
13203 2002-03-28  Juergen Vigna  <jug@sad.it>
13204
13205         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
13206
13207         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
13208
13209 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13210
13211         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
13212
13213         * MenuBackend.C (expand): fix export/view/update when there is no
13214         document open.
13215
13216 2002-03-27  Herbert Voss  <voss@lyx.org>
13217
13218         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
13219         and text%
13220
13221 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13222
13223         * bufferview_funcs.C (currentState): only show paragraph number
13224         for is DEVEL_VERSION is set.
13225
13226         * lyxfunc.C (dispatch): put warning in INFO channel
13227
13228         * MenuBackend.C (expand): translate the name of floats
13229
13230         * FloatList.C (FloatList): mark the float names for translation
13231
13232         * converter.C (convert): use LibScriptSearch
13233
13234 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13235
13236         * MenuBackend.C (defaults): fix default menu (we might as well get
13237         rid of it...)
13238
13239 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13240
13241         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
13242         directory.
13243
13244 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13245
13246         * lyxvc.C: reorder includes.
13247
13248 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
13249
13250         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
13251           properly
13252
13253 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
13254
13255         * CutAndPaste.C: change layouts earlier on paste
13256           to avoid crashing when calling getFont()
13257
13258 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
13259
13260         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
13261         irritating #error.
13262
13263 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13264
13265         * WorkArea.C: remove 'Pending' debug message.
13266
13267         * most files: ws cleanup
13268
13269         * buffer.[Ch]: ws changes
13270
13271         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
13272
13273 2002-03-21  Juergen Vigna  <jug@sad.it>
13274
13275         * tabular.C (SetMultiColumn): collapse also the contents of the
13276         cells and set the last border right. Added a Buffer const * param.
13277
13278 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13279
13280         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
13281         linking or not.
13282
13283 2002-03-19  Juergen Vigna  <jug@sad.it>
13284
13285         * text2.C (clearSelection): reset also xsel_cache.
13286
13287         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
13288         where it needs to be called (John tells us to do so too :)
13289         (selectionLost): reset sel_cache.
13290
13291         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
13292
13293 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13294
13295         * text2.C (setCursorIntern): put debuging code in INSETS channel
13296
13297 2002-03-19  André Pönitz <poenitz@gmx.net>
13298
13299         * lyxfunc.C: tiny whitespace change
13300
13301 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13302
13303         * ToolbarDefaults.C (init):
13304         * LyXAction.C (init):
13305         * commandtags.h:
13306         * BufferView_pimpl.C (Dispatch):
13307         * lyxfunc.C (dispatch): remove LFUN_DEPTH
13308
13309 2002-03-19  Allan Rae  <rae@lyx.org>
13310
13311         * exporter.C (Export): removeAutoInsets before doing anything else.
13312         While I've just introduced a dependency on BufferView this really is
13313         the best place to clean the buffer otherwise you need to cleanup in
13314         a dozen places before calling export or cleanup in a dozen functions
13315         that export calls.
13316
13317         * converter.C (runLaTeX):
13318         (scanLog): Better handling of removeAutoInsets and screen updates.
13319
13320         * lyxfunc.C (dispatch): small whitespace changes
13321
13322 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13323
13324         * WorkArea.C (C_WorkAreaEvent): return a value.
13325         (event_cb): return 1 if we handled the event, 0 otherwise.
13326
13327         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
13328
13329 2002-03-18  Juergen Vigna  <jug@sad.it>
13330
13331         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
13332         (GetAdditionalWidth): ditto.
13333         (RightLine): ditto.
13334         (LeftLine): ditto.
13335
13336         * BufferView2.C (copy): use getLyXText() so that we do it inside an
13337         inset if we're there actually (probably not used right now but this
13338         is the direction to go for unifying code).
13339         (paste): disable code to clear the selection.
13340
13341         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
13342         inside an InsetText and move the check further up as it is in the
13343         wrong place.
13344
13345         * text2.C (pasteSelection): set a selection over the pasted text.
13346
13347 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
13348
13349         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
13350         and libgraphics to build on Cygwin.
13351
13352 2002-03-15  Juergen Vigna  <jug@sad.it>
13353
13354         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
13355         inserting an Inset into the paragraph. I know this is not the best
13356         fix but we already use current_view in CutAndPaste so we will remove
13357         all of it's using at the same time.
13358
13359         * buffer.C (sgmlError): deactivated function till it is rewritten in
13360         the right mode, now it can create problems.
13361
13362         * paragraph.C (isLineSeparator): check if getInset returns != 0,
13363         before accessing it.
13364
13365 2002-03-14  Juergen Vigna  <jug@sad.it>
13366
13367         * undo_funcs.C (textHandleUndo): do the right thing when updating
13368         the inset after the undo/redo.
13369
13370         * text2.C (setCursor): just some testcode for #44 not ready yet.
13371
13372         * undo_funcs.C (textHandleUndo): set the next() and previous()
13373         pointers of the paragraph to 0 before deleting otherwise we have
13374         problems with the Paragraph::[destructor].
13375
13376         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
13377         on a paragraph insertion.
13378
13379 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13380
13381         * buffer.C (asciiParagraph): use += operator for char append to
13382         string.
13383
13384         * paragraph.C (getFontSettings): compare >= not just >
13385         (highestFontInRange): ditto
13386         (setFont): ditto
13387
13388 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13389
13390         * paragraph.C: change several algorithm to be more appripriate for
13391         the problem domain. This is lookip in FontList and in the InsetList.
13392
13393 2002-03-13  André Pönitz <poenitz@gmx.net>
13394
13395         * commandtags.h:
13396         * LyXAction.C: remove unused LFUN_MATH_MACROARG
13397
13398 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
13399
13400         * commandtags.h:
13401         * LyXAction.C:
13402         * lyxfunc.C:
13403         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
13404
13405 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13406
13407         * Painter.C (display): anon helper function, adjust code for this
13408         change.
13409         (pixmap): remove function.
13410
13411         * Painter.h: remove private display variable.
13412
13413         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
13414
13415 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
13416
13417         * WorkArea.[Ch]: remove figinset_canvas cruft.
13418
13419 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13420
13421         * lyxtextclass.C (operator): add one item cache optimization.
13422
13423         * bufferlist.h: doxy changes
13424
13425         * bufferlist.C: ws changes
13426
13427         * DepTable.[Ch] (ext_exist): place const in the right spot.
13428
13429         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
13430         call resizeInsets.
13431         (workAreaExpose): call resizeInsets when the with BufferView changes.
13432         (Dispatch): adjust for protectedBlank removal
13433         (specialChar): call updateInset if the insert went ok.
13434
13435         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
13436         specialChar instead.
13437
13438         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
13439
13440         * BufferView.h: doxy change
13441
13442         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
13443
13444         * lyxtextclass.C (operator[]): remove non-const version
13445         (defaultLayout): remove non-const version
13446
13447 2002-03-12  Juergen Vigna  <jug@sad.it>
13448
13449         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
13450         did resize the LyXText too.
13451
13452         * buffer.C (readLyXformat2): set layout information on newly allocated
13453         paragraphs.
13454
13455         * tabular.C (OldFormatRead): set layout information on the paragraph.
13456
13457 2002-03-12  Jos�Ab�io Oliveira Matos  <jamatos@novalis.fc.up.pt>
13458
13459         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
13460
13461 2002-03-11  Juergen Vigna  <jug@sad.it>
13462
13463         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
13464         plainly wrong.
13465         (resizeCurrentBuffer): force also the insets to resize themselfes.
13466         (moveCursorUpdate): fixed up for InsetText.
13467
13468 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
13469
13470         * commandtags.h:
13471         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
13472         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
13473         value of Dialogs::tooltipsEnabled().
13474         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
13475
13476 2002-03-08  Juergen Vigna  <jug@sad.it>
13477
13478         * BufferView_pimpl.C (updateInset): update inset inside inset also
13479         if it isn't inside theLockingInset().
13480
13481 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13482
13483         * buffer.C (asciiParagraph): redo some of the word and line length
13484         handling.
13485         (getLists): look for Caption instead of caption.
13486
13487 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13488
13489         * buffer.C (Buffer): initialize niceFile to true
13490         (makeLaTeXFile):
13491         (makeLinuxDocFile):
13492         (makeDocBookFile): make sure niceFile is true on exit
13493
13494 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13495
13496         * buffer.C (makeLaTeXFile): escape ~ in \input@path
13497
13498 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
13499
13500         * LyXSendto.C: remove.
13501         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
13502         * lyx_gui.C: remove now-redundant comment.
13503         * ColorHandler.h: remove forward declaration of class WorkArea.
13504         * lyxfunc.C: remove #include "WorkArea.h".
13505
13506 2002-03-07  Juergen Vigna  <jug@sad.it>
13507
13508         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
13509         got moved away with the DEPM and also set the inset_owner always
13510         right which before could have been omitted.
13511
13512 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13513
13514         * buffer.C (parseSingleLyXformat2Token): use default layout is the
13515         wanted layout is not found.
13516
13517 2002-03-07  Juergen Vigna  <jug@sad.it>
13518
13519         * CutAndPaste.C (cutSelection): another layout settings forgotten.
13520
13521 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13522
13523         * paragraph.C (breakParagraph): use default layout not layout of
13524         prev paragraph.
13525         (Paragraph): clear ParagraphParameters.
13526
13527 2002-03-06  Juergen Vigna  <jug@sad.it>
13528
13529         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
13530         otherwise it would not be a valid lenght. Fixed a special case in
13531         the minipage compatibility read where we end the document with a
13532         minipage.
13533
13534         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
13535         was set as it could be 0 for InsetTexts first entry.
13536
13537 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13538
13539         * paragraph.C (writeFile): if layout is empty write out
13540         defaultLayoutName().
13541
13542         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
13543         file without named layout we set layout to defaultLayoutName().
13544
13545 2002-03-06  Juergen Vigna  <jug@sad.it>
13546
13547         * CutAndPaste.C (copySelection): set layout for new paragraph.
13548
13549         * text.C (prepareToPrint): leave ERT inset left aligned
13550         (leftMargin): don't indent paragraphs inside ERT insets
13551
13552 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13553
13554         * paragraph.C (breakParagraph): dont call clear do the work manually
13555
13556         * paragraph.[Ch] (clear): remove function
13557
13558 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13559
13560         * paragraph.C (Paragraph): dont call clear, the work has already
13561         been done.
13562
13563         * lyxtextclass.C (operator): assert if n is empty
13564
13565         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
13566         work manually instead.
13567
13568 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
13569
13570         * BufferView_pimpl.C: protect selectionLost against text == 0
13571
13572 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13573
13574         * text.C (breakParagraph): fix a setting layout to '0' problem.
13575
13576 2002-03-05  Jos�Ab�io Oliveira Matos  <jamatos@novalis.fc.up.pt>
13577
13578         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
13579         final location of file, for the included files, and graphics.
13580
13581 2002-03-05  Juergen Vigna  <jug@sad.it>
13582
13583         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
13584
13585 2002-03-04  Juergen Vigna  <jug@sad.it>
13586
13587         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
13588
13589         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
13590         last column of multicolumn cells.
13591         (SetWidthOfMulticolCell): recalculate NMC and real columns.
13592
13593 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
13594
13595         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
13596         file if it doesn't go to a temporary file.
13597
13598         * buffer.C (sgmlOpenTag):
13599         (sgmlCloseTag):  remove extra newline insertion.
13600
13601 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13602
13603         * text.C (getRowNearY): comment out debug msg
13604
13605 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13606
13607         * text2.C: first -> first_y
13608
13609         * text.C (getRowNearY): add some attemts at a possible
13610         optimization, not working.
13611
13612         * tabular.[Ch]: add BufferParams to several function so that newly
13613         created paragraph can be initialized to he default layotu for the
13614         buffers textclass.
13615
13616         * tabular-old.C (ReadOld): add buf->params to call of Init
13617
13618         * screen.C: rename text->first to text->first_y
13619
13620         * paragraph.C (breakParagraph): always set layout in the broken
13621         paragraph
13622
13623         * lyxtextclass.C (Read): remove lowercase
13624         (hasLayout): ditto
13625         (operator): ditto
13626         (delete_layout): ditto
13627
13628         * lyxtext.h: rename first -> first_y
13629
13630         * lyxlayout.C (Read): remove lowercase
13631         (name): ditto
13632         (setName): ditto
13633         (obsoleted_by): ditto
13634
13635         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
13636
13637         * buffer.C (insertErtContents): add params are to InsetERT
13638         (parseSingleLyXformat2Token): add code to check if a paragraphs
13639         layout really exist.
13640         (parseSingleLyXformat2Token): add params to several inset
13641         constructors
13642         (asciiParagraph): remove lowercase, do the layout comparisons with
13643         no_case
13644
13645         * BufferView_pimpl.C (cursorNext): first -> first_y
13646         (resizeCurrentBuffer): first -> first_y
13647         (updateScrollbar): first -> first_y
13648         (scrollCB): first -> first_y
13649         (workAreaMotionNotify): first -> first_y
13650         (workAreaButtonPress): first -> first_y
13651         (checkInsetHit): first -> first_y
13652         (cursorPrevious): first -> first_y
13653         (cursorNext): first -> first_y
13654         (Dispatch): add buffer_->params to severl inset contructors
13655
13656 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13657
13658         * lyxlayout.C (Read): remove some debug info that I forgot.
13659
13660         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
13661         clean up the code slightly.
13662         (makeLinuxDocFile): ditto
13663         (makeDocBookFile): ditto
13664
13665         * text2.C: layout as string
13666
13667         * text.C: layout as string
13668
13669         * paragraph_pimpl.C: layout as string
13670
13671         * paragraph.[Ch]: layout as string
13672
13673         * lyxtextclasslist.[Ch]: layout as string
13674
13675         * lyxtextclass.[Ch]: layout as string
13676
13677         * lyxtext.h: layout as string
13678
13679         * lyxlayout.[Ch]: layout as string
13680
13681         * lyx_cb.C: layout as string
13682
13683         * bufferview_funcs.C: layout as string
13684
13685         * bufferparams.C: layout as string
13686
13687         * buffer.C: layout as string
13688
13689         * LyXView.[Ch]: layout as string
13690
13691         * LaTeXFeatures.[Ch]: layout as string
13692
13693         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
13694
13695         * BufferView_pimpl.C: change current_layout to string, remove
13696         lyx::layout_type.
13697         (Dispatch):
13698         (smartQuote):
13699         (insertInset):
13700         (workAreaButtonRelease): layout as string
13701
13702         * BufferView2.C (unlockInset): adjust
13703
13704         * vspace.C (asLatexCommand): use an explict temp variable.
13705
13706 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
13707
13708         * Makefile.am: use FRONTEND_*
13709
13710 2002-03-01  Juergen Vigna  <jug@sad.it>
13711
13712         * tabular.C (SetWidthOfMulticolCell): changed to something better
13713         I hope but still work in progress.
13714         (recalculateMulticolumnsOfColumn): renamed function from
13715         recalculateMulticolCells as it is more appropriate now.
13716         (SetWidthOfCell): calculate multicols better.
13717
13718 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13719
13720         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
13721
13722         * lyxfunc.C (processKeySym): print sequence also if it is
13723         `deleted' (complete)
13724
13725         * kbsequence.C (print): print sequence even if it is deleted
13726         (complete would be a better word, actually).
13727
13728         * lyxfunc.C (dispatch): print complete options after a prefix key
13729
13730         * vspace.C (asLatexCommand): rewrite in a slightly different form.
13731
13732 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
13733
13734         * text2.C (setCharFont): eliminate setCharFont code duplication.
13735
13736 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13737
13738         * BufferView_pimpl.C (Dispatch): remove bogus handling of
13739         LFUN_TABULAR_FEATURE (bug #177)
13740
13741 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
13742
13743         * Makefile.am: remove figure.h
13744
13745 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
13746
13747         * Bufferview_pimpl.C:
13748         * CutAndPasteC:
13749         * LaTeX.C:
13750         * LyXSendto.C:
13751         * buffer.C:
13752         * bufferlist.C:
13753         * converter.C:
13754         * language.C:
13755         * lyxfunc.C:
13756         * lyxvc.C:
13757         * paragraph.C:
13758         * text.C:
13759         * text2.C: remove #include "lyx_gui_misc.h".
13760
13761         * LaTeX.C: added #include <cstdio>
13762
13763 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13764
13765         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
13766         that the paragraph following this one can have.
13767
13768         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
13769
13770         * vspace.C (asLatexCommand): fix bogus gcc warning
13771
13772         * Makefile.am (lyx_SOURCES): remove vms_defines.h
13773
13774 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
13775
13776         * text2.C (setLayout): get rid of redundant code
13777
13778 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
13779
13780         * text2.C (incDepth): make sure depth cannot be increased beyond
13781         reasonable values.
13782
13783 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
13784
13785         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
13786         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
13787
13788         * PainterBase.h (image):
13789         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
13790         a LyXImage const *.
13791
13792 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
13793
13794         * BufferView.C:
13795         * BufferView.h:
13796         * BufferView_pimpl.C:
13797         * BufferView_pimpl.h:
13798         * LaTeXFeatures.C:
13799         * LyXAction.C:
13800         * LyXView.C:
13801         * Makefile.am:
13802         * UpdateList.h:
13803         * UpdateList.C:
13804         * buffer.C:
13805         * figure.h:
13806         * figureForm.C:
13807         * figureForm.h:
13808         * figure_form.C:
13809         * figure_form.h:
13810         * lyx_cb.C:
13811         * lyx_gui.C:
13812         * lyx_gui_misc.C:
13813         * lyxfunc.C:
13814         * sp_base.h:
13815         * sp_ispell.h:
13816         * sp_pspell.h:
13817         * sp_spell.C: remove fig inset, and the crap house of
13818           cards that follows it
13819
13820 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
13821
13822         * Makefile.am:
13823         * lyxserver.C:
13824         * os2_defines.h:
13825         * os2_errortable.h:
13826         * nt_defines.h: move .h into support/
13827
13828         * vms_defines.h: remove
13829
13830         * WorkArea.C: add space in debug output
13831
13832         * text2.C:
13833         * paragraph.C:
13834         * buffer.C: add WITH_WARNINGS
13835
13836         * vc-backend.h:
13837         * vc-backend.C:
13838         * bufferlist.C: s/retrive/retrieve/, add docs
13839
13840         * vspace.h:
13841         * vspace.C:
13842         * kbmap.h:
13843         * lyxlength.h:
13844         * lyxgluelength.h:
13845         * length_common.h:
13846         * chset.h:
13847         * chset.C: add docs
13848
13849         * lyxgui.C: add ID to X error handler
13850
13851         * lyxtestclass.c: fix typo
13852
13853 2002-02-26  Juergen Vigna  <jug@sad.it>
13854
13855         * tabular_funcs.C (write_attribute): changed so that some default
13856         attributes are not written at all.
13857         (getTokenValue): set default values before trying to read the
13858         value so we have the return value always set as default if we don't
13859         find the token we search for.
13860
13861         * tabular.C (Write): write bools as bools not as strings!
13862
13863 2002-02-22  Juergen Vigna  <jug@sad.it>
13864
13865         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
13866         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
13867
13868         * text.C (leftMargin): don't add an indent for paragraphs inside
13869         tabular cells (fix #208).
13870
13871 2002-02-21  José Matos  <jamatos@fep.up.pt>
13872
13873         * tabular.C (docBook): fixed support for long tables.
13874
13875 2002-02-20  Juergen Vigna  <jug@sad.it>
13876
13877         * text2.C (getFont): get the drawing font of the Inset if this
13878         paragraph is inside an inset (only important for InsetERT for now).
13879
13880         * buffer.C (insertErtContents): use new lanugage params in ERT
13881         constructor.
13882
13883         * CutAndPaste.C: commenting out seemingly uneeded code.
13884
13885 2002-02-19  Allan Rae  <rae@lyx.org>
13886
13887         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
13888         Iterators might be simple to use but they also get invalidated.
13889         (removeAutoInsets): renamed saved cursor tracking variables and added
13890         some comments to clarify what everything does.
13891
13892 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
13893
13894         * Chktex.C:
13895         * LaTeX.C:
13896         * LyXSendto.C:
13897         * converter.C:
13898         * lyx_cb.C:
13899         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
13900         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
13901
13902         * lyxfunc.C:
13903         * vc-backend.h: remove #include "support/syscall.h"
13904
13905         * LaTeX.C:
13906         * LyXSendto.C:
13907         * converter.C: rearrange #includes in Lars' approved fashion.
13908
13909         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
13910         forward declare class Timeout in the header file.
13911
13912         * XFormsView.C: changes due to the above.
13913
13914         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
13915         similar to LyXView.
13916
13917         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
13918         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
13919
13920 2002-02-18  José Matos  <jamatos@fep.up.pt>
13921
13922         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
13923         insets contents.
13924
13925 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
13926
13927         * a lot of small ws changes
13928         * add a lot of using std::XXX
13929         * use std construcs some places where approp.
13930         * use some exisint stuff from lyxfunctional where approp.
13931         * Make file changes to use partial linking (lets test this now...)
13932
13933 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
13934
13935         * Chktex.C:
13936         * buffer.C:
13937         remove #include "support/syscontr.h" as it's redundant. Always has been.
13938
13939         * Chktex.C:
13940         * LaTeX.C:
13941         * LyXSendto.C:
13942         * converter.C:
13943         * lyx_cb.C:
13944         * vc-backend.C:
13945         change Systemcalls::System to Systemcalls::Wait and
13946         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
13947         No change of functionality, just reflects the stripped down Systemcalls
13948         class.
13949
13950 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
13951
13952         * debug.[Ch]: add a GRAPHICS type to the enum.
13953
13954 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13955
13956         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
13957
13958         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
13959         there is an inset.
13960
13961 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13962
13963         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
13964         match the changes below.
13965
13966         * text2.C (toggleInset): if there is not editable inset at cursor
13967         position, try to see if cursor is _inside_ a collapsable inset
13968         and close it.
13969
13970 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13971
13972         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
13973         document menu has a nice checkbox
13974
13975 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13976
13977         * lyxlength.C (asLatexString): change PW to output as percent of
13978         \textwidth.
13979
13980         * lengthcommon.C: change '%' to 't%'
13981
13982         * lyxfunc.C (dispatch): a few comments from Martin
13983
13984 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
13985
13986         * WorkArea.h:
13987         * WorkArea.C:
13988         * BufferView_pimpl.h:
13989         * BufferView_pimpl.C: clear our selection when X tells us we've lost
13990           the X selection.
13991
13992 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13993
13994         * vspace.C (inPixels): fix compiler warning
13995
13996 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13997
13998         * lyxfunc.C (getStatus): fix status message for disabled commands.
13999
14000 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
14001
14002         * BufferView_pimpl.C: fix crash on close buffer
14003         during selection (#227)
14004
14005 2002-01-27  Herbert Voss  <voss@lyx.org>
14006
14007         * buffer.C: link old Figure to new graphic inset
14008
14009 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
14010
14011         * FontLoader.C (getFontinfo): Change the latex font names in order
14012         to match the names of type1inst.
14013
14014 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14015
14016         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
14017
14018         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
14019         (extchanged): ditto
14020         (ext_exist): ditto
14021         (remove_files_with_extension): ditto
14022         (remove_file): ditto
14023         (write): ditto
14024
14025         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
14026         document is smaller than the work area height. Do not initialize
14027         static variables to 0.
14028
14029 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14030
14031         * lyx_gui.C (init): give the toolbar tooltips a normal font.
14032
14033         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
14034         LFUN_LAYOUT_PARAGRAPHS.
14035
14036         * tabular.C (GetCellFromInset): new method. Finds an inset in a
14037         tabular. It is possible to provide a possible cell, which will
14038         typically be the actcell from the corresponding insettabular
14039
14040         * lyxfunc.C (getStatus): small cleanup; disable
14041         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
14042         true
14043
14044 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14045
14046         * tabular.C (Validate): remove broken optimization (fixes bug #201)
14047
14048         * paragraph.C (startTeXParParams):
14049         (endTeXParParams): new methods. The LaTeX code to
14050         start/end paragraph formatting
14051         (simpleTeXOnePar): call startTeXParParams also when paragraph is
14052         empty (fixes bug #200)
14053
14054         * vspace.C (inPixels): adapt to the change below
14055         (inPixels): [later] more cleanups (remove unused variables)
14056
14057         * lyxlength.C (inPixels): change to use a width and a height as
14058         parameter.
14059
14060 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14061
14062         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
14063         Replaced with \paperwidth
14064
14065         * DepTable.C (insert): add std:: qualifier
14066
14067 2002-01-18  Allan Rae  <rae@lyx.org>
14068
14069         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
14070         updated also?
14071
14072         * text.C (drawInset): Turned out I didn't know enough about how
14073         rebreaking worked.  This fixes most of the redraw problems.  I see
14074         an occasional cursor trail when a line is broken now and the cursor
14075         placement can seem out by a few pixels also after a rebreak.
14076
14077 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14078
14079         * buffer.C (parseSingleLyXformat2Token): update because minipage
14080         width is now a LyXLength
14081
14082         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
14083
14084         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
14085         math insets
14086
14087 2002-01-17  Juergen Vigna  <jug@sad.it>
14088
14089         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
14090
14091         * BufferView2.C (lockInset): call edit() so that theLockingInset()
14092         is set correctly and the inset is updated correctly.
14093
14094 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14095
14096         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
14097         the beginning of the loop.
14098
14099 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
14100
14101         * lyxrc.C: improve help for use_scalable_fonts
14102
14103 2002-01-17  Allan Rae  <rae@lyx.org>
14104
14105         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
14106
14107 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14108
14109         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
14110         make sure to set their inset_owner to the right value (bug #171)
14111
14112 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
14113
14114         * DepTable.h
14115         * DepTable.C: Implement mtime checking to reduce time spent doing
14116         CRCs.
14117
14118 2002-01-16  Juergen Vigna  <jug@sad.it>
14119
14120         * tabular.C (GetAdditionalHeight): one of error fixed.
14121
14122         * lyxrc.C (output): small fix in writing use_pspell.
14123
14124 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
14125
14126         * sp_base.h: #include LString.h
14127
14128 2002-01-16  Allan Rae  <rae@lyx.org>
14129
14130         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
14131         Can someone check this please?
14132
14133         * text.C (drawInset): It was possible that p.row would be removed by
14134         breakAgainOneRow upsetting a few other settings.  There may be another
14135         small tweak possible by setting need_break_row = 0 when p.row has been
14136         removed but I don't know enough about the logic here.
14137
14138 2002-01-15  Allan Rae  <rae@lyx.org>
14139
14140         * text.C (insertChar): removed conditional truism.
14141
14142         * BufferView2.C (removeAutoInsets): More tweaks.
14143         cur_par_prev could be a stray pointer.  Check for trailing empty line
14144         in case last line was cur_par and only had an error inset on it.
14145
14146 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14147
14148         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
14149         absolute
14150
14151         * vc-backend.C (most methods):
14152         * exporter.C (Export):
14153         * converter.C (convert):
14154         (runLaTeX):
14155         * LyXSendto.C (SendtoApplyCB):
14156         * lyxfunc.C (dispatch):
14157         (menuNew):
14158         (open):
14159         (doImport):
14160         * lyx_cb.C (AutoSave):
14161         (InsertAsciiFile):
14162         * BufferView_pimpl.C (MenuInsertLyXFile):
14163         * buffer.C (runChktex): use Buffer::filePath().
14164
14165         * buffer.h: rename filename to filename_; rename filepath to
14166         filepath_ and make it private
14167         (filePath): new method
14168
14169         * buffer.C (writeFile): use fileName()
14170         (getLatexName):
14171
14172         * lyx_main.C (init): fix starting  of LyX when the binary is a
14173         link from so,ewhere else.
14174
14175         * minibuffer.C: include <cctype> for isprint
14176
14177 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
14178
14179         * buffer.C (parseSingleLyXformat2Token): changes associated with the
14180         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
14181         name clash with InsetCollapsable's width function.
14182
14183 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14184
14185         * lastfiles.C: include <iterator>
14186
14187 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
14188
14189         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
14190         std::count.
14191
14192         * buffer.C (makeLaTeXFile): ditto.
14193         Also make loop operation more transparent.
14194
14195 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
14196
14197         * ToolbarDefaults.C: remove trailing comma closing namespace.
14198
14199         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
14200
14201         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
14202         as in WorkArea.
14203
14204         * trans.C (Load): comment out unused variable, allowed.
14205
14206 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
14207
14208         * minibuffer.[Ch] (append_char): new method to recieve input from the
14209         drop-down completion browser. If a key was pressed, then recieve this
14210         char and append it to the existing string.
14211         (peek_event): modify the positioning data passed to the completion
14212         browser so that it can be placed above the minibuffer rather than below.
14213 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14214
14215         * LyXAction.C (init): alloe error-next for readonly documents.
14216
14217         * BufferView2.C (ChangeRefsIfUnique): use standard version of
14218         count.
14219
14220 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14221
14222         * bufferlist.C (readFile): create the buffer _after_ checking that
14223         the file exists.
14224
14225         * lyxfunc.C (verboseDispatch): fix handling of arguments
14226
14227         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
14228
14229         * lyxrc.C: use string::erase() instead of initializing to "".
14230
14231
14232 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
14233
14234         * BufferView_pimpl.h:
14235         * BufferView_pimpl.C:
14236         * WorkArea.h:
14237         * WorkArea.C:
14238         * text2.C: tell X when we have made a selection for copying
14239
14240 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14241
14242         * BufferView_pimpl.C (MenuInsertLyXFile):
14243         * lyxfunc.C (menuNew):
14244         (open):
14245         (doImport): add shortcuts to directory buttons
14246
14247         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
14248         open a float)
14249
14250         * lyxfunc.C (setStatusMessage):
14251         (getStatusMessage): new methods
14252         (getStatus):use setStatusMessage instead of setErrorMessage
14253         (dispatch): when function is disabled, set error message here
14254         [instead of in getStatus previously]
14255
14256         * BufferView_pimpl.C (workAreaButtonRelease): update
14257         toolbar/menubar here too.
14258
14259 2002-01-13  Allan Rae  <rae@lyx.org>
14260
14261         * BufferView2.C (removeAutoInsets): finished off earlier fix.
14262         Now seems indestructible.  Remaining task is to audit all other
14263         code affected by deleteEmptyParagraphMechanism.  One small quirk
14264         left is that an empty document with an error in the preamble can
14265         be made to report an error but no error box appears.  I don't know
14266         where it goes.
14267         (removeAutoInsets): Improved comments.
14268
14269 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
14270
14271         * Thesaurus.h:
14272         * Thesaurus.C: update for Aiksaurus 0.14
14273
14274 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14275
14276         * text2.C (firstParagraph): removed member function, all uses
14277         replaces with ownerParagraph
14278         (redoParagraphs): here
14279         (updateInset): here
14280         (toggleAppendix): here
14281         * BufferView2.C (insertErrors): here
14282         (setCursorFromRow): here
14283
14284 2002-01-13  Allan Rae  <rae@lyx.org>
14285
14286         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
14287         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
14288         There is still a way to segfault this although you may have to do this
14289         multiple times: Have an InsetERT with an unknown command in it.
14290         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
14291         <down-arrow>, <Enter> again, View->DVI, BANG!
14292
14293         * text2.C (setCursor):
14294         (deleteEmptyParagraphMechanism):
14295         * lyxtext.h (setCursor):
14296         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
14297         Making use of the return value may help fix other bugs.
14298
14299 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14300
14301         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
14302
14303         * LyXView.C (updateMenubar): call MenuBar::update here
14304         (updateToolbar): but not here
14305         (showState): do not update toolbar/menubar
14306
14307         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
14308         should need to care about that.
14309
14310         * lyxfunc.C (verboseDispatch): simplify a bit
14311         (getStatus): have a version which takes a pseudoaction, and
14312         another which requires a (kb_action,string).
14313
14314         * LyXAction.C (retrieveActionArg): make it work also when action
14315         is not a pseudo-action.
14316         (getActionName): simplify a bit
14317         (helpText):
14318
14319 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14320
14321         * lyxfunc.C (verboseDispatch): new families of methods with
14322         several ways to specify a command and a bool to indicate whether
14323         the command name and shortcut should be displayed in minibuffer
14324         (eventually, we could extend that to a finer bitmask like
14325         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
14326         (dispatch): the pristine dispatch command which just, well,
14327         dispatchs! Note it still sets its result to minibuffer; I'm not
14328         sure we want that.
14329
14330         * lyxfunc.h: remove setHintMessage
14331
14332         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
14333
14334 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14335
14336         * BufferView_pimpl.C (specialChar): delete new inset if we have
14337         not been able to insert it.
14338
14339         * kbmap.C: revert to using int instead of kb_action, since all we
14340         are dealing with is pseudo-actions.
14341
14342         * LyXAction.C (searchActionArg): change to return int instead of
14343         kb_action, since the result is a pseudoaction.
14344
14345 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
14346
14347         * buffer.C (insertErtContents): Fix (partially) the font bug.
14348
14349 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
14350
14351         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
14352         as the other one is broken on my machine!
14353
14354 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
14355
14356         * commandtags.h:
14357         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
14358
14359 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
14360
14361         * lyxrc.[Ch]: change names and descriptions of popup font variables to
14362         reflect their actual use. Provide compatibility code for older lyxrc
14363         files.
14364
14365         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
14366         FL_NORMAL_STYLE.
14367         change names of popup font variables in line with the changes to lyxrc.C
14368
14369 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14370
14371         * buffer.C (asciiParagraph): avoid outputing a word twice after
14372         an inset.
14373
14374         * lyxrc.C (getDescription): document that document_path and
14375         template_path can be empty.
14376
14377 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14378
14379         * LaTeXFeatures.C (getMacros):
14380         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
14381
14382         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
14383
14384         * LaTeXFeatures.C (useFloat): require "float" here instead of in
14385         getPackages.
14386         (getPackages): rename feature "floats" to "float". Use an array to
14387         iterate over 'simple' features (i.e. just a \usepackage). Add
14388         handling of "amsmath" (renamed from "amsstyle").
14389
14390 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
14391
14392         * LaTeXFeatures.C (require): Prevent duplicate entries in the
14393         features list.
14394
14395 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
14396
14397         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
14398         FuncStaus::FuncStatus & FuncStaus::some_method().
14399
14400 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
14401
14402         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
14403         of the func_satus stuff. Edited and massaged in various ways by
14404         JMarc.
14405
14406         * lyxfunc.C (getStatus): use FuncStatus
14407
14408 2002-01-08  Juergen Vigna  <jug@sad.it>
14409
14410         * text.C (nextBreakPoint): use function Inset::isChar().
14411
14412         * paragraph.C (TeXOnePar): use function
14413         Inset::forceDefaultParagraphs.
14414
14415         * buffer.C (latexParagraphs): use function
14416         Inset::forceDefaultParagraphs.
14417
14418 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
14419
14420         * lyx_gui.C (init): set the style of the menu popups to
14421         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
14422
14423 2002-01-07  Juergen Vigna  <jug@sad.it>
14424
14425         * text.C (setHeightOfRow): small fix
14426         (prepareToPrint): don't look at alignment if we don't have the place
14427         for doing it.
14428
14429 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
14430
14431         * box.C: New file. Move the Box methods and functions out of box.h,
14432         following Lars' suggestion.
14433
14434 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
14435
14436         * box.h: #include "support/LOstream.h", needed for inlined function.
14437
14438         * lyxtextclass.C:
14439         * lyxtextclasslist.C: added some using std declarations.
14440
14441 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
14442
14443         * box.h: make signed dimensions to allow insets wider than
14444           the screen (bug #162)
14445
14446         * BufferView_pimpl.C: add some insetHit debug
14447
14448 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
14449
14450         * vc-backend.C: add FIXME
14451
14452 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14453
14454         * lyxfunc.C (getStatus): enable code for showing math font status
14455         in toolbar/menu.
14456
14457 2002-01-07  Juergen Vigna  <jug@sad.it>
14458
14459         * text.C (nextBreakPoint): removed debug output not needed anymore.
14460
14461 2002-01-06  Juergen Vigna  <jug@sad.it>
14462
14463         * text.C (nextBreakPoint): fixed up this function we had this bug
14464         since ever but now hopefully we break row better.
14465         (insertChar): we have to check if an inset is the next char as it
14466         could now happen that a large inset is causing a break.
14467
14468 2002-01-05  Juergen Vigna  <jug@sad.it>
14469
14470         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
14471         if it doesn't like to be drawed.
14472
14473 2002-01-04  Juergen Vigna  <jug@sad.it>
14474
14475         * BufferView2.C (lockInset): forgot to set a cursor.
14476
14477         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
14478
14479 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
14480
14481         * FormMathsPanel.C:
14482         * FormMathsPanel.h
14483         * MathsSymbols.C:
14484         * form_maths_panel.C:
14485         * form_maths_panel.h:
14486         * form_maths_panel.fd: implemented sub- and super- buttons in math
14487         panel.
14488
14489         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
14490         (or ^ space) to be used as in TeX (req'd by Andr�.
14491
14492         * lyxfunc.C: Allow ^ and _ again to be used both as
14493         super/subscript (mathed) and as themselves (in text).
14494
14495 2002-01-03  Allan Rae  <rae@lyx.org>
14496
14497         * LyXView.C (updateWindowTitle): Setup a short icon title of either
14498         "LyX" or the filename of the current buffer if it has one.  This is a
14499         modified form of John Levon's patch.
14500
14501         * XFormsView.C (setWindowTitle): also set icon title.
14502
14503         * LyXView.h (setWindowTitle): signature changed.
14504         * XFormsView.h (setWindowTitle): ditto.
14505
14506 2002-01-02  Juergen Vigna  <jug@sad.it>
14507
14508         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
14509
14510 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14511
14512         * screen.C (topCursorVisible): introduce a temp var for
14513         text->cursor.row(), handle the case where this row is null. (kindo
14514         hachish)
14515
14516         * text2.C (setCursor): add a couple of asserts.
14517
14518         * paragraph.h (inset_iterator): add -> operator
14519
14520         * paragraph.[Ch] (autoDeleteInsets): remove member function
14521
14522         * BufferView2.C (removeAutoInsets): rewrite to handle the old
14523         cursor pos correctly and handle inset deletion by itself.
14524         (insertErrors): move iterator declaration out of for expression
14525
14526         * lyxtextclass.C: add <algorithm>
14527
14528         * Makefile.am: added the new files to sources, removed layout.C
14529
14530         * layout.C: removed file
14531
14532         * layout.h: remove LYX_DUMMY_LAYOUT
14533
14534         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
14535         layout.
14536
14537         * lyxlayout.[Ch]:
14538         * lyxtextclass.[Ch]:
14539         * lyxtextclasslist.[Ch]: new files
14540
14541         * include order changes to a lot of files, also changes because of
14542         the six new files.
14543
14544 2001-12-27  Juergen Vigna  <jug@sad.it>
14545
14546         * buffer.C (asciiParagraph): more fixes.
14547
14548         * tabular.C (ascii): make ascii export support export of only the
14549         data separated by a column-delimiter.
14550         (ascii): better support for ascii export.
14551
14552         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
14553
14554 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14555
14556         * tabular_funcs.C: use a "using std::getline" instead of the
14557         previous fix from Angus (necessary for cxx + lyxstring)
14558
14559 2001-12-24  Juergen Vigna  <jug@sad.it>
14560
14561         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
14562
14563         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
14564         problems. First check a minipage also if we have some ert-contents
14565         (not only on par->size(), second set the right depth of the paragraph
14566         on the relink to the root-paragraph-list!
14567
14568         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
14569         which then did not anymore update the main paragraphs on undo/redo!
14570
14571 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14572
14573         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
14574         code. Support all font-changing funcs (even those which are not in
14575         menu currently). Support for reporting font settings in
14576         mathed (disabled until Andre provides a function on mathed's side).
14577
14578         * func_status.h (toggle): small helper function to set toggle
14579         state on a flag.
14580
14581 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
14582
14583         * tabular_funcs.C: getline -> std::getline
14584
14585 2001-12-21  Juergen Vigna  <jug@sad.it>
14586
14587         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
14588         accessed and could be 0 (I couldn't generate this but it seems
14589         Michael could!).
14590
14591 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14592
14593         * tabular_funcs.C: add LIstream.h, move write_attribute to..
14594         * tabular_funcs.h: here and include iosfwd
14595
14596 2001-12-20  Juergen Vigna  <jug@sad.it>
14597
14598         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
14599         inside inset but undo_par was.
14600
14601 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14602
14603         * Thesaurus.C: always include <config.h> in sources.
14604
14605         * Painter.h:
14606         * lyxlookup.h:
14607         * box.h: do not include <config.h> in header files
14608
14609         * text.C (paintLastRow): remove unused variable
14610
14611         * text.C (transformChar):
14612         (insertChar):
14613         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
14614
14615         * Painter.C (text):
14616         * font.C (width): rewrite to use uppercase() instead of
14617         islower/toupper.
14618
14619         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
14620
14621 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
14622
14623         * lyxfind.C: clean up of find failure position change
14624
14625 2001-12-20  Juergen Vigna  <jug@sad.it>
14626
14627         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
14628
14629         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
14630         (TeXRow): added to LaTeX a single tabular row.
14631         (TeXLongtableHeaderFooter): added to output LT-h/f data.
14632         (Latex): simplified and finally good LT-h/f support.
14633         (various_functions): just small adaptions for LT-h/f support.
14634
14635         * tabular_funcs.[hC]: added and moved here all not classfunctions
14636         of LyXTabular.
14637
14638 2001-12-19  Juergen Vigna  <jug@sad.it>
14639
14640         * tabular.[Ch]: better support for longtabular options (not finished
14641         yet!)
14642
14643 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14644
14645         * text.C (paintLastRow): use the label font instead of the font of
14646         the last character to compute the size of *_BOX. This makes more
14647         sense and avoids a crash with empty paragraphs.
14648         Use Painter::rectangle to draw EMPTY_BOX.
14649
14650 2001-12-19  Juergen Vigna  <jug@sad.it>
14651
14652         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
14653         the paragraphs if the replaced paragraph is not the first one!
14654         Tried to delete not used paragraphs but does not work yet so for
14655         now it's inside #ifdef's and by default off!
14656
14657 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14658
14659         * MenuBackend.C: include "lyx_main.h" instead of declaring
14660         lastfiles (actually was declared as LastFiles* instead of a
14661         scoped_ptr).
14662
14663 2001-12-17  Juergen Vigna  <jug@sad.it>
14664
14665         * tabular.C (AppendColumn): applied John's fix
14666
14667 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
14668
14669         * BufferView.h:
14670         * BufferView.C:
14671         * BufferView_pimpl.h:
14672         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
14673
14674         * Makefile.am:
14675         * box.h: new start of class for above
14676
14677         * lyxfunc.C: ignore space-only minibuffer dispatches.
14678           Show the command name when it doesn't exist
14679
14680         * minibuffer.C: don't add empty lines to the history
14681
14682         * minibuffer.C: add a space on dropdown completion
14683
14684 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
14685
14686         * text.C: fix line above/below drawing in insets
14687
14688 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14689
14690         * lyxlength.C (LyXLength): Initialize private variables.
14691
14692 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
14693
14694         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
14695         when inserting error insets.
14696
14697 2001-12-13  Juergen Vigna  <jug@sad.it>
14698
14699         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
14700         actually sometimes the before-paragraph.
14701         (setUndo): don't clear the redostack if we're not actually undoing!
14702
14703 2001-12-06  Juergen Vigna  <jug@sad.it>
14704
14705         * undo_funcs.C (textHandleUndo): well after John's hint I got here
14706         and fixed redoing of main paragraph, so we can use it now ;)
14707
14708         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
14709
14710 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14711
14712         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
14713         Juergen's request
14714
14715 2001-12-13  André Pönitz <poenitz@gmx.net>
14716
14717         * undostack.[Ch]:
14718         * undo_func.C: minor cleanup
14719
14720 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14721
14722         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
14723         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
14724         font in urw-fonts package which is marked as -urw-fontspecific and
14725         does not work (incidentally, changing the encoding in the
14726         fonts.dir of this package to -adobe-fontspecific fixes the
14727         problem).
14728
14729         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
14730         is a crash when undoing first paragraph (Juergen, please take a
14731         look). THis does not mean the undo fix is wrong, just that it
14732         uncovers problems.
14733
14734         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
14735         the (Paragraph*) version when needed instead of duplicating the
14736         code.
14737
14738         * text.C (workWidth): use Inset::parOwner to find out where the
14739         inset has been inserted. This is a huge performance gain for large
14740         documents with lots of insets. If Inset::parOwner is not set, fall
14741         back on the brute force method
14742
14743         * paragraph_pimpl.C (insertInset):
14744         * paragraph.C (Paragraph):
14745         (cutIntoMinibuffer): set parOwner of insets when
14746         inserting/removing them
14747
14748         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14749
14750 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
14751
14752         * commandtags.h:
14753         * LyXAction.C:
14754         * lyx_main.C:
14755         * lyxfunc.C:
14756         * mathed/formulabase.C:
14757         * mathed/math_cursor.[Ch]:
14758         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
14759
14760
14761 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14762
14763         * lyxlength.[Ch] (operator!=): new function
14764
14765 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14766
14767         * text.C (workWidth): use Inset::parOwner to find out where the
14768         inset has been inserted. This is a huge performance gain for large
14769         documents with lots of insets. If Inset::parOwner is not set, fall
14770         back on the brute force method
14771
14772         * paragraph_pimpl.C (insertInset):
14773         * paragraph.C (Paragraph):
14774         (cutIntoMinibuffer): set parOwner of insets when
14775         inserting/removing them
14776
14777         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14778
14779 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14780
14781         * tabular-old.C (getTokenValue):
14782         * tabular.C (getTokenValue):
14783         (write_attribute): new versions for LyXLength
14784         (everywhere): adjust the use of widths
14785
14786         * tabular.h: change the type of widths from string to LyXLength
14787
14788 2001-12-11  Ben Stanley <bds02@uow.edu.au>
14789
14790         * paragraph.C: fixed missing line number count when exporting
14791         Environments to LaTeX file
14792
14793         * buffer.C: added informational message for checking line numbers.
14794
14795 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14796
14797         * text2.C (deleteEmptyParagraphMechanism): if there is only one
14798         paragraph, do the 'double space' part, but not the 'empty
14799         paragraph' one.
14800
14801         * text.C (workWidth): small optimization
14802         (getLengthMarkerHeight): use minimal size for negative lengths.
14803
14804 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
14805
14806         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
14807
14808         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
14809
14810 2001-12-11  André Pönitz <poenitz@gmx.net>
14811
14812         * FontLoader.C:
14813         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
14814
14815 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
14816
14817         * text2.C: keep selection on a setFont()
14818
14819 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
14820
14821         * lyx_cb.C: another bv->text misuse, from insert label
14822
14823 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
14824
14825         * kbsequence.h:
14826         * kbsequence.C: re-instate nmodifier mask
14827
14828 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
14829
14830         * lyx_main.h: make lyxGUI private.
14831
14832 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
14833
14834         * lyxfind.C: place the cursor correctly on failed search
14835
14836 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14837
14838         * text.C (getLengthMarkerHeight): for small heights, the arrows
14839         are not always on top/bottom of the text
14840         (drawLengthMarker): smaller arrows; take the left margin in
14841         account; draw also vfills.
14842         (paintFirstRow):
14843         (paintLastRow): remove special code for vfill and standard spaces,
14844         since everything is handled in drawLengthMarker now.
14845
14846 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14847
14848         * buffer.C (insertErtContents): try to handle font and language
14849         interaction a bit better.g
14850
14851         * ColorHandler.C (updateColor): change the hash to cover the whole
14852         LColor enum, ws cleanup
14853         (getGCLinepars): ditto
14854         (getGCLinepars): only lookup in the linecache once.
14855
14856 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
14857
14858         * iterators.C (operator++): Make the iterator more robust
14859
14860         * BufferView2.C (removeAutoInsets): Use paragraph iterators
14861         (John's patch)
14862         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
14863
14864 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14865
14866         * lyxtext.h:
14867         * text.C: better added space drawing
14868
14869 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14870
14871         * LyXView.C:
14872         * BufferView2.C: fix layout combo update on inset unlock
14873
14874 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14875
14876         * Makefile.am: don't compile unused files
14877
14878 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14879
14880         * lyxfunc.C:
14881         * commandtags.h:
14882         * LyXAction.C: remove old LFUN_LAYOUTNO
14883
14884 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14885
14886         * paragraph_pimpl.h:
14887         * paragraph_pimpl.C: isTextAt() doesn't need font param
14888
14889 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14890
14891         * lyxlex.h:
14892         * lyxlex.C: little cleanup
14893
14894 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14895
14896         * BufferView_pimpl.C: fix insertAscii for insets
14897
14898 2001-12-05  Juergen Vigna  <jug@sad.it>
14899
14900         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
14901         set the right font on the "multi" paragraph paste!
14902
14903 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14904
14905         * trans_decl.h:
14906         * trans_mgr.[Ch]:
14907         * trans.[Ch]:
14908         * lyxgluelength.C:
14909         * lyxlength.C: remove out-commented code.
14910
14911         * BufferView_pimpl:
14912         * CutAndPaste.C:
14913         * DepTable.C:
14914         * buffer.C:
14915         * chset.C:
14916         * lastfiles.C:
14917         * lyxlex.C:
14918         * lyxlex_pimpl.C:
14919         * lyxserver.C:
14920         * screen.C:
14921         * tabular-old.C:
14922         * tabular.C:
14923         * text.C:
14924         * trans_mgr.C:
14925         * vc-backend.C: change "while(" to "while ("
14926
14927         * lyxlength.[Ch]: add zero function to check if length is zero or
14928         not
14929         * lyxgluelength.C: use it
14930
14931 2001-12-05  Allan Rae  <rae@lyx.org>
14932
14933         * lyxlength.C: Attempted a fix for the abs(int) header selection.
14934         Works for 2.95.3, from what I understand of Garst's reports this should
14935         work for other g++ versions.  We're screwed if the abs(int) definition
14936         changed between bugfix releases of gcc.
14937
14938 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
14939
14940         * text.C: fix chapter label offset !
14941
14942 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
14943
14944         * lyxtext.h:
14945         * text.C: fix hfill at end of line, clean up
14946
14947 2001-12-04  Juergen Vigna  <jug@sad.it>
14948
14949         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
14950         that we force an update of the inset and it's owners if neccessary.
14951
14952 2001-12-03  Juergen Vigna  <jug@sad.it>
14953
14954         * text.C (rowLast): simplified code
14955
14956 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
14957
14958         * lyxfunc.C: fix show options on timeout
14959
14960 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14961
14962         * screen.C (topCursorVisible): scroll half a page when the cursor
14963         reached top of bottom of screen
14964
14965 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
14966
14967         * minibuffer.C: deactivate on loss of focus
14968
14969 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14970
14971         * vspace.[Ch] (operator!=): add operator.
14972
14973 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
14974
14975         * BufferView_pimpl.C: refuse to open an inset when
14976         there's a selection.
14977
14978 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
14979
14980         * BufferView_pimpl.C: allow to click on RHS of full row insets
14981
14982 2001-11-30  Juergen Vigna  <jug@sad.it>
14983
14984         * tabular.C (LyXTabular): add a same_id to set the same id's in the
14985         insets for undo reasons.
14986
14987 2001-11-28  André Pönitz <poenitz@gmx.net>
14988
14989         * vspace.[Ch]: cosmetical changes
14990
14991 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
14992
14993         * LyXAction.h:
14994         * LyXAction.C:
14995         * lyxfunc.h:
14996         * lyxfunc.C:
14997         * kbmap.h:
14998         * kbmap.C:
14999         * lyxrc.C:
15000         * kbsequence.h:
15001         * kbsequence.C: part re-write of old kb code
15002
15003         * Painter.C:
15004         * WorkArea.C: remove Lgb_bug_find_hack
15005
15006 2001-11-30  José Matos <jamatos@fep.up.pt>
15007
15008         * buffer.C (makeDocBookFile): add a comment to point a hack.
15009         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
15010         Fixed a double write of labels.
15011
15012 2001-11-29 Ben Stanley <bds02@uow.edu.au>
15013
15014         * LaTeX.C:
15015         * LaTeX.h Fixed bug in LaTeX class where it would not
15016         re-run latex if no depfiles were changed, but the .dvi was removed.
15017
15018 2001-11-28  André Pönitz <poenitz@gmx.net>
15019
15020         * all the files from the change on 2001/11/26:
15021         use lyx::layout_type instead of LyXTextClass::size_type
15022         use lyx::textclass_type instead of LyXTextClassList::size_type
15023
15024 2001-11-29  Juergen Vigna  <jug@sad.it>
15025
15026         * text.C: added support for paragraph::isFreeSpacing()
15027
15028         * buffer.C: same as above
15029
15030         * paragraph.h: inserted isFreeSpacing() function to enable
15031         FreeSpacing inside InsetERT.
15032
15033         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
15034         of the paragraph's in the cut/copy buffer to 0!
15035
15036         * text2.C (removeRow): remove the assert as it can!
15037
15038         * lyxtext.h: added helper function firstRow returning firstrow and
15039         made firstrow private again.
15040
15041         * BufferView2.C (lockInset): don't relock if we're already locked!
15042
15043         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
15044         the only paragraph.
15045         (removeRow): added Assert::(firstrow)
15046
15047         * debug.C: forgot to add INSETTEXT here.
15048
15049 2001-11-28  Juergen Vigna  <jug@sad.it>
15050
15051         * sp_spell.C (initialize): changed error text to more general
15052         spellchecker command use (not only ispell!)
15053
15054         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
15055
15056         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
15057
15058 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
15059
15060         * vspace.C: initialise lyxgluelength on failure
15061
15062 2001-11-28  Allan Rae  <rae@lyx.org>
15063
15064         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
15065         declaration & definition that looks like a function declaration.
15066
15067 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15068
15069         * BufferView2.C (copy):
15070         (copyEnvironment): do not clear the selection when doing a copy.
15071
15072         * text.C (paintFirstRow): compilation fix
15073
15074 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
15075
15076         * tabular.C (Latex): correct line count when writing latex.
15077
15078 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
15079
15080         * paragraph_pimpl.h:
15081         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
15082           bug a bit
15083
15084 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
15085
15086         * text.C:
15087         * LColor.h:
15088         * LColor.C: change vfillline->added_space
15089
15090         * text.C: add markers and text for added space
15091
15092         * vspace.C: fix comment
15093
15094 2001-11-28  André Pönitz <poenitz@gmx.net>
15095
15096         * paragraph.C: whitespace changes
15097         * all the other files from the change on 2001/11/26:
15098         change *::pos_type into lyx::pos_type
15099
15100 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
15101
15102         * buffer.C (parseSingleLyXformat2Token): Set the language to the
15103         language of the document when inserting error insets.
15104
15105 2001-11-26  André Pönitz <poenitz@gmx.net>
15106
15107         * BufferView_pimpl.[Ch]:
15108         *       CutAndPaste.C:
15109         * buffer.[Ch]:
15110         * lyxcursor.[Ch]:
15111         * lyxfind.C:
15112         * lyxfunc.C:
15113         * lyxrow.[Ch]:
15114         * paragraph.[Ch]:
15115         * paragraph_pimpl.[Ch]:
15116         * sp_spell.C:
15117         * text.C:
15118         * text2.C: reduce header dependencies, introduce type for positions
15119
15120 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
15121
15122         * <various>: change to use Alert.h
15123
15124 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
15125
15126         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
15127         when encountering an unknown token.
15128         (readLyXformat2): Show an error message if there were unknown tokens.
15129
15130 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
15131
15132         * BufferView2.C:
15133         * BufferView_pimpl.C:
15134         * buffer.C:
15135         * paragraph.h:
15136         * text.C:
15137         * text2.C: use par->isInset()
15138
15139 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
15140
15141         * paragraph_pimpl.h:
15142         * paragraph_pimpl.C: cleanup
15143
15144 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15145
15146         * text2.C (removeRow):
15147         * text.C (setHeightOfRow): remove useless (and costly) call to
15148         getRow.
15149
15150 2001-11-20  Allan Rae  <rae@lyx.org>
15151
15152         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
15153         Now need Inset*::checkInsertChar() to return true for appropriate
15154         cases so that the characters in the minibuffer will actually be
15155         inserted.
15156
15157 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15158
15159         * text.C: change the order of the includes.
15160         (workWidth): initialize it at once.
15161         (workWidth): make maxw unsigned
15162         (setHeightOfRow): remove unused variable (inset)
15163         (selectSelectedWord): remove unused variable (inset)
15164         (paintRowText): fix drawing of hfill characters, and clean up a bit.
15165
15166 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15167
15168         * lyxserver.C (emergencyCleanup): do not try to close pipes if
15169         server is not running.
15170         (openConnection):
15171         (closeConnection): add debug info when server is disabled.
15172
15173         * ColorHandler.C (getGCForeground): send debug message to GUI
15174         channel.
15175
15176         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
15177
15178         * kbmap.C (bind): modify because return conventions of
15179         kb_sequence::parse have changed.
15180
15181         * kbsequence.C (parse): only ignore spaces and not any stupid
15182         control character. This avoids tests like s[i] <= ' ', which are
15183         guaranteed to fail with 8bit characters and signed chars.
15184         Change return code to string::npos when there have been no error
15185         (0 was a bad idea when error is at first character)
15186
15187 2001-11-14  José Matos  <jamatos@fep.up.pt>
15188
15189         * buffer.h:
15190         * buffer.C (simpleDocBookOnePar): removed unused argument.
15191
15192 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15193
15194         * text.C (selectNextWordToSpellcheck): do not test explicitely for
15195         insets which are part of a word. Paragraph::isLetter takes care of
15196         that now. Use Paragraph::isInset to identify insets.
15197         (selectSelectedWord): do not test for hyphenation break.
15198
15199         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
15200         that protected spaces are considered as spaces.
15201
15202         * paragraph.C (isLetter): cleanup the code for ispell extras; use
15203         Inset::isLetter.
15204
15205 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
15206
15207         * lyxserver.h:
15208         * lyxserver.C: fix it. and small cleanup.
15209
15210 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
15211
15212         * BufferView_pimpl.C: use inline helpers
15213
15214         * LaTeXFeatures.h:
15215         * LaTeXFeatures.C: fix typos
15216
15217         * Spacing.h:
15218         * Spacing.C: move spacing_string into class
15219
15220         * ToolbarDefaults.C: move stuff into namespace anon
15221
15222         * layout.h: update enum
15223
15224         * lyxfunc.C: use better debug
15225
15226         * minibuffer.h: fix typo
15227
15228         * debug.h:
15229         * debug.C:
15230         * WorkArea.C: add and use Debug::WORKAREA
15231
15232         * lyxtext.h:
15233         * text.C:
15234         * text2.C: code re-organisation, inline helpers
15235
15236 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
15237
15238         * Layout.C: replaced a few cases of std::vector.size() == 0 with
15239         std::vector.empty().
15240
15241 2001-11-09  Allan Rae  <rae@lyx.org>
15242
15243         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
15244         '\n's after tables.  Tabular and ERT inset work now makes this no
15245         longer necessary.
15246
15247 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
15248
15249         * minibuffer.h:
15250         * minibuffer.C: fix crash, improve drop-down completion
15251
15252 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
15253
15254         * lyxserver.h:
15255         * lyxserver.C: invalidate fd's when doing endPipe()
15256
15257 2001-11-08  José Matos  <jamatos@fep.up.pt>
15258
15259         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
15260         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
15261
15262         * paragraph.h:
15263         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
15264
15265 2001-11-07  José Matos  <jamatos@fep.up.pt>
15266
15267         * buffer.h:
15268         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
15269         const qualifier.
15270
15271         * buffer.C (sgmlOpenTag):
15272         * buffer.C (sgmlCloseTag): removed debug info.
15273
15274         * buffer.h (sgmlOpenTag):
15275         * buffer.h (sgmlCloseTag): made public.
15276
15277 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15278
15279         * buffer.C (saveParamsAsDefaults):
15280         * lyx_cb.C (MenuLayoutSave): remove
15281
15282         * LyXAction.C (init):
15283         * commandtags.h:
15284         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
15285
15286 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15287
15288         * buffer.C (setPaperStuff): removed from here...
15289
15290         * bufferparams.C (setPaperStuff): ... and moved there.
15291
15292 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
15293
15294         * minibuffer.h:
15295         * minibuffer.C:
15296         * XFormsView.C: add support for drop-down completion
15297
15298 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
15299
15300         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
15301         commands.
15302
15303 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15304
15305         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
15306         disabled.
15307
15308 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
15309
15310         * lyx_main.C: change ref to known bugs
15311
15312 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
15313
15314         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
15315         to work around older babel problems.
15316
15317 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
15318
15319         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
15320
15321 2001-10-24  Juergen Vigna  <jug@sad.it>
15322
15323         * tabular-old.C (ReadOld): below variable changes reflected.
15324
15325         * tabular.[Ch]: added ltType struct for longtable header/footer
15326         defines and changed all instances where they are used. Added
15327         future support for double top/bottom rows.
15328
15329 2001-10-24  José Matos  <jamatos@fep.up.pt>
15330
15331         * buffer.h (docbookHandleCaption):
15332         * buffer.C (docbookHandleCaption): removed unused function.
15333         (makeDocBookFile): moved docbook supported version to v4.1.
15334
15335 2001-10-24  José Matos  <jamatos@fep.up.pt>
15336
15337         * tabular.h:
15338         * tabular.C (docbookRow): new function to export docbook code of a row.
15339         (DocBook): now honors the longtable flags.
15340
15341 2001-10-23  José Matos  <jamatos@fep.up.pt>
15342
15343         * LaTeXFeatures.h:
15344         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
15345         of the lyx defined sgml entities used in a docbook/linuxdoc document.
15346
15347         * buffer.C (makeLinuxDocFile):
15348         (makeDocBookFile): reworked the preamble, more clean, and with
15349         support for lyx defined entities. Changed the document declaration
15350         to be more XML friendly.
15351
15352         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
15353         if we need to output XML that should be done with a filter.
15354
15355 2001-10-22  Juergen Vigna  <jug@sad.it>
15356
15357         * sp_pspell.h (class PSpell): add alive function needed in the
15358         controller to see if the spellchecker could be started.
15359
15360 2001-10-22  Juergen Vigna  <jug@sad.it>
15361
15362         * buffer.C (insertStringAsLines): modify the font for inserting
15363         chars in certain conditions by calling checkInsertChar(font).
15364
15365 2001-10-19  Juergen Vigna  <jug@sad.it>
15366
15367         * text.C (workWidth): use getRow instead of wrong algorithm.
15368         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
15369
15370 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
15371
15372         * lyxserver.h:
15373         * lyxserver.C:
15374         * lyx_main.h:
15375         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
15376
15377 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15378
15379         * text.C (workWidth): do not search for the exact row when
15380         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
15381         optimization for big documents.
15382
15383 2001-10-18  Juergen Vigna  <jug@sad.it>
15384
15385         * text.C (workWidth): new function with added Inset * parameter.
15386
15387 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15388
15389         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
15390
15391         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
15392         change return type of getColumnNearX.
15393
15394
15395         * text.C (changeRegionCase): use uppercase/lowercase instead of
15396         toupper/tolower.
15397         (leftMargin):
15398         (rightMargin): simplify code by factoring out the uses of
15399         textclasslist.
15400         (labelFill):
15401         (numberOfHfills):
15402         (setHeightOfRow):
15403         (appendParagraph): use Paragraph::size_type
15404
15405 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15406
15407         * vspace.C (asLatexString): add a missing break
15408
15409 2001-10-15  Herbert Voss  <voss@perce.de>
15410
15411         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
15412
15413 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15414
15415         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
15416         is not available.
15417
15418 2001-10-10  André Pönitz <poenitz@gmx.net>
15419
15420         * lyxfunc.C: removed greek_kb_flag.
15421
15422 2001-10-10  Herbert Voss  <voss@perce.de>
15423
15424         * lyx_main.C: delete global string help_lyxdir.
15425
15426 2001-10-09  Herbert Voss  <voss@perce.de>
15427
15428         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
15429
15430         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
15431
15432         * lyx_main.C: added global string help_lyxdir.
15433
15434         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
15435
15436 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
15437
15438         * lyxrc.C (set_font_norm_type): support iso8859-4
15439
15440 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
15441
15442         * LaTeX.C (deplog): add another regex for MikTeX
15443
15444 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
15445
15446         * lyxrc.C (set_font_norm_type): support iso8859-3
15447
15448 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15449
15450         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
15451
15452         * LaTeXFeatures.C: remove special case of french and index
15453
15454         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
15455         before \begin{document}). This solves several incompatibilities.
15456
15457 2001-10-03  Garst Reese  <reese@isn.net>
15458
15459         * lyx_cb.C: change CheckTex error msg.
15460
15461 2001-10-03  José Matos  <jamatos@fep.up.pt>
15462
15463         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
15464
15465 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15466
15467         * .cvsignore: update
15468
15469         * lyx_main.C (commandLineVersionInfo): use new style version info.
15470
15471         * buffer.C (writeFile):
15472         (makeLaTeXFile):
15473         (makeLinuxDocFile):
15474         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
15475
15476         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
15477
15478         * version.h: update to use stuff in version.C
15479
15480         * version.C.in: new file. Contains version information determined
15481         at compile time. This is a merging of version.h and
15482         version_info.h.in.
15483
15484 2001-10-03  Juergen Vigna  <jug@sad.it>
15485
15486         * BufferView_pimpl.C (update): don't change "dirty" status in
15487         updateInset call.
15488
15489 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
15490
15491         * WorkArea.C (c-tor): re-position version string slightly.
15492
15493 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
15494
15495         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
15496         revert to previous code.
15497
15498         WorkArea.[Ch]: (show, destroySplash): methods removed.
15499
15500         WorkArea.C: rework code so that it's an amalgam of the codes before and
15501         after the splash screen was moved to WorkArea.
15502
15503 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15504
15505         * lyxrc.C (read):
15506         * vspace.C (inPixels):
15507         (lyx_advance):
15508         * kbmap.C (bind):
15509         * buffer.C (insertStringAsLines):
15510         (asciiParagraph): fix types to be large enough
15511
15512         * lyxlex_pimpl.h: change member status from short to int
15513
15514         * layout.h: fix type of endlabeltype
15515
15516         * kbmap.C (bind):
15517         * kbsequence.C (parse): change return type to string::size_type
15518
15519         * LaTeX.C (updateBibtexDependencies): comment out unneeded
15520         variable
15521
15522         * Bullet.C (bulletSize):
15523         (bulletEntry): do not use short ints as parameters
15524
15525         * BufferView2.C (insertLyXFile): change a char to an int.
15526
15527         * WorkArea.C (WorkArea): remove unneeded floats in computation
15528
15529 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
15530
15531         * buffer.C (asciiParagraph): Treat '\\' as other chars.
15532
15533         * paragraph.C (asString): Do not ignore newline/hfill chars when
15534         copying to the clipboard.
15535
15536 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
15537
15538         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
15539         after a multi-line inset.
15540
15541 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
15542
15543         * paragraph.C (validate): Set NeedLyXFootnoteCode
15544
15545 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
15546
15547         * lyxfont.C (LyXSizeNames): changed increase-error to increase
15548         and decrease-error to decrease.
15549
15550 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15551
15552         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
15553         it more readable (should be equivalent)
15554
15555 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
15556
15557         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
15558
15559 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15560
15561         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
15562         of a cursor (row, etc.) after a character has been deleted
15563         (deleteEmptyParagraphMechanism): call the method above on _all_
15564         cursors held by the LyXText when a double space has been
15565         detected/deleted.
15566
15567 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
15568
15569         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
15570         pixmap.
15571         (resizeCurrentBuff): remove code to destroy the old splash dialog.
15572
15573         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
15574         background. Use greyOut() and the new show() methods to toggle between
15575         the foreground and background. Add code to remove the splash after
15576         its initial showing.
15577
15578         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
15579         (create_forms): no longer call Dialogs::showSplash.
15580
15581 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15582
15583         * .cvsignore: add version_info.h
15584
15585 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15586
15587         * version_info.h.in: new file
15588
15589         * Makefile.am: add version_info.h.in
15590
15591         * lyx_main.C (commandLineVersionInfo): use version_info defined in
15592         version_info.h instead of VERSION_INFO
15593
15594 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
15595
15596         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
15597         The ERT inset now returns string().
15598
15599 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
15600
15601         * lyxtext.h, text.C (selectNextWord): renamed as
15602         selectNextWordToSpellcheck.
15603
15604         * text.C (selectNextWordToSpellcheck): Modified to not select
15605         words inside an ERT inset.
15606
15607 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15608
15609         * lyx_cb.C (MenuLayoutSave): change a bit the question
15610
15611         * sp_base.h: include <sys/types.h>
15612
15613 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
15614
15615         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
15616
15617 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
15618
15619         * several files: fix typos in user-visible strings
15620
15621 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15622
15623         * text2.C (pasteSelection): do not set the selection, since it
15624         will be cleared later. Actually, the intent was to fix the way the
15625         selection was set, but I figured rmoving the code was just as good.
15626
15627 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
15628
15629         * FontLoader.C (available): Check if font is available without
15630         loading the font.
15631
15632 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
15633
15634         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
15635
15636 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
15637
15638         * lyxrc.[Ch]: added display_graphics variable and associated code.
15639
15640 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15641
15642         * bufferparams.C (hasClassDefaults): new method. Returns true if
15643         the buffer parameters correspond to known class defaults
15644
15645 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
15646
15647         * XFormsView.C (show): set minimum size to the main window.
15648
15649 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15650
15651         * text2.C (copySelection):
15652         (cutSelection):
15653         * lyxfind.C (LyXReplace):
15654         * BufferView_pimpl.C (Dispatch): pass the correct flag to
15655         LyXText::selectionAsString.
15656
15657         * paragraph.C (asString): add "label" argument to the second form
15658
15659         * text2.C (selectionAsString): add "label" argument and pass it to
15660         Paragraph::asString.
15661
15662 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15663
15664         * lyx_main.C (commandLineHelp): remove version information
15665
15666 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
15667
15668         * lyx_main.C: add -version commandline option
15669
15670 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15671
15672         * paragraph.h: make the optional constructor arg required instead.
15673         some modifications to other files because of this.
15674
15675         * minibuffer.C (C_MiniBuffer_peek_event): make it static
15676
15677         * lyxserver.C (C_LyXComm_callback): make it static
15678
15679         * lyx_main.C (error_handler): make it static
15680
15681         * lyx_gui.C (LyX_XErrHandler): make it static
15682
15683         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
15684
15685         * WorkArea.C: make the extern "C" methods static.
15686
15687         * Makefile.am (lyx_LDADD): simplify
15688
15689 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
15690
15691         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
15692         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
15693
15694         * LyXAction.C (init):
15695         * lyxfunc.C (dispatch): associated code removal.
15696
15697 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15698
15699         * lyxfont.h (isSymbolFont): shut off warning
15700
15701         * text.C (setHeightOfRow):
15702         (getVisibleRow): fix crash with empty paragraphs which have a
15703         bottom line
15704
15705 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
15706
15707         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
15708         code.
15709
15710 2001-09-04  José Matos  <jamatos@fep.up.pt>
15711         * buffer.C
15712         * buffer.h
15713         * tabular.C (docbook): rename docBook method to docbook.
15714
15715 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
15716
15717         * Makefile.am: add dependencies to main.o.
15718
15719 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
15720
15721         * FontLoader.C (available): Return false if !lyxrc.use_gui
15722
15723 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
15724
15725         * FontInfo.C (query):
15726         * converter.C (view):
15727         * importer.C (Import):
15728         * exporter.C (Export): Can not -> cannot.
15729
15730 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
15731
15732         * BufferView_pimpl.C: allow to create index inset even if
15733           string is empty
15734
15735 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
15736
15737         * buffer.C (getLists): replace boost::tie code with an explicit pair
15738         as boost::tie can break some compilers.
15739
15740         * iterators.h: Added a std:: declaration to the return type of
15741         ParIterator::size.
15742
15743 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
15744
15745         * lyxrc.C: add help for view_dvi_paper_option, default to safe
15746           case.
15747
15748 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
15749
15750         * iterators.[Ch]: New files. Provide paragraph iterators.
15751
15752         * buffer.C (changeLanguage): Use paragraph iterators.
15753         (isMultiLingual): ditto
15754
15755         * BufferView2.C (ChangeInsets): Use paragraph iterators.
15756
15757 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
15758
15759         * FontLoader.C: Support for cmr font.
15760
15761 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
15762
15763         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
15764         (available): New method.
15765
15766         * FontInfo.C (getFontname): Use scalable fonts even when
15767         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
15768         found.
15769
15770 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
15771
15772         * converter.C (Formats::view): reverted! Incorrect fix.
15773
15774 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
15775
15776         * converter.C (Formats::view): only output the -paper option
15777         if the dvi viewer is xdvi, thereby fixing bug #233429.
15778
15779 2001-08-23  Herbert Voss  <voss@perce>
15780
15781         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
15782
15783 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
15784
15785         * Spacing.h (Spacing): Set space to Default on in the default
15786         constructor.
15787
15788 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15789
15790         * vc-backend.h (RCS::versionString): add RCS to version
15791         (CVS::versionString): add CVS to version
15792
15793         * vc-backend.C (scanMaster): do not add CVS to version.
15794         (scanMaster): do not add RCS to version
15795
15796         * lyxvc.C (versionString): new method
15797
15798         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
15799
15800 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15801
15802         * Spacing.C (set): initialize fval
15803
15804 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
15805
15806         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
15807         " or \.
15808
15809 2001-08-16  Juergen Vigna  <jug@sad.it>
15810
15811         * lyxfunc.C (dispatch): implemented the new FINISHED states.
15812
15813 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
15814
15815         * BufferView_pimpl.C:
15816         * figureForm.C:
15817         * lyxtext.h:
15818         * text2.C: setParagraph takes linespacing now
15819
15820 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
15821
15822         * LyxAction.C: add internal LFUN_CITATION_INSERT
15823
15824         * LyXView.C: actually apply fix
15825
15826         * bufferlist.C: fix open non-existent file
15827
15828         * lyxfind.C: fix indentation
15829
15830         * lyxfunc.C: remove unneeded assert, fix typo
15831
15832 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
15833
15834         * MenuBackend.C: use "Floatname List"
15835
15836 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
15837
15838         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
15839         when converting LaTeX layout to insetERT.
15840         Generate a non-collapsed float when reading old float
15841
15842 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
15843
15844         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
15845         ERT insets.
15846
15847 2001-08-13  Juergen Vigna  <jug@sad.it>
15848
15849         * text.C (fill): return 0 instead of 20 as this seems to be the more
15850         correct value.
15851
15852 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
15853
15854         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
15855         lyxrc.font_norm.
15856
15857 2001-08-13  Juergen Vigna  <jug@sad.it>
15858
15859         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
15860         casesensitive off.
15861         (SearchBackward): comment out the unlocking of the inset_owner this
15862         should not be needed!
15863
15864 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
15865
15866         * Many files: Remove inherit_language, and add latex_language
15867
15868         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
15869         collapsible insets.
15870
15871 2001-08-10  Juergen Vigna  <jug@sad.it>
15872
15873         * text.C (prepareToPrint): fixed hfill-width in draw!
15874
15875         * BufferView2.C (selectLastWord): save the selection cursor as this
15876         now is cleared in the function LyXText::clearSelection!
15877
15878 2001-08-08  Juergen Vigna  <jug@sad.it>
15879
15880         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
15881         BACKSPACE type functions.
15882
15883         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
15884         is only cutted from the document but not put in the cut-buffer, where
15885         still the old stuff should be.
15886
15887         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
15888
15889         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
15890
15891         * tabular.C (SetWidthOfCell): fixed special case where the width
15892         was not updated!
15893         (LeftLine): handle '|' in align_special.
15894         (RightLine): ditto
15895         (LeftAlreadyDrawed): ditto
15896         (SetWidthOfCell): ditto
15897
15898 2001-08-07  Juergen Vigna  <jug@sad.it>
15899
15900         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
15901
15902 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15903
15904         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
15905         * lyxlex.[hC]: ditto
15906
15907 2001-08-06  Juergen Vigna  <jug@sad.it>
15908
15909         * text.C (getVisibleRow): fix up row clearing a bit.
15910
15911 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15912
15913         * minibuffer.C: make sure the X server sees the changes in the input.
15914
15915 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15916
15917         * paragraph.C (getFont): split into...
15918         (getLabelFont): this
15919         (getLayoutFont): and this
15920         * paragraph_pimpl.C (realizeFont): calling this
15921
15922         * text2.C (getFont): split into...
15923         (getLayoutFont): this
15924         (getLabelFont): and this
15925         (realizeFont): all three calling this
15926
15927         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
15928         files where used.
15929
15930 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15931
15932         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
15933
15934 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
15935
15936         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
15937         layouts from the Quote inset insertion.
15938
15939 2001-08-03  Juergen Vigna  <jug@sad.it>
15940
15941         * BufferView_pimpl.C (update): do the fitCursor only at the end!
15942
15943         * screen.C (drawFromTo): don't call fitcursor here and do the loop
15944         only if status not is already CHANGED_IN_DRAW (second level).
15945
15946         * text.C (draw): don't set the need_break_row when inside an
15947         InsetText LyXText.
15948
15949 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15950
15951         * buffer.C (parseSingleLyXformat2Token): handle more latex
15952         conversion cases.
15953
15954         * bufferview_funcs.[hC]: change function names to
15955         begin with small char, adjust other files.
15956
15957 2001-08-02  André Pönitz <poenitz@gmx.net>
15958
15959         * lyxfunc.C:
15960         BufferView_pimpl.C: remove broken special code for math-greek
15961
15962 2001-08-02  Juergen Vigna  <jug@sad.it>
15963
15964         * BufferView_pimpl.C (update): redone this function so that we
15965         update the text again if there was a CHANGE_IN_DRAW.
15966
15967         * screen.C (cursorToggle): removed LyXText parameter and recoded.
15968         (drawFromTo): added a new internal bool which is used by draw() and
15969         redraw() function.
15970         (general): some cursor drawing problems fixed.
15971
15972 2001-08-01  Juergen Vigna  <jug@sad.it>
15973
15974         * lyxfind.C (LyXFind): fixed
15975         (SearchForward): ditto
15976         (SearchBackward): ditto
15977
15978         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
15979         spurius drawing of the cursor in the main area.
15980
15981         * text2.C (status): small fix which could lead to a segfault!
15982         (clearSelection): remove unneeded BufferView param.
15983
15984 2001-08-01  André Pönitz <poenitz@gmx.net>
15985
15986         * lyxfunc.C: small change due to changed mathed interface
15987
15988 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15989
15990         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
15991
15992 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
15993
15994         * lyxfunc.c: fail gracefully if file doesn't exist
15995
15996         * LyXSendto.C:
15997         * buffer.C:
15998         * lyxfunc.C:
15999         * BufferView_pimpl.C: IsDirWriteable() proto changed
16000
16001         * LyXView.C: fix updateWindowTitle() to store the last title
16002
16003 2001-07-31  Juergen Vigna  <jug@sad.it>
16004
16005         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
16006         the font (wrong since using of Paragraph::highestFontInRange).
16007
16008         * paragraph.C (highestFontInRange): added a default_size parameter.
16009
16010         * text.C (getVisibleRow): minor clear row changes (still not perfect).
16011         (setHeightOfRow): reformat
16012
16013 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16014
16015         * converter.[hC] + affected files: move to (inital-char)lowercase
16016         function names.
16017
16018         * ParagraphParameters.C (ParagraphParameters): remove commented code
16019
16020         * PainterBase.[Ch]: remove commented code
16021
16022         * LaTeXFeatures.h: add "bool floats" for float.sty
16023
16024         * LaTeXFeatures.C (LaTeXFeatures): init floats
16025         (require): handle float
16026         (getPackages): do it with floats
16027
16028 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16029
16030         * BufferView_pimpl.C (Dispatch): improve handling of
16031         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
16032
16033         * commandtags.h: #include lyxfont.h here temporarily to avoid
16034         keybinding bug.
16035
16036         * bufferlist.h: include LString.h here.
16037
16038 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16039
16040         * text2.C (getStringToIndex): new method.
16041
16042 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
16043
16044         * *: Reduced header file dependencies all over.
16045
16046 2001-07-30  Baruch Even  <baruch@lyx.org>
16047
16048         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
16049
16050 2001-07-29  Baruch Even  <baruch@lyx.org>
16051
16052         * buffer.C (readInset): Changed GRAPHICS to Graphics.
16053
16054 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16055
16056         * ParameterStruct.h (endif): add a default constructor to make
16057         sure that all variables is initialized.
16058
16059         * ParagraphParameters.C (ParagraphParameters): adjust
16060
16061 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16062
16063         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
16064         index; also, check that there is something to index, and that it
16065         does not span over several paragraphs.
16066         (doubleClick): use WHOLE_WORD_STRICT for double click.
16067
16068         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
16069
16070         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
16071         scheme.
16072
16073 2001-07-26  Baruch Even  <baruch@lyx.org>
16074
16075         * buffer.C (readInset): Changed to call up InsetGraphics when reading
16076         an InsetFig figure, backwards compatible reading of old figure code.
16077
16078 2001-07-27  Juergen Vigna  <jug@sad.it>
16079
16080         * text2.C: font.realize function adaption.
16081
16082         * text.C (draw): add a warnings lyxerr text if needed.
16083
16084         * layout.C: font.realize function adaption.
16085
16086         * language.C: add inherit_language and implement it's handlings
16087
16088         * bufferview_funcs.C (StyleReset): remove language parameter from
16089         font creation (should be language_inherit now).
16090
16091         * bufferparams.C (writeFile): handle ignore_language.
16092
16093         * paragraph.C (getFontSettings): the language has to be resolved
16094         otherwise we have problems in LyXFont!
16095
16096         * lyxfont.C (lyxWriteChanges): added document_language parameter
16097         (update): removed unneeded language parameter
16098
16099         * paragraph.C (validate): fixed wrong output of color-package when
16100         using interface colors for certain fonts in certain environments,
16101         which should not seen as that on the final output.
16102
16103 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
16104
16105         * BufferView_pimpl.C:
16106         * Thesaurus.h:
16107         * Thesaurus.C:
16108         * Makefile.am:
16109         * commandtags.h:
16110         * LyXAction.C: add thesaurus support
16111
16112         * lyxfind.h:
16113         * lyxfind.C: add "once" parameter, for thesaurus, to not
16114           move to the next match
16115
16116 2001-07-26  Juergen Vigna  <jug@sad.it>
16117
16118         * lyxfont.C (realize): honor ignore_language too!
16119         (resolved): ditto.
16120
16121         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
16122
16123         * text.C (draw): one place more for ignore_language to not draw
16124         itself!
16125
16126 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
16127
16128         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
16129
16130 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16131
16132         * buffer.C (parseSingleLyXformat2Token): a more general fix for
16133         the minipage conversion problem.
16134
16135 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16136
16137         * buffer.C (parseSingleLyXformat2Token): check minipage if we
16138         insert an inset.
16139
16140 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16141
16142         * BufferView.h: don't forward declare WorkArea
16143
16144         * BufferView.C: don't include WorkArea.h
16145
16146 2001-07-25  André Pönitz <poenitz@gmx.net>
16147
16148         * commandtags.h:
16149         * LyXAction.C:
16150         * lyxfunc.C:  new LFUN 'math-space'
16151
16152         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
16153
16154 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16155
16156         * text2.C (toggleInset): call open/close
16157
16158 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16159
16160         * lyxfunc.C (dispatch): add debug for the disabled case
16161
16162         * font.C (buttonText): make similar to rectText
16163
16164         * buffer.C (readInset): comment out parsing of insetlist and
16165         insttheorem
16166
16167         * PainterBase.C (rectText): small correction
16168
16169         * BufferView_pimpl.C: comment out insettheorem and insetlist
16170         * LyXAction.C: ditto
16171         * commandtags.h: ditto
16172
16173 2001-07-24  Juergen Vigna  <jug@sad.it>
16174
16175         * text.C (draw): honor the ignore_language.
16176
16177         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
16178
16179 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16180
16181         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
16182         char inset.
16183
16184 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
16185
16186         * lyxtext.h: remove unused (and unimplemented) methods
16187
16188 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
16189
16190         * text.C (getVisibleRow): honor background color
16191
16192         * PainterBase.h:
16193         * Painter.h: remove default color argument for fillRectangle
16194
16195         * text.C (backgroundColor): new method
16196
16197 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16198
16199         * text.C (getVisibleRow): adjust
16200
16201         * font.[Ch] (rectText): new method, metrics
16202         (buttonText): new method, metrics
16203
16204         * PainterBase.[hC]: make rectText and buttonText always draw and take
16205         fewer paramteres.
16206
16207 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
16208
16209         * ToolbarDefaults.C (read):
16210         * MenuBackend.C (read): allow escaping in all strings
16211
16212         * BufferView_pimpl.C (insertAndEditInset): new method.
16213         (Dispatch): use insertAndEditInset whenever appropriate.
16214
16215         * BufferView_pimpl.C (insertNote): removed
16216
16217         * BufferView_pimpl.C (smartQuote): new method, moved from
16218         BufferView; if an insetquote cannot be inserted, insert a '"'
16219         character instead.
16220
16221         * BufferView2.C: remove insertCorrectQuote();
16222
16223         * lyxfunc.C (getStatus): Add support for all remaingin
16224         inset-insert lfuns.
16225
16226         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
16227
16228         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
16229         command (necessary to pass " as parameter of self-insert.
16230
16231         * text.C (selectWordWhenUnderCursor):
16232         (selectWord): add word_location parameter
16233         (selectWordWhenUnderCursor): same + remove special code for word
16234         boundary.
16235         (selectNextWord): use kind() to guess type of insetspecialchar,
16236         not latex().
16237
16238         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
16239         (insertErtContents): create ert insets as collapsed.
16240         (readInset): better compatibility code for Info inset.
16241
16242 2001-07-20  Juergen Vigna  <jug@sad.it>
16243
16244         * lyxfunc.C (dispatch): use always LyXFind now!
16245
16246         * text2.C (init): add a reinit flag so that the LyXText can be
16247         reinited instead of deleted and reallocated (used in InsetText).
16248
16249         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
16250
16251         * text.C: ditto
16252
16253         * text2.C: ditto
16254
16255 2001-07-18  Juergen Vigna  <jug@sad.it>
16256
16257         * text.C (selectNextWord): handle insets inside inset by calling
16258         always the bv->text functions so that we can go up the_locking_inset!
16259
16260         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
16261         in strange locations when inside an inset!
16262
16263         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
16264         handling to include insets.
16265
16266         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
16267
16268 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16269
16270         * LyXAction.C (init):
16271         * commandtags.h:
16272         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
16273         LIGATURE_BREAK, since the name is so stupid.
16274
16275 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
16276
16277         * buffer.C (readInset): enable reading of new InsetNotes as well as old
16278         InsetInfos.
16279
16280         * FontLoader.C: remove FORMS_H_LOCATION cruft.
16281
16282         * sp_form.[Ch]: remove.
16283
16284         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
16285
16286         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
16287         InsetInfo.
16288
16289         * src/buffer.C (readInset): ditto.
16290
16291 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
16292
16293         * BufferView_pimpl.C (specialChar): new method. Obsoletes
16294         menuSeparator(), endOfSentenceDot(), ldots() and
16295         hyphenationPoint(), which are therefore removed.
16296         (Dispatch): handle LFUN_HYPHENATION_BREAK.
16297
16298         * LyXAction.C (init):
16299         * commandtags.h: add LFUN_HYPHENATION_BREAK.
16300
16301         * paragraph.C (getWord): removed.
16302
16303         * BufferView_pimpl.C (Dispatch): use last word or selection for
16304         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
16305
16306         * lyx_main.C (queryUserLyXDir): do not ask before creating
16307         user_dir, except if it has been named explicitely.
16308
16309 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
16310
16311         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
16312         a document of zero size.
16313
16314 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
16315
16316         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
16317         approriately in the c-tor and in require().
16318         (getPackages): output the appropriate LaTeX for natbib support.
16319
16320         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
16321         variables "use_natbib" and "use_numerical_citations" when reading the
16322         LyX file.
16323         (readInset): read the various natbib cite commands.
16324         (validate): white-space change.
16325
16326         * bufferparams.[Ch]: new variables "bool use_natbib" and
16327         "bool use_numerical_citations".
16328         (writeFile): output them in the LyX file.
16329
16330 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
16331
16332         * lyxfunc.C (getStatus): add support for all the inset insertion
16333         commands.
16334
16335         * text2.C (insertInset):
16336         * paragraph.C (insetAllowed):
16337         * BufferView_pimpl.C (insertInset): update to take in account the
16338         renaming of insertInsetAllowed
16339
16340         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
16341
16342         * text2.C (getInset): new method. returns inset at cursor position.
16343
16344         * BufferView_pimpl.C (Dispatch): changes because of this.
16345
16346         * LyXAction.C (init): rename open-stuff to inset-toggle.
16347
16348         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
16349
16350         * text2.C (toggleInset): renamed from openStuff; use
16351         Inset::open().
16352
16353 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
16354
16355         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
16356
16357         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
16358
16359 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
16360
16361         * buffer.C (readLyXformat2): Add filename to the error dialog
16362
16363 2001-07-18  Juergen Vigna  <jug@sad.it>
16364
16365         * tabular.C (GetCellNumber): put an assert here instead of the check!
16366
16367 2001-07-17  Juergen Vigna  <jug@sad.it>
16368
16369         * BufferView_pimpl.C (toggleSelection): adapted too.
16370
16371         * text.C (selectNextWord): adapted for use with insets.
16372         (selectSelectedWord): ditto
16373
16374 2001-07-17  Juergen Vigna  <jug@sad.it>
16375
16376         * sp_spell.C (PSpell): fix initialitation order.
16377
16378 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16379
16380         * paragraph.C: spacing
16381
16382 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
16383
16384         * sp_spell.C: repair language selection for pspell
16385
16386 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16387
16388         * lyxfunc.h: change more methods to begin with lower char.
16389
16390 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
16391
16392         * buffer.C (parseSingleLyXformat2Token): Generate error insets
16393         for unknown layouts.
16394
16395 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
16396
16397         * buffer.C (readLyXformat2): Generate an error dialog if there are
16398         unknown layouts.
16399
16400 2001-07-16  Juergen Vigna  <jug@sad.it>
16401
16402         * sp_spell.C: always compile ISpell part.
16403
16404         * lyxrc.C: added use_pspell entry and it's handling.
16405
16406 2001-07-13  Juergen Vigna  <jug@sad.it>
16407
16408         * sp_spell.C: removed double includes.
16409
16410 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
16411
16412         Consistent use of Lsstream.h:
16413         * Lsstream.h: added using std::stringstream for consistencies sake.
16414
16415         * buffer.C: removed using std::stringstream
16416
16417         * lyxfont.C (stateText):
16418         * paragraph.C (asString):
16419         * text.C (selectNextWord, selectSelectedWord):
16420         * text2.C (setCounter):
16421         * vspace.C (asString, asLatexString):
16422         std::ostringstream -> ostringstream.
16423
16424 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
16425
16426         * LyXAction.C: add LFUN_HELP_ABOUTLYX
16427         * commandtags.h: add LFUN_HELP_ABOUTLYX
16428         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
16429
16430 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
16431
16432         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
16433         cursorToggle()
16434         * lyx_gui_misc.C: remove spellchecker
16435         * lyxfunc.C: showSpellchecker
16436         * sp_base.h: added
16437         * sp_ispell.h: added
16438         * sp_pspell.h: added
16439         * sp_spell.C: added
16440         * sp_form.[Ch]: removed
16441         * spellchecker.[Ch]: removed
16442
16443 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
16444
16445         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
16446         is set.
16447         (simpleTeXSpecialChars): Simply print the input character without
16448         any special translation if pass_thru is set.
16449
16450         * layout.h: Added bool pass_thru to layout class for being able to
16451         implement pass through of a paragraph for Literate Programming.
16452
16453         * layout.C: add LT_PASS_THRU to LayoutTags enum.
16454         * layout.C (LyXLayout): set pass_thru to flase in constructor.
16455         * layout.C (Read): add "passthru" to list of layout tags and add
16456         code to set the pass_thru boolean when it is read.
16457
16458 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16459
16460         * trans_decl.h: remove allowed from KmodInfo
16461
16462         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
16463         remove allowed code
16464         (Load): adjust
16465
16466         * paragraph_pimpl.C (erase): use boost::prior
16467
16468         * Painter.C (text): use data() instead of c_str() when length is
16469         also provided.
16470         * WorkArea.C (putClipboard): ditto
16471         * font.h (width): ditto
16472
16473         * BufferView2.C: use it-> instead of (*it). for iterators
16474         * texrow.C: ditto
16475         * paragraph_pimpl.C: ditto
16476         * paragraph.C: ditto
16477         * minibuffer.C: ditto
16478         * language.C: ditto
16479         * kbmap.C: ditto
16480         * encoding.C: ditto
16481         * counters.C: ditto
16482         * converter.C: ditto
16483         * chset.C: ditto
16484         * Variables.C: ditto
16485         * TextCache.C: ditto
16486         * MenuBackend.C: ditto
16487         * LyXAction.C: ditto
16488         * LColor.C: ditto
16489         * FloatList.C: ditto
16490         * DepTable.C: ditto
16491         * ColorHandler.C (LyXColorHandler): ditto
16492
16493 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16494
16495         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
16496
16497         * text2.C (openStuff): reintroduce this method (which had been
16498         nuked in NEW_INSETS frenzy).
16499
16500         * lyxfunc.C (Dispatch): when an action has not been handled, use
16501         its name in the error message, not its number.
16502
16503         * paragraph.C (inInset): change method name to begin with lowercase.
16504
16505         * undo_funcs.C:
16506         * text2.C: updates because of this.
16507
16508 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16509
16510         * ToolbarDefaults.C (add): add spaces in error message
16511
16512 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16513
16514         * buffer.C (readLyXformat2): initialize the ert comp. variables.
16515         (readLyXformat2): rename return_par to first_par, use lyxlex's
16516         pushToken and remove the manual push handling.
16517         (parseSingleLyXformat2Token): add another ert comp. variable:
16518         in_tabular, rename return_par to first_par. handle newlines better
16519
16520 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16521
16522         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
16523
16524 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16525
16526         * text2.C (getParFromID): removed
16527
16528         * buffer.C (getParFromID): new method moved form lyxtext.
16529         * BufferView2.C (insertErrors): adjust
16530         (setCursorFromRow): adjust
16531         * BufferView_pimpl.C (restorePosition): adjust
16532         * lyxfunc.C (Dispatch): adjust
16533         * undo_funcs.C (textUndo): adjust
16534         (textRedo): adjust
16535         (textHandleUndo): adjust
16536         (textHandleUndo): adjust
16537
16538 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16539
16540         * buffer.C: up' the LYX_FORMAT
16541
16542         * lyxfont.h: turn NO_LATEX on as default
16543
16544         * buffer.C (insertErtContents): new methods of tex style compability.
16545         (parseSingleLyXformat2Token): use it several places.
16546         * tabular.C (OldFormatRead): and here
16547
16548 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16549
16550         * text2.C: remove some commented code.
16551         reindent file.
16552
16553         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
16554         * trans.C: changes because of the above.
16555
16556 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
16557
16558         * text2.C (setCounter): Fix counters bug with bibliography layout.
16559
16560 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16561
16562         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
16563         own member functions
16564         (simpleTeXSpecialChars): ditto
16565
16566 2001-07-06  Juergen Vigna  <jug@sad.it>
16567
16568         * a lot of files: changed the access to LyXText::status and the
16569         call of undo-functions.
16570
16571         * undo.[Ch]: added a inset_id to the undo informations.
16572
16573         * undo_funcs.[Ch]: added and moved here all undo functions.
16574
16575         * lyxtext.h: give the status enum a weight, made status_ a private
16576         variable and made accessor functions for it, removed the whole bunch
16577         of undo-functions as they are now in their own file, make some
16578         functions publically available. Added function ownerParagraph with
16579         int parameter.
16580
16581         * paragraph.[Ch]: added "bool same_ids" to the constructor,
16582         made InInset() a const function, added getParFromID() function.
16583
16584         * buffer.[Ch]: added const version for inset_iterator functions,
16585         added getInsetFromID() function.
16586
16587         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
16588         changed undo functions for new version.
16589
16590 2001-07-05  Juergen Vigna  <jug@sad.it>
16591
16592         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
16593         unknow mechanism does not call the proper constructor but only this
16594         one also if I request the other!?
16595
16596 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16597
16598         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
16599
16600         * text2.C (LyXText): use initialization lists.
16601
16602         * lyxtext.h (Selection): initialize set_ and mark_
16603         (init): remove method
16604
16605 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
16606
16607         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
16608
16609 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16610
16611         * screen.[Ch]: change method names to begin with lowercase
16612
16613         * BufferView_pimpl.C (updateScrollbar): simplify further and
16614         hopefully make it a bit faster.
16615
16616 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16617
16618         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
16619         calling directly xforms functions.
16620
16621         * Painter.C (Painter):
16622         * lyx_cb.C (MenuWrite):
16623         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
16624         fl_display.
16625
16626         * lyx_gui.C: remove bogus guiruntime extern declaration.
16627
16628 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16629
16630         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
16631         in NEW_INSETS
16632         (redoDrawingOfParagraph): ditto
16633         (redoParagraphs): ditto
16634         (cutSelection): don't create a object for CutAndPaste use the
16635         static method directly
16636         (pasteSelection): ditto
16637
16638         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
16639         LyXview (+ rename)
16640
16641 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16642
16643         * modifications to some other files because of this.
16644
16645         * Makefile.am (lyx_SOURCES): add XFormsView
16646
16647         * XFormsView.[Ch]: new files
16648
16649         * LyXView.[Ch]: make LyXView a base class for the gui handling for
16650         the main window. Move the gui dependent stuff to XFormsView
16651
16652 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16653
16654         * tabular.C (GetCellInset): update cur_cell also in the row/col
16655         version of this function.
16656
16657         * lyxfunc.C: no need to include figure_form.h here.
16658
16659         * FontLoader.h:
16660         * lyxfunc.h:
16661         * lyxscreen.h:
16662         * text2.C:
16663         * lyxvc.C: no need to include forms.h here.
16664
16665 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16666
16667         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
16668
16669         * lyxfunc.C (Dispatch):
16670         * Spacing.C (set):
16671         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
16672         constructor argument.
16673
16674 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16675
16676         * paragraph.C (Paragraph): dont't clear, and just set layout.
16677         (makeSameLayout): use params's copy contructor.
16678
16679         * ParagraphParameters.[Ch] (makeSame): delete method
16680
16681 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
16682
16683         * Variables.[Ch]: fix indentation, rename set to isSet
16684
16685 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16686
16687         * lyxfunc.C (Dispatch): fix typo
16688
16689 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16690
16691         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
16692         upper_bound.
16693
16694         * bufferlist.C: include assert.h for emergencyWrite().
16695
16696 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16697
16698         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
16699           give up at last (bug #425202) !
16700
16701 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
16702
16703         * lyx_gui_misc.C:
16704         * sp_form.h:
16705         * sp_form.C:
16706         * spellchecker.h:
16707         * spellchecker.C: strip spellchecker options and bring up
16708           preferences tab instead
16709
16710 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16711
16712         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
16713         the istringstream constructor
16714
16715 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16716
16717         * paragraph.C (getLayout): fix return value
16718
16719         * paragraph.h: do not declare getLayout as inline.
16720
16721         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
16722
16723 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16724
16725         * lyxcursor.h (operator<): new func
16726         (operator>): new func
16727         (operator>=): new func
16728         (operator<=): new func
16729
16730         * text.C (changeCase): use selection.start and selection.end
16731         (changeRegionCase): require from to be <= to. Require par to be a
16732         valid paragraph.
16733
16734         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
16735
16736 2001-06-27  Juergen Vigna  <jug@sad.it>
16737
16738         * text.C (cursorLeftOneWord): changed to return the cursor and added
16739         overlay with BufferView * parameter which calls this one.
16740         (getWord): added
16741         (selectWord): use new getWord function.
16742         (changeCase): renamed from changeWordCase as and extended to work
16743         also on selections.
16744
16745         * lyxtext.h: added enum word_location
16746
16747         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
16748         changeCase as this operates now also on selections.
16749
16750 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
16751
16752         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
16753
16754         * many files: send debug output to Debug::INFO instead of
16755         Debug::ANY.
16756
16757         * converter.C (View):
16758         (Convert):
16759         (Move): send debug output to Debug::FILES instead of console.
16760
16761 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
16762
16763         * lyxfunc.C (getStatus): use func_status
16764
16765         * func_status.h: new header, describing the results of
16766         LyXFunc::getStatus;
16767
16768         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
16769         LFUN_MATH_HALIGN.
16770
16771 2001-06-25  The LyX Project  <jug@sad.it>
16772
16773         * buffer.C (sgmlOpenTag):
16774         (sgmlCloseTag):
16775         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
16776
16777 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16778
16779         * text2.C: remove some dead code
16780
16781         * tabular.C (GetCellInset): store the last cell checked (gotten)
16782
16783         * tabular.h: add the helper for the speedup
16784
16785         * lyxtext.h: remove some dead code
16786
16787 2001-06-26  The LyX Project  <Asger>
16788
16789         * paragraph.C: Change export to LaTeX of alignment to
16790         \begin{center} and family for better roundtrip work with reLyX.
16791
16792         * Tune the math drawing a bit.
16793
16794 2001-06-25  The LyX Project  <Asger>
16795
16796         * LColor.C (LColor): New color for math background. New color
16797         for buttons.
16798
16799 2001-06-25  The LyX Project  <jug@sad.it>
16800
16801         * lyxfunc.C (MenuNew): remove extra check for .lyx file
16802
16803         * lyxfunc.C (Open):
16804         * bufferlist.C (newFile): do not restrict to files ending with
16805         .lyx
16806
16807         * BufferView_pimpl.C (MenuInsertLyXFile):
16808
16809 2001-06-24  The LyX Project  <jug@sad.it>
16810
16811         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
16812         of compare_no_case
16813
16814 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16815
16816         * lyxtext.h: rename most methods to begin with a small char.
16817         Lots of changes because of this.
16818
16819         * paragraph.C (Paragraph): do not call fitToSize
16820         (erase): call Pimpl::erase
16821         (insertChar): call Pimpl::insertChar
16822         (insertInset): call Pipl::insertInset
16823         (breakParagraph): do not call fitToSize
16824         (breakParagraphConservative): do not call fitToSize
16825         (fitToSize): remove method
16826
16827         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
16828
16829 2001-06-24  The LyX Project  <Asger>
16830
16831         * Fix Qt compilation^2
16832
16833 2001-06-24  The LyX Project  <jug@sad.it>
16834
16835         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
16836         depthHook(getDepth()-1).
16837
16838         * paragraph.h:
16839         * ParagraphParameters.h:
16840         * ParameterStruct.h: change type of depth to unsigned int ==
16841         depth_type. Many adaptations to other files before of that.
16842
16843 2001-06-24  The LyX Project  <Asger>
16844
16845         * Fix Qt compilation.
16846
16847 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16848
16849         * paragraph.h: renamed several methods to begin with small letter.
16850         several changes to many parts of the code because of this.
16851
16852 2001-06-23  The LyX Project  <jug@sad.it>
16853
16854         * text2.C (InsertStringAsLines): renamed from InsertStringA;
16855         rewritten to discard all double spaces when KeepEmpty is off
16856         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
16857         to only handle newlines but not fiddle with spaces and friends.
16858
16859         * lyxfunc.C (MenuNew): when doing 'new from template', use
16860         template_path as default directory
16861
16862 2001-06-23  The LyX Project  <Asger>
16863
16864         * Clean-up of header file includes all over
16865         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
16866
16867 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16868
16869         * paragraph.h: renamed from lyxparagraph.h
16870
16871 2001-06-23  Asger  <lyx@violet.home.sad.it>
16872
16873         * Buffer.h: Removed Buffer::resize
16874         * BufferList.h: Removed BufferList::resize
16875         * LyXView.h: Added LyXView::resize. This way, we will only reflow
16876         the document lazily when we change the width, or the font settings.
16877
16878 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16879
16880         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
16881
16882 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16883
16884         * buffer.h: remove out of date comment
16885
16886 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16887
16888         * lyxscreen.h:
16889         * screen.C: fix "theoretical" GC leak
16890
16891 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16892
16893         * LaTeX.C (scanAuxFile):
16894         (deplog): remove trailing \r when reading stream (useful under
16895         win32)
16896
16897 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
16898
16899         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
16900         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
16901         and BufferView::theLockingInset(Inset*), so should use them and not
16902         access bv_->text->the_locking_inset directly.
16903
16904         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
16905
16906 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
16907
16908         * Makefile.am:
16909         * tex-defs.h: remove old unused file
16910
16911 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
16912
16913         * BufferView_pimpl.C: fix typo, remove minibuffer message
16914           when buffer has loaded
16915
16916 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16917
16918         * lyxfunc.C (Dispatch): use stringstream
16919         (MenuNew): use stringstream
16920         (Open): use stringstream
16921
16922         * importer.C (Import): use stringstream
16923
16924         * bufferview_funcs.C (CurrentState): use stringstream
16925
16926         * LaTeX.C (run): use stringstream
16927
16928         * BufferView_pimpl.C (savePosition): use stringstream
16929         (restorePosition): use stringstream
16930         (MenuInsertLyXFile): use stringstream
16931
16932 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
16933
16934         * BufferView.C:
16935         * Bullet.C:
16936         * ColorHandler.C:
16937         * FontInfo.C:
16938         * FontLoader.C:
16939         * LColor.C:
16940         * LaTeXFeatures.C:
16941         * Painter.C:
16942         * gettext.C:
16943         * lyx_gui_misc.C:
16944         * lyxserver.C:
16945         * vspace.C: removed // -*- C++ -*- as first line.
16946
16947         * lyxfind.h:
16948         * version.h: added // -*- C++ -*- as first line.
16949
16950 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16951
16952         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
16953
16954         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
16955         of string
16956
16957 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16958
16959         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
16960         of floats.
16961
16962 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16963
16964         * gettext.C: include LString.h even when --disable-nls is on.
16965
16966 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
16967
16968         * converter.h (Get): changed argument type from int to
16969         FormatList::size_type to avoid unnecessary conversion.
16970
16971         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
16972         before using it.
16973
16974 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16975
16976         * gettext.h: include LString.h even when --disable-nls is on.
16977
16978 2001-06-07  Juergen Vigna  <jug@sad.it>
16979
16980         * text.C (BreakAgain): subst spaces with tabs.
16981
16982         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
16983         (resizeInsetsLyXText): set force on resizeLyXText.
16984
16985 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16986
16987         * gettext.h (gettext_init):
16988         (locale_init): use a real definition instead of a macro
16989
16990 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
16991
16992         * Bufferview_pimpl.C:
16993         * LColor.h:
16994         * LColor.C: further lcolor tidies
16995
16996 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16997
16998         * BufferView_pimpl.C (updateScrollbar): simplify.
16999
17000         * BufferView2.C: don't include insets/insetinfo.h, change
17001         prototype for insertInset and call the Pimpl version. let
17002         updateInset call Pimpl version.
17003
17004         * BufferView.h: move inset_slept to BufferView::Pimpl, move
17005         gotoInset to BufferView::Pimpl
17006
17007 2001-06-01  Juergen Vigna  <jug@sad.it>
17008
17009         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
17010         inside a LockingInset (is the update needed at all?).
17011
17012 2001-05-31  Juergen Vigna  <jug@sad.it>
17013
17014         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
17015         here not the old one otherwise how should we compare it afterwards
17016         if it's the same!
17017
17018 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17019
17020         * lyxfont.C:
17021         * tabular.C:
17022         * tabular-old.C:
17023         * FontInfo.C: bring C functions into global namespace when
17024         necessary
17025
17026 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17027
17028         * LString.h: make sure config.h has been loaded before LString.h.
17029
17030         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
17031         (one for each char read by EatLine!).
17032
17033         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
17034         variables.
17035
17036 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17037
17038         * paragraph.C (BreakParagraph): set the inset_owner in the new par
17039         to the same as the par we break from
17040
17041 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17042
17043         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
17044
17045         * MenuBackend.C (expand): also create menu entries for wide
17046         versions of the floats.
17047
17048         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
17049
17050         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
17051
17052         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
17053         frontends/Makefile.am
17054
17055         * text2.C: adjust
17056         * text.C: adjust
17057
17058
17059         * tabular.C (getTokenValue): add std::
17060
17061         * tabular-old.C (getTokenValue): add std::
17062         (getTokenValue): ditto
17063         (getTokenValue): ditto
17064
17065         * screen.C (ToggleSelection): adjust
17066
17067         * lyxtext.h: put selection cursors inside a Selection struct.
17068
17069         * lyxfunc.C (moveCursorUpdate): adjust
17070
17071         * lyxfont.C (latexWriteStartChanges): add std::
17072
17073         * lyxfind.C: adjust
17074
17075         * font.h: delete with(char const *, LyXFont const &)
17076
17077         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
17078
17079         * FontInfo.C (getFontname): add std::
17080
17081         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
17082         (workAreaButtonPress): adjust
17083         (tripleClick): adjust
17084         (update): adjust
17085         (moveCursorUpdate): adjust
17086         (Dispatch): adjust
17087
17088         * BufferView2.C (gotoInset): adjust
17089
17090 2001-05-30  Juergen Vigna  <jug@sad.it>
17091
17092         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
17093         to check pspell I add this as default as I now have new pspell
17094         libraries and they seem to use this.
17095
17096 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17097
17098         * text2.C (CutSelection): make the cursor valid before the call to
17099         ClearSelection.
17100
17101 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17102
17103         * kbsequence.C (parse): de-uglify a bit the parsing code, which
17104         relied on 0 terminated strings and other horrors. Bug found due to
17105         the new assert in lyxstring!
17106
17107         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
17108         KP_ keys.
17109
17110 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17111
17112         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
17113         to latinkeys.bind.
17114
17115         * lyxfunc.C (processKeySym): change method of getting to the
17116         self-insert char.
17117
17118         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
17119         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
17120         * BufferView_pimpl.[Ch]: here as private methods.
17121
17122 2001-05-28  Juergen Vigna  <jug@sad.it>
17123
17124         * text.C (SetHeightOfRow): added the update() call again as it is
17125         needed to initialize inset dimensions!
17126
17127 2001-05-16  Juergen Vigna  <jug@sad.it>
17128
17129         * text2.C (SetCharFont): Add new function with BufferView * and
17130         bool toggleall parameters for setting insets internal fonts.
17131         (SetFont): Freeze the undo as we may change fonts in Insets and
17132         all this change should be inside only one Undo!
17133
17134         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
17135         setting font's in insets as for them we have the SetFont function!
17136
17137 2001-05-15  Juergen Vigna  <jug@sad.it>
17138
17139         * text2.C (ClearSelection): to be sure we REALLY don't have any
17140         selection anymore!
17141
17142         * tabular.C (TeXCellPreamble): fixed the left border problem for
17143         multicolumn cells.
17144
17145 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
17146
17147         * LaTeX.C (deplog): Make sure that the main .tex file is in the
17148         dependancy file
17149
17150 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17151
17152         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
17153         LFUN_BREAKPARAGRAPH.
17154
17155         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
17156         help test to "internal only", similar for LFUN_INSERT_URL
17157
17158         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
17159         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
17160         auto_region_delete and deadkeys.
17161
17162 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
17163
17164         * LColor.h:
17165         * LColor.C: remove some dead entries, tidy a little
17166
17167 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17168
17169         * lyxfunc.C (processKeySym): comment the Escape handling, remove
17170         commented code.
17171         (Dispatch): implement LFUN_ESCAPE
17172
17173         * commandtags.h: add LFUN_ESCAPE
17174
17175         * LyXAction.C (init): add entry for LFUN_ESCAPE
17176
17177         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
17178         Remove commented code.
17179         (insertNote): moved here
17180         (open_new_inset): moved here
17181
17182         * BufferView[2].[Ch]: move insertNote and open_new_inset to
17183         BufferView_pimpl
17184
17185 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17186
17187         * kbmap.C (findbinding): clean it up and make it work correctly.
17188
17189         * lyx_main.C (init): do not pass argc and argv as parameters
17190
17191 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
17192
17193         * buffer.C: fix path for OS/2 & Win32
17194
17195         * lyx_gui.C:
17196         * lyx_main:
17197         * lyx_main.C: Added os:: class.
17198
17199         * os2_defines.h: update
17200
17201 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17202
17203         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
17204         better by trying again with reduced state.
17205
17206 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17207
17208         * lyxrc.C (read): print error about invalid key sequence only when
17209         debugging (because not all latinX keysyms are known to some X
17210         servers)
17211
17212         * kbsequence.C (getiso): add a few std:: qualifiers
17213         (getiso): comment out extra return statement.
17214
17215 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17216
17217         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
17218         handling.
17219         (Dispatch): enhance the accent inset a bit. (not perfect)
17220
17221 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17222
17223         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
17224
17225 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17226
17227         * bufferlist.C (emergencyWrite): fix assert() call
17228
17229 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
17230
17231         * text.C (InsertChar): Added trivial patch to only send the "you
17232         can not do multiple spaces this way" message once during a
17233         session.
17234
17235 2001-05-08  Baruch Even  <baruch@lyx.org>
17236
17237         * Makefile.am: Changed order of libraries to get LyX to link properly
17238         with the gnome frontend.
17239
17240 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17241
17242         * LaTeXFeatures.h: add a std:: qualifier
17243
17244 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17245
17246         * paragraph.C (String): use stringstream
17247
17248 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17249
17250         * paragraph.C (writeFile): remove footflag arg
17251
17252         * buffer.C (makeLaTeXFile): use stringstream
17253         (latexParagraphs): remove footnot gurba
17254
17255         * LaTeXFeatures.C (getPackages): use stringstream
17256         (getMacros): likewise
17257         (getTClassPreamble): likewise
17258         (getFloatDefinitions): new method
17259
17260         * paragraph.C (writeFile): reindent
17261         (Erase): reindent
17262
17263         * WorkArea.h: revert the xpos + etc changes.
17264
17265         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
17266
17267         * lyxparagraph.[Ch]: add copy constructor, remove Clone
17268
17269         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
17270         (pasteSelection): likewise
17271         * text2.C (CreateUndo): likewise
17272
17273 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17274
17275         * minibuffer.C (peek_event): temporarily reduce the functionality
17276         of the minibuffer (to allow args on lfuns)
17277
17278         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
17279         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
17280
17281         * buffer.C (readInset): add compability reading of old float
17282         lists, add reading of new style float list.
17283         (readInset): avoid reevaluation of inscmd.getCmdName()
17284         (getLists): reindent
17285
17286         * MenuBackend.C (MenuItem): implement parsing of
17287         md_floatlistinsert and md_floatinsert.
17288         (expand::LastFiles): move initalizaton of iterators out of loop,
17289         avoid reevaluation.
17290         (expand::Documents): introduce typdedef vector<string> Strings,
17291         and use it.
17292         (expand::ExportFormats): introduce typedef vector<Format const *>
17293         Formats, and use it.
17294         (expand): implement FloatListInsert and FloatInsert.
17295
17296         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
17297         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
17298         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
17299
17300         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
17301         handling.
17302         (Dispatch::LFUN_FLOAT_LIST): implement
17303
17304 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
17305
17306         * LaTeX.C (run): Fix problem with --export code.
17307
17308 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
17309
17310         * BufferView.[Ch] (workarea): removed.
17311         (getClipboard) new method; wrapper for workarea()->getClipboard()
17312
17313         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
17314         bug.
17315
17316         * WorkArea.h (width, height, xpos, ypos): These methods all
17317         returned the dimensions of the work_area sub-area of WorkArea,
17318         resulting in a position error if the WorkArea were resized. Now
17319         return the dimensions of the entire WorkArea.
17320
17321         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
17322
17323 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17324
17325         * LaTeX.C (deplog): correct the syntax of regex reg1
17326
17327 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17328
17329         * undo.C: remove !NEW_INSETS cruft
17330
17331 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17332
17333         * text2.C: remove !NEW_INSETS cruft
17334
17335         * text.C: remove !NEW_INSETS cruft
17336
17337         * tabular.C: remove !NEW_INSETS cruft
17338
17339         * spellchecker.C: remove !NEW_INSETS cruft
17340
17341         * lyxtext.h: remove !NEW_INSETS cruft
17342
17343         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
17344
17345         * lyxfunc.C: remove !NEW_INSETS cruft
17346
17347         * lyxfind.C: remove !NEW_INSETS cruft
17348
17349         * lyx_cb.C: remove !NEW_INSETS cruft
17350
17351         * figureForm.C: remove  !NEW_INSETS cruft
17352
17353         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
17354
17355         * buffer.[Ch]: remove !NEW_INSETS cruft
17356
17357         * ToolbarDefaults.C: remove !NEW_INSETS cruft
17358
17359         * CutAndPaste.C: remove !NEW_INSETS cruft
17360
17361         * BufferView_pimpl.C: remove !NEW_INSETS cruft
17362
17363         * BufferView2.C: remove !NEW_INSETS cruft
17364
17365         * BufferView.h: remove !NEW_INSETS cruft
17366
17367 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17368
17369         * Lsstream.h: include LString.h before the sstream headers to
17370         fix problem with gcc 2.95.3 and lyxstring
17371
17372 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17373
17374         * lyx_main.C: add using directives when needed for C functions
17375         declared in std:: namespace.
17376
17377 2001-04-27  Juergen Vigna  <jug@sad.it>
17378
17379         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
17380         (SetHeightOfRow): comment out the update call should not be needed!
17381
17382 2001-04-13  Juergen Vigna  <jug@sad.it>
17383
17384         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
17385         (LyXTabular): tried to minimize operator= operations (and realized
17386         hopfully Lars wish).
17387
17388 2001-04-27  Juergen Vigna  <jug@sad.it>
17389
17390         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
17391
17392 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17393
17394         * lyxfunc.C (Dispatch): hack to make listof algorithm work
17395
17396         * buffer.C (readInset): hack to make listof algorithm work
17397
17398         * BufferView_pimpl.C: hack to make listof algorithm work
17399
17400 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17401
17402         * LyXAction.C: removed all !NEW_INSETS cruft
17403         (init): moved lfun_item in method
17404
17405         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
17406
17407 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
17408
17409         * BufferView2.C (theLockingInset): white space.
17410
17411 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17412
17413         * minibuffer.C: include <iostream>
17414
17415         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
17416
17417         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
17418
17419         * commandtags.h: add LFUN_TRANSPOSE_CHARS
17420
17421         * text.[Ch] (TransposeChars): new method
17422
17423 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17424
17425         * call message directly through LyXView instead of through LyXFunc
17426         * BufferView2.C: adjust
17427         * BufferView_pimpl.C: adjust
17428         * FontLoader.C: adjust
17429         * buffer.C: adjust
17430         * bufferview_funcs.C: adjust
17431         * converter.C: adjust
17432         * figureForm.C: adjust
17433         * importer.C: adjust
17434         * lyx_cb.C: adjust
17435         * lyx_gui_misc.C: adjust
17436         * lyxfunc.C: adjust
17437         * lyxvc.C: adjust
17438         * text2.C: adjust
17439         + more files in subdirs
17440
17441         * lyxparagraph.h (size): move up int file
17442         (GetLayout): ditto
17443
17444         * adjust all uses of Assert to lyx::Assert.
17445
17446         * BufferView2.C (ChangeCitationsIfUnique): adjust for
17447         lyxfunctional in namespace lyx
17448         * layout.C (hasLayout): ditto
17449         (GetLayout): ditto
17450         (GetLayout): ditto
17451         (delete_layout): ditto
17452         (NumberOfClass): ditto
17453         * converter.C (GetFormat): ditto
17454         (GetNumber): ditto
17455         (Add): ditto
17456         (Delete): ditto
17457         (SetViewer): ditto
17458         * bufferlist.C (getFileNames): ditto
17459         (emergencyWriteAll): ditto
17460         (exists): ditto
17461         (getBuffer): ditto
17462         * MenuBackend.C (hasSubmenu): ditto
17463         (hasMenu): ditto
17464         (getMenu): ditto
17465         * BufferView_pimpl.C (getInsetByCode): ditto
17466
17467 2001-04-18  Juergen Vigna  <jug@sad.it>
17468
17469         * vspace.C (asLatexString): fixed the 100% problem.
17470
17471 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17472
17473         * lyxfunc.C (Dispatch):
17474         * minibuffer.C:
17475         * minibuffer.h: add a few std:: qualifiers
17476
17477 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17478
17479         * minibuffer.[Ch]: reimplement so that commands is initiated and
17480         run from lyxfunc, simplified som handling, and made the completion
17481         and history code for complete. wip.
17482
17483         * lyxfunc.C (processKeySym): call message
17484         (miniDispatch): new temporary method
17485         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
17486         (LFUN_MESSAGE): implement
17487         (LFUN_MESSAGE_PUSH): implement
17488         (LFUN_MESSAGE_POP): implement
17489         (initMiniBuffer): the initial/defualt minibuffer message.
17490
17491         * lyxfont.[Ch]: inline some more getters
17492
17493         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
17494
17495         * lyx_gui_misc.[Ch] (WriteStatus): remove method
17496
17497         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
17498         (AutoSave): use LFUN_MESSAGE
17499         (Reconfigure): ditto
17500
17501         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
17502
17503         * figureForm.C: use LFUN_MESSAGE
17504
17505         * converter.C (runLaTeX): use LFUN_MESSAGE
17506
17507         * bufferview_funcs.C: use LFUN_MESSAGE
17508         (Melt): ditto
17509         (changeDepth): ditto
17510
17511         * bufferparams.h: use boost::
17512
17513         * bufferlist.h: inherit privately from noncopyable
17514
17515         * bufferlist.C (loadLyXFile): remove some commented code.
17516
17517         * buffer.C (runChktex): use LFUN_MESSAGE
17518
17519         * ShareContainer.h: inherit privately from noncopyable
17520
17521         * ParagraphParameters.[hC] (depth): inline it.
17522
17523         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
17524         methods.
17525         (message): new method
17526         (messagePush): ditto
17527         (messagePop): ditto
17528         (show): init minibuffer
17529         (showState): direct call
17530
17531         * LaTeX.[Ch]: inherit privately from noncopyable
17532         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
17533         instead of WriteStatus.
17534
17535         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
17536
17537         * BufferView_pimpl.C (buffer): don't init minibuffer
17538         (workAreaButtonPress): use LFUN_MESSAGE
17539         (workAreaButtonRelease): ditto
17540         (savePosition): ditto
17541         (restorePosition): ditto
17542         (MenuInsertLyXFile): ditto
17543         (workAreaExpose): don't init minibuffer
17544         (update): remove commented code, simplify
17545
17546         * BufferView2.C (openStuff): use LFUN_MESSAGE
17547         (toggleFloat): ditto
17548         (menuUndo): ditto
17549         (menuRedo): ditto
17550         (copyEnvironment): ditto
17551         (pasteEnvironment): ditto
17552         (copy): ditto
17553         (cut): ditto
17554         (paste): ditto
17555         (gotoInset): ditto
17556         (updateInset): remove some commented code
17557
17558         * lastfiles.h: inherit privately from noncopyable
17559         * layout.h: ditto
17560         * lyx_gui.h: ditto
17561         * lyx_main.h: ditto
17562         * lyxlex.h: ditto
17563         * lyxlex_pimpl.h: ditto
17564
17565         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
17566         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
17567         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
17568
17569         * LyXAction.h: inherit privately from noncopyable, add methods
17570         func_begin, func_end, returning iterators to the func map.
17571
17572         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
17573         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
17574         (func_begin): new method
17575         (func_end): new method
17576
17577         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
17578         and not)
17579         (copySelection): ditto
17580         (pasteSelection): ditto
17581
17582         * BufferView.C: whitespace change
17583         * BufferView.h: inherit privately from noncopyable
17584
17585 2001-04-16  Allan Rae  <rae@lyx.org>
17586
17587         * tabular-old.C (l_getline):
17588         * spellchecker.C (sc_check_word):
17589         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
17590         an unrecognised preprocessor directive.  So ensure they're wrapped.
17591
17592 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
17593
17594         * src/exporter.C (Export): Give an error message when path to file
17595         contains spaces.
17596
17597 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
17598
17599         * LaTeX.C (deplog): Always check that foundfile exists.
17600
17601 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17602
17603         * lyx_main.h:
17604         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
17605
17606 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17607
17608         * tabular.[Ch] (getLabelList): implement new method
17609
17610         * minibuffer.h: comment ouf setTiimer
17611
17612         * minibuffer.C (ExecutingCB): constify res
17613         (peek_event): constify s
17614         (Set): constify ntext
17615         (Init): constify nicename
17616
17617         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
17618
17619         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
17620         (savePosition): use two params to Minibuffer::Set
17621         (restorePosition): ditto
17622
17623 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17624
17625         * lyx_main.C: include language.h
17626
17627         * Makefile.am (lyx_main.o): add language.h
17628
17629 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17630
17631         * exporter.C:
17632         * paragraph.C:
17633         * screen.C:
17634         * tabular.C:
17635         * CutAndPaste.C: include gettext.h
17636
17637         * lyxfont.h: remove old hack with ON and OFF.
17638
17639         * lyxparagraph.h:
17640         * lyxfont.h: do not include language.h...
17641
17642         * BufferView2.C:
17643         * LaTeXFeatures.C:
17644         * Painter.C:
17645         * bufferview_funcs.C:
17646         * font.C:
17647         * lyxfont.C:
17648         * text.C:
17649         * text2.C:
17650         * trans_mgr.C:
17651         * paragraph.C: ... but do it here instead
17652
17653 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17654
17655         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
17656
17657         * tabular.C: small reformat
17658
17659         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
17660         NEW_INSETS version
17661         (GetChar): ditto
17662         (BreakParagraph): ditto
17663         (SetOnlyLayout): ditto
17664         (SetLayout): ditto
17665
17666         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
17667         with one arg less.
17668
17669         * lastfiles.C: removed most using decl, add std:: where needed
17670
17671         * buffer.C: ws changes
17672
17673         * MenuBackend.C (class compare_format): put into anon namespace
17674         (expand): constify label, names, action, action2
17675         (expand):
17676
17677         * text.C (SingleWidth): constify font
17678         (IsBoundary): constify rtl2
17679         (GetVisibleRow): constify ww
17680
17681         * LaTeX.C (deplog): constify logfile
17682
17683         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
17684         start_x, end_x
17685         (workAreaExpose): constify widthChange, heightChange
17686
17687         * lyxrow.C (par): moved
17688         (height): moved
17689         (next): moved
17690         * lyxrow.h: as inlines here
17691
17692         * lyxfont.h (shape): moved from lyxfont.C
17693         (emph): moved from lyxfont.C
17694
17695         * lyxfont.C (LyXFont): use initialization list for all
17696         constructors
17697         (shape): move to lyxfont.h as inline
17698         (emph): move to lyxfont.h as inline
17699
17700
17701 2001-04-04  Juergen Vigna  <jug@sad.it>
17702
17703         * vspace.C: had to include stdio.h for use of sscanf
17704
17705 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
17706
17707         * BufferView.h:
17708         * BufferView_pimpl.h: remove xforms cruft. Both classes are
17709         independent of xforms.
17710
17711 2001-04-02  Juergen Vigna  <jug@sad.it>
17712
17713         * spellchecker.C: fixed namespace placing!
17714
17715 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
17716
17717         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
17718         the LyXParagraph * is 0.
17719
17720 2001-03-29  Juergen Vigna  <jug@sad.it>
17721
17722         * vspace.C: added support for %, c%, p%, l%.
17723         (stringFromUnit): added helper function.
17724         (asLatexString): changed to give right results for the %-values.
17725
17726         * buffer.C: convert the widthp in a width%.
17727
17728 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
17729
17730         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
17731         figureForm.[Ch].
17732
17733         * figureForm.[Ch]: stripped the FD_from_figure manipulation
17734         code out of lux_cb.[Ch], ready for its (imminent?) removal.
17735
17736         * lyx_cb.[Ch]: see above.
17737
17738         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
17739         form1.[Ch].
17740
17741         * form1.[Ch]:
17742         * lyx.[Ch]: replaced by figure_form.[Ch].
17743
17744         * lyx_gui.C:
17745         * lyx_gui_misc.C:
17746         * lyxfunc.C: changed headers associated with above changes.
17747
17748 2001-03-27  Juergen Vigna  <jug@sad.it>
17749
17750         * BufferView_pimpl.C: set the temporary cursor right!
17751
17752 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
17753
17754         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
17755
17756 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
17757
17758         * LString.h: removed "using std::getline"!
17759
17760         * BufferView_pimpl.C (Dispatch): changes due to changes in
17761         InsetInclude::Params.
17762
17763         * buffer.C (tag_name): removed redundant break statements as they were
17764         producing lots of warnings with my compiler.
17765
17766 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17767
17768         * LString.h: add "using std::getline" when using the real <string>.
17769
17770 2001-03-23  Jos�Ab�io Matos  <jamatos@fep.up.pt>
17771
17772         * buffer.C: removed bitset usage.
17773         PAR_TAG moved to an anonymous name space.
17774         (tag_name): new funtion, also in the anonymous namespace.
17775         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
17776         (makeDocBookFile): clean code. Completed transition from string arrays
17777         to string vectors.
17778         (SimpleDocBookOnePar): code clean.
17779
17780 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17781
17782         * tabular.C: add some comments.
17783
17784 2001-03-22  Juergen Vigna  <jug@sad.it>
17785
17786         * buffer.C (parseSingleLyXformat2Token): redone the minipage
17787         compatibility read a bit and fixed bug with minipage in different
17788         depth.
17789
17790 2001-03-21  Jos�Ab�io Matos  <jamatos@fep.up.pt>
17791
17792         * buffer.C (pop_tag): removed.
17793         (push_tag): removed.
17794         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
17795         array replaced with vector. Added support for CDATA sections.
17796         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
17797         at any nest level.
17798         (makeDocBookFile): XML conformant declaration of CDATA section,
17799         fixed bug related to <emphasis> in the first paragraph char.
17800         (sgmlOpenTag): exclude empty tags.
17801         (sgmlCloseTag): ditto.
17802
17803         * buffer.h (pop_tag): removed.
17804         (push_tag): removed.
17805
17806 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
17807
17808         * language.h (Languages): added size_type and size().
17809
17810 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17811
17812         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
17813         response on compability reading of minipages. One probliem is that
17814         the old usage of minipages was flertydig
17815
17816         * several files here and in subdirs: don't use static at file
17817         scope use anon namespaces instead.
17818
17819 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
17820
17821         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
17822         LaTeX output. This is necessary for Literate document
17823         processing.
17824
17825 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17826
17827         * buffer.C: insert hfill when needed.
17828
17829         * tabular.C (l_getline): use string::erase, small whitespace change.
17830
17831         * BufferView_pimpl.C: try the anon namespace.
17832         * WorkArea.C: ditto
17833
17834 2001-03-16  Juergen Vigna  <jug@sad.it>
17835
17836         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
17837         otherwise it won't open options-dialogs.
17838
17839         * buffer.C: honor pextraWidth(p) on converting minipages.
17840
17841         * tabular.C (l_getline): changed the functions to strip trailing \r.
17842
17843 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
17844
17845         * BufferView_pimpl.C:
17846         * minibuffer..C: added "using SigC::slot" declaration.
17847
17848 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17849
17850         * lyxlex_pimpl.h: noncopyable is in namespace boost.
17851
17852         * text2.C: ditto
17853
17854         * text.C: ditto
17855
17856         * paragraph.C: ditto
17857
17858         * lyxtext.h: NO_PEXTRA
17859
17860         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
17861
17862         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
17863         * ParameterStruct.h: ditto
17864         * ParagraphParameters.h: ditto
17865         * lyxparagraph.h: ditto
17866
17867 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17868
17869         * buffer.C: add compability for minipage alignment.
17870         (latexParagraphs): remove unwanted pextra check.
17871
17872         * several files: remove CXX_WORKING_NAMESPACES
17873
17874         * buffer.C (pop_tag): tie is in namespace boost
17875
17876         * BufferView.h: noncopyable is in namespace boost
17877         * lyxlex.h: ditto
17878         * lyx_main.h: ditto
17879         * lyx_gui.h: ditto
17880         * layout.h: ditto
17881         * lastfiles.h: ditto
17882         * bufferlist.h: ditto
17883         * ShareContainer.h: ditto
17884         * LyXView.h: ditto
17885         * LyXAction.h: ditto
17886         * LaTeX.h: ditto
17887
17888 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
17889
17890         * Merging changes from BRANCH_MVC back into HEAD.
17891
17892         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
17893
17894 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
17895
17896         * BufferView_pimpl.C: change from intl.C
17897
17898         * combox.h:
17899         * combox.C:
17900         * Makefile.am: move combox.*
17901
17902         * form1.h:
17903         * form1.C:
17904         * lyx_gui.C:
17905         * intl.h:
17906         * intl.C: remove dialog (covered by prefs)
17907
17908 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
17909
17910         * lyxfunc.C (Dispatch): removed redundant break statement.
17911
17912 2001-03-14  Juergen Vigna  <jug@sad.it>
17913
17914         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
17915
17916 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17917
17918         * buffer.C: add hack to fix compability reading of minipages.
17919
17920 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
17921
17922         * buffer.C (getLists): Cleanup.
17923
17924 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17925
17926         * lyxfont.C (update): don't honor toggleall on font size.
17927
17928 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
17929
17930         * bmtable.c:
17931         * bmtable.h:
17932         * Makefile.am: moved to frontends/xforms/
17933
17934         * lyx_gui_misc.C:
17935         * lyxfunc.C:
17936         * BufferView_pimpl.C: changes for moved mathpanel
17937
17938 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
17939
17940         * gettext.h: fix gettext_init() in --disable-nls
17941
17942 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17943
17944         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
17945
17946 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
17947
17948         * lyx.C:
17949         * lyx.h: strip external form
17950
17951 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
17952
17953         * BufferView_pimpl.C: add comment, destroySplash()
17954
17955 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
17956
17957         * BufferView_pimpl.C:
17958         * LyXAction.C:
17959         * buffer.C:
17960         * commandtags.h:
17961         * lyxfunc.C: use re-worked insetinclude
17962
17963 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17964
17965         * buffer.C: add using std::stringstream.
17966
17967         * lyx_cb.C: readd using std::ios.
17968
17969         * buffer.C: add using std::map.
17970
17971         * BufferView_pimpl.C: add using std::vector.
17972
17973         * ShareContainer.h: add std:: to swap.
17974
17975         * buffer.h: add some typedefs
17976         * buffer.C (getLists): use them
17977         (getLists): renamed from getTocList.
17978         add a counter for the different float types and use it in the
17979         generated string.
17980         (getLists): use the same counter for the NEW_INSETS and the "non"
17981         NEW_INSETS
17982
17983         * lyx_cb.h: remove unused items, includes, using etc.
17984
17985         * ShareContainer.h: remove some commented code, add more comments
17986         and "documentation".
17987
17988 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17989
17990         * buffer.C (getTocList): make the list also when NEW_INSETS is
17991         defined.
17992
17993         * buffer.h: remove TocType
17994
17995         * buffer.C (getTocList): change to return a map<string,
17996         vector<TocItem> >, implement for dynamic number of list.
17997
17998         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
17999         * text2.C (PasteSelection): adjust
18000         * CutAndPaste.C (pasteSelection): adjust
18001
18002         * FloatList.C (FloatList): update from the new_insets branch.
18003         * Floating.[Ch]: ditto
18004         * LaTeXFeatures.C: ditto
18005         * buffer.C: ditto
18006         * lyxlex_pimpl.C: ditto
18007
18008         * paragraph.C (Last): remove when NEW_INSETS is defined.
18009
18010         * other file: changes because of the above.
18011
18012 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18013
18014         * lyxparagraph.h: rename next to next_, previous to previous_,
18015         make them private for NEW_INSETS. Rename Next() to next(),
18016         Previous() to previous().
18017
18018         * other files: changes because of the above.
18019
18020 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
18021
18022         * BufferView.h:
18023         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
18024         problem.
18025
18026 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18027
18028         * main.C (main): pass lyx_localedir to gettext_init().
18029
18030         * gettext.h: remove locale_init and gettext_init macros
18031
18032         * gettext.C (locale_init): new function
18033         (gettext_init): new function
18034
18035         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
18036         setlocale().
18037
18038 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
18039
18040         * Moved credits to frontends:
18041         * credits.[Ch]: removed
18042         * credits_form.[Ch]: removed
18043         * lyx_gui_misc.C: remove credits stuff
18044         * Makefile.am:
18045
18046 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18047
18048         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
18049
18050         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
18051         unneeded destructor.
18052
18053         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
18054         a standalone pointer again.
18055
18056         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
18057
18058 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
18059
18060         * Makefile.am:
18061         * filedlg.h:
18062         * filedlg.C:
18063         * LyXAction.C:
18064         * ToolbarDefaults.C:
18065         * bufferlist.C:
18066         * commandtags.h:
18067         * form1.C:
18068         * form1.h:
18069         * lyx_cb.C:
18070         * lyx_cb.h:
18071         * lyxfunc.h:
18072         * lyxfunc.C:
18073         * BufferView_pimpl.C: use new file dialog in GUII
18074
18075         * lyx_cb.h:
18076         * lyx_cb.C: remove LayoutsCB to Toolbar
18077
18078 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18079
18080         * ShareContainer.h (get): add std:: qualifier
18081
18082 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18083
18084         * ShareContainer.h: define a proper ShareContainer::value_type
18085         type (and use typename to please compaq cxx)
18086
18087 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18088
18089         * lyxparagraph.h: move serveral local vars to
18090         ParameterStruct/ParagraphParameters., use ShareContainer in
18091         FontTable., make vars in FontTable private and add getter and
18092         setter.
18093
18094         * paragraph.C: changes because of the above.
18095
18096         * lyxfont.h: remove copy constructor and copy assignment. (the
18097         default ones is ok), move number inside FontBits. move inlines to
18098         lyxfont.C
18099
18100         * lyxfont.C: add number to initializaton of statics, move several
18101         inlines here. constify several local vars. some whitespace
18102         cleanup. Dont hide outerscope variables.
18103
18104         * Spacing.h: add two new constructors to match the set methods.
18105
18106         * ShareContainer.h: new file, will perhaps be moved to support
18107
18108         * ParameterStruct.h: new file
18109
18110         * ParagraphParameters.h: new file
18111
18112         * ParagraphParameters.C: new file
18113
18114         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
18115         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
18116
18117         * BufferView_pimpl.C: ParagraphParameter changes.
18118         * buffer.C: Likewise.
18119         * bufferview_funcs.C: Likewise.
18120         * text.C: Likewise.
18121         * text2.C: Likewise.
18122
18123 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18124
18125         * lyxfind.C (LyXReplace): do not redefine default argument in
18126         implementation.
18127         (IsStringInText): ditto
18128         (SearchForward): ditto
18129         (SearchBackward): ditto
18130
18131 2001-03-06  Juergen Vigna  <jug@sad.it>
18132
18133         * lyxfind.C (IsStringInText): put parentes around expressions.
18134
18135 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
18136
18137         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
18138
18139 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
18140
18141         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
18142
18143         * stl_string_fwd.h: add comment
18144
18145         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
18146
18147         * tabular.h:
18148         * tabular.C: remove unused DocBook methods
18149
18150         * intl.C:
18151         * language.C:
18152         * paragraph.C:
18153         * buffer.C:
18154         killed DO_USE_DEFAULT_LANGUAGE
18155
18156 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18157
18158         * lyx_gui.C: do not include language.h.
18159
18160         * bufferview_funcs.C (ToggleAndShow): do not provide optional
18161         arguments in function implementation.
18162
18163 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18164
18165         * BufferView_pimpl.C: add <ctime>
18166
18167 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18168
18169         * BufferView_pimpl.C: add using std::find_if
18170
18171 2001-02-27  José Matos  <jamatos@fep.up.pt>
18172
18173         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
18174         by OnlyPath.
18175
18176 2001-02-11  José Matos  <jamatos@fep.up.pt>
18177
18178         * buffer.C (makeDocBookFile): command styles now have a parameter as
18179         "title" by default.
18180
18181 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
18182
18183         * layout_forms.[Ch]: removed
18184         * lyx_cb.[Ch]: out character
18185         * lyx_gui.C: out character
18186         * lyx_gui_misc.C: out character
18187         * bufferview_funcs.C: : out character,
18188         added toggleall as parameter in ToggleAndShow
18189
18190 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
18191
18192         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
18193
18194         * text2.C (SetCurrentFont): Disable number property at boundary.
18195
18196 2001-02-26  Juergen Vigna  <jug@sad.it>
18197
18198         * lyxfunc.C (getStatus): added a string argument override function so
18199         that this is correctly called from LyXFunc::Dispatch if it contains a
18200         do_not_use_argument which is used!
18201         (Dispatch): added check for "custom" export and call appropriate func.
18202
18203 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
18204
18205         * lyxrc.C: Add language_command_local, language_use_babel and
18206         language_global_options.
18207
18208         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
18209
18210         * buffer.C (makeLaTeXFile): Use language_use_babel and
18211         language_global_options.
18212
18213 2001-02-23  Juergen Vigna  <jug@sad.it>
18214
18215         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
18216         which works with LyXText and putted it inside BufferView. Here now we
18217         only call for that part the BufferView::Dispatch() function.
18218
18219         * BufferView.C (Dispatch): added.
18220
18221         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
18222         functions which needs to use a LyXText over from LyXFunc.
18223         (MenuInsertLyXFile): added
18224         (getInsetByCode): added
18225         (moveCursorUpdate): added
18226         (static TEXT): added
18227
18228 2001-02-22  Juergen Vigna  <jug@sad.it>
18229
18230         * BufferView_pimpl.C (update): call a status update to see if LyXText
18231         needs it.
18232
18233 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18234
18235         * vc-backend.C (revert): implement for CVS
18236         (getLog): implement for CVS
18237
18238 2001-02-20  Juergen Vigna  <jug@sad.it>
18239
18240         * text2.C (ClearSelection): added BufferView param for inset_owner call
18241
18242         * lyxfunc.C (TEXT): added this function and use it instead of
18243         directly owner->view()-text of getLyXText().
18244
18245 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
18246
18247         * src/layout_forms.C: out preamble
18248         * src/layout_forms.h: out preamble
18249         * src/lyx_cb.C: out preamble
18250         * src/lyx_cb.h: out preamble
18251         * src/lyx_gui.C: out preamble
18252         * src/lyx_gui_misc.C: out preamble
18253         * src/lyxfunc.C: connect with guii preamble
18254
18255 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
18256
18257         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
18258
18259 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
18260
18261         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
18262         whether to run bibtex.
18263
18264 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
18265
18266         * Makefile.am (lyx_SOURCES): Remove BackStack.h
18267
18268 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
18269
18270         * Makefile.am (lyx_SOURCES): removed bibforms.h
18271
18272         * vspace.h: doxygen
18273
18274         * text.C (GetVisibleRow): make several local vars const
18275
18276         * tabular.C: small cleanup.
18277
18278         * lyxserver.C (callback): use compare instead of strncmp
18279
18280         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
18281         inlines to after class or to paragraph.C
18282
18283         * lyxfont.h: remove friend operator!=
18284
18285         * converter.h: move friend bool operator< to non friend and after
18286         class def.
18287
18288         * combox.h: small cleanup
18289
18290         * buffer.h: doxygen, remove unused constructor, move inclas inlies
18291         to inlines after class def.
18292
18293         * buffer.C (pop_tag): use string operations instead of strcmp
18294
18295         * bmtable.c: doxygen, small cleanup
18296
18297         * LaTeX.h: remove friend operator==
18298
18299 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
18300
18301         * screen.C:
18302         * lyxrc.[Ch]:
18303         * lyxfunc.C:
18304         * lyxfont.[Ch]:
18305         * lyx_cb.C:
18306         * intl.[Ch]:
18307         * commandtags.h:
18308         * buffer.C:
18309         * WorkArea.[Ch]:
18310         * LyXAction.C:
18311         * BufferView_pimpl.C:
18312         * BufferView.[Ch]: remove cruft
18313
18314 2001-02-14  Juergen Vigna  <jug@sad.it>
18315
18316         * lyxfunc.C: removed #if 0 unused code
18317
18318         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
18319
18320         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
18321
18322         * text2.C (SetSelection): added a BufferView * parameter
18323
18324 2001-02-13  Juergen Vigna  <jug@sad.it>
18325
18326         * lyxfunc.C (Dispatch): fixed protected blank problem.
18327         * BufferView2.C (protectedBlank): added LyxText * parameter.
18328
18329         * tabular.C (AppendRow): forgot to set row_info of newly added row.
18330         (AppendColumn): same as above for column_info.
18331
18332         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
18333         (moveCursorUpdate): use a LyXText param for support of InsetText.
18334
18335         * BufferView_pimpl.C (doubleClick): added support for InsetText.
18336         (tripleClick): ditto
18337
18338         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
18339
18340         * BufferView_pimpl.C (update): added LyXText param to honor insets.
18341
18342         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
18343
18344         * text2.C (SetSelection): set correct update status if inset_owner
18345         (ToggleFree): ditto
18346
18347 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
18348
18349         * tabular.C: remove some commented code.
18350
18351 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
18352
18353         * BufferView_pimpl.C: call hideSplash()
18354
18355         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
18356
18357         * include_form.h:
18358         * bibforms.h: remove
18359
18360         * lyxfunc.C:
18361         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
18362           add LFUN_CHILD_CREATE
18363
18364         * counters.h: fix tiny typo
18365
18366         * lyx_cb.C:
18367         * lyx.h:
18368         * lyx_gui.C:
18369         * lyx.C: move splash to frontends/xforms/
18370
18371         * lyx_gui_misc.C: move Include and Bibform to frontends
18372
18373         * lyxvc.h: clarify comment
18374
18375         * vspace.C: tiny housekeeping
18376
18377 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
18378
18379         * text.C (PrepareToPrint): RTL Fix.
18380
18381         * paragraph.C (GetUChar): New method.
18382         (String):  Use GetUChar.
18383
18384         * buffer.C (asciiParagraph): Use GetUChar.
18385
18386 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
18387
18388         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
18389
18390 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
18391
18392         * buffer.h:
18393         * buffer.C: rename to getLogName(), handle
18394           build log / latex log nicely
18395
18396 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18397
18398         * MenuBackend.C:
18399         * MenuBackend.h: remove support for reference menuitem type.
18400
18401 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
18402
18403         * BufferView_pimpl.C: housekeeping
18404         * BufferView_pimpl.h:
18405         * LyXView.h:
18406         * Makefile.am:
18407         * Timeout.C:
18408         * Timeout.h:
18409         * minibuffer.h: move Timeout GUI-I
18410
18411 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
18412
18413         * lyxrc.C (read): Update converters data-structures.
18414
18415 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
18416
18417         * LaTeX.h (operator!=): add operator != for Aux_Info
18418
18419 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
18420
18421         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
18422
18423         * LaTeXLog.C: deleted, useful code moved to Buffer
18424
18425         * buffer.h:
18426         * buffer.C: new function getLatexLogName()
18427
18428         * lyx_gui_misc.C:
18429         * lyx_gui.C:
18430         * lyxvc.C:
18431         * lyxvc.h:
18432         * lyxfunc.C: use frontends for LaTeX and VC logs
18433
18434 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18435
18436         * LaTeX.h: yet another std:: that Allan forgot.
18437
18438         * Variables.C (set): renamed from isset(), because this clashes
18439         with some HP-UX macros (grr).
18440
18441 2001-02-06  Allan Rae  <rae@lyx.org>
18442
18443         * LaTeX.h: Another bug fix.  Missing std:: this time.
18444
18445 2001-02-04  Allan Rae  <rae@lyx.org>
18446
18447         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
18448         floats problem. I've left it commented out because it's not quite
18449         correct.  It should also test that the current object is a table or
18450         figure inset.  But I haven't gotten around to figuring out how to do
18451         that.  I *think* it'll be something like: "table" == inset.type()
18452
18453         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
18454         bool.
18455
18456 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
18457
18458         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
18459         all the citation/databases/styles in the auxilary file.
18460         (run): Rerun latex if there was a babel language error.
18461
18462 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
18463
18464         * text.C (Backspace): Preserve the font when changing newline char
18465         with a space.
18466         (BreakParagraph): If the cursor is before a space, delete the space.
18467
18468         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
18469
18470 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
18471
18472         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
18473         new argument (code).
18474         (ChangeCitationsIfUnique): New method.
18475
18476         * paragraph.C (GetPositionOfInset): Handle bibkey.
18477
18478 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18479
18480         * BufferView_pimpl.h: change type of Position::par_pos to
18481         LyXParagraph::size_type.
18482
18483 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
18484
18485         * BufferView_pimpl.C (savePosition, restorePosition): Write
18486         messages to minibuffer.
18487
18488 2001-01-28  José Matos  <jamatos@fep.up.pt>
18489
18490         * buffer.C (makeDocBookFile): adds support for document language.
18491         A silly restriction on the name of LatexCommand types where removed.
18492         Added support for CDATA sections, allows to chars unescaped, used
18493         among others in code, to avoid escape < and >.
18494
18495 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
18496
18497         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
18498         saved positions instrad of a stack. Furthermore, a position is
18499         stored using paragraph id/paragraph position.
18500
18501         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
18502         Remove LFUN_REF_BACK.
18503
18504 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
18505
18506         * converter.C (dvipdfm_options): New method.
18507
18508 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
18509
18510         * vspace.C (isValidLength): Fix for empty input string.
18511
18512 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18513
18514         * LyXAction.C (init): change description of LFUN_FIGURE to
18515         "Insert Graphics"
18516
18517 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18518
18519         * LaTeX.C: add using directive
18520
18521 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
18522
18523         * MenuBackend.C (expand): Fix the sorting of the formats.
18524
18525 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
18526
18527         * lyx_main.C: tiny error message fix
18528
18529 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18530
18531         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
18532         calling fl_initialize(). This fixes the problem with ',' as
18533         decimal separator in text files.
18534
18535 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
18536
18537         * trans.C (process): Fix the keymap bug.
18538
18539 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
18540
18541         * LaTeX.C (scanAuxFiles): New method. Provides support for
18542         multiple bibliographies (when using the bibtopic/bibunits pacakges).
18543         (scanLogFile) Scan for "run BibTeX" messages.
18544
18545         * buffer.C (makeLaTeXFile): Do not load the ae package when using
18546         OT1 font encoding. Also, load the aecompl package if the ae
18547         package is loaded.
18548
18549         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
18550
18551 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18552
18553         * texrow.C (increasePos): turn two error messages into debug
18554         messages.
18555
18556 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
18557
18558         * LaTeX.C (scanAux): Handle the \@input macro.
18559         (runBibTeX): Use scanAux().
18560
18561         * language.C (latex_options_): New field.
18562
18563         * LaTeXFeatures.C (getMacros): Add language macros.
18564
18565         * buffer.C (makeLaTeXFile): Small fix.
18566
18567 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18568
18569         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
18570
18571         * text2.C: add a using directive.
18572
18573 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
18574
18575         * BufferView2.C:
18576         * lyx_gui_misc.h:
18577         * lyxfr1.C:
18578         * lyxfunc.C: kill LyXBell.
18579
18580 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
18581
18582         * text.C (IsBoundary): Remove the error message
18583
18584         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
18585
18586         * lyxrc.C (setDefaults): Correct initialization value for
18587         font_norm_type.
18588
18589 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
18590
18591         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
18592         gotoError().
18593
18594         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
18595         and GotoNextNote().
18596
18597         * src/LyXAction.C: Added reference-next.
18598
18599         * text.C (InsertChar): Use contains instead of strchr.
18600
18601         * lyx_cb.C (MenuInsertLabel): Enable default value code.
18602
18603 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
18604
18605         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
18606         alignment commands (when needed).
18607
18608         * text.C (InsertChar): Add ':' to number separator chars.