]> git.lyx.org Git - lyx.git/blob - src/ChangeLog
3c341f2d058f1ffd2fe287eab887841495d13b2a
[lyx.git] / src / ChangeLog
1 2005-12-15  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2
3         * lyx_main.C (priv_exec): don't initialize Math on startup 
4         (initMath() has been moved to math_hullinset).
5
6 2005-12-12  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
7
8         * lyxrc.C: set default_papersize to PAPER_DEFAULT;
9         handle PAPER_DEFAULT in LyXRC::read and LyXRC::write (bug 2148).
10         * paper.h: dispose dead PAPER_PACKAGES enum.
11
12 2005-12-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
13
14         * Makefile.am (OTHERLIBS): add SOCKET_LIBS in case we compile
15         without X support.
16
17 2005-12-06  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
18
19         * exporter.C (Export): Don't try to copy a file if it does not exist
20         (bug 1888)
21
22 2005-12-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
23
24         * text2.C (makeFontEntriesLayoutSpecific): remove.
25         (setLayout): adapt.
26
27         * text.C (insertChar): remove bogus caching of fonts (did not do
28         anything). 
29
30         * text2.C (LyXText): initialize current_font to ALL_INHERIT (was
31         ALL_SANE). (bug 2146)
32
33 2005-12-01  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
34
35         * rowpainter.C (paintFirst): fix centering of
36         LABEL_CENTERED_TOP_ENVIRONMENT. 
37
38 2005-11-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
39
40         * BufferView.C (mouseSetCursor): new method. Calls
41         deleteEmptyParagraphMechanism if necessary.
42
43         * lyxtext.h: make deleteEmptyParagraphMechanism public.
44
45         * text3.C (dispatch/LFUN_MOUSE_PRESS): use
46         BufferView::mouseSetCursor (bug 2109).
47         (dispatch/LFUN_PASTE): remove #warning that is now irrelevant.
48
49 2005-11-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>  
50
51         * text3.C (dispatch/LFUN_INDEX_INSERT): when a selection is set,
52         do not remove it (this inset behaves differently from the others).
53
54 2005-11-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
55
56         Fix bug 2096.
57         
58         * BufferView_pimpl.C (getStatus): it is only possible to insert a
59         file in a text inset.
60
61         * buffer.C (readDocument): remove pit argument and code releated
62         to it; set the inset owner correctly (unrelated, but useful).
63         (readFile): get rid of pit argument.
64
65         * CutAndPaste.C (pasteSelectionHelper): use a ParagraphList and a
66         textclass instead of a selection index.
67         (pasteParagraphList): new function.
68         (pasteSelection): make it a wrapper around pasteParagraphList.
69
70         * BufferView_pimpl.C (MenuInsertLyXFile): use
71         cap::pasteParagraphList to insert a file.
72
73 2005-11-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
74
75         * buffer_funcs.C (bufferErrors): prevent endless loop (bug 2121)
76
77 2005-11-17  Michael Gerz  <michael.gerz@teststep.org>
78
79         * exporter.C: fix typo in text message
80
81 2005-11-28  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
82
83         * text2.C (setLayout): move recUndo call to other setLayout method
84         * tabular.C (toggleFixedWidth): new, handle cell width changes
85         * tabular.C (setColumnPWidth): move some code from insettabular.C here
86         and use toggleFixedWidth
87         * tabular.C (setMColumnPWidth): ditto
88
89 2005-11-25  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
90
91         * paragraph.C (asString): use new inset->textString method (fix
92         bug 2089) 
93
94 2005-11-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
95
96         * CutAndPaste.C (numberOfSelections): new helper function.
97
98         * lyxfunc.C (getStatus): remove support for LFUN_COPY and LFUN_CUT.
99
100         * text3.C (getStatus): move code for LFUN_CUT and LFUN_COPY from
101         LyXFunc::getStatus; implement LFUN_PASTE.
102
103 2005-11-17  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
104
105         * dociterator.[Ch]: new member realInset() that returns the cell
106         for tabulars and the inset for the rest (bug 1952).
107         * undo.C (textUndoOrRedo): use realInset when resetting insetOwner
108         (bug 1952).
109
110 2005-11-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
111
112         * text.C (leftMargin): honor the NextNoIndent tag in layouts.
113
114 2005-11-17  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
115
116         * lyxfunc.C:
117         * paragraph.C:
118         * text3.C: InsetBase::forceDefaultParagraphs now takes a cell as
119         argument.
120
121 2005-11-07  Martin Vermeer  <martin.vermeer@hut.fi>
122
123         * text.C (redoParagraph): Fix bug 1966: cursor doesn't go to next
124         line after typing ctrl-enter
125
126 2005-11-10  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
127
128         * bufferview_funcs.C (coordOffset): fix the fix for bug 2094, as
129         math insets do not return a proper editable() state yet (bug 2124).
130
131 2005-11-07  Martin Vermeer  <martin.vermeer@hut.fi>
132
133         * BufferView_pimpl.[Ch]: Fix bug 1814: better scroll behaviour for 
134         docs containing very large paragraphs.
135
136 2005-11-07  Martin Vermeer  <martin.vermeer@hut.fi>
137
138         * cursor.C (selectionBegin, selectionEnd):
139         * text.C (drawSelection): Fix bug 2115: assertion when anchor and 
140         cursor at different depths.
141
142 2005-11-03  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
143
144         * bufferview_funcs.C (coordOffset): do not call cursorPos
145         for collapsed collapsables (fix bug 2094).
146
147 2005-11-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
148
149         * paragraph.C (fontSpan): make sure that the FontSpan does not
150         span across beginOfBody (bug 1947).
151
152 2005-11-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
153
154         * lyxlength.h: undefine macros that clash with solaris/x86 (bug 992)
155
156 2005-11-03  Michael Gerz  <michael.gerz@teststep.org>
157
158         * messages.C: fix crash and localization on MinGW/Windows platform
159
160 2005-11-02  Angus Leeming  <leeming@lyx.org>
161
162         * Bidi.C:
163         * lyxtextclass.C: trivial fixes to some MSVS warnings.
164
165 2005-10-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
166
167         * text3.C (getStatus): re-enable disabled code. (bug 2081)
168
169         * BranchList.h (empty): constify.
170
171 2005-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
172
173         * text3.C (getStatus): 
174         * MenuBackend.C (expandBranches): take the branch list from the
175         master document (bug 2092).
176         
177         * MenuBackend.C (expandBranches): 
178         * bufferparams.C (writeFile): use BranchList type.
179
180 2005-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
181
182         * text3.C (dispatch, getStatus): 
183         * LyXAction.C (init): 
184         * lfuns.h: get rid of LFUN_KEYMAP_TOGGLE
185
186 2005-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
187
188         * toc.C (getTocList): skip paragraphs which toclevel is NOT_IN_TOC.
189
190 2005-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
191
192         * text.C (insertChar): do not reset boundary (bug 2061)
193
194 2005-10-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
195
196         * dociterator.C (updateInsets): new method. Updates the inset_
197         cache of all the slices of the iterator.
198
199         * text2.C (deleteEmptyParagraphMechanism): compare also containing
200         insets when comparing pit/pos; pass the right cursor to
201         recordUndo; when a paragraph has been deleted, compare `old.top()' to
202         the right cursor slice of `cur'; use updateInsets on cur to make
203         sure that the inset caches are correct; general cleanup.
204
205 2005-10-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
206
207         * text3.C (dispatch): LFUN_NEXT_INSET_TOGGLE: first try to
208         dispatch LFUN_INSET_TOGGLE to inset at cursor, and then to
209         containg inset. If this does not work, the same command will be
210         sent to other insets down the queue by LCursor::dispatch. (bug 2066)
211
212         * lyxfunc.C (dispatch): make sure the cursor is correct when doing
213         a dispatch.
214
215 2005-10-20  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
216
217         * lyxtextclass.C (Read): convert layout file if the format is wrong
218         * lyxtextclass.C (layout2layout): new, needed for the above
219
220 2005-10-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
221
222         * messages.C: do not forget to include <cerrno>.
223
224 2005-10-12  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
225
226         * dociterator.h (StableDocIterator): add access to pos().
227         * undo.C (samePar): new method to check if two
228         iterators are in the same paragraph
229         * undo.C (recordUndo): check for samePar instead of cell identity
230         (which includes pos() and is too strict) (fixes bug 2097)
231
232 2005-10-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
233
234         * text.C (setCursorFromCoordinates): return a bool telling whether
235         dEPM triggered.
236
237         * text3.C (cursorPrevious): update if needed after
238         setCursorFromCoordinates (when dEPM triggered).
239
240         * text2.C (cursorDown, cursorUp): make sure to reset the anchor
241         (otherwise the anchor may be completely wrong and make dEPM assert).
242
243 2005-10-12  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
244
245         * buffer.C: version upgrade to 245.
246         * bufferparams.C: remove \quotes_times (bug 2090).
247         * text3.C (doDispatch): LFUN_QUOTE_INSERT has to output double
248         quotation marks as default.
249
250 2005-10-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
251
252         * CutAndPaste.C (nrOfParagraphs): remove (unused)
253         * CutAndPaste.C (cutSelection): Remove debug message
254         * CutAndPaste.C (cutSelection): Use the real cursor in mathed, record
255         undo information and only copy if this is a real cut
256         * CutAndPaste.C (pasteSelection): remove superflous cur.resetAnchor()
257         call
258         * CutAndPaste.C (pasteSelection): remove now superflous mathed warning
259         (bug 2059)
260         * CutAndPaste.C (eraseSelection): prevent cursor corruption
261         * CutAndPaste.C (grabAndEraseSelection, selDel): remove now
262         superflous cur.selection() setting
263         * CutAndPaste.[Ch] (grabSelection): take a const cursor
264         * cursor.C (selectionAsString): implement mathed case ((bug 2059)
265
266 2005-10-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
267
268         * text3.C (mathDispatch, dispatch): Dont' record undo steps that don't
269         change anything.
270
271 2005-10-11  Martin Vermeer  <martin.vermeer@hut.fi>
272
273         * BufferView_pimpl.C: comment layout change
274
275 2005-10-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
276
277         * LyXAction.C:
278         * lfuns.h:
279         * lyxfunc.C: reimplement LFUN_INSERT_CITATION, which is needed
280         by bibliography managers (bug 2071).
281
282 2005-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
283
284         * BufferView_pimpl.C (update): choose arguments to update call so
285         that single-par update works most times
286         * text3.C (dispatch): carefully tune updating separately for
287         whole-screen and current-paragraph
288         * rowpainter.C (paintText): 1) replace painting by caching for
289         the two extra paragraphs, because we can;
290         2) suppress greying out of areas below/above drawn area in case of
291         single-par refresh
292         * lyxfunc.C (dispatch): remove superfluous update
293         * LyXAction.[Ch]: introduce SingleParUpdate
294
295 2005-10-05  Angus Leeming  <leeming@lyx.org>
296
297         * BufferView_pimpl.C (loadLyXFile): ensure that a pointer is
298         always initialised before use.
299
300         * text.C (setHeightOfRow): squash warning about comparison
301         of signed and unsigned types.
302
303 2005-10-03  Martin Vermeer  <martin.vermeer@hut.fi>
304
305         * text.C (cursorX): two fixes involving RtL text drawing
306
307 2005-10-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
308
309         * cursor.C (erase): fix 'clever' UI hack. It was activated for all
310         items, not only large ones (part of bug 2057)
311
312 2005-10-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
313
314         * text3.C (dispatch): when invoking LFUN_MATH_MACRO with no type
315         argument, use "newcommand".
316
317 2005-09-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
318
319         * cursor.C (setSelection): do not open collapsable insets;
320         the insets do by themselves now (autoopen).
321
322 2005-09-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
323
324         * buffer.C: format is up to 244.
325
326 2005-09-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
327
328         * text.C (redoParagraph): fix calcultation of inset width wrt 
329         leftMargin (bug 1957).
330
331         * text3.C (dispatch): leave inset to the right when hitting ESC 
332         (bug 2034).
333
334 2005-09-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
335
336         * text2.C: 
337         * text.C: 
338         * factory.C:
339         * messages.C: include <boost/current_function.hpp> 
340
341 2005-09-12  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
342
343         * lyxfunc.C (sendDispatchMessage): do not update menubar/toolbar
344         when command is internal. (bug 1941)
345
346 2005-09-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
347
348         * text2.C (cursorRight): do not honor boundary when at the end of
349         a paragraph. (bug 2010 again)
350
351 2005-09-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
352
353         * cursor.C (paste): do nothing if `data' is empty. (bug 2033)
354
355 2005-09-19  Martin Vermeer  <martin.vermeer@hut.fi>
356
357         * rowpainter.C (paintText): fix RtL space width display bug (2029)
358
359 2005-09-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
360
361         * text2.C (setCursor): remove the unused 'boundary' parameter for
362         the CursorSlice version; adapt the LCursor version.
363
364         * lyxrc.C (write): 
365         * paragraph_pimpl.C (markErased): 
366         * cursor.C (bruteFind2, bruteFond3): fix warnings.
367
368 2005-09-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
369
370         * rowpainter.C (paintFirst): use a 'labeladdon' for TOP_* labels,
371         as is already done for "chapter".
372
373 2005-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
374
375         * lyxfunc.C (dispatch): LFUN_TEXTCLASS_APPLY: actually set the
376         textclass; do not record undo if nothing is changed.
377
378 2005-09-16  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
379
380         * text3.C (dispatch): recordUndo in LFUN_PASTESELECTION (#2011).
381
382 2005-09-14  Michael Gerz  <michael.gerz@teststep.org>
383
384         * lyxfunc.C: update display after LFUN_ALL_INSETS_TOGGLE
385
386 2005-09-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
387
388         * BufferView_pimpl.C (setBuffer): when one wants to set the layout
389         combox, it is necessary to search for the topmost paragraph in the
390         cursor stack (bug 1926)
391
392 2005-09-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
393
394         * text2.C (cursorEnd, cursorRight): do not set boundary to true at
395         end of paragraph. (bug 2010)
396
397 2005-09-10  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
398
399         * text.C (leftMargin): check for inInset == 0
400
401 2005-09-10  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
402
403         * text.C (leftMargin): test for insetbase's new neverIndent()
404         bool instead of listing each and every inset that does not
405         wish par indendation.
406
407 2005-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
408
409         * buffer_funcs.C (setCounter): put the code to compute enum label
410         here (where it belongs).
411
412         * counters.C (enumLabel): move code to buffer_funcs.C.
413
414 2005-09-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
415
416         * outputparams.[Ch]: store local_font instead of local_language
417         * paragraph.C (simpleTeXOnePar): adapt to the change above
418
419 2005-09-08  Martin Vermeer  <martin.vermeer@hut.fi>
420
421         * buffer_funcs.C:
422         * counters.[Ch]: clean up special code for Hebrew.
423
424 2005-09-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
425
426         * lyxfunc.C (lookupChange): fix code when cursor depth is greater
427         than 2.
428
429 2005-09-08  Angus Leeming  <leeming@lyx.org>
430
431         * ispell.C:
432         * lyxrc.C: correct grammar describing invocation of the
433         spellchecker.
434
435 2005-08-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
436
437         * text.C (read): remove unused variable.
438         (readParToken): remove static Change variable (never good in
439         recursive settings...); add it as a parameter instead.
440
441         * paragraph_pimpl.C (acceptChange): make debug info conditional.
442
443         * metricsinfo.C (PainterInfo): add new member erased_.
444
445         * rowpainter.C (RowPainter): add erased_ member, initialized from
446         PainterInfo. 
447         (paintInset): pass erased_ to Inset::draw.
448
449         * lyxfunc.C (lookupChange): new function. Tells whether change 
450         tracking is disabled at a given postion.
451         (getStatus): disable some actions when in deleted text with change
452         tracking. 
453
454 2005-08-03  John Levon  <levon@movementarian.org>
455         
456         * tabular.C (appendColumn, setMultiColumn): adapt to change to
457         InsetText::clear().
458
459         * paragraph_pimpl.C (markErased): add bool argument and handle it.
460         Also make sure to mark insets recursively.
461         (rejectChange, erase): be recursive
462
463         * paragraph.C (markErased): add bool argument.
464 2005-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
465
466         * lyxfind.C (findNextChange): tiny cleanup.
467
468         * BufferView_pimpl.C (trackChanges): avoid crash when stopping
469         change tracking with the cursor in an inset; make sure the first
470         change is not skipped.
471
472 2005-09-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
473
474         * CutAndPaste.[Ch]: new methods dirtyTabularStack and 
475         tabularStackDirty to work around bug 1919 (tabular needs
476         to know whether its own cell paste buffer or the one of 
477         texted is newer.
478         * CutAndPaste.C: mark tabular_stack_ clean after copy.
479
480 2005-08-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
481
482         * text2.C (cursorEnd): check for empty text (fixes bug 1998)
483
484 2005-08-19  Lars Gullik Bjønnes  <larsbj@gullik.net>
485
486         * CutAndPaste.C (eraseSelectionHelper): fix bug 1920
487         use old deleteion algorithm when changetracking is on.
488
489 2005-08-18  Martin Vermeer  <martin.vermeer@hut.fi>
490
491         * messages.C (get): add debug output.
492
493 2005-08-02  Martin Vermeer  <martin.vermeer@hut.fi>
494
495         * text.C (cursorX): fix bug 1965: cursor movement at
496         line end broken in RtL.
497         (drawSelection): fix bug 1970: drawing of single-line 
498         selection broken for RtL.
499
500 2005-07-31  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
501
502         bug 465.
503
504         * dociterator.h (clear, push_back, pop_back): change from
505         protected to public.
506
507         * buffer_funcs.C (getItemDepth): renamed from incrementItemDepth
508         and changed to just return the value of the item depth; take a
509         ParIterator as argument; take the itemdepth at outer nesting level
510         in account if necessary; cleanup and comment the code.
511         (resetEnumCounterNeeded): renamed from resetEnumCounterIfNeeded
512         and changed to just return true if reset is needed; take a
513         ParIterator as argument; cleanup and comment the code.
514         (setCounter): adapt to above changes.
515
516 2005-07-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
517
518         * text3.C (dispatch): make debug message optional
519
520 2005-08-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
521
522         * lyxfunc.C (dispatch): use InsetIncludeMailer for the include
523         inset. (bug 1963)
524
525 2005-08-02  Martin Vermeer  <martin.vermeer@hut.fi>
526
527         * BufferView_pimpl.C (updateScrollbar): scrollbar fixes
528
529 2005-07-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
530
531         * text.C (insertChar):
532         * text2.C (deleteEmptyParagraphMechanism): take care whether 
533         a blank has been deleted (in change tracking mode) (bug 1254).
534
535 2005-07-20  John Levon  <levon@movementarian.org>
536
537         * text2.C (insertStringAsLines): remove old dubious code,
538         fixing bug 1939.
539
540 2005-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
541
542         * MenuBackend.C (expandToc): use Floating::listName() as title of
543         the floats submenus.
544
545 2005-07-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
546
547         * toc.[Ch]: Do not use translatable strings (bug 1870).
548
549 2005-07-20  John Levon  <levon@movementarian.org>
550
551         * tabular.C: fix 1748 - setting multicolumn adds
552           left line to the first cell
553
554 2005-07-19  Lars Gullik Bjønnes  <larsbj@lyx.org>
555
556         bug 1920
557         * CutAndPaste.C (eraseSelectionHelper): erase all the "middle"
558         pars in one go.
559
560 2005-07-18  Lars Gullik Bjønnes  <larsbj@lyx.org>
561
562         * messages.C: supress some lyxerr messages
563
564 2005-07-18  Juergen Vigna  <jug@lyx.org>
565
566         * text.C (drawSelection): honor boundary when asking for cursorX.
567
568 2005-07-17  José Matos  <jamatos@fc.up.pt>
569
570         * tabular.C (recalculateMulticolumns): fix handling of one column
571         tables.
572
573 2005-07-17  Juergen Vigna  <jug@lyx.org>
574
575         * text.C (Delete, backspace): fixed so that paragraph with the
576         same layout can be merged by Delete/Backspace.
577
578 2005-07-17  Michael Schmitt  <michael.schmitt@teststep.org>
579
580         * text.C (readParToken): fix spelling.
581
582 2005-07-17  Martin Vermeer  <martin.vermeer@hut.fi>
583
584         * text2.C: fix counter update for DEPM problem reported by
585         Georg Baum
586
587 2005-07-17  Juergen Vigna  <jug@lyx.org>
588
589         * BufferView_pimpl.C (setBuffer): save/restore the
590         cursor/selection when switching buffers
591
592         * buffer.h: 
593         * buffer.C (saveCursor): add saveDocumentIterators to save the
594         cursor when switching buffer.
595
596 2005-07-17  Michael Schmitt  <michqel.schmitt@teststep.org>
597
598         * debug.C: fix typo
599         * buffer.C: clarify message
600         
601 2005-07-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
602
603         * dociterator.C (DocIterator): fix initialization order
604
605 2005-07-17  Juergen Vigna  <jug@lyx.org>
606
607         * text2.C (cursorHome): 
608         * text.C (drawSelection, cursorX): 
609         * dociterator.C (textRow): add boundary to getRow() call
610
611         * paragraph.C (getRow): implementation of below
612
613         * paragraph.h: add parameter boundary for getRow() function
614
615 2005-07-17  José Matos  <jamatos@fc.up.pt>
616
617         * buffer.C:
618         * bufferparams.[Ch]:
619         * tex-strings.[Ch]: new file format, remove support for a4.sty,
620         a4wide.sty and a4widemargins.
621
622 2005-07-17  Juergen Vigna  <jug@lyx.org>
623
624         * text2.C (cursorLeft): fix one of error
625
626 2005-07-17  Juergen Vigna  <jug@lyx.org>
627
628         * text2.C (getColumnNearX, cursorRight, cursorLeft, cursorHome,
629                    cursorEnd):
630         more fixes for boundary handling
631
632         * text3.C (dispatch): don't reset cursor if boundary has changed
633         on cursor movement.
634
635 2005-07-16  Juergen Vigna  <jug@lyx.org>
636
637         * text2.C (getColumnNearX): hopefully got it right now,
638         check if we are on column 0 for special case.
639
640 2005-07-16  Juergen Vigna  <jug@lyx.org>
641
642         * text2.C (getColumnNearX): handle special case Newline Inset
643
644         * text.C (singleWidth): Just remove bogus check
645
646 2005-07-16  Michael Schmitt  <michael.schmitt@teststep.org>
647
648         * funcrequest.C (split): avoid reading uninitialized char c
649
650 2005-07-16  José Matos  <jamatos@fc.up.pt>
651
652         * buffer.C:
653         * converter.C:
654         * lyxrc.C:
655         * paper.h:
656         * bufferparams.[Ch] (setPaperStuff): remove setPaperStuff and use a
657         single papersize variable.
658
659 2005-07-16  Juergen Vigna  <jug@lyx.org>
660
661         * text3.C (dispatch): honor boundary when checking if a cursor
662         movement has been done
663
664         * text2.C (cursorRight, cursorLeft, cursorUp, cursorDown) 
665         (setCursor, setCursorIntern): fix cursor movement with boundary
666
667 2005-07-16  Juergen Vigna  <jug@lyx.org>
668
669         * text.C (currentState): output the actual Boundary
670
671 2005-07-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
672
673         * factory.C (createInset): fix bad logic for tabular creation
674
675 2005-07-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
676
677         * lyx_main.C (init): change some reLyX reference to tex2lyx
678
679 2005-07-16  Juergen Vigna  <jug@lyx.org>
680
681         * dociterator.C (DocIterator): initialize boundary
682
683 2005-07-16  Juergen Vigna  <jug@lyx.org>
684
685         * text2.C (getColumnNearX): Consider rows without trailing blank.  
686
687 2005-07-16  André Pönitz  <poenitz@gmx.net>
688
689         * lyxfont.h: Change order of declarations to give the compiler
690         a better chance to inline things
691
692         * lyx_cb.[Ch]: Add 'force' argument to QuitLyX suppressing
693         questions on unsaved docs for better scritability
694
695 2005-07-16  André Pönitz  <poenitz@gmx.net>
696
697         * paragraph.h (getChar): remove asserts as the same kind of security
698         can be achieved by using a suitable standard library implementation
699         and the function was in the critical path (25.9% in profiler)
700
701 2005-07-16  Juergen Vigna  <jug@lyx.org>
702
703         * cursor.C (bruteFind2):
704         * bufferview_funcs.C (coordOffset): 
705         * text.C (cursorX,cursorY): Handle cursor position after last char
706         in row before a inset which uses a whole row.
707
708 2005-07-15  José Matos <jamatos@lyx.org>
709
710         * output_plaintext.[Ch] (writeFileAscii): control reference title
711         printing.
712         (asciiParagraph): noparbreak was already deal and was incorrectly
713         used.
714
715 2005-07-15  Juergen Vigna <jug@lyx.org>
716
717         * lyxfunc.C (dispatch): save and restore the cursor after a
718         textclass switch.
719
720 2005-07-15  Lars Gullik Bjønnes <lgb@tandberg.net>
721
722         * text.C (backspace): bug 806 for empty keepempty paragraphs we
723         change the layout to default before letting DEPM do its thing.
724
725         * paragraph_funcs.C (breakParagraph): dont reset the layout on
726         keepEmpty paragraphs
727
728         * text.C (setCursorFromCoordinates): add a debug statement
729
730         * text2.C (getColumnNearX): bug 1825 make sure that we don't
731         return a pos that is not on the row
732
733         * output_latex.C (TeXDeeper): get rid of potential dereferencing
734         of past the end iterator
735
736 2005-07-14  André Pönitz  <poenitz@gmx.net>
737
738         * undo.C (recordUndoFullBuffer): implement undo for
739         textclass switches
740
741 2005-07-14  André Pönitz  <poenitz@gmx.net>
742
743         * cursor.C (setSelection): open insets when selection is set there
744         to avoid crashs with cold coord cache
745
746 2005-07-14  André Pönitz  <poenitz@gmx.net>
747
748         * trans_mgr.C (insert): move cursor to the right after inserting
749         a char.
750
751 2005-07-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
752
753         * BufferView_pimpl.C (update): dampen some of the debug blabbering
754         * factory.C (readInset): ditto
755         * text.C, text2.C: ditto
756
757 2005-06-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
758
759         * buffer.C: format incremented to 242. There is no file format per
760         se, but the "frenchb" language has been removed from lib/language
761         and has to be translated to "french" by lyx2lyx.
762
763 2005-07-06  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
764
765         * cursor_slice.h, dociterator.h: add some documentation
766         * cursor_slice.h, dociterator.h (idxSave, idxLoad): remove
767
768 2005-07-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
769
770         * text.C (leftMargin): do not add identation to display() style
771         insets, because they are always centered (bug 1293).
772
773 2005-07-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
774
775         * text3.C (doDispatch): rewrite LFUN_DATE_INSERT using the brandnew
776         formatted_time methods in support/lyxtime.
777
778 2005-07-04  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
779
780         * toc.[Ch]: new method getGuiName, which is used by the frontends 
781         to set the toc combo (fixes bug 1870). Make TOC string translatable.
782
783 2005-07-01  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
784
785         * dociterator.[Ch]: implement operator==(StableDocIterator const &, 
786         StableDocIterator const &)
787         * undo.C (recordUndo): use the above instead of cell.size() comparison
788         (fixes bug 1808; instructed by Andr�.
789
790 2005-06-29  Martin Vermeer  <martin.vermeer@hut.fi>
791
792         * cursor_slice.h: 
793         * dociterator.h: Fix the assert when copying rows/cols in math
794
795 2005-06-25  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
796
797         * BufferView_pimpl.C:
798         * LyXAction.C:
799         * lfuns.h: reintroduce LFUN_BIBDB_ADD and LFUN_BIBDB_DEL (bug 961)
800
801         * bufferview_funcs.[Ch] (gotoNextInset): rename to findNextInset;
802         (findInset): new functions, refactored from goto Inset that return 
803         the position of a certain inset without setting the buffer's cursor
804         (by Jean-Marc); 
805         (gotoInset): rewrite to call findInset and then set the cursor
806         (by Jean-Marc).
807
808 2005-06-16  Angus Leeming  <leeming@lyx.org>
809
810         * lyxrc.C (output, read): wrap all input and output of paths with
811         calls to os::internal_path and os::external_path, respectively.
812         (output): wrap bind_file inside quotes.
813
814         * format.C (view): enable the viewer to use the '$$s' placeholder.
815
816 2005-06-16  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
817
818         * LColor.[Ch] (getFromLaTeXName): new
819
820 2005-06-16  Martin Vermeer  <martin.vermeer@hut.fi>
821
822         * text.C (readParagraph): fix bug 1904 (GUI affects LaTeX)
823
824 2005-06-14  Angus Leeming  <leeming@lyx.org>
825
826         * lyx_main.C (init): ensure that the LyX binary dir is the first
827         element in the PATH on non-POSIX builds.
828
829 2005-06-11  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
830
831         * LaTeXFeatures.C (getPackages): solve amsmath-wasysym conflict
832
833 2005-06-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
834
835         * rowpainter.C (paintInset, paintHebrewComposeChar)
836         (paintArabicComposeChar, paintChars): add a LyXFont argument.
837         (paintChars): use getFontSpan to reduce calls to getFont to a
838         minimum; use Paragraph::lookupChange instead of isXXXText.
839         (paintForeignMark): rename LyXFont argument.
840         (paintFromPos): pass a LyXFont object to the various paintXXX
841         methods.
842
843         * FontIterator.C (FontIterator, operator++): use
844         Paragraph::getFontSpan
845
846         * paragraph.C (getFontSpan): replace getEndOfFontSpan with a
847         version that returns the font span as a pair.
848
849 2005-06-09  Angus Leeming  <leeming@lyx.org>
850
851         * converter.C (convert): Don't forget "outfile = real_outfile" as
852         the final step in a conversion where the input and output file names
853         are the same. Otherwise, future conversion steps won't work...
854
855 2005-06-09  Angus Leeming  <leeming@lyx.org>
856
857         * lyxsocket.C: remove stub code as it isn't needed by
858         MinGW/MinSYS anyway. Let's see if the MSVC people scream...
859
860 2005-06-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
861
862         * lyx_main.C (parse_execute): Fix last fix: is_gui = false
863         effectively disabled -x
864
865 2005-06-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
866
867         * BufferView_pimpl.C (getStatus): enable LFUN_GOTO_NOTE only
868         when it actually makes sense.
869
870 2005-06-06  Martin Vermeer  <martin.vermeer@hut.fi>
871
872         * BufferView_pimpl.C: revert to showCursor in connection with
873         Lars's front-end stack
874
875 2005-06-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
876
877         * text.C (redoParagraph): move cursor right after a bibitem
878         has been inserted.
879
880         * text3.C: disable LFUN_BIBITEM_INSERT outside Bibliography.
881
882 2005-06-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
883
884         * buffer_funcs.C (bufferErrors): fix computation of the end of an
885         error range.
886
887 2005-05-31  Martin Vermeer  <martin.vermeer@hut.fi>
888
889         * BufferView.[Ch] (update):
890         * BufferView_pimpl.[Ch] (update, metrics):
891         * dimension.h (operator==):
892         * lyxfunc.C (dispatch):
893         * metricsinfo.h (ViewMetricsInfo):
894         * rowpainter.C (paintText):
895         * lyxtext.h:
896         * text.C (redoParagraph):
897         * text3.C (dispatch): Make LyX only repaint current paragraph in
898         case of character insert --> speedup. Also fix cursor draw
899         artifacts
900
901 2005-05-31  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
902
903         * bufferview_funcs.C (gotoInset): fix the wrap-around code to
904         avoid a crash (bug 1891)
905
906 2005-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
907
908         Fix bug 1892:
909
910         * text2.C (getStringToIndex): constify cur argument.
911
912         * factory.C (createInset/LFUN_TABULAR_INSERT): return 0 if no
913         argument has been given
914         (createInset/LFUN_INDEX_INSERT): just return a new inset (do not
915         try to invoke LFUN_INSET_APPLY).
916
917         * text3.C (dispatch/LFUN_TABULAR_INSERT): open the tabular dialog
918         if no inset was created by doInsertInset
919         (doInsertInset): return true if an inset has been inserted.
920
921 2005-05-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
922
923         * vspace.C (asGUIName): new method. A version of the space
924         suitable for showing on screen.
925
926 2005-05-20  Michael Schmitt  <michael.schmitt@teststep.org>
927
928         * MenuBackend.C:
929         * lyxrc.C: rename "ASCII" to "Plain Text"
930
931 2005-05-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
932
933         * buffer_funcs.C (expandLabel): take a Buffer as argument;
934         translate the labelstring.
935         (setCounter): translate labelstring as needed.
936
937         * output_docbook.C (makeCommand): fix expandLabel invokation
938
939 2005-05-14  Michael Schmitt  <michael.schmitt@teststep.org>
940
941         * BufferView.C: fix dialog title
942
943 2005-05-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
944
945         * lyx_main.C (priv_exec): fix logic error with help from Angus
946         * lyx_main.C (parse_execute): set is_gui = false and remove now
947         obsolete comment about a segfault
948
949 2005-05-18  Angus Leeming  <leeming@lyx.org>
950
951         * buffer.C (readFile): Quote all file names passed to lyx2lyx.
952
953 2005-05-12  Martin Vermeer  <martin.vermeer@hut.fi>
954
955         * tabular.[hC]: added setCellInset to fix tabular paste.
956
957 2005-05-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
958
959         * buffer.C (save): check if destination is writable before trying
960         to copy a file
961
962 2005-05-11  Martin Vermeer  <martin.vermeer@hut.fi>
963
964         * BufferView_pimpl.C (update): fix processEvents -caused update
965         recursion bug
966
967 2005-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
968
969         * buffer_funcs.C (setCounter): fix test for numbering of
970         environments.
971
972         * toc.C (getTocList): use LyXTextClass:min_toclevel to set toc
973         depth correctly; use optional argument when it exists
974
975         * lyxtextclass.C: remove unused MaxCounterTags enum
976         (Read): compute min_toclevel_ and max_toclevel_ after reading class.
977         (max_toclevel, min_toclevel): new methods.
978
979         * MenuBackend.C (expandToc2): fix case where depth is smaller than
980         the smallest depth in toc.
981
982         * lyxlayout.[Ch]: add special NOT_IN_TOC toclevel value for
983         layouts that should not appear in a table of contents.
984
985 2005-05-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
986
987         * cursor.h (undispatched, noUpdate): add comments from Andr�
988 2005-05-07  Michael Schmitt  <michael.schmitt@teststep.org>
989
990         * lfuns.h:
991         * LyXAction.C:
992         * BufferView_pimpl.C: rename LFUN_REF_GOTO to LFUN_LABEL_GOTO
993
994 2005-05-07  André Pönitz  <poenitz@gmx.net>
995
996         * cursor.[Ch] (leaveInset): new function
997
998 2005-05-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
999
1000         * lyxfunc.C (dispatch): set update flag for LFUN_INSET_APPLY.
1001
1002 2005-05-04  Angus Leeming  <leeming@lyx.org>
1003
1004         * lyxfunc.C (getStatus): disable the spell checker dialog if
1005         none of USE_[AIP]SPELL are defined.
1006
1007 2005-05-05  Martin Vermeer  <martin.vermeer@hut.fi>
1008
1009         * tabular.C (setWidthOfCell): remove obsolete comment
1010
1011 2005-05-05  Martin Vermeer  <martin.vermeer@hut.fi>
1012
1013         * paragraph.C (bibitem):
1014         * buffer_funcs.C (setCounter):
1015         * src/text.C (redoParagraph): Ungoose bibliography (bug 940)
1016
1017 2005-05-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1018
1019         * text3.C (getStatus): immediately return after setOnOff
1020
1021         * rowpainter.C: fix drawing of appendix start
1022
1023 2005-05-03  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1024
1025         * CutAndPaste.[Ch] (SwitchLayoutsBetweenClasses): rename to
1026         SwitchBetweenClasses and remove the unused return value.
1027         Handle character styles, too
1028
1029 2005-05-03  Martin Vermeer  <martin.vermeer@hut.fi>
1030
1031         * factory.C (createInset): handle undefined character styles
1032
1033 2005-05-02  Angus Leeming  <leeming@lyx.org>
1034
1035         * buffer.C: protect the #include of utime.h with a preprocessor
1036         guard.
1037
1038 2005-05-02  Angus Leeming  <leeming@lyx.org>
1039
1040         * lyx_cb.C: artificially define fork() on Windows as a no-op failing
1041         function so that auto-saving works, albeit in a blocking manner.
1042
1043         * Makefile.am: make compilation of the client sub directory, of
1044         aspell.C, aspell_local.h, pspell.[Ch] and ispell.[Ch] dependent
1045         on conditionals set at configure time.
1046
1047         * SpellBase.[Ch]: no longer an abstract base class. Instead,
1048         it can be compiled in its own right but has no-op functionality.
1049
1050         * aspell.C, pspell.C: remove preprocessor guards. The files should
1051         be compiled only if the necessary functionality exists.
1052
1053         * lyxserver.C, lyxsocket.C: disable on Windows.
1054
1055 2005-05-01  Martin Vermeer  <martin.vermeer@hut.fi>
1056
1057         * text.C (leftMargin): Fix the parindent use bug (1764)
1058         by dirty trick
1059
1060 2005-04-28  Michael Schmitt  <michael.schmitt@teststep.org>
1061
1062         * lyxlayout.C (Read): transform underscores to spaces in CopyStyle
1063         argument.
1064
1065 2005-04-25  Angus Leeming  <leeming@lyx.org>
1066
1067         * Bidi.[Ch]:
1068         * coordcache.[Ch]:
1069         * ispell.C:
1070         * lyxserver.C:
1071         * mover.C:
1072         * pch.h:
1073         include <config.h> in .C files, not .h ones.
1074         add licence blurb.
1075         protect headers inside preprocessor guards.
1076
1077 2005-04-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1078
1079         * FuncStatus.h (StatusCodes): document
1080
1081 2005-04-21  André Pönitz  <poenitz@gmx.net>
1082
1083         * FuncStatus.h (enabled, onoff): document
1084
1085 2005-04-19  Angus Leeming  <leeming@lyx.org>
1086
1087         * BufferView_pimpl.C (cursorToggle): no longer test whether
1088         any child processes have been reaped before calling
1089         handleCompletedProcesses().
1090
1091 2005-04-19  Martin Vermeer  <martin.vermeer@hut.fi>
1092
1093         * text3.C (dispatch): fix, finally fix, the language problem in
1094         new lyxtexts, without disabling on-the-fly font changes (Helge's
1095         bug report)
1096
1097 2005-04-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1098
1099         * text3.C (dispatch): set cursor on double/triple click events
1100         (bug 1811)
1101
1102 2005-04-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1103
1104         * lyxfunc.C (actOnUpdatedPrefs): avoid warning
1105         (dispatch): update counters and screen after LFUN_TEXTCLASS_APPLY.
1106
1107         * rowpainter.C (paintFirst): simplify the code a little bit. In
1108         particular, remove the test for secnumdepth.
1109         * text.C (setHeightOfRow): only allocate space for chapter number
1110         when updateCounters provided an actual label, instead of looking
1111         at secnumdepth directly.
1112
1113         * lyxlayout.C (LyXLayout): set toclevel to -2 by default.
1114
1115         * buffer_funcs.C (setCounter): only number LABEL_COUNTER
1116         paragraphs when secnumdepth is large enough or, for environments,
1117         when they are not the first in a sequence.
1118
1119 2005-04-17  Angus Leeming  <leeming@lyx.org>
1120
1121         * buffer.C (makeLaTeXFile): replace code to manipulate a path
1122         containing space and '~' characters with a call to latex_path().
1123
1124 2005-04-17  Angus Leeming  <leeming@lyx.org>
1125
1126         * converter.C (convert): protect all args of convertDefault.sh
1127         script with quotes.
1128
1129 2005-04-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1130
1131         * text3.C (dispatch): change the layout to "Caption" after inserting
1132         a float.
1133
1134 2005-04-12  Martin Vermeer  <martin.vermeer@hut.fi>
1135
1136         * text3.C (dispatch): fix language problem in newly created
1137         textinsets (and main text) in non-english docs
1138
1139 2005-04-13  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1140
1141         * lyxfunc.C (getStatus, dispatch): handle LFUN_INSET_APPLY
1142         * text3.C (getStatus, dispatch): don't handle LFUN_INSET_APPLY anymore
1143         * text3.C (getStatus): disable LFUN_INSET_MODIFY
1144
1145 2005-04-12  Martin Vermeer  <martin.vermeer@hut.fi>
1146
1147         * lyxtext.h:
1148         * text.C (metrics):
1149         * text2.C (getFont):
1150         * rowpainter.C (getFont): Fix metrics bug introduced by inset
1151         fonts fix
1152
1153 2005-04-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1154
1155         * paragraph.C (simpleTeXOnePar): add missing '}' in LaTeX
1156         output of \item arguments without trailing text.
1157
1158 2005-04-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1159
1160         * FontIterator.C (operator*): avoid a copy of the font.
1161
1162 2005-04-10  Martin Vermeer  <martin.vermeer@hut.fi>
1163
1164         * rowpainter.C (getFont): fix language bug from previous fix
1165
1166 2005-04-10  Martin Vermeer  <martin.vermeer@hut.fi>
1167
1168         * rowpainter.C (RowPainter, getFont): fix font inside inset
1169         (bugs 1766, 1809)
1170
1171 2005-04-06  Martin Vermeer  <martin.vermeer@hut.fi>
1172
1173         * CutAndPaste.C (eraseSelection): more precise fix for bug 1654,
1174         preventing inserted font, deco, delim insets jumping to start of
1175         surrounding inset.
1176
1177 2005-03-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1178
1179         * lyxfunc.C (dispatch): translate message before sending it to the
1180         minibuffer.
1181
1182 2005-03-29  Angus Leeming  <leeming@lyx.org>
1183
1184         * lyx_main.C (priv_exec): call os::internal_path on each file passed
1185         to LyX on the command line.
1186
1187 2005-03-25  Stephan Witt  <stephan.witt@beusen.de>
1188
1189         * vc-backend.C: use QuoteName to protect file names wherever
1190         necessary.
1191
1192 2005-03-27  Martin Vermeer  <martin.vermeer@hut.fi>
1193
1194         * buffer.[Ch]:
1195         * BranchList.h: fix bugs 1844,1845: document settings don't
1196         stick
1197
1198 2005-03-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1199
1200         * lyxrc.C (setDefaults, read, output, getDescription): add support
1201         for tex_allows_spaces.
1202
1203         * exporter.C (Export): allows files in directory containing spaces
1204         if tex_allows_spaces is true.
1205
1206         * buffer.C (makeLaTeXFile): if the document path contains spaces,
1207         output it in double quotes.
1208
1209 2005-03-22  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1210
1211         * rowpainter.C: use default text height for drawing change tracker
1212         strikeout lines.
1213
1214 2005-03-21  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1215
1216         * lyx_main.C: fix binding of tabulator key (especially S-Tab).
1217
1218 2005-03-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1219
1220         * lyx_main.C (queryUserLyXDir): fix logic when LyX support
1221         directory is missing.
1222
1223 2005-03-11  Martin Vermeer  <martin.vermeer@hut.fi>
1224
1225         * text2.C: fixed the fix, extended to other case.
1226
1227 2005-03-08  Martin Vermeer  <martin.vermeer@hut.fi>
1228
1229         * text2.C: fix for cursor up/down stuck in math [bug 1792]
1230
1231 2005-03-07  Alfredo Braunstein  <abraunst@lyx.org>
1232
1233         * text2.C (cursorUp): get rid of a crash
1234         * text.C (x2pos): add an assert
1235
1236 2005-03-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1237
1238         * lyxfunc.C (getStatus): fix warning when assertions are disabled
1239
1240         * text3.C:
1241         * lyxfunc.C:
1242         * dociterator.C: include <boost/current_function.hpp>, which is
1243         needed when assertions are disabled.
1244
1245 2005-03-05  Johnathan Burchill  <jkerrb@users.sourceforge.net>
1246
1247         * text2.C: fix for stuck cursor when traversing two
1248         consecutive spaces. [bug 1255] (pars_[old.pit()].setChange)
1249
1250 2005-02-25  Andreas Vox  <avox@arcor.de>
1251
1252         * output_docbook.C (makeParagraph): suppress trailing newline
1253         after a run of paragraphs
1254
1255 2005-02-28  Johnathan Burchill  <jkerrb@users.sourceforge.net>
1256
1257         * paragraph.C: fix for confused change tracker when pasting
1258         text that begins with a lineseparator. [bug 1827]
1259         (setChange(0, Change::INSERTED);)
1260
1261         * paragraph_funcs.C: fix for lost changes on triple-paste
1262         in change tracking mode [bug 1827] (par.setChange()).
1263
1264 2005-02-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1265
1266         * text2.C (updateCounters, setCounter, expandLabel): move to
1267         buffer_funcs.
1268
1269         * buffer_funcs.C (updateCounters): turn into a free standing
1270         function and add a buffer parameter. Remove dead code for tracking
1271         labelstring change.
1272         (setCounter): change into a free-standing function which gets a
1273         dociterator as argument. Use this iterator to fix captions in a
1274         simple way. When no float is found above the caption, use the
1275         labelstring of the caption layout as default.
1276
1277         * text.C (breakParagraph, backspace):
1278         * text2.C (init, setLayout, changeDepth):
1279         * text3.C (dispatch):
1280         * CutAndPaste.C (cutSelection, pasteSelection): pass a buffer to
1281         updateCounters.
1282
1283         * dociterator.C (forwardPar): make it much faster by calling
1284         forwardPos() only when really necessary.
1285
1286         * output_docbook.C (makeCommand): adapt to expandLabel move.
1287
1288         * cursor.C: remove unused variable
1289
1290 2005-02-24  Johnathan Burchill  <jkerrb@users.sourceforge.net>
1291
1292         * paragraph_funcs.C: fix crash when pasting insets in change
1293         tracking mode [bug 1277] (honour change type in moveItem).
1294
1295 2005-02-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1296
1297         * LaTeX.C (scanLogFile): recognize pdfTeX warnings
1298
1299 2005-02-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1300
1301         * BufferView.C (setCursor): change to use a DocIterator.
1302         (gotoLabel): use BufferView::setCursor (other part of bug 781).
1303         (putSelectionAt): adapt to BufferView::setCursor change.
1304
1305         * bufferview_funcs.C (gotoNextInset, gotoInset): new functions,
1306         moved here from LyXText and rewritten to use proper cursor
1307         methods. Fixes bug 1787, 616 and 835.
1308
1309         * BufferView_pimpl.C (restorePosition): set the cursor correctly
1310         when inside an inset (part of bug 781).
1311         (dispatch): adapt to change of BufferView::setCursor.
1312         (getStatus, dispatch): handle LFUN_GOTOERROR,
1313         LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
1314
1315         * text3.C (getStatus, dispatch): do not handle LFUN_GOTOERROR,
1316         LFUN_GOTONOTE and LFUN_REFERENCE_GOTO.
1317         * text3.C (gotoNextInset, gotoInset): removed.
1318
1319 2005-02-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1320
1321         * lyx_main.C (queryUserLyXDir): fix test for rerunning configure
1322
1323 2005-02-15  Angus Leeming  <leeming@lyx.org>
1324
1325         * rowpainter.C (paintText): Ensure that "paragraphs().size() - 1"
1326         can be used meaningfully in a comparison.
1327
1328 2005-02-13  André Pönitz  <poenitz@gmx.net>
1329
1330         * bufferview_funcs.C (coordOffset): improve cursor drawing
1331
1332 2005-02-13  André Pönitz  <poenitz@gmx.net>
1333
1334         * Cursor.[Ch] (fixIfBroken): new method, try to fix a broken cursor
1335         * Cursor.C (dispatch): use fixIfBroken
1336         * lyxfunc.C (getStatus): use fixIfBroken
1337
1338 2005-02-15  Angus Leeming  <leeming@lyx.org>
1339
1340         * lyx_main.C (error_handler):
1341         * lyxfunc.C:
1342         * lyxrc.C (setDefaults):
1343         s/GetEnv/getEnv/.
1344         #include "environment.h".
1345
1346         * lyxsocket.C (LyXServerSocket): s/putenv/setEnv/.
1347
1348 2005-02-15  Angus Leeming  <leeming@lyx.org>
1349
1350         * lyxserver.C (startPipe): squash MSVC warning "local variable
1351         'fd' used without having been initialized".
1352
1353 2005-02-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1354
1355         * BufferView_pimpl.C: revert accidental commit.
1356
1357 2005-02-14  André Pönitz  <poenitz@gmx.net>
1358
1359         * dociterator.[Ch]: new member forwardPosNoDescent(),
1360         which doesn't enter nested insets.
1361         * text2.C (setFont): use forwardPosNoDescent() instead
1362         of ForwardPos() (fixes crash on font change).
1363
1364 2005-02-13  Angus Leeming  <leeming@lyx.org>
1365
1366         * lyx_main.C (init): invoke prependEnvPath to adjust the PATH
1367         only if lyxrc.path_prefix is not empty.
1368
1369 2005-02-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1370
1371         * bufferparams.C (readGraphicsDriver): prevent crash
1372
1373 2005-02-10  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1374
1375         * text2.C (setCounter): check for inInset() == 0
1376
1377 2005-02-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1378
1379         * BufferView_pimpl.C (dispatch): handle LFUN_GOTO_PARAGRAPH here,
1380         but use update() to get correct screen display; use convert
1381         instead of istringstream.
1382         (getStatus): handle LFUN_GOTO_PARAGRAPH
1383
1384         * lyxfunc.C (dispatch, getStatus): do not handle
1385         LFUN_GOTO_PARAGRAPH here.
1386
1387 2005-02-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
1388
1389         * text3.C (dispatch): size() -> depth()
1390
1391         * text2.C: remove some debug output
1392
1393         * paragraph.C: ws changes only
1394
1395         * lyxfunc.C (getStatus): size() -> depth()
1396
1397         * dociterator.h (clear, push_back, pop_back, internalData,
1398         operator[], resize, empty): new functions
1399         Make StableDocIterator and operator== be friends. Don't inherit
1400         from std::vector use a privat class variable slices_ instead.
1401         Modify to fit.
1402
1403         * dociterator.C: update because of not inheriting from std::vector
1404         anymore. Call explictly to slices_ instead. Use depth() instead of
1405         size() and top() instead of back()
1406
1407         * cursor.C: chagne size() -> depth and back() -> top(). Also
1408         remove some direct operator[](i) calls in favour of foo[i]
1409         (getFont): remove some dead code
1410
1411         * bufferview_funcs.C (coordOffset): size() -> depth()
1412
1413         * buffer.C: ws changes only
1414
1415         * CutAndPaste.C (eraseSelection): back() -> top()
1416
1417         * BufferView_pimpl.C (selectionRequested): back() -> top()
1418
1419         * BufferView.C (setCursor): size() -> depth()
1420
1421 2005-02-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
1422
1423         * text3.C (cursorPrevious): return true if depm changed something
1424         (cursorNext): ditto
1425         (dispatch): rename sl to oldTopSlice, remove moving use the new
1426         NoUpdate func attrib instead. Make sure that needsUpdate is set
1427         for function that have NoUpdate, but where depm might have changed
1428         the buffer anyway.
1429
1430         * text2.C (cursorLeft): make us return true if depm changed
1431         something
1432         (cursorRight): ditto
1433         (cursorUpParagraph): ditto
1434         (curosrDownParagraph): ditto
1435         (cursorUp, cursorDown): ditto, make sure to read comments in code
1436         (deleteEmptyParagraphMechanism): remove an assert, also return
1437         true if just a single char was deleted.
1438
1439         * text.C (cursorRightOneWord, cursorLeftOneWord): use a temp
1440         cursor that we modify, to avoid modifying an active cursor before
1441         we call setCursor. This allows depm to run. Also return true if
1442         depm deleted something.
1443
1444         * lyxtext.h: Make cursorUp, cursorDown, cursorLeft, cursorRight,
1445         cursorLeftOneWord, cursorRightOneWord, cursorUpParagraph,
1446         cursorDownParagraph, cursorPrevious and cursorNext, return true if
1447         something was changed in the buffer because of them (ie. depm run)
1448
1449         * lyxfunc.C (processKeySym): add BOOST_CURRENT_FUNCTION to some
1450         debug messages. Make update by default be false. Make sure that
1451         the result of update is retained throught several calls down to
1452         dispatch.
1453
1454         * LyXAction.h: add a new func_attrib: NoUpdate
1455
1456         * LyXAction.C (init): add noupdate to LFUN_LEFT, LFUN_RIGHT,
1457         LFUN_DOWN, LFUN_HOME, LFUN_END, LFUN_DOWN_PARAGRAPH,
1458         LFUN_UP_PARAGRAPH, LFUN_NEXT, LFUN_PRIOR, LFUN_UP, LFUN_WORDRIGHT
1459         and LFUN_WORDLEFT
1460         (init): add missing lfuns: LFUN_FINISHED_*, LFUN_MOUSE_*
1461
1462 2005-02-07  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1463
1464         * BufferView_pimpl.C: replace all occurences of bv_->cursor(),
1465         bv_->owner(), bv_->buffer() by direct references to the private
1466         members.
1467         (MenuInsertLyXFile): replace bv_->resize() with resizeCurrentBuffer.
1468         (getStatus): isSavedPosition() is in BufferView::Pimpl.
1469         (fitCursor): center() is in BufferView::Pimpl.
1470         (getStatus, trackChanges, dispatch): no need for a temporary buf
1471         variable
1472         (fitCursor, workAreaDispatch): use workarea().workheight()
1473
1474 2005-02-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1475
1476         * CutAndPaste.C (pasteSelectionHelper): fix a crash
1477
1478 2005-02-03  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1479
1480         * buffer.C: format up to 241.
1481         * CutAndPaste.C (pasteSelectionHelper): convert newline to paragraph
1482         break if pasting into ERT
1483         * lyxfunc.C (getStatus): suppress mathpanel and
1484         LFUN_DIALOG_SHOW_NEW_INSET in ERT
1485
1486 2005-02-01  Angus Leeming  <leeming@lyx.org>
1487
1488         * lyxrc.C (getDescription): add a description for RC_PATH_PREFIX.
1489
1490 2005-02-01  Angus Leeming  <leeming@lyx.org>
1491
1492         * lyx_main.C (init, queryUserLyXDir): use fs::exists() before
1493         calling fs::is_directory().
1494
1495 2005-01-31  Angus Leeming  <leeming@lyx.org>
1496
1497         * lyx_main.C (priv_exec): specify explicitly the relative location
1498         of the top level build directory when run in-place.
1499
1500 2005-01-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1501
1502         * BufferView_pimpl.C (MenuInsertLyXFile): do breakParagraph on the
1503         LyXText containing the cursor, not the top-level one.
1504
1505         * buffer.C (Impl): make sure the toplevel insettext has AutoBreak_
1506         true.
1507         (insertStringAsLines): rename par to pit; use temporary variable
1508         par to hold a Paragraph; do not store par.layout() in a variable,
1509         since the pointer may die when breaking paragraphs; pass pars to
1510         breakParagraph() instead of Buffer::paragraphs().
1511
1512 2005-01-31  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1513
1514         * lyxlex_pimpl.h: #include <fstream>.
1515
1516         * BufferView.[Ch] (getLyXText): add a const version.
1517
1518         * BufferView_pimpl.C: add debug aids.
1519
1520         * RowList_fwd.h:
1521         * buffer.h:
1522         * lyxrow.h:
1523         * paragraph_funcs.h: add commentary explaining what the class does.
1524
1525
1526         * coordcache.[Ch]: add lots of commentary.
1527         (startUpdating, doneUpdating): debug aids.
1528         (arrays, insets, parPos, getParPos): accessors to private data.
1529
1530         * cursor_slice.[Ch] (text): add a const version.
1531         * dociterator.[Ch] (text, innerText): add const versions.
1532
1533         * lyxtext.h (breakParagraph): change the keep_layout arg to a
1534         bool.
1535
1536         * paragraph.C (getRow, pos2ros): add asserts.
1537
1538         * paragraph.h: add commentary. Lots of.
1539
1540         * paragraph.[Ch] (metrucs, draw): removed.
1541
1542         * cursor.C:
1543         * rowpainter.[Ch]: const-correct changes.
1544
1545         * text.C: various obvious clean-ups. Removal of ancient cruft.
1546         Bug fixes, even.
1547
1548 2005-01-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
1549
1550         * vc-backend.C (find_file): rewrite to use boost.filesystem
1551         (scanMaster): ditto
1552
1553         * main.C (main): set default name check for boost.filesystem to
1554         no check
1555
1556         * lyxfunc.C (menuNew): rewrite to use boost.filesystem
1557         (open): ditto
1558         (doImport): ditto
1559         (actOnUpdatedPrefs): ditto
1560
1561         * lyx_main.C (init): rewrite to use boost.filesystem
1562         (queryUserLyXDir): ditto
1563
1564         * lyx_cb.C (WriteAs): rewrite to use boost.filesystem
1565         (getContentsOfAsciiFile): ditto
1566
1567         * lastfiles.C (readFile): rewrite to use boost.filesystem
1568
1569         * exporter.C (checkOverwrite): rewrite to use boost.filesystem
1570
1571         * buffer_funcs.C (readFile): rewrite to use boost.filesystem
1572         (loadLyXFile): ditto
1573
1574         * buffer.C (Buffer): adjust for destroydir
1575         (getLogName): rewrite to use boost.filesystem
1576         (setFileName): ditto
1577         (save): use fs::copy_file (from fs_extras)
1578
1579         * Makefile.am (BOOST_LIBS): add BOOST_FILESYSTEM
1580
1581         * LaTeX.C (run): rewrite to use boost.filesystem
1582         (scanAuxFiles): ditto
1583         (handleFoundFile): ditto
1584
1585 2005-01-28  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1586
1587         * LaTeXFeatures.C (getAvailable): always clear packages_ list.
1588
1589         * lyx_cb.C (Reconfigure): call LaTeXFeatures::getAvailable()
1590
1591 2005-01-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
1592
1593         * lyxlayout.[Ch]: change some vars from float to double
1594
1595         * buffer.C (readFile): make a local var const
1596
1597         * Several files: use convert<> instead of atoi,strToXXX and friends
1598
1599 2005-01-24  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1600
1601         * LaTeXFeatures.[Ch]: Add a static list packages_ that
1602         holds the contents of packages.lst. New functions getAvailable
1603         and isAvailable to parse and check that list, resp.
1604
1605         * LyXAction.C:
1606         * lfuns.h:
1607         * BufferView_pimpl.C: new LFUN_OUTPUT_CHANGES.
1608
1609         * bufferparams.[Ch]: new param output_changes.
1610
1611         * Buffer.C: increase file format to 240.
1612         Use output_changes and isVailable.
1613
1614         * changes.[Ch]:
1615         * paragraph.C:
1616         * paragraph_pimpl.C: Use output_changes and isVailable.
1617
1618 2005-01-23  Angus Leeming  <leeming@lyx.org>
1619
1620         * output_latex.C: #include "insetbibitem.h", rather than
1621         forward declare function bibitemWidest.
1622
1623 2005-01-21  Andreas Vox  <vox@isp.uni-luebeck.de>
1624
1625         * lyx_main.C (init): make it compile on the Mac.
1626
1627 2005-01-20  Angus Leeming  <leeming@lyx.org>
1628
1629         * lyxfont.C (setLyXFamily, setLyXSeries, setLyXShape, setLyXSize)
1630         (setLyXMisc): (char string literal) != (char string literal) is
1631         performing a comparison on the addresses. Convert one operand
1632         explicitly to string to guarantee expected behaviour.
1633         From MSVC warning.
1634
1635 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1636
1637         * buffer.C:
1638         * lyxlex_pimpl.[Ch]: use USE_COMPRESSION guard.
1639
1640         * output_plaintext.C: remove unneeded #include gzstream.h.
1641
1642 2005-01-20  Angus Leeming  <leeming@lyx.org>
1643
1644         * SpellBase.h: rename some of the elements of the Result enum.
1645
1646         * aspell_local.h:
1647         * ispell.h:
1648         * pspell.h:
1649         * aspell.C (check):
1650         * ispell.C (check):
1651         * pspell.C (check): ditto
1652
1653 2005-01-20  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1654
1655         * buffer.C: add #include <fstream>.
1656
1657         * lyx_main.C (init): Compile fix.
1658
1659         * lyxserver.[Ch] (inPipeName, outPipeName): move out of line.
1660
1661 2005-01-20  Angus Leeming  <leeming@lyx.org>
1662
1663         * mover.h: change commentary to reflect the changed meaning of
1664         the $$s placeholder.
1665
1666 2005-01-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1667
1668         * output_linuxdoc.C (linuxdocParagraphs): silence warning
1669
1670         * lyxfind.C (MatchString::operator()): remove bogus semicolon
1671
1672 2005-01-20  Angus Leeming  <leeming@lyx.org>
1673
1674         * output_latex.C (TeXOnePar, TeXEnvironment): prevent crash when
1675         printing diagnostic data by not dereferecing an iterator past the
1676         end.
1677
1678 2005-01-19  Asger Ottar Alstrup  <aalstrup@laerdal.dk>
1679
1680         * buffer.C (readHeader): use "&&" rather than "and".
1681
1682         * lyxserver.h (inPipeName, outPipeName): make these const.
1683
1684 2005-01-19  Angus Leeming  <leeming@lyx.org>
1685
1686         * lyx_main.C (error_handler, init): protect SIGHUP with
1687         #ifdef SIGHUP guards.
1688
1689 2005-01-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1690
1691         * LaTeXFeatures.C: rename feature "wasy" to "wasysym".
1692
1693 2005-01-11  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1694
1695         * text.C (setHeightOfRow): add a margin at the top and bottom of
1696         the document (bug 1761)
1697
1698 2005-01-17  Angus Leeming  <leeming@lyx.org>
1699
1700         * buffer.C (readFile): prepend the name of the "lyx2lyx" script
1701         with "python ". Workaround for a brain-dead Windows.
1702
1703 2005-01-16  Angus Leeming  <leeming@lyx.org>
1704
1705         * lyx_main.[Ch] (init): rewrite code to prepend the CWD to the PATH
1706         for MacOSX and Windows to use prependEnvPath.
1707         Strip out the hard-coded block to add elements to the PATH for
1708         MacOSX and replace it with a call to prependEnvPath using the
1709         contents of LyXRC::path_prefix.
1710         (queryUserLyXDir): strip out the code to run reconfigure, instead
1711         returning a boolean indicating the necessity to do so.
1712         (reconfigureUserLyXDir): contains the code to reconfigure the
1713         user support directory. Is now called after the various LyXRC data
1714         files have been read.
1715
1716         * lyxrc.[Ch]: add path_prefix var and code to read/write it.
1717
1718 2005-01-14  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1719
1720         * converter.[Ch] (convert): take a new parameter try_default. Use
1721         a default converter (imagemagick) if try_default is true.
1722
1723 2005-01-13  Angus Leeming  <leeming@lyx.org>
1724
1725         * lyxrc.C (read): use LyXRC::cygwin_path_fix to set the value of
1726         os::cygwin_path_fix.
1727         (write): output LyXRC::cygwin_path_fix as necessary.
1728
1729 2005-01-02  Kayvan Sylvan  <kayvan@sylvan.com>
1730
1731         * lyxrc.h:
1732         * lyxrc.C (read): Added RC_CYGWIN_PATH_FIX, cygwin_path_fix.
1733
1734 2005-01-12  Angus Leeming  <leeming@lyx.org>
1735
1736         * lyx_main.C (init): set the PATH variable to include the
1737         directory containing the LyX binary when running on Mac or Windows.
1738
1739 2005-01-12  Angus Leeming  <leeming@lyx.org>
1740
1741         * lyx_main.C (init): remove cruft that purports to set the locale
1742         dir. It doesn't and is not needed anyway.
1743
1744 2005-01-10  Angus Leeming  <leeming@lyx.org>
1745
1746         * Makefile.am: remove the lyx_main.C special casing.
1747
1748         * BufferView_pimpl.C:
1749         * bufferlist.C:
1750         * exporter.C:
1751         * lyx_cb.C:
1752         * lyx_main.C:
1753         * lyxfunc.C:
1754         * messages.C: use support/package.h to provide the paths to the
1755         various directories used by LyX.
1756
1757 2005-01-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1758
1759         * CutAndPaste.C (pasteSelectionHelper): fix bug 1332 (preserve the
1760         layout if pasting into an empty paragraph)
1761
1762 2005-01-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
1763
1764         * tex-accent.C: add <string>
1765
1766 2005-01-06  José Matos  <jamatos@lyx.org>
1767
1768         * ParagraphParameters.C (write): put every parameter in its own line.
1769         * paragraph.C (write): reduce number of consecutive empty lines exported.
1770         * buffer.C (LYX_FORMAT): increase file format to 239.
1771
1772 2005-01-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
1773
1774         * everywhere: change support/tostr.h -> support/convert.h
1775
1776         * tabular.C: make all write_attributes templates, tostr -> convert
1777
1778         * paragraph.C (simpleLinuxDocOnePar): fix type for ret from getChar
1779         (emptyTag): and -> &&, and fix type for ret from getChar
1780         (getFirstWord): fix type for ret from getChar
1781         (onlyText): and -> &&
1782         (simpleDocBookOnePar): and not -> && !, fix type for ret from
1783         getChar
1784
1785         * toc.C (goTo, action):
1786         * text3.C (dispatch):
1787         * text.C (currentState):
1788         * tex-accent.C (DoAccent):
1789         * sgml.C:
1790         * lyxrc.C:
1791         * lyxfunc.C (menuNew):
1792         * lyxfinc.C (replace):
1793         * counters.C (laberItem):
1794         * bufferview_funcs.C (font2string):
1795         * bufferparams.C (writeFile):
1796         * buffer.C (readFile):
1797         * Spacing.C (set):
1798         * MenuBackend.C: tostr -> convert
1799
1800         * LaTeX.C (runMessage): fix format
1801         (scanAuxFiles): tostr -> convert
1802
1803         * BufferView_pimpl.C (savePosition): fix format
1804         (restorePosition): ditto
1805         (dispatch): ditto
1806
1807 2005-01-06  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1808
1809         * Spacing.[Ch]: New method getValueAsString().
1810
1811         * Spacing.[Ch]:
1812         * bufferparams.C:
1813         * ParagraphParameters.C:
1814         * lyxlayout.C:
1815         * text.C:
1816         * text3.C: store/read spacing value as string.
1817
1818         * rowpainter.C: change float value (spacing_val) to double.
1819
1820         * bufferparams.C: add Spacing::Other to spacetranslator (fixes
1821         broken custom document spacing).
1822
1823 2005-01-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
1824
1825         * lyxfunc.C (getStatus): moved from lyxfunc.C put into anon
1826         namespace, also more use of temp references and const
1827
1828         * cursor.[Ch] (getStatus): move to lyxfunc.C
1829
1830         * bufferparams.C: reformat slightly
1831
1832         * bufferview_funcs.C (font2string): constify arg
1833
1834         * changes.C:
1835         * converter.C:
1836         * counters.C:
1837         * bufferlist.C:
1838         * buffer_funcs.C: (many funcs): constify arg on function
1839         definitions, also make more local vars const, also add ASSERTS on
1840         pointer args.
1841
1842         * buffer.C (LYX_FORMAT): put const in correct place
1843         (many funcs): constify arg on function definitions, also make
1844         more local vars const
1845
1846         * aspell_local.h: remove "struct" from typdef setup
1847
1848         * aspell.C (check): make word_ok const
1849         (nextMiss): simplify slightly
1850         (error): ditto
1851
1852 2005-01-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1853
1854         * lyxrc.[Ch]: store all float values as strings.
1855         use int (not float) for lyxrc.dpi.
1856
1857 2005-01-04  Angus Leeming  <leeming@lyx.org>
1858
1859         * lyx_cb.C (Reconfigure):
1860         * lyx_main.C (queryUserLyXDir):
1861         to run the <system_lyxdir>/configure correctly on Windows, prefix
1862         the path to the script with "sh " when generating the string that
1863         is passed to system().
1864
1865 2005-01-04  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1866
1867         * text3.C: reintroduce LFUN_{SUB|SUPER}SCRIPT.
1868
1869 2004-12-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1870
1871         * lyxlength.C (asLatexString): get rid of setprecision
1872
1873 2004-12-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1874
1875         * text2.C (setLayout): remove unused variable endpit.
1876         (deleteEmptyParagraphMechanism): remove unused variable tmpcursor.
1877
1878         * paragraph.C (onlyText): remove unused variable style.
1879
1880         * cursor.C (bruteFind): remove unused variables beg and end.
1881
1882         * Makefile.am (dist_noinset_DATA): not needed anymore
1883
1884         * cheaders/*: remove.
1885
1886 2004-12-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1887
1888         * text3.C: fix LFUN_MATH_MODE.
1889
1890 2004-12-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1891
1892         * buffer_funcs.C (countWords): new function. Counts words between
1893         two iterators.
1894
1895         * BufferView_pimpl.C (getStatus, dispatch): handle
1896         LFUN_WORDS_COUNT.
1897
1898         * LyXAction.C (init):
1899         * lfuns.h: add LFUN_WORDS_COUNT.
1900
1901 2004-12-19  Angus Leeming  <leeming@lyx.org>
1902
1903         * buffer.C (save): s/slashify_path/internal_path/.
1904
1905 2004-12-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
1906
1907         * lyxfind.C (findChange): do not search for end of pars, because
1908         the change tracker cannot handle this (fixes bug 1719).
1909
1910 2004-12-17  Alfredo Braunstein  <abraunst@lyx.org>
1911
1912         * paragraph.[Ch] (autoBreakRows): remove
1913
1914         * lyxtext.h: move autoBreakRows_ flag from InsetText to here.
1915
1916         * buffer.[Ch] (insertStringAsLines): receive an autobreakrows bool to
1917         avoid using the paragraph one
1918
1919         * text2.C (LyXText, insertStringAsLines): adjust
1920
1921 2004-12-16  Angus Leeming  <leeming@lyx.org>
1922
1923         * bufferlist.C:
1924         * lyx_main.C:
1925         * messages.C: remove redundant "using lyx::support::GetEnvPath;"
1926
1927 2004-12-14  Angus Leeming  <leeming@lyx.org>
1928
1929         * LaTeX.C: (startscript): use os::nulldev() rather than "/dev/null".
1930
1931         * bufferlist.C (emergencyWrite):
1932         * lyx_main.C (queryUserLyXDir): use os::homepath(), not
1933         GetEnvPath("HOME").
1934
1935 2004-12-14  Angus Leeming  <leeming@lyx.org>
1936
1937         * main.C: (main): no longer pass pointers to os::init.
1938
1939 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
1940
1941         * undo.C (textUndoOrRedo): simplify logic, fix a crash
1942         (performUndoOrRedo): set the inset owner of paragraphs (fix a crash)
1943
1944 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
1945
1946         * lyxfunc.C:
1947         * text3.C: remove selection_possible global flag
1948
1949 2004-12-06  Alfredo Braunstein  <abraunst@lyx.org>
1950
1951         * text2.C (getSelectionSpan): remove
1952         (changeDepth, changeDepthAllowed): adjust
1953
1954 2004-12-05  Lars Gullik Bjønnes  <larsbj@lyx.org>
1955
1956         * Makefile.am (BOOST_LIBS): use boost variables
1957
1958 2004-12-03  José Matos  <jamatos@lyx.org>
1959
1960         * buffer.C: format up to 238.
1961
1962 2004-12-03  José Matos  <jamatos@lyx.org>
1963
1964         * tabular.[Ch]: remove setHeaderFooterRows as this code is never called.
1965
1966 2004-12-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
1967
1968         * cursor.C (goUpDown): remove call to idxUpDown2
1969
1970 2004-12-02  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1971
1972         * tabular.[Ch]: use size_t-like types for cell, row and column
1973         indices
1974
1975 2004-12-01  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1976
1977         * lyxfunc.C (getStatus): do not lose previous information when
1978         calling BufferView::getStatus; do not set a default "Command
1979         disabled" message at the beginning, but just before returning.
1980
1981 2004-11-30  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
1982
1983         * cursor.h (getStatus): add better comment from src/cursor.C
1984
1985 2004-11-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1986
1987         * text3.C (getStatus): return false when the lfun is not handled
1988
1989 2004-11-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
1990
1991         * broken_headers.h: remove
1992
1993         * Makefile.am (lyx_SOURCES): remove broken_headers.h
1994
1995 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
1996
1997         * BufferView.[Ch]: remove top_y, introduce anchor_ref,
1998         offset_ref accessors
1999
2000         * BufferView_Pimpl.[Ch]: introduce anchor_ref_, offser_ref_, remove
2001         top_y_, merge fitcursor with update
2002         (updateScrollbar, scrollDocView, fitCursor, center, update): new
2003         coord scheme
2004         (metrics): introduce
2005         (workAreaDispatch): adapt to new coord scheme
2006         (redoCurrentBuffer): remove
2007
2008         * FontIterator.[Ch]: Use Paragraph & instead of pit_type
2009
2010         * bufferview_funcs.[Ch]: introduce coordOffset, getPos, status,
2011         CurStatus enum.
2012
2013         * coordcache.[Ch]: add paragraph cache and helpers
2014
2015         * CursorSlice.[Ch]: rename CursorSlice::par to CursorSlice::pit,
2016         adjust everywhere
2017
2018         * cursor.[Ch] (getDim): fix, (getPos) use coordOffset
2019         (targetX, setTargetX): introduce
2020
2021         * lyxrow.[Ch]: simplify, remove ascent_of_text, y_offset, rename
2022         baseline -> ascent, as the rest of lyx
2023
2024         * lyxtext.h: remove redoParagraphs, updateParPositions,
2025         fullRebreak, redoParagraphInternal. move dist to anon namespace in
2026         tabular.C (doesn't belong here), remove xo_, yo_ cache, makes it
2027         have ascent/descent (ascent is ascent of first par)
2028
2029         * metricsinfo.h: add ViewMetricsInfo struct to use in the metrics
2030         step of BufferView
2031
2032         * paragraph.[Ch]: unify dimension handling with the rest of lyx
2033
2034         * paragraph_funcs.[Ch] (getParsInRange, outerPar): remove.
2035
2036         * pariterator.C: fix infinite loop introduced in par->pit renaming
2037
2038         * rowPainter.[Ch]: big rewrite: separate drawSelection from draw
2039         in insets and LyXText, draw two off-screen paragraphs using
2040         NullPainter, and adapt to new coord scheme
2041
2042         * text.C:
2043         * text2.C:
2044         * text3.C: adapt lfun handlers to the new coord scheme, which
2045         means: there's only guaranteed coord information for onscreen pars
2046         plus one above and one below. This implies that one can do search
2047         from y coordinates in the range [-1,workHeight]
2048
2049 2004-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2050
2051         * rename a lot of InsetOld to InsetBase
2052
2053 2004-11-25  Angus Leeming  <leeming@lyx.org>
2054
2055         * BufferView_pimpl.C:
2056         * lyx_cb.C:
2057         * lyxfunc.C: s/globbing.h/filefilterlist.h/ in #includes.
2058
2059 2004-11-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2060
2061         * lyxfunc.C (getStatus, dispatch): use FuncStatus::message; only
2062         call BufferView::getStatus if LCursor::getStatus did nothing
2063         (setStatusMessage, getStatusMessage): removed.
2064
2065         * FuncStatus.C (message): new methods. Used to provide an error
2066         message indicating why a command is disabled.
2067         (clear, |=, FuncStatus): update for message.
2068
2069 2004-11-23  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2070
2071         * lyxfunc.C (dispatch): always call sendDispatchMessage
2072
2073 2004-11-24  Alfredo Braunstein  <abraunst@lyx.org>
2074
2075         * BufferView.C:
2076         * BufferView_pimpl.C:
2077         * CutAndPaste.C:
2078         * FontIterator.C:
2079         * buffer.C:
2080         * cursor.C:
2081         * cursor_slice.[Ch]:
2082         * dociterator.[Ch]:
2083         * lyxfind.C:
2084         * paragraph_funcs.C:
2085         * pariterator.C:
2086         * rowpainter.C:
2087         * text.C:
2088         * text2.C:
2089         * text3.C:
2090         * undo.C: par->pit renaming
2091
2092 2004-11-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
2093
2094         * tabular.C (cellstruct): use initialization, store a shared_ptr
2095         to insettext instead of the insettext directly, adjust to fit.
2096         (operator=):  new function
2097         (swap): new function
2098         (rowstruct): use initialization
2099         (columnstruct): use initialization
2100         (ltType): use initialization
2101
2102
2103         * lyxlength.h (swap): new function
2104
2105         * LColor.[Ch] (operator=): use the common semantics
2106
2107 2004-11-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2108
2109         * lyxfind.C (findNextChange): update the bufferview after setting
2110         the selection.
2111
2112 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2113
2114         * text3.C (getStatus): disable LFUN_INSET_OPTARG when the max
2115         number of InsetOptArgs has already been inserted.
2116
2117         * output_latex.C (latexOptArgInsets): new method. This outputs all
2118         the optarg insets, up to the limit defined in the layout file.
2119         (optArgInset): removed
2120         (TeXOnePar): call latexOptArgInsets; correctly update texrow
2121
2122 2004-11-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2123
2124         * paragraph.C (isLetter): remove special spellchecker-related
2125         code; return true also for digits
2126         (isWord, isKomma): remove
2127
2128         * text.C (cursorRightOneWord, cursorLeftOneWord, getWord):
2129         * lyxfind.C (MatchString()): use isLetter instead of isWord
2130
2131 2004-11-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
2132
2133         * pariterator.h (operatir=): comment out un-implemented member
2134         function.
2135
2136         * paragraph.h: resolve ambiguity found by gcc 4.0 with the use of a
2137         static cast.
2138
2139 2004-11-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
2140
2141         * lyxfont.h: include LColor.h to satisfy concept checks.
2142
2143 2004-11-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2144
2145         * pariterator.h: add typdefs for value_type, difference_type,
2146         pointer and reference to satisfy concept checks. Also add default
2147         constructor for same reason.
2148
2149         * pariterator.C (operator++): add post-increment operator to
2150         satisfy concept checks.
2151
2152         * lyxtextclasslist.h: include lyxtextclass.h to satisfy concept
2153         checks.
2154
2155         * RowList_fwd.h: include lyxrow.h to satisfy concept checks.
2156
2157         * ParagraphList_fwd.h: include paragraph.h to satisfy concept
2158         checks. Also rename base_type to BaseType to follow naming
2159         standard better.
2160
2161         * FloatList.h: include Floating.h to satisfy concept checks.
2162
2163 2004-11-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2164
2165         * lyxfunc.C (getStatus): when the origin of the request is menu or
2166         toolbar, and the LyXView does not have focus, do as if there was
2167         no buffer (bug 1720)
2168
2169         * lyxfunc.C (getStatus, dispatch): propagate the origin of a
2170         FuncRequest to individual entries of LFUN_SEQUENCE
2171
2172 2004-11-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2173
2174         * output_latex.C (TeXOnePar): override runparams.moving_arg
2175         according to the needprotect value of the current paragraph (bug
2176         1739)
2177
2178         * paragraph.C (simpleTeXOnePar): no need to override
2179         runparams.moving_args here
2180
2181 2004-11-14  John Spray  <spray_john@users.sourceforge.net>
2182
2183         * vspace.C: fix off-by-one-error, related to fix #1682
2184
2185 2004-11-11  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2186
2187         * lengthcommon.C: a more general fix for bug 1682
2188
2189 2004-11-11  Alfredo Braunstein  <abraunst@lyx.org>
2190
2191         * text.C (backspace): fix crash
2192
2193 2004-11-09  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2194
2195         * format.[Ch] (getFormatFromFile): new method
2196         * exporter.C: s/getFormatFromContents/formats.getFormatFromFile/
2197
2198 2004-11-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2199
2200         * lengthcommon.C (unitFromString): fix off-by-one error (bug 1682)
2201
2202 2004-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2203
2204         * lyxfunc.C (dispatch): remove the verbose argument
2205         (sendDispatchMessage): ditto. Use the origin of the FuncRequest
2206         instead
2207
2208         * kbmap.C (defkey): set the origin of func to KEYBOARD
2209
2210         * MenuBackend.C (MenuItem):
2211         * ToolbarBackend.C (add): set the origin of func to UI
2212
2213         * funcrequest.[Ch]: add origin member, which indicates which part
2214         of LyX requests an action
2215
2216 2004-11-07  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2217
2218         * converter.C (move): don't lie in the error message
2219         * converter.h (isReachable, move): document
2220
2221 2004-11-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
2222
2223         * buffer.C: remove unused using lyx::support::atoi
2224         * paragraph_funcs.C: ditto
2225
2226 2004-11-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
2227
2228         * bufferlist.C (exists): use bind and equal_to instead of
2229         compare_memfun
2230         (getBuffer): ditto
2231         * lyxtextclasslist.C (NumberOfClass): ditto
2232
2233         * cursor.C (insert): use for_each instead of explicit for loop
2234
2235         * bufferlist.C (getFileNames): use std::transform and
2236         std::back_inserter instead of std::copy and lyx::back_inserter_fun.
2237
2238         * buffer_funcs.C (bufferErrors): use for_each instead of explicit
2239         for loop
2240
2241         * buffer.C (changeLanguage): use for_each instead of explicit for
2242         loop
2243         (hasParWithID): implement using getParFromID
2244
2245         * LaTeXFeatures.C: ws change only
2246
2247         * CutAndPaste.C (replaceSelectionWithString): Use a temporary var
2248         to cleanup a bit.
2249
2250         * BufferView_pimpl.C (trackChanges): use for_each instead of
2251         expilicit for loop
2252
2253 2004-11-04  André Pönitz  <poenitz@gmx.net>
2254
2255         * undo.h:
2256         * undo.C (textUndoOrRedo): fix crash when creating undo information.
2257
2258         * dociterator.C (asDocIterator): use hard assert again.
2259
2260 2004-11-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2261
2262         * lyxlength.C (asLatexString): rewrite so that it does not use
2263         snprintf anymore
2264
2265 2004-11-02  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2266
2267         * text3.C (specialChar, dispatch): make sure cursor moves to the
2268         right after inserting an inset
2269
2270 2004-11-02  José Matos  <jamatos@lyx.org>
2271
2272         * output_docbook.C (docbook):
2273         * paragraph.C (getID):
2274         * sgml.[Ch] (openTag, cleanID): escape characters inside ids to
2275         garantee that the output is always legal.
2276
2277         * tabular.C (docbook):
2278         * outputprams.[Ch]: remove mixed contents.
2279
2280 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2281
2282         * text2.C (setCounter): prevent endless loop
2283
2284 2004-11-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2285
2286         * exporter.C (copyFile): use the mover instead of support::copy()
2287         * exporter.C (Export): pass format and latex name to copyFile()
2288         * exporter.h (addExternalFile): document
2289         * mover.[Ch] (do_copy, do_rename): new methods with 3 arguments
2290
2291 2004-10-31  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2292
2293         * text.C (leftMargin): do not indent paragraphs in charstyle insets.
2294
2295 2004-10-30  José Matos  <jamatos@lyx.org>
2296
2297         * paragraph.[Ch] (onlyText): Checks if the paragraph contains only
2298         text and no inset or font change. This allows to use CDATA
2299         sections just for the whole paragraph.
2300
2301 2004-10-30  José Matos  <jamatos@lyx.org>
2302
2303         * paragraph.C (getFirstWord): remove unused variable.
2304
2305 2004-10-30  José Matos  <jamatos@lyx.org>
2306
2307         * paragraph.C (getFirstWord): the content should always be escaped
2308         there.
2309         (simpleDocBookOnePar):
2310         * output_docbook.C (makeEnvironment): replace reference to CDATA
2311         to style pass_thru.
2312
2313 2004-10-30  José Matos  <jamatos@lyx.org>
2314
2315         * paragraph.C (simpleDocBookOnePar): fix reference to CDATA.
2316
2317 2004-10-30  José Matos  <jamatos@lyx.org>
2318
2319         * output_docbook.C (makeParagraphs):
2320         * paragraph.[Ch] (emptyTag): for docbook and company, if the
2321         standard paragraph has only a given type of content drop the wrapper.
2322
2323 2004-10-29  José Matos  <jamatos@lyx.org>
2324
2325         * output_docbook.C (makeEnvironment):
2326         * sgml.C (openTag):
2327         * paragraph.[Ch] (getID): rename function, and return it enclosed in id="...".
2328
2329 2004-10-29 Andreas Vox  <vox@isp.uni-luebeck.de>
2330
2331         * sgml.[Ch] (uniqueID): returns a unique id for a given label.
2332         (cleanID): sanitize any id.
2333
2334 2004-10-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2335
2336         * buffer.C, lyxlex_pimpl.C:
2337         * lyxlex_pimpl.C (setFile):
2338         s/getExtFromContents/getFormatFromContents/
2339
2340 2004-10-28  José Matos  <jamatos@lyx.org>
2341
2342         * output_docbook.C (makeEnvironment): move id to broadest possible
2343         scope.
2344
2345         * sgml.C (openTag): apply substitution of <> for all attributes.
2346
2347 2004-10-28  José Matos  <jamatos@lyx.org>
2348
2349         * buffer.C (makeLinuxDocFile, makeDocBookFile):
2350         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2351         * output_linuxdoc.C (linuxdocParagraphs): use new openTag and closeTag.
2352
2353         * sgml.[Ch]: new version for open and closeTag for paragraph and
2354         for strings. Now they handle the ids of paragraphs.
2355
2356 2004-10-26  Angus Leeming  <leeming@lyx.org>
2357
2358         * Makefile.am: add mover.[Ch].
2359
2360         * converter.C (convert, move): use the new Movers to move external
2361         files to the temp directory.
2362
2363         * lyx_main.C (init): ensure that the global system_movers data
2364         is initialised.
2365
2366         * lyxrc.[Ch]: code to read and write 'copiers' from/to the
2367         preferences file.
2368
2369         * mover.[Ch]: new files, defining a Mover as a utility to move an
2370         external file between directories and, if necessary, manipulate this
2371         file using a helper script.
2372
2373 2004-10-25  José Matos  <jamatos@lyx.org>
2374
2375         * output_docbook.C (makeCommand): merge two if's that tested the
2376         same condition.
2377
2378 2004-10-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2379
2380         * sgml.C (escapeString): fix warning in a better way
2381
2382 2004-10-25  José Matos  <jamatos@lyx.org>
2383
2384         * sgml.C (escapeString): import the require boosts header file for
2385         tie, and avoid a signed unsigned comparison.
2386
2387 2004-10-25  José Matos  <jamatos@lyx.org>
2388
2389         * sgml.h: add #include <string>
2390
2391 2004-10-25  José Matos  <jamatos@lyx.org>
2392
2393         * sgml.[Ch] (escapeString): new function to escape all the string.
2394
2395 2004-10-24  José Matos  <jamatos@lyx.org>
2396
2397         * paragraph.[Ch] (getFirstWord): new function to get the first
2398         word. Useful for description.
2399         (simpleDocBookOnePar): remove depth argument, add another that
2400         says where to start the paragraph.
2401
2402         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2403         use the new functions to fix cleanly the support for descriptions.
2404
2405 2004-10-24  José Matos  <jamatos@lyx.org>
2406
2407         * buffer.C (makeLinuxDocFile, makeDocBookFile):
2408         * output_docbook.C (makeParagraph, makeEnvironment, makeCommand):
2409         * output_linuxdoc.C (linuxdocParagraphs):
2410         * sgml.[Ch] (openTag): )move paragraph counting code to openTag, and
2411         add buffer as argument.
2412
2413 2004-10-24  José Matos  <jamatos@lyx.org>
2414
2415         * output_docbook.C (makeEnvironment, searchEnvironment): place
2416         CDATA inside paragraphs and fix scope for listitems.
2417
2418 2004-10-24  José Matos  <jamatos@lyx.org>
2419
2420         * output_docbook.C: remove using statement for stack.
2421
2422 2004-10-23  José Matos  <jamatos@lyx.org>
2423
2424         * buffer.C (makeDocBookFile): reorganize the comments about lyx.
2425         * output_docbook.[Ch]: new functions to encapsulate the way lyx exports
2426         docbook. The new scheme is recursive and makes use of iterators, the
2427         same as latex export works.
2428         * paragraph.C (simpleDocBookOnePar): removed coud that does not deal
2429         directly with the paragraph contents. This code was moved up to
2430         output_docbook.C (docbookParagraphs).
2431         * sgml.C (openTag, closeTag): removed unneeded newlines.
2432         (closeEnvTags) removed.
2433
2434 2004-10-23  André Pönitz  <poenitz@gmx.net>
2435
2436         * undo.C (textUndoOrRedo):
2437         * dociterator.C (asDocIterator): work around crash
2438
2439         * cursor.C (getStatus): replace ASSERT by more verbose error message
2440           and manual correction of the problem. Should increase stability
2441           while providing more sensible information.
2442
2443 2004-10-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2444
2445         * lyxfunc.C (getStatus,dispatch): handle LFUN_(PREVIOUS|NEXT)BUFFER
2446
2447         * bufferlist.C (previous, next): new methods
2448
2449         * lfuns.h:
2450         * LyXAction.C (init): add LFUN_NEXTBUFFER and LFUN_PREVIOUSBUFFER
2451
2452 2004-10-18  Andreas Vox  <vox@isp.uni-luebeck.de>
2453
2454         * buffer.C (makeDocBookFile): add dsssl stylesheet control
2455         entities to preamble.
2456
2457 2004-10-18  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2458
2459         * messages.C (Pimpl): strip off translation context information
2460
2461 2004-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2462
2463         * BufferView_pimpl.C (setBuffer): when closing a buffer, make sure
2464         the cursor is correct (bug 1694)
2465
2466 2004-10-13  José Matos  <jamatos@lyx.org>
2467
2468         * output_docbook.C (docbookParagraphs): fix closing tags in the
2469         end of the document.
2470
2471 2004-10-09  José Matos  <jamatos@lyx.org>
2472
2473         * buffer.C: format up to 237.
2474         * bufferparams.C (write): use tostr to convert booleans to strings.
2475
2476 2004-10-08  Martin Vermeer  <martin.vermeer@hut.fi>
2477
2478         * lyxrc.C: add to tooltip about using xindy to prefs (xforms)
2479
2480 2004-10-07  Martin Vermeer  <martin.vermeer@hut.fi>
2481
2482         * LaTeX.C: implement use of babel language in xindy.
2483
2484 2004-10-05  José Matos  <jamatos@lyx.org>
2485
2486         * bufferparams.[Ch] (readBullets, readBulletsLaTeX): new methods.
2487         Add new translators to help reading and writing the lyx file.
2488
2489 2004-10-05  José Matos  <jamatos@lyx.org>
2490
2491         * ParagraphParameters.C (read):
2492         * text.C (readParToken): replace nexToken by more appropriate lex
2493         methods.
2494
2495 2004-10-05  Hartmut Haase  <hha4491@atomstromfrei.de>
2496
2497         * LaTeX.C (runMakeIndex):
2498         * lyxrc.[Ch] (read, write, getDescription): make the indexing command
2499         (usually 'makeindex') configurable.
2500
2501         * lastfiles.h (maxlastfiles): define the maximum number of 'lastfiles'
2502         with a variable rather than with a number.
2503
2504 2004-09-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2505
2506         * output_latex.C (TeXOnePar): make sure font setting is the first
2507         thing that gets output (and the last at the end). Should fix bug
2508         1404.
2509
2510 2004-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
2511
2512         * pch.h: use proper signal include
2513
2514         * LaTeX.h: Use preferred calling of Boost.Signal
2515         * buffer.h: ditto
2516
2517 2004-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
2518
2519         * pch.h: dont include <boost/function/function0.hpp>
2520
2521         * Makefile.am (lyx_SOURCES): remove ShareContainer.h
2522
2523         * paragraph_pimpl.h: remove usage of ShareContainer
2524
2525         * paragraph_pimpl.C: remove initialization of ShareContainer.
2526
2527 2004-09-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2528
2529         Fix bug #1666
2530
2531         * BufferView.C (putSelectionAt): change the semantics when
2532         backwards == true: now, this just swaps cursor and anchor wrt the
2533         forward case
2534
2535         * BufferView.h (putSelectionAt): add some documentation
2536
2537         * lyxfind.C (findBackwards): rewrite using while(). In particular,
2538         make sure backwardChar is done at least once (to avoid getting
2539         stuck)
2540         (findNextChange): use putSelectionAt in the forward direction
2541         (operator()): use Paragraph::isWord
2542
2543 2004-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
2544
2545         * Spacing.C (set): c_str fix
2546
2547 2004-09-09  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2548
2549         * lyx_cb.C (Reconfigure): quote the name of configure script in
2550         case it contains spaces
2551
2552 2004-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
2553
2554         * client: new dir
2555
2556         * Makefile.am (SUBDIRS): change order of subdirs and add client dir
2557         (BOOST_LIBS): use top_buildir when looking for the file
2558
2559 2004-08-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
2560
2561         * pch.h: do not use include boost/format.hpp, multiple symbols
2562                 will result (gcc bug)
2563
2564
2565 2004-08-23  José Matos  <jamatos@lyx.org>
2566
2567         * bufferparams.C (readToken): fix reading of the author field.
2568
2569 2004-08-20  José Matos  <jamatos@lyx.org>
2570
2571         * lyxrc.C: remove support/translator.h inclusion since it is not used.
2572
2573 2004-08-20  José Matos  <jamatos@lyx.org>
2574
2575         * lyxlex.[Ch] (findToken): remove function.
2576
2577         * ParagraphParameters.C (findToken):
2578         * bufferparams.C (findToken): replace call for previous function
2579         with local copy. This local function has one more argument, the
2580         read string argument.
2581
2582 2004-08-16  José Matos  <jamatos@lyx.org>
2583
2584         * ParagraphParameters.C (write):
2585         * Spacing.C (writeFile):
2586         * bufferparams.C (writeLaTeX):
2587         * lyx_cb.C (Reconfigure):
2588         * paragraph.C (write):
2589         * tabular.C (write): remove unnecessary space at end of line.
2590
2591
2592 2004-08-16  José Matos  <jamatos@lyx.org>
2593
2594         * text.C (readParagraph): remove debug message.
2595
2596 2004-08-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2597
2598         * tabular.C (asciiBottomHLine, asciiPrintCell, asciiTopHLine): fix
2599         crash
2600
2601         * output_plaintext.C (asciiParagraph): set depth correctly
2602
2603         * outputparams.h: add member depth
2604
2605         * paragraph_funcs.C (ownerPar): remove.
2606
2607         * text2.C (setCounter): remove first_pit; comment out some
2608         non-working code that uses ownerPar
2609
2610         * BufferView.C (getParentLanguage): remove. Not used anymore, and
2611         uses ownerPar
2612
2613 2004-08-16  José Matos  <jamatos@lyx.org>
2614
2615         * text.C (readParToken, readParagraph, read): report all unknown tokens.
2616         For the same level of importance use the same chanel to report problems.
2617         (read): add code to deal with \begin_body and \end_body.
2618
2619
2620 2004-08-15  José Matos  <jamatos@lyx.org>
2621
2622         * lyxlex.C (getString): fix comment, buffer::readBody is now
2623         buffer:readDocument.
2624
2625         * tex-strings.C (string_papersize): Default -> default,
2626         Custom -> custom, for consistency with other options.
2627
2628 2004-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
2629
2630         * pch.h: new file
2631
2632         * Makefile.am: support pch
2633
2634 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2635
2636         * text.C (readParToken): remove the static LyXFont variable and
2637         pass it as a parameter instead. This fixes a nasty bug where an
2638         inset will be inserted with a bad font in some situations
2639         (readParagraph): adapt
2640
2641         * text2.C (setCounter): reduce number of calls to pars_[pit]
2642
2643         * text.C (singleWidth): add an assert, fix a test
2644
2645         * rowpainter.C (paintText): reduce number of calls to singleWidth
2646
2647         * paragraph.C (isHfill):
2648         (isNewline): ws only
2649
2650 2004-08-14  André Pönitz  <poenitz@gmx.net>
2651
2652         * text.C:
2653         * text2.C:
2654         * rowpainter.C:
2655         * lyxtext.h (several functions): use a Paragraph & argument
2656         instead of par_type
2657
2658 2004-08-15  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2659
2660         * metricsinfo.h: add a new field ltr_pos to PainterInfo
2661
2662         * rowpainter.C (paintInset): initialize PainterInfo::ltr_pos
2663
2664         * text.C (singleWidth): remove useless test
2665
2666 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2667
2668         * tabular.h: remove bogus comments
2669
2670         * tabular.C (getDescentOfRow):
2671         (isPartOfMultiColumn): add assertions
2672
2673         * lyxlength.C (inPixels): remove #warning
2674
2675 2004-08-14  André Pönitz  <poenitz@gmx.net>
2676
2677         * paragraph.h: inline getChar()
2678
2679         * BufferView.h: remove unused declarations
2680
2681 2004-08-14  José Matos  <jamatos@lyx.org>
2682
2683         * Buffer.[Ch] (readDocument): new name for old readBody.
2684         * Buffer.C: new file format, new keywords: \begin_document,
2685         \begin_header, \begin_body, \end_body.
2686
2687         * bufferparams.C (readToken): replace all calls to lex.nextToken
2688         by lex.next(). Do the same to eatLine except where really needed.
2689
2690         * lyxfont.C (lyxWriteChanges): remove whitespaces in the end of
2691         line when writing to the lyx file.
2692
2693         * output_plaintext.C (asciiParagraph): fix Bibliography style
2694         handling.
2695
2696         * text.C (read): fix end of file handling.
2697
2698 2004-08-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2699
2700         * MenuBackend.C (Menu::operator[]): new method to access
2701         individual menu items
2702         (Menu::hasFunc): new method. search for an item that corresponds
2703         to a given func
2704         (MenuBackend::specialMenu): new method
2705         (MenuBackend::expand): if a special menu has been set, skip
2706         entries whose func() appears in this menu
2707
2708 2004-08-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
2709
2710         * text3.C: use Debug::DEBUG a bit more
2711
2712         * text.C (leftMargin): try to simplify a tiny bit change var x to
2713         l_margin. Dont output the wide margins always.
2714         (rightMargin): no margin in inner texts
2715
2716         * rowpainter.h (nestMargin): new func
2717         (changebarMargin): new func
2718         (rightMargin): new func
2719
2720         * rowpainter.C (paintDepthBar): changebarMargin and nestMargin is
2721         now functions.
2722         (paintLast): ditto
2723
2724         * factory.C (createInset): modify setDrawFrame
2725
2726         * cursor.C: use Debug::DEBUG a bit more
2727
2728 2004-08-14  André Pönitz  <poenitz@gmx.net>
2729
2730         * coordcache.[Ch]:
2731         * Makefile.am: new files to accomodate an 'external' (x,y)-position
2732         cache for all insets in (at least partially) visible (top-level)
2733         paragraphs.
2734
2735         * BufferView_pimpl.C: reset external coord cache before every update.
2736         This means the coord cache only contains valid entries.
2737
2738 2004-08-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
2739
2740         bug 1096
2741         * BufferView_pimpl.C (getInsetByCode): move function out of class
2742         and change in to a template in anon namespace. Also fix to do what
2743         suits us better.
2744
2745 2004-08-13  Lars Gullik Bjønnes  <larsbj@lyx.org>
2746
2747         bug 1305
2748         * paragraph_funcs.C (moveItem): use Paragraph::value_type instead
2749         of char
2750         (breakParagraph): rename par to par_offset and use a local
2751         reference. Add code to keep the language over a rebreak.
2752         (breakParagraphConservative): rename par to par_offset, use a
2753         local reference
2754         (mergeParagraph): ditto
2755         (outerHook): ditto
2756         (isFirstInSequence): ditto
2757         (outerFont): rename pit to par_offset
2758
2759         * paragraph.C: ws change
2760         * paragraph.h: ditto
2761         * text3.C: ditto
2762         * text.C: ditto
2763
2764 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2765
2766         * paragraph_pimpl.C (simpleTeXSpecialChars): remove special
2767         treatment for ']'
2768
2769         * paragraph.C (simpleTeXOnePar): when we have a \item with
2770         optional argument, enclose the argument with curly brackets (in
2771         case it contains a closing square bracket)
2772
2773         * text2.C (editXY):
2774         * text2.C (editXY):
2775         * text3.C (checkInsetHit): constify
2776
2777 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2778
2779         * LyXAction.C (init): mark LFUN_WORD_FIND as working in read-only
2780         documents (bug 1629)
2781
2782 2004-08-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2783
2784         Fix toggling of collapsable insets with the mouse (bug 1558)
2785
2786         * lyxfunc.C (dispatch): adapt to LCursor changes
2787
2788         * BufferView_pimpl.C (workAreaDispatch): adapt to LCursor changes;
2789         make sure that dispatch is not invoked twice
2790
2791         * cursor.C (needsUpdate): new method
2792         (dispatch): return void
2793         (result): new method, to access the DispatchResult of the cursor.
2794
2795 2004-08-13  José Matos  <jamatos@lyx.org>
2796
2797         * tabular.C (docbook): close empty tags in XML. Fix bug 1147.
2798
2799 2004-08-13  André Pönitz  <poenitz@gmx.net>
2800
2801         * cursor.C (macroModeClose): use plainInsert instead of niceInsert.
2802
2803         * CutAndPaste.C (eraseSelection): fix cursor position after erasing
2804           multiple cells
2805
2806 2004-08-12  André Pönitz  <poenitz@gmx.net>
2807
2808         * text3.C: take out the 'cursor right' form insertInset and only
2809         do it in those places when it is really needed. Fixes crash on
2810         C-m...
2811
2812 2004-08-08  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2813
2814         * lyxfunc.C (dispatch): implement LFUN_SAVE_AS_DEFAULT
2815
2816         * BufferView_pimpl.C (setBuffer): initialize the current font of
2817         the underlying LyXText
2818
2819 2004-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2820
2821         * kbsequence.C (print): use UI native formatting for menu
2822         shortcuts
2823
2824         * text.C (insertChar): call Paragraph::insertChar with a font
2825         argument (cosmetic)
2826
2827         * paragraph.C (insertInset, insertChar): the version that takes a
2828         LyXFont argument is now a wrapper around the other one (the
2829         opposite used to be true).
2830
2831         * paragraph_pimpl.C (insertInset, insertChar): remove the LyXFont
2832         argument. Font setting is done in Paragraph now.
2833
2834 2004-08-04  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2835
2836         * outputparams.h: add new members intitle and lang.
2837
2838         * paragraph.C (simpleTeXOnePar): initialize rp.lang and
2839         rp.intitle. Actually use rp in call to simpleTeXSpecialChars
2840
2841 2004-08-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
2842
2843         * text3.C (dispatch): remove special handling of button 4 and 5,
2844         it is now taken care of in the frontend code.
2845
2846 2004-07-25  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2847
2848         * Spacing.h: add <string> (STLPort compile fix)
2849
2850 2004-08-02  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2851
2852         * LaTeXFeatures.C: (jurabib) \RequirePackage -> \usepackage
2853
2854 2004-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
2855
2856         * lyxlex_pimpl.C (compare_tags): chagne return type of operator()
2857         to bool.
2858
2859         * converter.C (showMessage): inherit from unary_function, make
2860         operator() const.
2861
2862         * buffer.C (writeFile): initialize retval
2863
2864         * InsetList.h: rename private variable list to list_
2865         * InsetList.[Ch]: adjust accordingly.
2866
2867 2004-07-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
2868
2869         * text3.C, text2.C, text.C, tabular.C, paragraph_funcs.C, paragraph.C:
2870         * lyxlength.C, lyxgluelength.C, lyxfunc.C, lyxfont.C, lyxfind.C:
2871         * kbmap.C, funcrequest.C, factory.C, cursor.C, counters.C:
2872         * bufferview_funcs.C, bufferparams.C, buffer.C, Spacing.C:
2873         * ParagraphParameters.C, LaTeXFeatures.C: replace
2874         "support/std_sstream.h" with <sstream>
2875
2876 2004-07-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
2877
2878         * lyxserver.C (startPipe): use this (pointer) not *this (reference)
2879         * lyxsocket.C (LyXServerSocket): ditto
2880         (serverCallback): ditto
2881
2882 2004-07-23  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
2883
2884         * LaTeXFeatures.C: check release date when loading jurabib.
2885
2886 2004-07-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
2887
2888         * lyxserver.C (startPipe): call register_socket_callback
2889         (endPipe): call unregister_socket_callback
2890
2891 2004-07-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
2892
2893         * lyxsocket.C (LyXServerSocket): reduce max outstanding clients to 3
2894         (LyXServerSocket): register the callback
2895         (LyXServerSocket): unregister the callback
2896         (fd): delete function
2897         (serverCallback): improve error checking and setup the callbacks.
2898         (dataCallback): change arg to fd.
2899         (writeln): new func (copied fro the client socket) used for server
2900         write to client.
2901         (LyXDataSocket): simplify
2902         (~LyXDataSocket): close ann unregiser callback
2903         (server): delete function
2904         (fd): delete function
2905         (readln): small changes, improve some std::string usage
2906         (writeln): constify a bit
2907
2908 2004-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2909
2910         * kbmap.C (find1keybinding): new method, only used by LyX/Mac with
2911         Qt frontend
2912
2913 2004-07-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2914
2915         * BufferView_pimpl.C (setBuffer): set the layout combox value only
2916         after it has been populated
2917
2918 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2919
2920         * text2.C (insertInset): move cursor when inserting inset.
2921
2922 2004-06-30  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2923
2924         * kbmap.C (findbindings): a couple of new methods. returns a
2925         container of kb_sequence objects. The real work is done by the
2926         private recursive version
2927         (printbindings): uses findbindings to print out a bracketed list
2928         of bindings (renamed from findbinding).
2929
2930         * MenuBackend.C (binding): use kb_keymap::findbindings
2931
2932         * lyxfunc.C (sendDispatchMessage): use use kb_keymap::printbindings.
2933
2934 2004-07-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
2935
2936         * buffer.C: up LYX_FORMAT to 235 (needed for the paperpackage fix)
2937
2938 2004-06-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2939
2940         * paragraph.C (isWord): return true on insets that report
2941         isLetter().
2942
2943         * text.C (getWord): use Paragraph::isWord to decide what is in a
2944         word and what is not; fix bug 1609.
2945
2946 2004-06-27  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
2947
2948         * tex-strings.C: add "none" to string_paperpackages[], fixes
2949         off-by-one-error in the paperpackage selection.
2950
2951         * lyxlex.[Ch]:
2952         * tex-strings.[Ch]: char const * string[n]
2953         -> char const * const string[]
2954
2955 2004-06-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2956
2957         * lyxfunc.C (getStatus): if lyx_gui::getStatus disables the
2958         command, return early.
2959
2960 2004-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
2961
2962         * debug.h: add DEBUG to enum and fix size of ANY.
2963
2964         * debug.C: add support for Debug::DEBUG
2965         (showTags): cast errorTags.level to unsigned int
2966
2967         * BufferView_pimpl.C (fitCursor): use Debug::DEBUG
2968         (redoCurrentBuffer): ditto
2969         (updateScrollbar): ditto
2970         * cursor.C (dispatch): ditto
2971         * text2.C (setLayout): ditto
2972         (setFont): ditto
2973         (updateCounters): ditto
2974         (editXY): ditto
2975         (deleteEmptyParagraphMechanism): ditto
2976
2977 2004-06-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
2978
2979         * Makefile.am (dist_noinst_DATA): use the dist_ and noinst_
2980         annotations to cleanup the Makefile slightly.
2981
2982 2004-05-10  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
2983
2984         * lyxrc.C: do not set user_email to a default value but use empty
2985         instead. The entry used to be translated, which does not work
2986         since at the point where lyxrc is constructed there is no
2987         translation service available
2988
2989         * messages.C (getLocaleDir): remove and use directly
2990         lyx_localedir() instead
2991
2992 2004-06-02  Angus Leeming  <leeming@lyx.org>
2993
2994         Fix crash caused by dereferencing null pointer 'exportdata' in
2995         OutputParams by creating a new ExportData variable on the heap,
2996         storing it in a boost::shared_ptr.
2997         The crash was triggered when generating an Instant Preview
2998         of an external inset.
2999
3000         * Makefile.am: add outputparams.C
3001
3002         * outputparams.[Ch]: store exportdata as a shared_ptr<Exportdata>.
3003         (c-tor): allocate memory to it.
3004
3005         * exporter.C (c-tor): associated changes.
3006
3007 2004-06-01  Angus Leeming  <leeming@lyx.org>
3008
3009         * output_linuxdoc.C (linuxdocParagraphs): Check that the paragraph
3010         contains data before calling isInset(0). (Bug 1513.)
3011
3012 2004-06-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3013
3014         * exporter.C (checkOverwrite): new method
3015         * exporter.C (copyFile): new method
3016         * exporter.C (Export): copy referenced files to the document dir
3017         * exporter.[Ch]: new class ExportedFile
3018         * exporter.[Ch]: new class ExportData. Contains currently the
3019         names of referenced external files
3020         * outputparams.h: add exportdata member.
3021
3022 2004-05-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
3023
3024         * Makefile.am (DISTCLEANFILES): add version.C, stamp-version and
3025         version.C-tmp
3026
3027 2004-05-19  Angus Leeming  <leeming@lyx.org>
3028
3029         * LaTeXFeatures.C:
3030         * ToolbarBackend.C:
3031         * bufferparams.C:
3032         * lyxfunc.C: small changes due to the introduction of namespace
3033         lyx::frontend and the moving of namespace biblio to lyx::biblio.
3034
3035 2004-05-18  Alfredo Braunstein  <abraunst@lyx.org>
3036
3037         * text3.C (dispatch): supress update when only moving the cursor
3038         * cursor.C (selHandle): remove commented code
3039
3040 2004-05-17  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3041
3042         * paragraph.C (startTeXParParams): correct column count
3043         * CutAndPaste.C (pasteSelection): remove const_cast
3044         * output_docbook.C (docbookParagraphs): remove const_cast
3045         * output_latex.C (TeXEnvironment, TeXOnePar, TeXDeeper): remove
3046         const_cast and return ParagraphList::const_iterator
3047         * output_linuxdoc.C (linuxdocParagraphs): remove const_cast
3048         * output_plaintext.C (writeFileAscii): remove const_cast
3049         * paragraph.[Ch] (simpleTeXOnePar): make const
3050         * paragraph_funcs.C (outerPar): use const iterators
3051         * paragraph_pimpl.C (validate): use const iterators
3052         * text.C (setHeightOfRow): use const iterators
3053
3054 2004-05-17  Angus Leeming  <leeming@lyx.org>
3055
3056         * lfuns.h:
3057         * LyXAction.C (init): new LFUN_INSET_REFRESH.
3058
3059         * lyxfunc.C (dispatch): in the LFUN_BUFFERPARAMS_APPLY block loop
3060         over all insets and dispatch LFUN_INSET_REFRESH to any citation insets
3061         if the citation engine has changed.
3062
3063 2004-05-14  José Matos  <jamatos@lyx.org>
3064
3065         * buffer.C (makeDocBookFile): add a default Formal Public Identifier
3066         if the textclass does not provide it. Have it different for sgml and
3067         xml.
3068         support the language of document.
3069         * output_docbook.C (docbookParagraphs):
3070         * paragraph.[Ch] (getDocbookId): new function that gets the id of the
3071         first anchor as the id of the paragraph, remove special case code.
3072         * sgml.C (escapeChar): escape only < & >.
3073
3074 2004-05-14  Angus Leeming  <leeming@lyx.org>
3075
3076         * bufferparams.h: move biblio::CiteEngine enum here to minimize
3077         dependencies on src/frontends/controllers/biblio.h. Define a
3078         CiteEngine_enum wrapper class to enable the enum to be forward
3079         declared.
3080
3081 2004-05-12  Angus Leeming  <leeming@lyx.org>
3082
3083         * buffer.C: up LYX_FORMAT to 234.
3084         * bufferparams.[Ch]: replace the three bools, use_natbib, use_jurabib,
3085         use_numerical_citations with a single biblio::CiteEngine cite_engine
3086         variable.
3087         * LaTeXFeatures.C (getPackages): use BufferParams::cite_engine.
3088
3089 2004-05-13  José Matos  <jamatos@lyx.org>
3090
3091         * converter.h:
3092         * converter.C (Converter, readFlags): add xml member.
3093         * outputparams.h: add XML flavor.
3094         * buffer.C (makeDocBookFile): add support for the sgml/xml distinction.
3095
3096 2004-05-03  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3097
3098         * lyxfunc.C (dispatch):
3099         (getStatus): fix handling of LFUN_SEQUENCE
3100
3101 2004-04-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3102
3103         * debug.C (showLevel): do not forget the end-of-line marker
3104
3105 2004-04-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3106
3107         * kbmap.C (read): do not stop parsing a bind file when an error
3108         occurs (bug 1575)
3109
3110 2004-04-29  Angus Leeming  <leeming@lyx.org>
3111
3112         * cursor.C:
3113         * factory.C:
3114         * pariterator.C:
3115         * text2.C: wrap a bunch of #warning statements
3116         inside #ifdef WITH_WARNINGS blocks.
3117
3118 2004-04-29  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3119
3120         * buffer.C: increment format to 233.
3121
3122 2004-04-28  Angus Leeming  <leeming@lyx.org>
3123
3124         * BufferView_pimpl.C:
3125         * lyxfunc.C:
3126         * text3.C:
3127         s/updateToolbar()/updateToolbars()/
3128         s/Toolbar.h/Toolbars.h/
3129
3130 2004-04-28  Angus Leeming  <leeming@lyx.org>
3131
3132         * BufferView.[Ch] (c-tor):
3133         * BufferView_pimpl.[Ch] (c-tor): no longer receives x,y position.
3134         No longer passes these data to the WorkArea generator.
3135
3136 2004-04-28  Angus Leeming  <leeming@lyx.org>
3137
3138         * BufferView_pimpl.C (c-tor): pass LyXView & to WorkArea generator.
3139
3140 2004-04-26  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3141
3142         * LaTeXFeatures.C, lyx_sty.[Ch]: add \lyxdot macro
3143
3144 2003-09-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3145
3146         * output_latex.C (TeXEnvironment): make sure that there is a line
3147         break before \end{foo} for the last paragraph of a document
3148         (TeXOnePar): if the paragraph is at the end of the document (or
3149         inset) and the language has to be reset, then make sure that the
3150         line break is _before_ the language command, not after (fixes bug
3151         1225); also make sure that the language reset command is the first
3152         thing after the paragraph (to ensure proper nesting of
3153         environments and thus fix bug 1404)
3154
3155 2004-04-21  John Levon  <levon@movementarian.org>
3156
3157         * ToolbarBackend.h:
3158         * ToolbarBackend.C: make "name" be a programmatic name
3159         and a gui_name field.
3160
3161         * lyxfunc.C: display the minibuffer on M-x
3162
3163 2004-04-18  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3164
3165         * LaTeX.C (runMakeIndex, runBibTeX): quote correctly file name
3166         (bug 1526)
3167
3168 2004-04-19  Angus Leeming  <leeming@lyx.org>
3169
3170         * BufferView_pimpl.C (setBuffer): changed preview interface.
3171
3172         * lyxrc.[Ch] (preview): no longer a bool. Now an enum with three
3173         possible values.
3174
3175 2004-04-19  John Levon  <levon@movementarian.org>
3176
3177         * BufferView_pimpl.C:
3178         * text3.C: fix bug 1569 (insert->label doesn't give suggestion)
3179
3180 2004-04-05  Angus Leeming  <leeming@lyx.org>
3181
3182         * text.C (redoParagraphs): add call to updateCounters(), thereby
3183         fixing the missing "Figure #:" label from the caption of a
3184         figure float.
3185
3186 2004-04-13  Angus Leeming  <leeming@lyx.org>
3187
3188         * text3.C (dispatch): call Inset::.notifyCursorLeaves when the
3189         cursor is clicked out of an inset.
3190
3191 2004-04-13  Angus Leeming  <leeming@lyx.org>
3192
3193         * lyx_main.[Ch] (updateInset): pass it an InsetBase pointer rather
3194         than an InsetOld one.
3195
3196 2004-04-12  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3197
3198         * format.[Ch]: add editor to Format
3199         * lyxrc.[Ch]: merge RC_FORMAT and RC_VIEWER. Add editor to Format
3200         * LyXAction.C, lfuns.h, lyxfunc.C: add lfun LFUN_GRAPHICS_EDIT
3201
3202 2004-04-08  André Pönitz  <poenitz@gmx.net>
3203
3204         * metricsinfo.h: remove PainterInfo::width member
3205
3206 2004-04-08  Angus Leeming  <leeming@lyx.org>
3207
3208         * lyx_sty.C (boldsymbol_def): modify so that it outputs
3209         "\providecommand" rather than "\newcommand", thereby preventing
3210         clashes with packages that define "\boldsymbol" themselves.
3211         Eg, beamer.
3212
3213 2004-04-08  Angus Leeming  <leeming@lyx.org>
3214
3215         * lyxrc.C (read): don't try to set the color of none, inherit, ignore
3216         thereby squashing an unnecessary warning.
3217
3218 2004-04-01  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3219
3220         * LaTeXFeatures.[Ch]: change buffer_ to a pointer and add accessor
3221         setBuffer()
3222
3223 2004-04-07  Alfredo Braunstein  <abraunst@lyx.org>
3224
3225         * BufferView.C (setCursor): call redoParagraph (some insets could
3226         have been opened)
3227         (putSelectionAt): remove the 'double update' trick
3228
3229         * BufferView_pimpl.C (fitCursor): call refreshPar
3230         (workAreaDispatch): remove an uneeded update call
3231         (dispatch): remove some manual update calls
3232
3233         * cursor.[Ch]: remove cached_y_, updatePos
3234         (selHandle): set noUpdate when appropriate
3235
3236         * lyxfunc.C (dispatch): track if we need an update
3237
3238         * metricsinfo.[Ch]: PainterInfo receive a Painter & on construction
3239
3240         * rowpainter.[Ch] (RowPainter): remove superfluous xo_ parameter
3241         (paintSelection): cheap optimization, do not call cursorX when not
3242         needed
3243         (paintPars): change signature
3244         (refreshPar): add
3245         (paintText): adjust
3246         (paintTextInset): adjust
3247
3248         * text.C: adjust
3249
3250 2004-04-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3251
3252         * lengthcommon.C: compilation fix: remove explicit array size from
3253         unit_name[] and friends
3254
3255 2004-04-05  Angus Leeming  <leeming@lyx.org>
3256
3257         * LyXAction.C (init): set LFUN_DIALOG_UPDATE's atrib flag to NoBuffer.
3258
3259         * lyxfunc.C (getStatus): enable LFUN_DIALOG_UPDATE if no buffer is
3260         present only for the preferences dialog.
3261         (dispatch): handle LFUN_DIALOG_UPDATE for the preferences dialog.
3262
3263 2004-04-05  Angus Leeming  <leeming@lyx.org>
3264
3265         * lyxrc.[Ch] (write): now takes a 'bool ignore_system_lyxrc' arg
3266         to enable the frontends to export changes to lyxrc correctly.
3267
3268         * lyxfunc.C (dispatch): output lyxrc.write("preferences", false).
3269
3270 2004-04-07  André Pönitz  <poenitz@gmx.net>
3271
3272         * cursor.[Ch] (selClear, adjust): remove math
3273
3274         * cursor_slice.C: more agressive assert
3275
3276         * lyxfunc.C:
3277         * BufferView_pimpl.C: rework mouse event dispatch
3278
3279         * dociterator.C:
3280         * paragraph.C:
3281         * text2.C:
3282         * text3.C: adjust
3283
3284 2004-04-05  André Pönitz  <poenitz@gmx.net>
3285
3286         * cursor.[Ch] (valign, halign...): remove unneeded functions
3287
3288 2004-04-05  Angus Leeming  <leeming@lyx.org>
3289
3290         * lyxlength.[Ch] (unit_name et al.): const-correct.
3291
3292 2004-04-05  Angus Leeming  <leeming@lyx.org>
3293
3294         * BufferView_pimpl.C:
3295         * buffer.C:
3296         * counters.C:
3297         * cursor.C:
3298         * lyxfunc.C
3299         * paragraph.C:
3300         * pariterator.C:
3301         * text.C:
3302         * text2.C:
3303         * text3.C: wrap #warning calls inside #ifdef WITH_WARNINGS blocks.
3304
3305 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
3306
3307         * text3.C (getStatus): add LFUN_BEGINNINGBUF
3308
3309 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
3310
3311         * lyxfind.C: add a couple of inTexted() tests + other small fixes
3312         * BufferView_pimpl.[Ch] (getStatus)
3313         * BufferView.[Ch] (getStatus): add
3314         * lyxfunc.C (getStatus): move lfuns handled in
3315         BufferView::dispatch to te function above
3316         * Cursor.C (setSelection): set selection() = true
3317
3318 2004-04-01  Alfredo Braunstein  <abraunst@lyx.org>
3319
3320         * lyxfunc.C (getStatus): enable LFUN_WORD_{FIND,REPLACE}
3321
3322 2004-03-31  Angus Leeming  <leeming@lyx.org>
3323
3324         * lyxfunc.C (dispatch): Fall through to the generic
3325         Dialogs::show("preamble").
3326
3327 2004-03-31  Angus Leeming  <leeming@lyx.org>
3328
3329         * lyxfunc.C (dispatch): Fall through to the generic
3330         Dialogs::show("spellchecker").
3331
3332 2004-03-31  Angus Leeming  <leeming@lyx.org>
3333
3334         * lyxfunc.C (getStatus, dispatch): changed invocation of the
3335         preferences dialog.
3336
3337 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
3338
3339         * BufferView.C
3340         * cursor.[Ch]
3341         * dociterator.[Ch]:
3342         * insetiterator.[Ch]:
3343         * lyxfind.C:
3344         * lyxfunc.C:
3345         * pariterator.[Ch]:
3346         * text2.C:
3347         * undo.[Ch]: s/DocumentIterator/DocIterator/g
3348
3349 2004-03-31  Alfredo Braunstein  <abraunst@lyx.org>
3350
3351         * BufferView.C (setCursor, putSelectionAt): call edit to open the
3352         insets where we are putting the cursor.
3353
3354 2004-03-31  Angus Leeming  <leeming@lyx.org>
3355
3356         * lfuns.h:
3357         * LyXAction.C: new lfun LFUN_LYXRC_APPLY.
3358
3359         * lyxrc.[Ch] (read, write): overloaded member functions taking
3360         a std::[io]stream arguments.
3361
3362         * lyxfunc.C (getStatus, dispatch): handle LFUN_LYXRC_APPLY.
3363
3364 2004-03-31  Angus Leeming  <leeming@lyx.org>
3365
3366         * lyxfunc.C (loadTextclass): new helper function, invoked by two of
3367         dispatch's case blocks, LFUN_TEXTCLASS_APPLY and LFUN_TEXTCLASS_LOAD.
3368
3369         * lyxtextclass.C (load): if the text class couldn't be loaded, then
3370         don't overwrite 'loaded_ = false' with 'loaded_ = true' !
3371
3372 2004-03-31  Angus Leeming  <leeming@lyx.org>
3373
3374         * lyxfunc.C (dispatch): remove the cursor-manipulation code from
3375         the LFUN_ALL_INSETS_TOGGLE code.
3376
3377 2004-03-30  Angus Leeming  <leeming@lyx.org>
3378
3379         * lyxfunc.C (dispatch): the specialization Dialogs::showDocument
3380         has died. Fall through to the generic Dialogs::show("document").
3381
3382 2004-03-30  Angus Leeming  <leeming@lyx.org>
3383
3384         * lfuns.h:
3385         * LyXAction.C: new lfuns LFUN_LANGUAGE_BUFFER, LFUN_TEXTCLASS_APPLY,
3386         LFUN_TEXTCLASS_LOAD, LFUN_SAVE_AS_DEFAULT, LFUN_BUFFERPARAMS_APPLY.
3387
3388         * lyxfunc.C (getStatus, dispatch): define the actions for these
3389         lfuns. Little more than a cut and pste job from ControlDocument.C
3390
3391         * lyxtextclass.[Ch] (loaded): accessor for the private bool loaded_.
3392
3393 2004-03-30  Angus Leeming  <leeming@lyx.org>
3394
3395         * lfuns.h:
3396         * LyXAction.C (init): new lfuns, LFUN_KEYMAP_TOGGLE,
3397         LFUN_NEXT_INSET_TOGGLE, LFUN_ALL_INSETS_TOGGLE.
3398
3399         * lyxfunc.C (dispatch): LFUN_ALL_INSETS_TOGGLE is used to toggle the
3400         open/closed state of ollapsable insets. Usage:
3401
3402         all-inset-toggle <state> <name>, where
3403         <state> == "open" || "closed" || "toggle" and
3404         <name> is an identifier for a 'type' of inset. Eg "branch", "ert",...
3405
3406         * lyxtext.h, text2.C (toggleInset): removed.
3407
3408         * text3.C (dispatch): split the existing LFUN_INSET_TOGGLE in two,
3409         LFUN_KEYMAP_TOGGLE and LFUN_NEXT_INSET_TOGGLE. LFUN_NEXT_INSET_TOGGLE
3410         now passes LFUN_INSET_TOGGLE to the found inset.
3411
3412         * InsetList.[Ch] (insetsOpenCloseBranch): removed. Functionality
3413         is now invoked as "all-insets-toggle toggle branch".
3414
3415 2004-03-30  Angus Leeming  <leeming@lyx.org>
3416
3417         * dociterator.C:
3418         * insetiterator.C:
3419         * pariterator.[Ch]: added/corrected header blurb.
3420
3421 2004-03-30  Alfredo Braunstein  <abraunst@lyx.org>
3422
3423         * dociterator.[Ch]: add an inset_ member
3424         (backwardPos): implemented
3425         (backwardPos, forwardPos): use inset_ when the stack is empty.
3426         (doc_iterator_begin, doc_iterator_end): implemented
3427         * pariterator.[Ch]: adjust, add begin, end
3428         * insetiterator.[Ch]: adjust, add begin, end
3429         * cursor.C:
3430         * document.C:
3431         * BufferView.C:
3432         * BufferView_pimpl.C:
3433         * CutAndPaste.C: adjust
3434
3435 2004-03-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3436
3437         * buffer.C: increment file format to 232.
3438         * LaTeXFeatures.C: add bibtopic package.
3439         * bufferparams.[Ch]: param \use_bibtopic.
3440
3441         * lyxrc.[Ch]: add lyxrc bibtex_command
3442         * LaTeX.C: use rc.bibtex_command instead of hardcoded string.
3443
3444         * buffer.C: increment file format to 231.
3445
3446 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
3447
3448         * dociterator.C: implement forwardPar
3449         * iterators.[Ch]: remove, replaced by
3450         * pariterator.[Ch]: this. derive ParIterator from DocumentIterator
3451         * BufferView.C:
3452         * BufferView_pimpl.C:
3453         * CutAndPaste.C:
3454         * buffer.C:
3455         * bufferview_funcs.C:
3456         * cursor.C:
3457         * lyxfind.C
3458         * lyxfunc.C
3459         * paragraph_funcs.C
3460         * toc.C:
3461         * Makefile.am: adjust
3462
3463 2004-03-28  Alfredo Braunstein  <abraunst@lyx.org>
3464
3465         * CutAndPaste.C (pasteSelection): fix 2 crashes
3466         (eraseSelection): fix a crash
3467         * paragraph_funcs.C: remove a warning
3468
3469 2004-03-28  Angus Leeming  <leeming@lyx.org>
3470
3471         * lfuns.h:
3472         * LyXAction.C (init): new LFUN_PRINT.
3473
3474         * lyxfunc.C (getStatus, dispatch): handle LFUN_PRINT.
3475
3476 2004-03-27  Angus Leeming  <leeming@lyx.org>
3477
3478         * lfuns.h:
3479         * LyXAction.C (init): new LFUN_EXPORT_CUSTOM.
3480
3481         * lyxfunc.C (getStatus, dispatch): handle LFUN_EXPORT_CUSTOM.
3482
3483 2004-03-27  Angus Leeming  <leeming@lyx.org>
3484
3485         * paragraph_funcs.C (moveItem): fix memory leaks, ensure that
3486         insetlist always contains non-null pointers to insets.
3487
3488 2004-03-26  Angus Leeming  <leeming@lyx.org>
3489
3490         * src/BufferView_pimpl.C:
3491         * src/CutAndPaste.C:
3492         * src/buffer.C:
3493         * src/iterators.C:
3494         * src/output_plaintext.C:
3495         * src/outputparams.h:
3496         * src/paragraph_funcs.C:
3497         * src/rowpainter.C:
3498         * src/text.C:
3499         * src/text2.C:
3500         * src/frontends/controllers/ControlErrorList.C:
3501         * src/frontends/gtk/FileDialogPrivate.C:
3502         * src/frontends/gtk/GPainter.C:
3503         * src/frontends/gtk/GToolbar.C:
3504         * src/frontends/qt2/QRef.C:
3505         * src/mathed/math_scriptinset.C: squash compiler warnings.
3506
3507 2004-03-26  Angus Leeming  <leeming@lyx.org>
3508
3509         * ispell.C (LaunchIspell::start):
3510         * lyx_cb.C (AutoSaveBuffer::start):
3511         invoke run(DontWait) rather than runNonBlocking().
3512
3513 2004-03-26  Alfredo Braunstein  <abraunst@lyx.org>
3514
3515         * buffer_funcs.C (readFile): add cancel button to two prompt dialogs
3516
3517 2004-03-26  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3518
3519         * kbsequence.C (print): adjust
3520
3521         * kbmap.C (printKeySym): rename and change signature
3522         (printKey): use LyXKeySym::print()
3523
3524 2004-03-26  Martin Vermeer  <martin.vermeer@hut.fi>
3525
3526         * undo.C: add using std::advance to compile for stlport
3527
3528 2004-03-24  Angus Leeming  <leeming@lyx.org>
3529
3530         * lyxfunc.C (dispatch): remove test code in LFUN_QUIT handler as
3531         it leads to a crash when no buffer is present.
3532
3533 2004-03-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3534             Martin Vermeer  <martin.vermeer@hut.fi>
3535
3536         * lyxfunc.C (dispatch):
3537         * bufferparams.C (readToken): use the new LColor::setColor
3538
3539         * LColor.[Ch] (setColor): new version that takes two strings as
3540         argument and creates a new color entry if necessary
3541
3542 2003-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3543
3544         * buffer.C (makeLaTeXFile): if the main latex file that is
3545         processed is usually a subdocument of some master, then pretend
3546         for a while that it is actually the master
3547
3548 2003-02-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
3549
3550         * buffer.C (getLabelList):
3551         (getBibkeyList): use getMasterBuffer()
3552         (getMasterBuffer): new method. Returns the main document in the
3553         case where one is using included documents.
3554
3555 2004-03-25  André Pönitz  <poenitz@gmx.net>
3556
3557         * Makefile.am:
3558         * iterators.[Ch]:
3559         * PosIterator.[Ch]: drop PosIterator, replaced by DocumentIterator
3560
3561         * ParagraphList_fwd.h: change ParagraphList to a std::vector
3562
3563         * CutAndPaste.[Ch]: simpler interface by moving some stuff from
3564         text*.C over here. Rename namespace CutAndPaste to lyx::cap
3565
3566         * ParameterStruct.h: merge with ParagraphParameters
3567
3568         * lyxtext.h: remove LyXText::parOffset() and getPar()
3569
3570         * text3.C: Remove all 'manual' update calls. We do now one per user
3571         interaction which is completely sufficient.
3572
3573         * Bidi.C:
3574         * BufferView.[Ch]:
3575         * BufferView_pimpl.C:
3576         * FontIterator.[Ch]:
3577         * MenuBackend.C:
3578         * ParagraphParameters.[Ch]:
3579         * buffer.C:
3580         * buffer.h:
3581         * bufferlist.C:
3582         * cursor.[Ch]:
3583         * cursor_slice.[Ch]:
3584         * dociterator.[Ch]:
3585         * errorlist.[Ch]:
3586         * factory.C:
3587         * lfuns.h:
3588         * lyxfind.C:
3589         * lyxfunc.C:
3590         * output_docbook.[Ch]:
3591         * output_latex.[Ch]:
3592         * output_linuxdoc.[Ch]:
3593         * output_plaintext.[Ch]:
3594         * paragraph.[Ch]:
3595         * paragraph_funcs.[Ch]:
3596         * paragraph_pimpl.[Ch]:
3597         * rowpainter.C:
3598         * tabular.[Ch]:
3599         * text.C:
3600         * text2.C:
3601         * toc.C:
3602         * undo.[Ch]: adjust
3603
3604         * frontends/controllers/ControlDocument.C:
3605         * frontends/controllers/ControlErrorList.C:
3606         * frontends/controllers/ControlSpellchecker.C:
3607         * insets/inset.C:
3608         * insets/inset.h:
3609         * insets/insetbase.h:
3610         * insets/insetbibitem.C:
3611         * insets/insetbox.C:
3612         * insets/insetbranch.C:
3613         * insets/insetcaption.C:
3614         * insets/insetcharstyle.C:
3615         * insets/insetcharstyle.h:
3616         * insets/insetcollapsable.C:
3617         * insets/insetcollapsable.h:
3618         * insets/insetert.C:
3619         * insets/insetfloat.C:
3620         * insets/insetfoot.C:
3621         * insets/insetmarginal.C:
3622         * insets/insetnote.C:
3623         * insets/insetoptarg.C:
3624         * insets/insettabular.C:
3625         * insets/insettext.C:
3626         * insets/insettext.h:
3627         * insets/insetwrap.C:
3628         * mathed/math_mboxinset.C:
3629         * mathed/math_nestinset.C:
3630         * mathed/math_scriptinset.C:
3631         * mathed/math_scriptinset.h:
3632         * support/types.h:
3633
3634 2004-03-24  Angus Leeming  <leeming@lyx.org>
3635
3636         * BufferView_pimpl.C (cursorToggle): use the cursor toggle to
3637         deal with any child processes that have finished but are waiting to
3638         communicate this fact to the rest of LyX.
3639
3640 2004-03-24  Angus Leeming  <leeming@lyx.org>
3641
3642         64-bit compile fixes.
3643
3644         * errorlist.[Ch] (pos_start, pos_end): store as lyx::pos_type.
3645         (c-tor): pass lyx::pos_types rather than ints.
3646
3647         * paragraph.[Ch] (beginOfBody, begin_of_body_): return, store as
3648         lyx::pos_type.
3649
3650         * text.C (Delete): compile fix.
3651         (getPar): ensure that function declaration is the same as that in
3652         the header file.
3653
3654 2004-03-23  Angus Leeming  <leeming@lyx.org>
3655
3656         * ispell.C (LaunchIspell):
3657         * lyx_cb.C (AutoSaveBuffer): change the signature of clone to return
3658         a boost::shred_ptr rather than a std::auto_ptr.
3659
3660 2004-03-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3661
3662         * lyxfunc.C (getStatus): handle read-only buffers correctly;
3663         handle LFUN_FILE_INSERT_*
3664
3665         * lyxrc.C (setDefaults, getDescription, output, read):
3666         * lyxrc.h: remove ps_command
3667
3668 2004-03-22  Angus Leeming  <leeming@lyx.org>
3669
3670         * lyx_main.C (error_handler, init): remove handler for SIGPIPE.
3671         Ensure that error_handler is processed once only and that all data
3672         is saved before attempting to output any warning messages.
3673
3674         * cursor.[Ch] (nopos_, noPos): remove unused member variable/function.
3675
3676 2004-03-21  Alfredo Braunstein  <abraunst@lyx.org>
3677
3678         * tabular.C (TeXRow): crash fix (from Kayvan and Andr�
3679
3680 2004-03-19  André Pönitz  <poenitz@gmx.net>
3681
3682         * cursor.[Ch] (reset): take main text inset as argument
3683
3684         * BufferView: adjust
3685         * BufferView_pimpl.C: adjust
3686
3687         * paragraph.[Ch]: fix completely broken operator=()
3688
3689 2004-03-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3690
3691         * LColor.C (getFromLyXName): make sure that the color name is used
3692         as lowercase.
3693
3694 2004-03-17  Angus Leeming  <leeming@lyx.org>
3695
3696         * lfuns.h:
3697         * LyXAction.C (init): remove LFUN_FORKS_KILL.
3698
3699         * lyxfunc.C (getStatus, dispatch) remove lfuns to show the forks
3700         dialog and to kill a forked process.
3701
3702 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
3703
3704         * text2.C (setCursorFromCoordinates): fix font problem
3705
3706 2004-03-17  Alfredo Braunstein  <abraunst@lyx.org>
3707
3708         * BufferView_pimpl.C (resizeCurrentBuffer): remove unneeded and
3709         bogus "rebuild cursor" code
3710
3711 2004-03-11  André Pönitz  <poenitz@gmx.net>
3712
3713         * buffer.[Ch]: use InsetText instead of LyXText as container for
3714         the main lyx text.
3715
3716         * dociterator.[Ch]: drop the BufferView * member which is not needed
3717         anymore after the change to buffer.C
3718
3719         * paragraph_funcs.C:
3720         * text.C:
3721         * text2.C:
3722         * BufferView.[Ch]:
3723         * BufferView_pimpl.[Ch]:
3724         * cursor.[Ch]:
3725         * cursor_slice.[Ch]: adjust
3726
3727         * text3.C: fix bug in mathDispatch
3728
3729 2004-03-08  André Pönitz  <poenitz@gmx.net>
3730
3731         * undo.[Ch]: use 'StableDocumentIterator' as base for
3732         the Undo struct.
3733
3734 2004-03-07  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3735
3736         * LaTeXFeatures.C:
3737         * bufferparams.[Ch]: add jurabib support and param.
3738
3739         * LaTeX.C: add FIXME/comment.
3740
3741 2004-03-05  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3742
3743         * buffer.C: increment file format to 230.
3744
3745 2004-03-04  Alfredo Braunstein  <abraunst@lyx.org>
3746
3747         * cursor.C (dispatch): avoid infinite loops
3748
3749 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3750
3751         * rowpainter.C (paintSelection): fix x coordinates
3752
3753 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3754
3755         * text.C (rowBreakPoint): fix breaking before displayed insets
3756
3757 2004-03-01  André Pönitz  <poenitz@gmx.net>
3758
3759         * dociterator.[Ch]: new class for the 'iterator part' of LCursor.
3760
3761         * cursor.[Ch]: adjust, additioally: remove the 'current_' machinery
3762
3763         * Makefile.am:
3764         * BufferView.C:
3765         * BufferView_pimpl.C:
3766         * buffer.C:
3767         * lyxfind.C:
3768         * lyxfunc.C:
3769         * text.C:
3770         * text2.C:
3771         * text3.C: adjust
3772
3773 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3774
3775         * lyxtext.h:
3776         * text.C:
3777         * text2.C:
3778         * rowpainter.C:
3779         * BufferView_pimpl.C: rename textwidth -> maxwidth,
3780         prepareToPrint -> computeRowMetrics and remove textWidth accessor.
3781
3782 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3783
3784         * Bidi.[Ch] (computeTables): const correctness
3785         * lyxrow.[Ch]: add RowMetrics class, move there fill_separator,
3786         fill_hfill, fill_label_hfill and x from Row
3787         * lyxtext.h: prepareToPrint returns a RowMetrics
3788         * rowPainter.C: adjust
3789         * text.C (prepareToPrint): use width, not textWidth. adjust
3790         (redoParagraphInternal, cursorX): adjust
3791         * text2.C (getColumnNearX): adjust
3792         (init): put a default value to the top LyXText::width
3793
3794 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3795
3796         * FontIterator.[Ch]: move FontIterator from lyxtext.h/text.C to here
3797
3798 2004-03-01  Alfredo Braunstein  <abraunst@lyx.org>
3799
3800         * lyxtext.h: add FontIterator class
3801
3802         * text.C (FontIterator, operator*, operator->, operator++): add
3803         (rowBreakPoint, setRowWidth): adjust (fixing a
3804         rebreaking bug)
3805
3806 2004-02-25  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
3807
3808         * BufferView_pimpl.C (workAreaDispatch): allow also
3809         LFUN_FILE_OPEN, which is used by the drag-and-drop code.
3810
3811 2004-02-27  Alfredo Braunstein  <abraunst@lyx.org>
3812
3813         * text.C (rowBreakPoint): fix a bug showing with very large insets
3814
3815 2004-02-25  André Pönitz  <poenitz@gmx.net>
3816
3817         * text3.C:
3818         * cursor.[Ch]: move some mathed specific code to mathed
3819
3820 2004-02-21  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
3821
3822         * lyxrc.C, buffer.C, exporter.C: use always a temp dir, ignore
3823         use_tempdir in preferences
3824         * buffer.C (readFile), lyxvc.C (getLogFile): check success of
3825         tempfile creation
3826         * lyx_main.C: ensure that tempdir is valid
3827         * lyxlex.h: correct typo
3828         * buffer.[Ch] (isMultiLingual), (isUnnamed): make const
3829         * paragraph.[Ch] (isMultiLingual): make const
3830         * cursor.[Ch] (openable): make const
3831
3832 2004-02-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
3833
3834         * text3.C: fixed LFUN_QUOTE and add lfun arguments single/double.
3835
3836 2004-02-20  André Pönitz  <poenitz@gmx.net>
3837
3838         * dispatchresult.h: rename 'FINISHED' to 'FINISHED_LEFT'
3839
3840         * cursor.[Ch]: prepare for localized getStatus()
3841
3842         * lyxtext.h:
3843         * tabular.C:
3844         * text.C:
3845         * text2.C:
3846         * text3.C:  streamlines the LyXText cursor movement handlers a bit.
3847
3848 2004-02-20  André Pönitz  <poenitz@gmx.net>
3849
3850         * lyxfunc.[Ch]: rename view_status_message() to viewStatusMessage()
3851
3852 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
3853
3854         * text2.C (setCursorFromCoordinates): switch to absolute coords
3855         (cursorUp): adjust
3856         (cursorDown): adjust
3857         * text3.C (dispatch): adjust
3858
3859 2004-02-16  André Pönitz  <poenitz@gmx.net>
3860
3861         * cursor.[Ch]: use new '_void_ dispatch(...)' signature (see
3862           insets/ChangeLog)
3863
3864         * cursor_slice.[Ch]: remove unneeded acessor function
3865
3866         * lyxtext.h: rename rtl() to isRTL()
3867
3868         * rowpainter.C:
3869         * tabular.C:
3870         * text.C:
3871         * text2.C:
3872         * text3.C: adjust
3873
3874 2004-02-16  Alfredo Braunstein  <abraunst@lyx.org>
3875
3876         * rowpainter.C (paintSelection): coord fix
3877
3878 2004-02-15  Georg Baum <Georg.Baum@post.rwth-aachen.de>
3879
3880         * Spacing.C: compile fix
3881
3882 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
3883
3884         * cursor.C (dispatch): restore current_ before returning
3885
3886 2004-02-13  Alfredo Braunstein  <abraunst@lyx.org>
3887
3888         * text2.C (cursorUp, cursorDown): fix coords
3889         (moveUp): fix crash
3890
3891 2004-02-12  André Pönitz  <poenitz@gmx.net>
3892
3893         * lyxtext.h:
3894         * text.C:
3895         * text2.C:
3896         * text3.C: add LCursor & parameter to most cursor movement functions
3897           remove usage of LyXText::cursorRow() and cursorPar()
3898
3899         * cursor.[Ch]: add textRow() needed members
3900
3901         * BufferView.C:
3902         * BufferView_pimpl.C:
3903         * paragraph.[Ch]:
3904         * BufferView.C:
3905         * BufferView_pimpl.C: adjust
3906
3907 2004-02-11  André Pönitz  <poenitz@gmx.net>
3908
3909         * lyxfunc.C:
3910         * BufferView.[Ch]:
3911         * BufferView_pimpl.C: shift undo/redo handling
3912
3913         * cursor.[Ch]: fix mathed crash
3914
3915         * lyxfind.C:
3916         * lyxtext.h: move selectionAsText to LCursor
3917
3918         * output_latex.C:
3919         * paragraph.C:
3920         * text.C:
3921         * text2.C:
3922         * text3.C: adjust
3923
3924         * rowpainter.C: fix excessive drawing
3925
3926 2004-02-06  André Pönitz  <poenitz@gmx.net>
3927
3928         * BufferView.[Ch]:
3929         * BufferView_pimpl.[Ch]:
3930         * text3.C: move some text specific LFUN handling
3931
3932 2004-02-06  Alfredo Braunstein  <abraunst@lyx.org>
3933
3934         * text3.C (checkInsetHit): adjust coords
3935         * text2.C (getColumnNearX): adjust coords
3936         (edit): adjust coords
3937         * text.C (getRowNearY): add two asserts
3938
3939 2004-02-06  Martin Vermeer  <martin.vermeer@hut.fi>
3940
3941         * converter.C:
3942         * format.C: add using std::distance to compile on gcc 2.95/stlport
3943
3944 2004-02-04  Martin Vermeer  <martin.vermeer@hut.fi>
3945
3946         * cursor.[Ch]: workaround gcc 2.95 pointer comparison bug
3947
3948 2004-02-04  André Pönitz  <poenitz@gmx.net>
3949
3950         * BufferView.[Ch] (insertInset):
3951         * BufferView_pimpl.[Ch] (insertInset): remove unneeded return value
3952
3953         * text2.C:
3954         * text3.C: adjust
3955
3956 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
3957
3958         * BufferView_pimpl.C (dispatch): remove call to LCursor::dispatch
3959         on the default clause of the switch
3960         * lyxfunc.C (dispatch): call BufferView::dispatch if the event
3961         wasn't catched by LCursor::dispatch
3962
3963 2004-02-03  André Pönitz  <poenitz@gmx.net>
3964
3965         * BufferView.C:
3966         * cursor.[Ch]: some additional asserts
3967
3968         * undo.[Ch]: remove LyXText dependency in interface
3969
3970         * lyxfunc.C: adjust
3971
3972         * lyxtext.h (firstPar, lastPar): remove dead functions
3973
3974         * text.C:
3975         * text2.C:
3976         * text3.C:
3977         * paragraph.[Ch]: adjust
3978
3979 2004-02-03  Alfredo Braunstein  <abraunst@lyx.org>
3980
3981         * lyxfind.C (find): fix argument order in call to ::find
3982
3983 2004-02-02  André Pönitz  <poenitz@gmx.net>
3984
3985         * cursor.[Ch]: remove direct access to anchor
3986
3987         * text.C: remove findText() hack
3988
3989 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
3990
3991         * iterators.[Ch] (lockPath): remove in favour of...
3992         * BufferView.[Ch] (setCursor): this addition
3993         * BufferView.C (putSelectionAt): adjust
3994         * undo.C (performUndoOrRedo): adjust
3995         * lyxfunc.C (dispatch): adjust
3996
3997 2004-02-02  Alfredo Braunstein  <abraunst@lyx.org>
3998
3999         * iterators.C (lockPath): add a missing slice
4000         * undo.C (performUndoOrRedo): remove redundant positioning code
4001
4002 2004-02-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
4003
4004         * vc-backend.C (scanMaster): ";" -> ';'
4005
4006 2004-01-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
4007
4008         * lyxtextclasslist.C (less_textclass_avail_desc): inherit from
4009         std::binary_function
4010
4011         * lyxtextclass.C (compare_name): rename to...
4012         (LayoutNamesEqual): ...this
4013
4014         * lyxlex_pimpl.C (compare_tags): inherit from
4015         std::binary_function, put back into anon namespace
4016
4017         * lyxfind.C (MatchString): inherig from std::binary_function
4018         (findChange): use empty() istead of !size()
4019
4020         * format.C (FormatNamesEqual): new functor
4021         (getFormat): use it
4022         (getNumber): use it
4023         (add): use it
4024         (erase): use it
4025         (setViewer): use it
4026
4027         * converter.C (compare_Converter): rename to...
4028         (ConverterEqual): ...this, and fixup a bit.
4029         (getConverter): use it, and make function const
4030         (getNumber): use it, and make function const
4031         (add): use it
4032         (erase): use it:
4033
4034         * bufferlist.C: add using boost::bind
4035
4036         * MenuBackend.C (MenuNamesEqual): new functor
4037         (hasMenu): use it, and make function const
4038         (hasSubmenu): use nested bind to get rid of compare_memfun.
4039
4040 2004-01-30  André Pönitz  <poenitz@gmx.net>
4041
4042         * BufferView_pimpl.C:
4043         * cursor.C:
4044         * cursor.h:
4045         * cursor_slice.[Ch]:
4046         * lyxfunc.C:
4047         * lyxtext.h:
4048         * paragraph_funcs.C:
4049         * paragraph_funcs.h:
4050         * rowpainter.C:
4051         * text.C:
4052         * text2.C:
4053         * text3.C: move some of the edit(x,y) handling to the insets
4054         some coordinate changes.
4055
4056 2004-01-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
4057
4058         * text.C: add using statements for std::advance and std::distance
4059
4060         * paragraph.C: add using statement for std::distance
4061
4062         * lyxfind.C: add using statement for std::advance
4063
4064         * cursor.C (region): remove std:: from swap
4065         (openable): use nucleus in stead of operator->
4066
4067         * BufferView.C: add using statements for std::distance and std::swap
4068
4069 2004-01-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
4070
4071         * iterators.C: Remove the pimple, move the needed structures to
4072         the header file. Create accessor for the positions stack.
4073         (asPosIterator): remove function
4074
4075         * PosIterator.C (PosIterator): move constructors to top of file
4076         (PosIterator): reimplement the constructor taking a ParIterator in
4077         terms of setFrom.
4078         (setFrom): new function
4079         (operator!=): inline it
4080
4081 2004-01-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
4082
4083         * lyxfind.C (replaceAll): use std::advance
4084
4085         * iterators.h: inherit from std::iterator.
4086
4087         * PosIterator.C (advance, distance): remove
4088         * PosIterator.h: interit from std::iterator.
4089
4090 2004-01-26  André Pönitz  <poenitz@gmx.net>
4091
4092         * BufferView.[Ch]:
4093         * BufferView_pimpl.[Ch]:
4094         * InsetList.[Ch]:
4095         * PosIterator.[Ch]:
4096         * buffer.h:
4097         * bufferview_funcs.C:
4098         * cursor.[Ch]:
4099         * cursor_slice.h:
4100         * factory.[Ch]:
4101         * iterators.[Ch]:
4102         * lyxfind.C:
4103         * lyxfunc.C:
4104         * lyxtext.h:
4105         * output_docbook.C:
4106         * output_latex.C:
4107         * output_linuxdoc.C:
4108         * output_plaintext.C:
4109         * paragraph.[Ch]:
4110         * paragraph_funcs.[Ch]:
4111         * paragraph_pimpl.[Ch]:
4112         * rowpainter.C:
4113         * tabular.C:
4114         * tabular.h:
4115         * text.C:
4116         * text2.C:
4117         * text3.C: more IU:  dumps most of the rest of the mathcursor
4118     implementation into cursor.[Ch]; "globalize" a bit of it.
4119
4120 2004-01-25  Angus Leeming  <leeming@lyx.org>
4121
4122         * lyxfunc.C (dispatch): Dialogs::showSearch is no more.
4123
4124 2004-01-19  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
4125
4126         * LaTeXFeatures.h: add nice_ and nice() const
4127         * buffer.[Ch]: remove niceFile(), use LaTeXFeatures::nice() instead
4128
4129 2004-01-20  André Pönitz  <poenitz@gmx.net>
4130
4131         * BufferView.[Ch]:
4132         * BufferView_pimpl.C:
4133         * PosIterator.C:
4134         * bufferview_funcs.C:
4135         * cursor.[Ch]:
4136         * cursor_slice.[Ch]:
4137         * factory.C:
4138         * iterators.C:
4139         * lyx_cb.C:
4140         * lyxfind.C:
4141         * lyxfunc.C:
4142         * lyxtext.h:
4143         * rowpainter.C:
4144         * text.C:
4145         * text2.C:
4146         * text3.C:
4147         * undo.[Ch]: lots of IU. Shift selection stuff from the BufferView to
4148           LCursor and mathcursor parts to LCursor and InsetBase.
4149
4150 2004-01-15  André Pönitz  <poenitz@gmx.net>
4151
4152         * cursor_slice.[Ch]: add a few covienience functions
4153
4154         * funcrequest.[Ch]: remove BufferView * member
4155
4156         * BufferView_pimpl.C:
4157         * cursor.C:
4158         * factory.[Ch]:
4159         * lyxfind.[Ch]:
4160         * lyxfunc.C:
4161         * lyxtext.h:
4162         * text3.C:
4163         * undo.[Ch]: adjust to this and changed signature of Inset::priv_dispatch()
4164
4165 2004-01-14  Alfredo Braunstein  <abraunst@lyx.org>
4166
4167         * text.C (getWord): fix getWord (and thus LFUN_WORDSEL)
4168         * text3.C (dispatch): fix LFUN_WORD{RIGHT,LEFT}SEL
4169
4170 2004-01-13  André Pönitz  <poenitz@gmx.net>
4171
4172         * textcursor.[Ch]:
4173         * lyxtext.h: hide cursor and selection anchor behind accessor function
4174
4175         * BufferView.C:
4176         * BufferView_pimpl.[Ch]:
4177         * PosIterator.C:
4178         * bufferview_funcs.C:
4179         * cursor.h:
4180         * lyxfind.C:
4181         * lyxfunc.C:
4182         * text.C:
4183         * text2.C:
4184         * text3.C:
4185         * undo.C: adjust
4186
4187         * cursor.h:
4188         * cursor_slice.[Ch]: some integer type changes for inset unification
4189
4190         * lyxcursor.[hC]: remove, it's CursorSlice now.
4191
4192         * Makefile.am:
4193         * BufferView_pimpl.[Ch]:
4194         * bufferview_funcs.C:
4195         * cursor_slice.C:
4196         * lyxtext.h:
4197         * text.C:
4198         * text2.C:
4199         * text3.C:
4200         * textcursor.[Ch]: adjust
4201
4202 2004-01-08  Alfredo Braunstein  <abraunst@lyx.org>
4203
4204         * text2.C (undoSpan): add and use
4205         * text.C (breakParagraph): use undoSpan (fix bug 578)
4206         * lyxtext.h: adjust
4207
4208 2004-01-08  Angus Leeming  <leeming@lyx.org>
4209
4210         * BufferView_pimpl.C (MenuInsertLyXFile):
4211         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
4212         * lyxfunc.C (menuNew, open, doImport):
4213         FileFilterList change to the FileDialog open and save functions.
4214
4215 2004-01-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
4216
4217         * ShareContainer.h: make isEqual and isUnique adaptable
4218
4219         * CutAndPaste.C: make resetOwnerAndChanges adaptable
4220
4221 2004-01-07  Angus Leeming  <leeming@lyx.org>
4222
4223         * LyXAction.C:
4224         * lfuns.h: add LFUN_WORD_FIND and LFUN_WORD_REPLACE.
4225
4226         * BufferView_pimpl.C (dispatch): act on these LFUNs.
4227
4228         * lyxfind.[Ch] (find2string, replace2string, find, replace): new
4229         functions replacing find, replace and replaceAll.
4230
4231         * lyxfunc.C (dispatch): invoke LFUN_WORD_FIND from a call to
4232         LFUN_WORDFIND(FORWARD|BACKWARD).
4233
4234 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
4235
4236         * text.C (breakParagraph): remove an outdated #warning
4237
4238 2004-01-07  André Pönitz  <poenitz@gmx.net>
4239
4240         * lyxfind.C: somewhat clearer logic
4241
4242         * text.C: prevent crash in cursorX on unitialized row cache
4243
4244 2004-01-07  Alfredo Braunstein  <abraunst@lyx.org>
4245
4246         * lyxcursor.[Ch] (operator>): add
4247         * textcursor.C (selStart, selEnd): use std::min and std::max
4248
4249 2004-01-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
4250
4251         * Chktex.C: include boost/format.hpp
4252
4253 2004-01-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
4254
4255         * InsetList.C: replace functor MathcIt with adaptable functor
4256         InsetTablePosLess
4257         (insetIterator): modify accordingly
4258
4259         * BranchList.h: move the BranchNamesEqual functor here from...
4260         * BranchList.C: ... to here
4261
4262         * BranchList.C: new BranchListEqual fuctor, use it. Remove
4263         SameName and match.
4264         (add): replace a finding loop with std::find_if.
4265
4266 2003-12-31  Martin Vermeer  <martin.vermeer@hut.fi>
4267
4268         * output_docbook.C: moving LatexParam functionality into
4269         .layout files
4270
4271 2003-12-29  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
4272
4273         * buffer.C: increment format to 229.
4274
4275 2003-12-28  Michael Schmitt  <michael.schmitt@teststep.org>
4276
4277         * LaTeXFeatures.C:
4278         * lyx_sty.[Ch]: remove minipageindent_def
4279
4280         * LyXAction.C:
4281         * factory.C:
4282         * lfuns.h:
4283         * lyxfunc.C:
4284         * text3.C: remove LFUN_INSET_MINIPAGE
4285
4286 2003-12-28  Angus Leeming  <leeming@lyx.org>
4287
4288         * text3.C (dispatch): output useful info on receipt of LFUN_GETLAYOUT.
4289
4290 2003-12-19  Alfredo Braunstein  <abraunst@lyx.org>
4291
4292         * text2.C (setParagraph): fix off-by-one crash
4293
4294 2003-12-18  Martin Vermeer  <martin.vermeer@hut.fi>
4295
4296         * output_docbook.C: header stuff for AGU
4297
4298 2003-12-17  Alfredo Braunstein  <abraunst@lyx.org>
4299
4300         * text2.C (redoCursor): remove
4301         * text.C:
4302         * text3.C:
4303         * BufferView_pimpl.C: remove calls to redoCursor and
4304         setCursor(cursor.par(), cursor.pos()) all around
4305
4306 2003-12-15  Angus Leeming  <leeming@lyx.org>
4307
4308         * buffer.C: up the format to 228.
4309
4310 2003-12-15  André Pönitz  <poenitz@gmx.net>
4311
4312         * cursor_slice.[Ch]: new class to cover texted and mathed's cursor
4313         slices
4314
4315         * Makefile.am:
4316
4317         * BufferView_pimpl.C:
4318         * cursor.[Ch]:
4319         * lyxcursor.[Ch]:
4320         * rowpainter.[Ch]:
4321         * lyxtext.h:
4322         * text.C:
4323         * text2.C:
4324         * text3.C: adjust
4325
4326 2003-12-15  Angus Leeming  <leeming@lyx.org>
4327
4328         * metricsinfo.C (ColorChanger): use LColor::getFromLyXName rather
4329         than getFromGUIName to manipulate the color.
4330
4331 2003-12-14  Angus Leeming  <leeming@lyx.org>
4332
4333         * BranchList.[Ch]: minimize the API.
4334         (Branch::getBranch, getColor): now return a 'const &'.
4335         (Branch::setSelected) now returns a bool set to true if the
4336         selection status changes.
4337         (BranchList::clear, size, getColor, setColor, setSelected,
4338         allBranches, allSelected, separator): removed.
4339         (BranchList::find): new functions, returning the Branch with
4340         the given name.
4341         (BranchList::add, remove): return a bool indicating that
4342         the operation was successful.
4343
4344         * InsetList.C (insetsOpenCloseBranch): much simplified thanks to a
4345         new InsetBranch::isBranchSlected member function.
4346
4347         * LColor.[Ch]: mimimize the API.
4348         (fill): renamed as addColor and made private.
4349         (setColor, getGUIName, getX11Name, getLaTeXName): the overloaded
4350         versions of these functions taking a string arg have been removed.
4351
4352         * bufferparams.C (readToken):
4353         * lyxfunc.C (dispatch):
4354         * lyxrc.C (read): changes due to the altered BranchList and
4355         LColor APIs.
4356
4357         * factory.C (createInset, readInset): changes due to altered
4358         InsetBranch c-tor.
4359
4360 2003-12-14  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
4361
4362         * factory.C:
4363         * lyxfunc.C: remove insetminipage. "minipage-insert"
4364         now produces a frameless minipage box inset.
4365
4366 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
4367
4368         * textcursor.[Ch] (selStart,selEnd): add new methods
4369         remove selection::start, end, use LyXCursor::operator<
4370         * lyxcursor.[Ch] (operator<): add
4371         * BufferView_pimpl.[Ch]: add new struct xsel_cache_
4372         * BufferView.[Ch] (unsetXSel): add
4373         * text2.C (clearSelection): use unsetXSel,adjust
4374         * text.C: adjust
4375         * text3.C: adjust
4376         * rowpainter.C: adjust
4377         * bufferview_funcs.C (put_selection_at): adjust
4378
4379 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
4380
4381         * BufferView_pimpl.C: small coord. correction
4382
4383 2003-12-12  Alfredo Braunstein  <abraunst@lyx.org>
4384
4385         * BufferView_pimpl.C (workAreaDispatch): avoid crashing when
4386         dragging over the splash screen.
4387
4388 2003-12-11  Angus Leeming  <leeming@lyx.org>
4389
4390         * BufferView_pimpl.C (dispatch): remove LFUN_INSET_APPLY code
4391         as it is now handled in LyXText::dispatch.
4392
4393         * text3.C (doInsertInset): remove a level of nesting.
4394
4395 2003-12-11  Angus Leeming  <leeming@lyx.org>
4396
4397         * factory.C (createInset): changes due to the changed interface to
4398         InsetCommandMailer::string2params.
4399
4400 2003-12-10  Angus Leeming  <leeming@lyx.org>
4401
4402         * lyxfunc.C (dispatch): enable all inset dialogs to be opened with
4403         'dialog-show-new-inset <inset name>'
4404
4405 2003-12-10  Angus Leeming  <leeming@lyx.org>
4406
4407         * buffer.C: up the format to 227.
4408
4409         * factory.C: the box inset is now identified simply by 'Box'.
4410
4411 2003-12-10  Angus Leeming  <leeming@lyx.org>
4412
4413         * buffer.C: up the format to 226.
4414
4415         * factory.C: the note inset is now identified simply by 'Note'.
4416
4417 2003-12-08  Alfredo Braunstein  <abraunst@libero.it>
4418
4419         * lyxtext.h, text2.C (setLayout): don't use cursor to iterate,
4420         when a pit is enough. Standarize a couple of loops.
4421
4422 2003-12-05  Angus Leeming  <leeming@lyx.org>
4423
4424         * lyxfunc.C (dispatch): DIALOG_SHOW now handles "latexlog" and
4425         "vclog" explicitly, passing the appropriate "<logtype> <filename>"
4426         data to the re-worked "log" dialog.
4427
4428 2003-12-03  André Pönitz  <poenitz@gmx.net>
4429
4430         * PosIterator.C:
4431         * iterators.C:
4432         * lyxtext.h:
4433         * output_latex.C:
4434         * paragraph_funcs.C:
4435         * text.C:
4436         * text2.C: use Inset::getText instead of Inset::getParagraph
4437
4438 2003-12-03  André Pönitz  <poenitz@gmx.net>
4439
4440         * buffer.[Ch]:
4441         * lyxtext.h:
4442         * paragraph_funcs.[Ch]: consolidate parts of Buffer::read() and
4443         InsetText::read() as LyXText::read()
4444
4445 2003-12-02  Angus Leeming  <leeming@lyx.org>
4446
4447         * lyxlex.[Ch] (operator void const *): add the 'const' to the return
4448         type. Add a comment in the implementation that the function uses
4449         the stream's bad() function rather than fail() as the std::streams
4450         would do.
4451
4452 2003-12-02  André Pönitz  <poenitz@gmx.net>
4453
4454         * lyxlex.[Ch]: make interface more similar to std::stream
4455
4456         * lyxlex_pimpl.[Ch]: don't use '__' in identifiers
4457
4458 2003-12-01  Martin Vermeer  <martin.vermeer@hut.fi>
4459
4460         * lyxtextclass.[Ch]: add latexparam to CharStyle inset
4461
4462 2003-12-01  Michael Schmitt  <michael.schmitt@teststep.org>
4463
4464         * vspace.[Ch]: remove VSpace::NONE
4465
4466 2003-12-01  André Pönitz  <poenitz@gmx.net>
4467
4468         * buffer.[Ch]:
4469         * lyxtext.h: move ParagraphList member to LyXText
4470         rename LyXText::ownerParagraphs to LyXText::paragraph
4471
4472         * CutAndPaste.C:
4473         * bufferview_funcs.C:
4474         * iterators.[Ch]:
4475         * lyx_cb.C:
4476         * paragraph.C:
4477         * rowpainter.C:
4478         * tabular.C:
4479         * text.C:
4480         * text2.C:
4481         * text3.C: adjust
4482
4483         * lyxfunc.C: move LFUN_INSET_TOGGLE handling to insets.
4484
4485         * undo.C: fix cursor positioning
4486
4487 2003-12-01  John Levon  <levon@movementarian.org>
4488
4489         * BufferView_pimpl.C: fix a crash on exit with
4490         a buffer open
4491
4492 2003-11-30  Martin Vermeer  <martin.vermeer@hut.fi>
4493
4494         * BranchList.C: fix setSelected() method.
4495
4496 2003-11-28  André Pönitz  <poenitz@gmx.net>
4497
4498         * ParagraphParameters.[Ch]:
4499         * ParameterStruct.h: remove space above/below from Paragraph to
4500          InsetVSpace
4501
4502         * BufferView_pimpl.C:
4503         * factory.C:
4504         * lyxfunc.C:
4505         * lyxtext.h:
4506         * output_latex.C:
4507         * paragraph.C:
4508         * paragraph_funcs.C:
4509         * rowpainter.[Ch]:
4510         * text.C:
4511         * text2.C:
4512         * text3.C: adjust
4513
4514 2003-11-28  Martin Vermeer  <martin.vermeer@hut.fi>
4515
4516         * factory.C: Syntax change for CharStyles
4517
4518 2003-11-28  André Pönitz  <poenitz@gmx.net>
4519
4520         * BufferView.[Ch]:
4521         * BufferView.[Ch]:
4522         * buffer.[Ch]:
4523         * buffer.[Ch]: move LyXText member
4524
4525 2003-11-28  André Pönitz  <poenitz@gmx.net>
4526
4527         * BufferView.[Ch]: make LyXText * text a private member
4528
4529         * BufferView_pimpl.C:
4530         * cursor.C:
4531         * iterators.C:
4532         * lyx_cb.C:
4533         * lyxfind.C:
4534         * lyxtext.h:
4535         * rowpainter.[Ch]:
4536         * text.C:
4537         * text2.C:
4538         * undo.C: adjust
4539
4540         * output_plaintext.C: cleanup
4541
4542 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
4543
4544         * buffer.C:
4545         * lyxtextclass.[Ch]: parametrize SGML document header
4546
4547 2003-11-27  Martin Vermeer  <martin.vermeer@hut.fi>
4548
4549         * converter.[Ch]:
4550         * exporter.C: replace bool-valued Pdflatex() by FLAVOR-valued
4551         getFlavor().
4552
4553 2003-11-27  Alfredo Braunstein  <abraunst@lyx.org>
4554
4555         * text2.C (setFont): rework using PosIterator (no more recursive)
4556         (setCharFont): no more needed
4557         (setLayout): no more selection cursors fiddling (done by redoCursor)
4558         * text.C: cursorRight(bv)->cursorRight(true) (TODO: find and
4559         destroy remaining ones)
4560
4561 2003-11-26  Alfredo Braunstein  <abraunst@lyx.org>
4562
4563         * bufferview_funcs.[Ch]: split changeDepthAllowed from changeDepth
4564         * lyxtext.h: ditto
4565         * text2.C: same thing + updateCounters fix + redoCursor also adjusts
4566         selection cursors
4567         * lyxfunc.C: adjust
4568         * text3.C: adjust + re-allow multi par depth changes
4569         * textcursor.C: simplify a bit
4570
4571 2003-11-25  Martin Vermeer  <martin.vermeer@hut.fi>
4572
4573         * src/buffer.C:
4574         * src/lyxlayout.C:
4575         * src/lyxlayout.h:
4576         * src/lyxtext.h:
4577         * src/output_docbook.C:
4578         * src/output_latex.C:
4579         * src/paragraph.C:
4580         * src/paragraph.h:
4581         * src/sgml.C:
4582         * src/sgml.h:
4583         * src/text2.C: Introducing a number of tags parametrizing various
4584         XML formats that we may want to support
4585
4586 2003-11-25  André Pönitz  <poenitz@gmx.net>
4587
4588         * InsetList.[Ch] (begein, end): inline as suggested by profiler
4589
4590         * lyxtext.h (leftMargin/rightMargin): simplify interface
4591
4592         * rowpainter.C:
4593         * text.C:
4594         * text2.C:
4595         * text3.C: adjust
4596
4597 2003-11-24  Georg Baum  <Georg.Baum@post.rwth-aachen.de>
4598
4599         * lyxfunc.C (dispatch): propogate the bibtex databases from the
4600         master file to any child files. Fixes bug 546.
4601
4602 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
4603
4604         * lyxfind.C (findNextChange): remove unneeded bv->text->init call
4605
4606 2003-11-24  André Pönitz  <poenitz@gmx.net>
4607
4608         * rowpainter.C: simplification
4609
4610         * text2.C (updateCounters): remove call to redoParagraph on
4611         changed labels as this is far too expensive.
4612
4613 2003-11-24  Alfredo Braunstein  <abraunst@lyx.org>
4614
4615         * converter.C (convert): fix a crash: this function gets
4616         called with buffer == 0 from importer code.
4617
4618 2003-11-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
4619
4620         * text3.C (cursorPrevious): make sure that we do not compare
4621         iterators form different containers.
4622         (cursorNext): ditto
4623
4624         * rowpainter.C (paintSelection): make sure that we do not compare
4625         iterators from different containers.
4626
4627         * text3.C (dispatch): [PRIOR] make sure that we do not compare
4628         iterators from different ParagraphList containers.
4629         [NEXT] ditto
4630
4631         * text2.C (LyXText): change order of initialization slightly
4632         (operator=): new function. copy all variables except cache_par_
4633         (moveUp): make sure that we do not compare iterators from
4634         different ParagraphList constainers.
4635         (moveDown): ditto
4636
4637         * text.C (firstPar): new function
4638         (lastPar): new function
4639         (endPar): new function
4640
4641         * lyxtext.h: move things around and group public functions, public
4642         variables, private functions, private variables
4643
4644 2003-11-21  Michael Schmitt  <michael.schmitt@teststep.org>
4645
4646         * factory.C: change call to InsetERT constructor to avoid
4647         additional invocation of method status
4648         * text2.C (toggleInset): remove redundant update() call
4649         * InsetList.[Ch] (insetsOpenCloseBranch): Pass Buffer reference
4650         instead of a Bufferview pointer
4651
4652 2003-11-21  André Pönitz  <poenitz@gmx.net>
4653
4654         * rowpainter.C: simplification
4655
4656 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
4657
4658         * text3.C (dispatch): make possible to extend a word/row selection
4659         with the mouse
4660
4661 2003-11-21  Alfredo Braunstein  <abraunst@lyx.org>
4662
4663         * lyxtext.h: x0_,y0_ -> xo_,yo_
4664         * text2.C (cursorUp, cursorDown): adjust + some cursorRow use
4665         * text3.C (checkInsetHit): fix coordinates using absolute xo_,yo_
4666         * rowpainter.C (paintRows): paint full paragraphs
4667
4668 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
4669
4670         * text2.C (cursorUp, cursorDown): small fix (insettext::edit takes
4671         screen coordinates)
4672
4673 2003-11-20  Alfredo Braunstein  <abraunst@lyx.org>
4674
4675         * lyxtext.h: add x0_, y0_
4676         * text3.C (cursorPrevious, cursorNext): rewrite (using x0_, y0_)
4677         * text2.C (cursorDown, cursorUp): rewrite (using x0_, y0_)
4678
4679 2003-11-18  Alfredo Braunstein  <abraunst@lyx.org>
4680
4681         * text2.C (setCursorIntern): move the x_target update here *
4682         * text3.C: change some bv() to true/false in calls to
4683         cursorUp/Down/Right/Left
4684         * cursor.C: use helper function.
4685
4686 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
4687
4688         * BufferView_pimpl.C: send LFUN_MOUSE_MOTION to the cursor
4689         * paragraph_funcs.[Ch]: correct comment
4690         * rowpainter.C: do not paint selections away from bv->cursor()
4691         Fix a long standing selection painting bug.
4692         * text3.C: generalize mouse-selection code to LyXTexts other that
4693         top one
4694         * textcursor.C: do not use y coords if we can use par offsets
4695
4696 2003-11-17  Alfredo Braunstein  <abraunst@lyx.org>
4697
4698         * lyxfunc.C (dispatch): add a missing LCursor::updatePos (fix
4699         cursor position after e.g. inset insert)
4700
4701 2003-11-16  Alfredo Braunstein  <abraunst@lyx.org>
4702
4703         * lyxfind.C (replace): adjust to locking removal + some
4704         code simplification
4705
4706 2003-11-14  Alfredo Braunstein  <abraunst@lyx.org>
4707
4708         * cursor.C (dispatch): dispatch to BufferView::dispatch at the end
4709         of the path
4710
4711 2003-11-14  Martin Vermeer  <martin.vermeer@hut.fi>
4712
4713         * lyxlayout.[Ch]:
4714         * output_docbook.C: XML sanitation: new layout
4715         parameters InnerTag and CommandDepth
4716
4717 2003-11-13  Martin Vermeer  <martin.vermeer@hut.fi>
4718
4719         * BufferView_pimpl.C:
4720         * factory.C:
4721         * text3.C: Fix the insertion and modification of button-style
4722         insets
4723
4724 2003-11-13  André Pönitz  <poenitz@gmx.net>
4725
4726         * InsetList.[Ch]: remove deleteLyXText
4727
4728         * paragraph.[Ch]: cache beginOfBody position
4729
4730         * Bidi.C:
4731         * text.C:
4732         * text2.C:
4733         * text3.C: remove superfluous update() calls
4734
4735         * vspace.C: cleanup
4736
4737 2003-11-13  Alfredo Braunstein  <abraunst@lyx.org>
4738
4739         * BufferView_pimpl.C (fitCursor): call screen().fitCursor()
4740         * BufferView.C (fitLockedInsetCursor): remove
4741         * cursor.[Ch] (getDim): add
4742         * text.C (getRowNearY): add faster version
4743         * text3.C: remove some update calls
4744
4745 2003-11-12  Martin Vermeer  <martin.vermeer@hut.fi>
4746
4747         * LaTeXFeatures.C:
4748         * LyXAction.C:
4749         * MenuBackend.C:
4750         * MenuBackend.h:
4751         * dispatchresult.h:
4752         * factory.C:
4753         * lfuns.h:
4754         * lyxfunc.C:
4755         * lyxtextclass.C:
4756         * lyxtextclass.h:
4757         * text3.C: The Character Style /XML short element patch.
4758
4759 2003-11-11  Martin Vermeer  <martin.vermeer@hut.fi>
4760
4761         * text3.C:
4762         * factory.C: Small step to solving 'unable to insert some insets'
4763         problem
4764
4765 2003-11-11  Alfredo Braunstein  <abraunst@lyx.org>
4766
4767         * cursor.[Ch] (updatePos): new function for updating the y
4768         position of the tip inset
4769         * bufferview_funcs.C (put_selection_at):
4770         * BufferView_pimpl.C (workAreaDispatch): rationalise update calls
4771
4772 2003-11-11  André Pönitz  <poenitz@gmx.net>
4773
4774         * text.C: remove big comment on invalid Paragraph pointers as it is
4775         not valid anymore
4776
4777 2003-11-11  André Pönitz  <poenitz@gmx.net>
4778
4779         * text_funcs.[Ch]: merge with ...
4780
4781         * text.C: ... this
4782
4783         * lyxtext.h:
4784         * text2.C:
4785         * text3.C: adjust
4786
4787         * Makefile.am: remove text_funcs.[Ch]
4788
4789 2003-11-11  Alfredo Braunstein  <abraunst@libero.it>
4790
4791         * cursor.C (getPos): return absolute cached y coord
4792
4793         * BufferView_pimpl.C (fitCursor): new simplistic code
4794         (workAreaDispatch): add a fitCursor call
4795
4796 2003-11-10  André Pönitz  <poenitz@gmx.net>
4797
4798         * BufferView.[Ch]:
4799         * BufferView_pimpl.[Ch]: merge update() and updateInset()
4800
4801 2003-11-10  André Pönitz  <poenitz@gmx.net>
4802
4803         * lfuns.h: new LFUN_FINISHED_LEFT, LFUN_FINISHED_RIGHT,
4804         LFUN_FINISHED_UP, LFUN_FINISHED_DOWN used in dispatch to
4805         indicate that the cursor needs to leave an inset
4806
4807         * lyxtext.h: remove inset locking
4808
4809         * cursor.[Ch]: re-implement functionality provided by inset locking
4810
4811         * BufferView.[Ch]:
4812         * BufferView_pimpl.[Ch]:
4813         * LyXAction.C:
4814         * bufferview_funcs.[Ch]:
4815         * factory.C:
4816         * funcrequest.[Ch]:
4817         * iterators.C:
4818         * lyx_cb.C:
4819         * lyxfind.C:
4820         * lyxfunc.C:
4821         * text.C:
4822         * text2.C:
4823         * text3.C:
4824         * undo.C: adjust
4825
4826 2003-11-07  Alfredo Braunstein  <abraunst@libero.it>
4827
4828         * PosIterator.[Ch]: replace the stack with a vector, add inset
4829         accesor
4830         * iterators.[C]: adjust
4831
4832 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
4833
4834         * lyxfind.C (replaceAll): mark the buffer dirty if something was
4835         replaced
4836         * paragraph_funcs.C (readParToken): put the correct id in the
4837         error item, not the id of the top paragraph
4838
4839 2003-11-06  Alfredo Braunstein  <abraunst@libero.it>
4840
4841         * iterators.[Ch] (ParIterator): new PosIterator-based ctor
4842         * bufferview_funcs.C (put_selection_at): use the above
4843
4844 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
4845
4846         * text2.C (deleteEmptyParagraphMechanism): fix n-th crash
4847
4848 2003-11-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
4849
4850         * output_linuxdoc.h:
4851         * output_plaintext.h:
4852         * output.h:
4853         * output_docbook.h: add #include statements
4854
4855 2003-11-05  José Matos  <jamatos@lyx.org>
4856
4857         * output_docbook.[Ch]:
4858         * output_latex.[Ch]:
4859         * output_linuxdoc.[Ch]:
4860         * output_plaintext.[Ch]: New files for output formats.
4861         * output.[Ch]: New file for helper functions.
4862
4863         * buffer.[Ch]:
4864         * paragraph_funcs.[Ch]: output functions moved to new files.
4865
4866         * outputparams.h: rename of latexrunparams.h
4867
4868         * LaTeX.[Ch]:
4869         * buffer.[Ch]:
4870         * bufferlist.[Ch]:
4871         * converter.[Ch]:
4872         * exporter.C:
4873         * paragraph.[Ch]:
4874         * paragraph_funcs.[Ch]:
4875         * paragraph_pimpl.[Ch]:
4876         * tabular.[Ch]: rename ascii to plaintext
4877         and LatexRunParams to OutputParams.
4878
4879 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
4880
4881         * iterators.[Ch] (text): require bv argument
4882         * undo.C (recordUndo):
4883         * lyxfunc.C (dispatch):
4884         * bufferview_funcs.C (put_selection_at): adjust
4885
4886 2003-11-05  Jo� Luis M. Assirati  <assirati@fma.if.usp.br>
4887
4888         * lyxsocket.C: export variables XEDITOR and LYXSOCKET
4889
4890 2003-11-05  Alfredo Braunstein  <abraunst@libero.it>
4891
4892         * lyxfunc.C (dispatch): make LFUN_GOTO_PARAGRAPH work with deep
4893         nestings
4894
4895 2003-11-04  André Pönitz  <poenitz@gmx.net>
4896
4897         * cursor.[Ch]: restructure
4898
4899         * BufferView.[Ch]:
4900         * BufferView_pimpl.[Ch]: new LCursor cursor_ member
4901
4902         * iterators.[Ch] (asCursor): remove
4903
4904         * lfuns.h: remove LFUN_INSET_EDIT
4905
4906         * lyxfunc.C:
4907         * tabular.C:
4908         * text.C:
4909         * text2.C:
4910         * text3.C: use Inset::edit() instead of dispatch(LFUN_INSET_EDIT)
4911
4912 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4913
4914         * lyxfind.[Ch]: complete overhaul
4915         * BufferView_pimpl.C:
4916         * lyxfunc.C: adjust
4917         * paragraph.[Ch] (insert): add
4918
4919 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4920
4921         * BufferView.[Ch]:
4922         * lyxtext.h:
4923         * text.C: remove dead spellcheck code
4924
4925 2003-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
4926
4927         * dispatchresult.h: add a val setter
4928
4929         * cursor.C (dispatch): use a tempvar for data_[i]
4930
4931 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4932
4933         * PosIterator.[Ch]: compile fix
4934
4935 2003-11-04  Alfredo Braunstein  <abraunst@libero.it>
4936
4937         * text.C (cursorPar): deactivate the cursor cache
4938
4939 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
4940
4941         * undo.C (performUndoOrRedo): fix cursor positioning with lockPath
4942
4943 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4944
4945         * text3.C (dispatch): adjust for new DisptchResult semantics.
4946
4947         * lyxfunc.C (dispatch): handle update when return from
4948         Cursor::dispatch, adjust for new DispatchResult semantics.
4949
4950         * dispatchresult.h: drop NOUPDATE from dispatch_result_t. Make
4951         DispatchResult(true) mean to not update. Add class functions for
4952         setting dispatched and update, as well as reading.
4953
4954         * cursor.C (dispatch): don't handle update here
4955
4956 2003-11-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
4957
4958         * trans_mgr.h: store t1_ and t2_ in scoped_ptr
4959         * trans_mgr.C: adjust
4960
4961         * paragraph_funcs.C (readParToken): exception safety
4962
4963         * lyxvc.h: store the vcs pointer in a scoped_ptr
4964         * lyxvc.C: adjust
4965
4966         * lyxsocket.C (serverCallback): exception safety
4967
4968         * lyx_cb.C (AutoSaveBuffer): make it return a auto_ptr
4969
4970         * ispell.C (clone): make it return a auto_ptr
4971
4972         * factory.C (createInset): exception safety
4973         (readInset): exception safety
4974
4975         * bufferlist.C (newBuffer): exception safety
4976
4977         * Thesaurus.C (Thesaurus): use initialization for aik_
4978
4979         * MenuBackend.C (expandToc): exception safety.
4980
4981 2003-11-03  André Pönitz  <poenitz@gmx.net>
4982
4983         * buffer.C:
4984         * buffer.h:
4985         * bufferview_funcs.C: remove getInsetFromId()
4986
4987         * lyxcursor.[Ch]:
4988         * BufferView.[Ch]: move x_fix from LyXCursor to BufferView
4989
4990         * lyxfunc.C:
4991         * text2.C:
4992         * text3.C: adjust
4993
4994 2003-11-03  Alfredo Braunstein  <abraunst@libero.it>
4995
4996         * PosIterator.C (distance, advance): new
4997         * bufferview_funcs.[Ch] (put_selection_at): new
4998         * iterators.[Ch] (lockPath): new
4999
5000 2003-11-02  Alfredo Braunstein  <abraunst@libero.it>
5001
5002         * iterators.[Ch] (asPosIterator): added
5003         * buffer.[Ch] (pos_iterator_begin, pos_iterator_end): added
5004         * PosIterator.[Ch]: added
5005
5006 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5007
5008         * text3.C:
5009         * lyxfunc.C:
5010         * cursor.C (dispatch):
5011         * BufferView_pimpl.C (dispatch): adjust for DispatchResult changes
5012
5013         * dispatchresult.h: remove UNDISPATCHED, DISPATCHED and
5014         DISPATCHED_NOUPDATE from dispatch_result_t, add NONE. Add a
5015         contructor, add a class function dispatched. Remove operator>=
5016
5017 2003-11-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
5018
5019         * debug.C: only use the default constructor for debugstream
5020         (lyxerr) here.
5021
5022         * main.C (main): include debug.h and setup the lyxerr streambuf
5023         here.
5024
5025 2003-10-31  José Matos  <jamatos@lyx.org>
5026
5027         * paragraph_funcs.C (addDepth, asciiParagraph): move from buffer.C
5028
5029         * buffer.[Ch] (writeFileAscii, makeLinuxDocFile, makeDocBookFile):
5030         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar, asString):
5031         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
5032         * paragraph_pimpl.C (simpleTeXSpecialC):
5033         * tabular.[Ch] (linuxdoc, docbookRow, docbook, ascii):
5034         add LatexRunParams argument.
5035
5036         * exporter.C (Export): change call accordingly.
5037
5038         * latexrunparams.h: add new member to take care of the other backends.
5039 2003-10-30  José Matos  <jamatos@lyx.org>
5040
5041         * buffer.C (makeLinuxDocFile, makeDocBookFile):
5042         * paragraph_funcs.[Ch] (linuxdocParagraphs, docbookParagraphs):
5043         factorise code for paragraph output.
5044         * buffer.[Ch]:
5045         * paragraph.[Ch] (simpleLinuxDocOnePar, simpleDocBookOnePar):
5046         move functions.
5047
5048 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5049
5050         * text3.C (dispatch):
5051         * lyxfunc.C (dispatch):
5052         * cursor.C (dispatch):
5053         * BufferView_pimpl.C (dispatch): explict DispatchResult ctor fallout.
5054
5055         * dispatchresult.h: make the dispatch_result_t ctor explicit
5056
5057 2003-10-29  Martin Vermeer  <martin.vermeer@hut.fi>
5058
5059         * sgml.[Ch]:
5060         * buffer.C: small refactoring of docbook stuff
5061
5062 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5063
5064         * dispatchresult.h: remove FINISHED_POP as FINISHED has the same
5065         meaning.
5066
5067 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5068
5069         * dispatchresult.h: rename DISPATCHED_POP to FINISHED_POP, remove
5070         operator dispatch_result_t, and operators for == != and >=
5071
5072         * cursor.C (dispatch): adjust for operator dispatch_result_t
5073         removal. comment out call to update
5074
5075         * BufferView_pimpl.C (dispatch): dont implicit covert to bool
5076
5077 2003-10-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
5078
5079         * text3.C:
5080         * text2.C:
5081         * text.C:
5082         * lyxtext.h:
5083         * lyxfunc.C:
5084         * cursor.C:
5085         * BufferView_pimpl.C: dispatch_result -> DispatchResult changes.
5086         (dispatch):
5087
5088         * dispatchresult.h: new file, DispatchResult broken out of
5089         insets/insetbase.h
5090
5091         * Makefile.am (lyx_SOURCES): add dispatchresult.h
5092
5093 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
5094
5095         * text.C (rowBreakPoint): put a hack inside #if 0
5096
5097 2003-10-28  André Pönitz  <poenitz@gmx.net>
5098
5099         * lyxtext.h:
5100         * metricsinfo.C:
5101         * paragraph_funcs.C:
5102         * rowpainter.C:
5103         * text.C:
5104         * text2.C: general cleanup (lots of small stuff)
5105
5106 2003-10-28  Alfredo Braunstein  <abraunst@libero.it>
5107
5108         * text2.C (cursorEnd): simple fix to the "end key goes to one
5109         before the end on last row" bug
5110
5111 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
5112
5113         * text.C (backspace): fix the "zombie characters"
5114
5115 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
5116
5117         * lyxfunc.C (dispatch): small fix to toc navigation inside branches
5118
5119 2003-10-27  André Pönitz  <poenitz@gmx.net>
5120
5121         * lfuns.h: new LFUN_REPEAT, LFUN_INSERT_LINE, LFUN_INSERT_PAGEBREAK
5122
5123         * factory.C: handle new InsetPagebreak, InsetLine
5124
5125         * ParagraphParameters.h: remove [line|pagebreak]_[above|below]
5126         and move handling into new InsetPagebreak, InsetLine
5127
5128         * BufferView_pimpl.C:
5129         * LyXAction.C:
5130         * ParagraphParameters.C:
5131         * ParameterStruct.h:
5132         * lyxfunc.C:
5133         * lyxtext.h:
5134         * paragraph.C:
5135         * paragraph.h:
5136         * paragraph_funcs.C:
5137         * paragraph_pimpl.C:
5138         * rowpainter.C:
5139         * text.C:
5140         * text2.C:
5141         * text3.C: adjust
5142
5143 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
5144
5145         * text.C:
5146         * lyxrow_funcs.[Ch]:
5147         * Bidi.C:
5148         * paragraph.C:
5149         * lyxtext.h:
5150         * rowpainter.C:
5151         * text2.C:
5152         * text3.C: remove lastPos uses in favour of Row::endpos
5153
5154 2003-10-27  Alfredo Braunstein  <abraunst@libero.it>
5155
5156         * undo.C (performUndoOrRedo): fix two crashes by setting a
5157         cursor by hand and reordering some calls. Use bv->lockInset instead
5158         of inset->edit because the latter loses cursor information
5159
5160 2003-10-25  Alfredo Braunstein  <abraunst@libero.it>
5161
5162         * text.C (prepareToPrint): fix linebreak rowbreaking as suggested
5163         by Martin
5164         (rowBreakPoint): fix width. change point to point + 1.
5165         Add a missing check.
5166
5167 2003-10-25  Martin Vermeer  <martin.vermeer@hut.fi>
5168
5169         * MenuBackend.C:
5170         * lyxfunc.C: fix (at least partly) the problems
5171         with the Nav menu and headers inside branch insets
5172         reported by Kayvan
5173
5174 2003-10-24  Alfredo Braunstein  <abraunst@libero.it>
5175
5176         * paragraph.C (getChar): add strong asserts
5177
5178         * lyxrow_funcs.C (lastPos): remove hideous hack
5179
5180         * text.C (addressBreakPoint, rowBreakPoint): put endpos in place
5181         (fill): adjust to that (avoid an infinite loop)
5182
5183 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
5184
5185         * text3.C (cursorPrevious, cursorNext): fix 2 "dontlikes"
5186
5187 2003-10-23  André Pönitz  <poenitz@gmx.net>
5188
5189         * RowList_fwd.h: change list<> to vector<> to gain speed
5190         after suggestion from Alfredo
5191
5192 2003-10-23  Alfredo Braunstein  <abraunst@libero.it>
5193
5194         * lyxtext.h: move the bidi stuff from here...
5195         * text.C: and here
5196         * text2.C: and here
5197         * Bidi.[Ch]: ... to here
5198
5199 2003-10-23  André Pönitz  <poenitz@gmx.net>
5200
5201         * lyxtext.h:
5202         * text.C (isLastRow, isFirstRow): new functions
5203
5204         * paragraph.h: new width cache member
5205
5206         * rowpainter.C: replace RowList::iterator with Row & where possible
5207
5208         * lyxfunc.C: replace several view()->text with a single call
5209
5210         * toc.C: fix 'unused' warning
5211
5212 2003-10-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
5213
5214         * lyxlex_pimpl.C (setFile,setStream): be sure to use correct types
5215         when woring with stream::pos_type
5216         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto
5217
5218 2003-10-22  André Pönitz  <poenitz@gmx.net>
5219
5220         * lyxtext.h:
5221         * text.C: use Row & instead of RowList::iterator
5222
5223         * lyxrow.h: rename end() to endpos()
5224
5225         * rowpainter.C:
5226         * text.C:
5227         * text2.C: adjust
5228
5229 2003-10-22  Angus Leeming  <leeming@lyx.org>
5230
5231         * buffer.[Ch] (fully_loaded): new member function, returning true
5232         only when the file has been loaded fully.
5233         Used to prevent the premature generation of previews and by the
5234         citation inset to prevent computation of the natbib-style label.
5235
5236         * buffer_funcs.C (newFile): set Buffer::fully_loaded once the
5237         templates are all set up.
5238
5239         * factory.C (createInset): remove call to InsetCitation::setLoadingBuffer.
5240
5241 2003-10-22  Martin Vermeer  <martin.vermeer@hut.fi>
5242
5243         * text.C: fixed an "oops" in the "is a bit silly"
5244         bug fix
5245
5246 2003-10-21  André Pönitz  <poenitz@gmx.net>
5247
5248         * FuncStatus.[Ch]: small stuff, whitespace
5249
5250         * lyxfont.[Ch]: operator<<() for debug reasons
5251
5252         * lyxfunc.C:
5253         * lyxrow_funcs.C:
5254         * lyxtext.h: whitespace, spelling
5255
5256         * paragraph.C: naming of variables
5257
5258         * text.C:
5259         * text2.C: small stuff
5260
5261
5262 2003-10-21  Martin Vermeer  <martin.vermeer@hut.fi>
5263
5264         * text.C: (1) finish off the inset display() work;
5265         (2) fix the "is a bit silly" bug (accessing char
5266         past end of par).
5267
5268 2003-10-20  Martin Vermeer  <martin.vermeer@hut.fi>
5269
5270         * text.C: re-introduce display() for insets, fixing the
5271         various bugs (stretch of line above, math inset
5272         positioning, ...)
5273
5274 2003-10-20  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5275
5276         * text.C (rightMargin): remove spurious semicolon
5277
5278         * lengthcommon.C: add empty unit_name* entries for UNIT_NONE (bug
5279         1415)
5280
5281 2003-10-18  Martin Vermeer  <martin.vermeer@hut.fi>
5282
5283         * text3.C: fix one crash due to wrong cursor def
5284
5285 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
5286
5287         * vc-backend.C (scanMaster): make the regex static
5288
5289         * LaTeX.C (scanAuxFile): make the regexs static
5290
5291         * text3.C (doInsertInset, dispatch, dispatch):
5292         * text2.C (cursorUp, cursorDown):
5293         * text.C (selectNextWordToSpellcheck):
5294         * BufferView_pimpl.C (dispatch):
5295         * lyxfunc.C (dispatch):  localDispatch -> dispatch
5296
5297 2003-10-14  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
5298
5299         * lyxsocket.C: include <cerrno>
5300
5301 2003-10-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
5302
5303         * lyxfunc.C (dispatch): remove textcache stuff
5304
5305         * bufferlist.C (release): remove textcache stuff
5306         (closeAll): ditto
5307
5308         * TextCache.C: delete file
5309         * TextCache.h: delete file
5310
5311         * Makefile.am (lyx_SOURCES): delete TextCache.C and TextCache.h
5312
5313         * BufferView_pimpl.C (buffer): remove textcache stuff, add a
5314         delete of the bv_->text.
5315         (resizeCurrentBuffer): remove texcache stuff
5316         (workAreaResize): ditto
5317
5318 2003-10-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5319
5320         * lyxfunc.C (getStatus): also set flag disabled if it is a unknown
5321         action.
5322
5323 2003-10-16  André Pönitz  <poenitz@gmx.net>
5324
5325         * lyxrow.[Ch]:
5326         * paragraph.h:
5327         * rowpainter.C:
5328         * text.C:
5329         * text2.C:
5330         * text3.C: speed up by storing y positions per paragraph plus per-row
5331         offset instead of having a 'full' y position in the row.
5332
5333 2003-10-15  André Pönitz  <poenitz@gmx.net>
5334
5335         * iterators.[Ch]:
5336         * iterators.[Ch]:
5337         * undo.[Ch]: make undo aware of inner insets
5338
5339 2003-10-14  Angus Leeming  <leeming@lyx.org>
5340
5341         * lyx_main.[Ch]: make LyX a singleton class, accessible though the new
5342         static member functions LyX::ref() and LyX::cref.
5343         (lastfiles): new accessor functions for the new lastfiles_ member var.
5344         (addLyXView, views_): add a new LyXView to the list of views_.
5345         (updateInset): loop over all LyXViews to call their own updateInset
5346         member function, returning a pointer to the Buffer owning the inset.
5347
5348         * BufferView_pimpl.C (loadLyXFile):
5349         * MenuBackend.C (expandLastfiles):
5350         * bufferlist.C (MenuWrite, QuitLyX):
5351         lastfiles is no longer a global variable.
5352         Access through LyX::ref().lastfiles(), LyX::cref().lastfiles().
5353
5354         * boost.C (emergencyCleanup): LyX::emergencyCleanup is no longer a
5355         static function. Access through LyX::cref().emergencyCleanup().
5356
5357 2003-10-14  André Pönitz  <poenitz@gmx.net>
5358
5359         * iterators.[Ch]: new direct access to innermost LyXText and Inset
5360
5361         * undo.[Ch]: restoring part of 'undo in insets'
5362
5363         * Makefile.am:
5364         * undo_funcs.[Ch]: merge with undo.[Ch]
5365
5366         * tabular.C: small cleansing stuff
5367
5368 2003-10-14  Alfredo Braunstein  <abraunst@libero.it>
5369
5370         * paragraph_funcs.C (readParToken): report unknown insets as error
5371         boxes. Use the outer paragraph as location (also for unknown
5372         tokens).
5373
5374         * factory.C (readInset): do not abort on reading an unknown inset.
5375         Eat it and return 0.
5376
5377 2003-10-13  Angus Leeming  <leeming@lyx.org>
5378
5379         * lyx_main.C (LyX): remove call to setDisplayTranslator().
5380
5381         * lyxrc.C: displayTranslator is now a function,
5382         declared in GraphicsTypes.h.
5383
5384 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
5385
5386         * format.C: new placeholder $$a to pass the socket address.
5387
5388         * bufferlist.[Ch]: new function getBufferFromTmp.
5389
5390         * lyxfunc.C: Modification of LFUN_GOTOFILEROW so that it can handle
5391           files in the temporary dir.
5392
5393 2003-10-13  Joao Luis Meloni Assirati <assirati@fma.if.usp.br>
5394
5395         * lyxsocket.[Ch]: new files. A simple local socket interface for lyx.
5396
5397         * Makefile.am: add lyxsocket.[Ch].
5398
5399         * lyx_main.C (error_handler): handle SIGPIPE.
5400
5401 2003-10-13  André Pönitz  <poenitz@gmx.net>
5402
5403         * BufferView_pimpl.C:
5404         * lyxtext.h:
5405         * text.C:
5406         * text2.C:
5407         * text3.C:
5408         * undo_funcs.[Ch]: use paroffset_type instead of
5409           ParagraphList::iterators to prevent multiple conversion
5410           (and get a more robust interface)
5411
5412 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5413
5414         * lyxfunc.C (dispatch): RESULT -> dispatch_result
5415         * lyxtext.h: ditto
5416         * text3.C (dispatch): ditto
5417
5418 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5419
5420         * LaTeX.C (handleFoundFile): move the static to smaller scope,
5421         move the onlyfile, use onlyfile instead of foundfile in a couple
5422         of places.
5423
5424         * DepTable.C (update): flush the error stream a bit more
5425
5426 2003-10-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
5427
5428         * lyxserver.C (callback): adjust
5429
5430         * lyxfunc.C (getStatus): add a missing brace in commented code
5431         (ensureBufferClean): reindent
5432         (dispatch): delete version taking a string
5433
5434 2003-10-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
5435
5436         * LaTeX.C (deplog): move found file handlig from here...
5437         (handleFoundFile): .. to new function here.
5438         (deplog): make sure to discover several files mentioned on the
5439         same log line.
5440
5441 2003-10-10  André Pönitz  <poenitz@gmx.net>
5442
5443         * lyxfunc.C:
5444         * lyxtext.h:
5445         * tabular.C:
5446         * text.C:
5447         * text2.C:
5448         * text3.C: fix some of the tabular crashes
5449
5450 2003-10-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
5451
5452         * MenuBackend.C (binding): put debug message into Debug::KBMAP
5453
5454         * lyxlex_pimpl.C (setFile): put debug messages into Debug::LYXLEX.
5455
5456 2003-10-09  André Pönitz  <poenitz@gmx.net>
5457
5458         * lyxcursor.h: use paroffset_type instead of ParagraphList::iterator
5459
5460         * BufferView.C:
5461         * BufferView_pimpl.C:
5462         * bufferview_funcs.C:
5463         * lyx_cb.C:
5464         * lyxcursor.C:
5465         * lyxfind.C:
5466         * lyxfunc.C:
5467         * lyxtext.h:
5468         * text.C:
5469         * text2.C:
5470         * text3.C:
5471         * text_funcs.[Ch]:
5472         * textcursor.[Ch]:
5473         * undo_funcs.C: adjust
5474
5475 2003-10-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
5476
5477         * text2.C (incrementItemDepth): new function, use a backtracking
5478         algorithm to discover the correct item depth.
5479         (resetEnumCounterIfNeeded): new function, use a backtracking
5480         algorithm to discover if counter reset is needed.
5481         (setCounter): use them. Simplify a bit. Add different labels for
5482         different item depths for itemize.
5483
5484         * paragraph.C (Paragraph): remove initialization of enumdepth
5485         (operator=): ditto
5486
5487         * paragraph.h: get rid of enumdepth, and use itemdepth both for
5488         enumerate and itemize. Change the type of itemdepth to signed char.
5489
5490 2003-10-08  André Pönitz  <poenitz@gmx.net>
5491
5492         * lyxtext.h: make the paragraphs_ a pointer instead a ref to make the
5493           thing assignable.
5494         * text.C:
5495         * text2.C: adjust
5496
5497         * tabular.[Ch]: fix crash after 'row-insert'
5498
5499 2003-10-08  Angus Leeming  <leeming@lyx.org>
5500
5501         Fix doxygen warnings.
5502
5503         * CutAndPaste.[Ch] (availableSelections). Now returns a const vector.
5504         Remove CutAndPaste:: prefix from header file declaration.
5505
5506         * LColor.h (fill): remove LColor:: prefix from declaration.
5507
5508         * buffer.C (readParagraph, simpleLinuxDocOnePar, simpleDocBookOnePar):
5509         use lyx::depth_type rather than Paragraph::depth_type so that
5510         header file and .C file match.
5511
5512         * converter.h (intToFormat): remove Converters:: prefix from declaration.
5513
5514         * Spacing.h: \file Spacing.h -> \file src/Spacing.h
5515         * aspell.C: \file aspell_local.C -> \file aspell.C
5516         * gettext.C: \file gettext.C -> \file src/gettext.C
5517         * gettext.h: \file gettext.h -> \file src/gettext.h
5518         * lyxfont.C: \file lyxfont.C -> \file src/lyxfont.C
5519         * lyxfont.h: \file lyxfont.h -> \file src/lyxfont.h
5520         * text.C: \file text.C -> \file src/text.C
5521
5522         * toc.C: move comment so that doxygen is not confused.
5523
5524 2003-10-07  Angus Leeming  <leeming@lyx.org>
5525
5526         * factory.C (createInset): InsetExternal::Params -> InsetExternalParams
5527
5528 2003-10-07  Jürgen Spitzmüller <j.spitzmueller@gmx.de>
5529
5530         * aspell.C:
5531         * aspell_local.h: add forgotten std::string's.
5532
5533 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
5534
5535         * LaTeXFeatures.C:
5536         * LyXAction.C:
5537         * factory.C:
5538         * lfuns.h:
5539         * lyxfunc.C:
5540         * text3.C: The Box patch. Fancybox support, minipage, parbox
5541
5542 2003-10-07  Martin Vermeer <martin.vermeer@hut.fi>
5543
5544         * CutAndPaste.h:
5545         * DepTable.h:
5546         * FloatList.h:
5547         * LaTeXFeatures.h:
5548         * ParagraphParameters.h:
5549         * TextCache.h:
5550         * Thesaurus.h:
5551         * bufferlist.h:
5552         * exporter.h:
5553         * importer.h:
5554         * lastfiles.h:
5555         * lyxfind.h:
5556         * lyxfont.h:
5557         * lyxlex.h:
5558         * lyxtextclasslist.h:
5559         * messages.h:
5560         * paragraph.h:
5561         * paragraph_pimpl.C:
5562         * textcursor.h: add <string> and other small fixes to make Lars'
5563         std::string patch compile with STLport.
5564
5565 2003-10-06  Angus Leeming  <leeming@lyx.org>
5566
5567         * LColor.h: Add missing #include <string>.
5568
5569 2003-10-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
5570
5571         * All most all file in all subdirs: Make <string> be the prefered
5572         way of getting to std::string, add using declarations.
5573
5574 2003-10-06  André Pönitz  <poenitz@gmx.net>
5575
5576         * metricsinfo.C: initialize LyXFont before changing attribute.
5577         (fixes the 'math in \emph is upright' bug)
5578
5579 2003-10-06  André Pönitz  <poenitz@gmx.net>
5580
5581         * tabular.[Ch]: saner reinitialization, ret rid of LyXTabular::owner_
5582
5583 2003-10-06  Martin Vermeer  <martin.vermeer@hut.fi>
5584
5585         * graph.C:
5586         * paragraph_pimpl.C: Small fixes to build using STLport
5587
5588 2003-10-02  André Pönitz  <poenitz@gmx.net>
5589
5590         * lyxfunc.C:
5591         * text3.C: move handling of LFUN_DEPTH *; fix #1360
5592
5593 2003-10-01  André Pönitz  <poenitz@gmx.net>
5594
5595         * factory.C: assert early
5596
5597 2003-09-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
5598
5599         * lyx_main.C: remove the global debug object
5600
5601         * debug.h: adjust for new debugstream
5602
5603         * debug.C: adjust for new debugstream and keep the global debug
5604         object here.
5605
5606 2003-09-22  Angus Leeming  <leeming@lyx.org>
5607
5608         * paragraph_pimpl.h: add #include "lyxfont.h". Needed by earlier versions
5609         of g++ which otherwise complain that the scoped_ptr destructor can't delete
5610         an incomplete class LyXFont.
5611
5612 2003-09-22  Martin Vermeer  <martin.vermeer@hut.fi>
5613
5614         * factory.C: bug fix in branches
5615
5616 2003-09-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
5617
5618         * lyxfunc.C (processKeySym): adjust
5619         (dispatch): adjust
5620         (dispatch): change arg name from ev to func, adjust
5621         (sendDispatchMessage): ditto
5622
5623         * lyx_main.C (defaultKeyBindings): adjust keybindings
5624         (deadKeyBindings): ditto
5625
5626         * kbsequence.C (addkey): return a FuncRequest
5627
5628         * kbmap.h (kb_key): struct var FuncRequest instead of int action.
5629
5630         * kbmap.C (bind): take a FuncRequest as arg, adjust
5631         (read): adjust
5632         (lookup): adjust
5633         (defkey): change to take a FuncRequest as arg, adjust
5634         (findbinding): take a FuncRequest as arg, adjust.
5635
5636         * funcrequest.h (operator=): added
5637
5638         * funcrequest.C (FuncRequest): default kb_action changed from
5639         LFUN_UNKNOWN_ACTION to LFUN_NO_ACTION
5640
5641         * buffer.C (dispatch): simplify
5642         (dispatch): adjust to take a FuncRequest as arg, adjust
5643
5644         * boost.C (assertion_failed): change assertion message slightly
5645
5646         * ToolbarBackend.C (read): simplify
5647
5648         * MenuBackend.C (binding): adjust call to findbinding, add a
5649         message if no binding is found.
5650         (read): simplify
5651         (expandToc): correct by adding a empty FuncRequest
5652
5653         * LyXAction.C: include <boost/assert.hpp>
5654         (isPseudoAction): delete function
5655         (LookupFunc): change name to...
5656         (lookupFunc): this. change return type to FuncRequest.
5657         (getActionName): take kb_action as arg, simplify
5658         (funcHasFlag): add an assert, simplify.
5659
5660 2003-09-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
5661
5662         * toc.C (action): return a FuncRequest, simplify
5663
5664         * lyxfunc.C (processKeySym): adjust
5665         (getStatus): delete version that takes an int.
5666         (getStatus): adjust
5667         (dispatch): delete version that takes action as int
5668         (dispatch): adjust
5669         (sendDispatchMessage): simplify and adjust
5670
5671         * funcrequest.C (getArg): take unsigned int as arg
5672
5673         * ToolbarBackend.C (read): adjust
5674         (add): delete version that takes func as a string.
5675         (getIton): take a FuncRequest as arg
5676
5677         * MenuBackend.h (MenuItem): store a FuncRequest instead of an int
5678         action.
5679
5680         * MenuBackend.C (MenuItem): add a new construct that only takes a
5681         Kind, simplify the constructor use for submenus.
5682         (add): adjust
5683         (expandLastfiles): adjust
5684         (expandDocuments): adjust
5685         (expandFormats): adjust
5686         (expandFloatListInsert): adjust
5687         (expandFloatInsert): adjust
5688         (expandToc2,expandToc,expandPasteRecent,expandBranches): adjust
5689
5690         * LyXAction.h: remove typdefs pseudo_map, arg_item and arg_map.
5691         Remove class variables lyx_pseudo_map and lyx_arg_map
5692
5693         * LyXAction.C (searchActionArg): delete function
5694         (getPseudoAction): delete function
5695         (retrieveActionArg): delete function
5696         (LookupFunc): make it return kb_action, simplify.
5697         (getActionName): simplify
5698
5699         * factory.C (createInset): fix new bug
5700
5701 2003-09-19  Angus Leeming  <leeming@lyx.org>
5702
5703         * CutAndPaste.C (pasteSelection): remove fudge used to set the
5704         masterFilename_ parameter in the include inset.
5705
5706         * factory.C (createInset): changes due to the changes to InsetInclude.
5707
5708 2003-09-19  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5709
5710         * paragraph.C: use appropriate alignment tags inside floats (bug 1290)
5711
5712 2003-09-18  Angus Leeming  <leeming@lyx.org>
5713
5714         * buffer.C:
5715         * BufferView.C: pass the buffer when calling Inset::getLabelList,
5716         Inset::fillWithBibKeys.
5717         * tabular.[Ch] (getLabelList): receive, pass on a Buffer const & arg.
5718
5719 2003-09-18  Angus Leeming  <leeming@lyx.org>
5720
5721         * LaTeXFeatures.[Ch]: append a '_' to the names of all private member
5722         variables.
5723         (ctor): pass and store a 'Buffer const &'
5724         (buffer): new member function.
5725
5726         * buffer.C (makeDocBookFile, makeLinuxDocFile, makeLaTeXFile): pass
5727         '*this' to the LaTeXFeatures ctor.
5728
5729 2003-09-18  Angus Leeming  <leeming@lyx.org>
5730
5731         * LColor.h:
5732         * lyxfont.C:
5733         * lyxfont.h:
5734         * lyxtext.h:
5735         * text.C: rename EnumLColor as LColor_color.
5736
5737 2003-09-18  Angus Leeming  <leeming@lyx.org>
5738
5739         * cursor.[Ch]: use the dispatch_result wrapper class DispatchResult to
5740         remove #include "insets/insetbase.h" from cursor.h.
5741
5742 2003-09-18  Angus Leeming  <leeming@lyx.org>
5743
5744         * paragraph.[Ch] (insetAllowed): use the InsetOld::Code wrapper class
5745         InsetOld_code to remove #include "inset.h".
5746
5747         * iterators.C: add #include "insets/inset.h"
5748
5749 2003-09-16  Martin Vermeer  <martin.vermeer@hut.fi>
5750
5751         * BufferView.C: remove more locking stuff that apparently doesn't
5752         do anything sensible.
5753
5754 2003-09-16  André Pönitz  <poenitz@gmx.net>
5755
5756         * paragraph.[Ch]:
5757         * paragraph_pimpl.[Ch]: un-pimpl Paragraph::(Pimpl::)text for a >10%
5758           performance boost.
5759
5760 2003-09-16  Angus Leeming  <leeming@lyx.org>
5761
5762         * lyxfont.h (LyXFont_size): a wrapper class for LyXFont::FONT_SIZE.
5763
5764         * paragraph.[Ch] (highestFontInRange): use LyXFont_size as function
5765         arg/return type.
5766
5767         * paragraph.h: remove #include "lyxfont.h". Forward declare
5768         LyXFont_size.
5769
5770 2003-09-16  Angus Leeming  <leeming@lyx.org>
5771
5772         * paragraph.C (IsInsetChar): new function in namespace anon, moved out
5773         of support/textutils.h.
5774         (isWord): move the contents of support/textutils.h's IsWordChar here.
5775
5776         * buffer.C:
5777         * lyxfind.C:
5778         * rowpainter.C:
5779         * text.C:
5780         * text2.C: add #include "paragraph.h".
5781
5782         * rowpainter.C:
5783         * text.C: replace IsInsetChar(c) with a direct test of Paragraph::META_INSET.
5784
5785 2003-09-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
5786
5787         * main.C:
5788         * lyx_main.C:
5789         * lyx_cb.C:
5790         * buffer.C:
5791         * LaTeX.C: use namespace alias for lyx::support::os
5792
5793 2003-09-16  Angus Leeming  <leeming@lyx.org>
5794
5795         * bufferparams.C:
5796         * bufferview_funcs.C:
5797         * factory.C:
5798         * lyxfunc.C:
5799         * paragraph_pimpl.C:
5800         * rowpainter.C:
5801         * text.C: add #include "LColor.h".
5802
5803 2003-09-16  Angus Leeming  <leeming@lyx.org>
5804
5805         * lyxfont.[Ch]: (setFamily, setSeries, setShape, setSize, setEmph,
5806         setUnderbar, setNoun, setNumber, setColor, setLanguage): no longer
5807         return LyXFont &.
5808         Store the FontBits::color variable as an int rather than as an
5809         LColor::colorso that we can move LColor.h out of the lyxfont.h header
5810         file.
5811
5812         * rowpainter.C (paintAppendixStart, paintPageBreak, paintLengthMarker):
5813         LyXFont::setColor, decSize no longer return a LyXFont &, so cannot
5814         string calls together.
5815
5816         * lyxrc.C: add #include "LColor.h".
5817
5818 2003-09-15  Angus Leeming  <leeming@lyx.org>
5819
5820         * bufferparams.[Ch]: store the pimpl_ as a copied_ptr, rather than as
5821         a cow_ptr.
5822
5823 2003-09-15  Angus Leeming  <leeming@lyx.org>
5824
5825         * LColor.h: add an EnumLColor wrapper for LColor::color.
5826
5827         * lyxfont.[Ch] (color, setColor, realColor):
5828         * lyxtext.h, text.C (backgroundColor):
5829         pass EnumLColor args to/from the functions, rather than LColor::color
5830         ones.
5831
5832         * lyxfont.h:
5833         * lyxtext.h: forward declare EnumLColor.
5834
5835         * lyx_main.C: add #include "LColor.h".
5836
5837 2003-09-15  Angus Leeming  <leeming@lyx.org>
5838
5839         * .cvsignore: add lyx-gtk.
5840
5841 2003-09-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
5842
5843         * Chktex.C
5844         * LaTeX.C
5845         * LaTeXFeatures.C
5846         * ParagraphParameters.C
5847         * Spacing.C
5848         * buffer.C
5849         * bufferparams.C
5850         * bufferview_funcs.C
5851         * chset.C
5852         * counters.C
5853         * funcrequest.C
5854         * lyxfont.C
5855         * lyxgluelength.C
5856         * lyxlength.C
5857         * paragraph.C
5858         * paragraph_funcs.C
5859         * text3.C
5860         * vc-backend.C: remove usage of STRCONV
5861
5862 2003-09-15  Angus Leeming  <leeming@lyx.org>
5863
5864         * rowpainter.C (paintLengthMarker, paintPageBreak, paintAppendixStart):
5865         explicitly define the color passed to the painter.
5866
5867 2003-09-15  Angus Leeming  <leeming@lyx.org>
5868
5869         * bufferparams.C (BufferParams): reorder member initializers to avoid
5870         compiler warning.
5871
5872 2003-09-15  Alfredo Braunstein  <abraunst@libero.it>
5873
5874         * CutAndPaste.C (pasteSelection): remove an outdated #warning
5875         * text.C (updateRowPositions): remove an unusual nop
5876
5877 2003-09-12  André Pönitz  <poenitz@gmx.net>
5878
5879         * BufferView_pimpl.C:
5880         * Bullet.C:
5881         * layout.h:
5882         * lyxfunc.C:
5883         * lyxlayout.[Ch]:
5884         * lyxtextclass.C:
5885         * rowpainter.C:
5886         * text.C:
5887         * text2.C:
5888         * Counters.[Ch]: finish the 'automatic counters' job
5889
5890 2003-09-12  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
5891
5892         * aspell.C: include <boost/assert.cpp> (compile fix)
5893
5894 2003-09-10  Rob Lahaye  <lahaye@snu.ac.kr>
5895
5896         * boost.C (assertion_failed): use lyx::support::abort instead of
5897         assert.
5898
5899 2003-09-10  Angus Leeming  <leeming@lyx.org>
5900
5901         * Makefile.am (lyx_SOURCES): replace ParagraphList.h and RowList.h
5902         with their _fwd progeny.
5903
5904 2003-09-09  Angus Leeming  <leeming@lyx.org>
5905
5906         134 files throughtout the source tree: replace 'using namespace abc;'
5907         directives with the appropriate 'using abc::xyz;' declarations.
5908
5909 2003-09-09  Lars Gullik Bjønnes  <larsbj@lyx.org>
5910
5911         * boost.C (emergencyCleanup): moved here from LAssert.c
5912         (assertion_failed): new function, called by BOOST_ASSERT
5913
5914         * several files: change Assert to BOOST_ASSERT
5915
5916 2003-09-09  Angus Leeming  <leeming@lyx.org>
5917
5918         * buffer.[Ch]: Add an Impl class and move Buffer's member
5919         variables into it. As a result move several header files out of
5920         buffer.h.
5921
5922         Add header files to lots of .C files all over the tree as a result.
5923
5924 2003-09-09  Angus Leeming  <leeming@lyx.org>
5925
5926         * buffer.[Ch]: make Buffer's member variables private. Add
5927         accessor functions.
5928
5929         Lots of changes all over the tree as a result.
5930
5931 2003-09-08  Angus Leeming  <leeming@lyx.org>
5932
5933         * graph.C: #include <config.h>.
5934
5935 2003-09-08  Angus Leeming  <leeming@lyx.org>
5936
5937         * BranchList.C:
5938         * BufferView.C:
5939         * BufferView_pimpl.C:
5940         * CutAndPaste.C:
5941         * DepTable.C:
5942         * LaTeX.C:
5943         * LaTeXFeatures.C:
5944         * LyXAction.C:
5945         * MenuBackend.C:
5946         * TextCache.C:
5947         * aspell.C:
5948         * buffer.C:
5949         * bufferlist.C:
5950         * changes.C:
5951         * chset.C:
5952         * converter.C:
5953         * counters.C:
5954         * debug.C:
5955         * graph.C:
5956         * ispell.C:
5957         * lyx_cb.C:
5958         * lyxfind.C:
5959         * lyxfunc.C:
5960         * lyxlex_pimpl.C:
5961         * lyxrc.C:
5962         * lyxrow.C:
5963         * paragraph.C:
5964         * rowpainter.C:
5965         * texrow.C:
5966         * text.C:
5967         * text2.C:
5968         * toc.C: remove redundant using directives.
5969
5970 2003-09-07  Angus Leeming  <leeming@lyx.org>
5971
5972         * LaTeXFeatures.h: remove #include "support/types.h".
5973         * ToolbarBackend.h: remove #include <algorithm>.
5974         * changes.h: remove #include <ctime>.
5975         * debug.h: remove #include <iosfwd>.
5976         * graph.h: remove #include "support/std_string.h".
5977         * lyx_main.h: remove #include <csignal>.
5978         * lyxlex_pimpl.h: remove #include <fstream>.
5979         * sgml.h: remove #include <algorithm>, <utility>.
5980         * toc.h: remove #include "support/std_ostream.h".
5981         Add #include <iosfwd>.
5982
5983 2003-09-07  Angus Leeming  <leeming@lyx.org>
5984
5985         * vspace.[Ch] (length): returns a const & to a LyXGlueLength.
5986
5987         * converter.h: forward declare LatexRunParams.
5988         * encoding.h: remove #include "lyxrc.h".
5989         * lyxtext.h: remove #include "LColor.h".
5990         * lyxtextclass.h: remove #include "support/types.h".
5991         * trans.h: remove #include "tex-accent.h".
5992         * trans_mgr.h: remove #include "tex-accent.h".
5993         * insets/inset.h: remove #include "support/types.h", <vector>.
5994         * insets/insetcollapsable.h: remove #include "LColor.h".
5995         * insets/insetinclude.h: remove #include "dimension.h".
5996         * insets/insetlatexaccent.h: remove #include "dimension.h".
5997         * insets/insetoptarg.h:: remove #include "insettext.h".
5998         * insets/insettext.h: remove #include "dimension.h",
5999         <boost/shared_ptr.hpp>
6000
6001         * insets/renderers.h: add #include "dimension.h".
6002         * insets/updatableinset.h: add #include "support/types.h".
6003
6004         * many .C files: Associated changes.
6005
6006 2003-09-06  Angus Leeming  <leeming@lyx.org>
6007
6008         * Bullet.[Ch]: factorize all those #ifdef ENABLE_ASSERTIONS to just
6009         one, inside testInvariant.
6010
6011         * PrinterParams.C: new file.
6012         * PrinterParams.[Ch]: move the function bodies out of line.
6013
6014 2003-09-06  Angus Leeming  <leeming@lyx.org>
6015
6016         * ParagraphParameters.h: forward declare ParameterStruct rather than
6017         including its header file.
6018         (depth): moved out-of-line.
6019
6020 2003-09-06  Angus Leeming  <leeming@lyx.org>
6021
6022         * BufferView_pimpl.h:
6023         * kbmap.h:
6024         * kbsequence.h:
6025         * lyxfunc.h: forward declare LyXKeySym rather than
6026         #include "frontends/LyXKeySym.h".
6027
6028         * BufferView_pimpl.C:
6029         * kbmap.C:
6030         * kbsequence.C:
6031         * lyxfunc.C: associated changes.
6032
6033 2003-09-06  Angus Leeming  <leeming@lyx.org>
6034
6035         * BufferView.[Ch] (ChangeInsets): moved to BufferView_pimpl.[Ch].
6036         As a result, can remove the #include "insets/inset.h" from BufferView.h
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         * buffer_funcs.C:
6046         * buffer.h:
6047         * bufferlist.C:
6048         * BufferView.C:
6049         * bufferview_funcs.C:
6050         * BufferView_pimpl.C:
6051         * CutAndPaste.C:
6052         * lyx_cb.C:
6053         * lyxfunc.C:
6054         * paragraph.h:
6055         * ParagraphParameters.C:
6056         * tabular.C:
6057         * text3.C:
6058         * toc.C:
6059         * undo_funcs.C:
6060         * frontends/controllers/ControlDocument.C:
6061         * insets/insetcaption.C: rearrange the #includes into some sort of
6062         coherent order.
6063
6064         * buffer.h: remove #includes ErrorList.h, undo.h
6065
6066 2003-09-06  Angus Leeming  <leeming@lyx.org>
6067
6068         * support/types.h: add a 'depth_type' typedef, used to store the
6069         nesting depth of a paragraph.
6070
6071         * paragraph.h:
6072         * ParameterStruct.h: use this lyx::depth_type typedef rather than
6073         defining explicitly.
6074
6075         * buffer.h:
6076         * paragraph_funcs.h:
6077         * ParagraphParameters.h:
6078         * sgml.h: use lyx::depth_type rather than Paragraph or
6079         ParameterStruct's depth_type.
6080
6081         * buffer.h
6082         * paragraph_funcs.h: no need to #include paragraph.h anymore.
6083
6084         * BufferView.C:
6085         * BufferView_pimpl.C:
6086         * CutAndPaste.C:
6087         * ParagraphParameters.C:
6088         * buffer_funcs.C:
6089         * bufferlist.C:
6090         * bufferview_funcs.C:
6091         * lyx_cb.C:
6092         * lyxfunc.C:
6093         * tabular.C:
6094         * text3.C:
6095         * toc.C:
6096         * undo_funcs.C:
6097         * frontends/LyXView.C:
6098         * frontends/controllers/ControlDocument.C:
6099         * frontends/controllers/ControlErrorList.C:
6100         * insets/insetbibitem.C:
6101         * insets/insetbranch.C:
6102         * insets/insetcaption.C:
6103         * insets/insetcollapsable.C:
6104         * insets/insetenv.C:
6105         * insets/insetert.C:
6106         * insets/insetfloat.C:
6107         * insets/insetfoot.C:
6108         * insets/insetfootlike.C:
6109         * insets/insetnewline.C:
6110         * insets/insetquotes.C:
6111         * insets/insettabular.C:
6112         * insets/insettext.C:
6113         * insets/insetwrap.C: must now explicitly #include "paragraph.h".
6114
6115         * frontends/controllers/ControlChanges.C: #include "changes.h".
6116
6117 2003-09-06  Angus Leeming  <leeming@lyx.org>
6118
6119         * ParagraphList_fwd.h: new file, forward-declaring Paragraph rather
6120         than #including paragraph.h.
6121
6122         * ParagraphList.h:
6123         * RowList.h: deleted. Superfluous.
6124
6125         * CutAndPaste.h:
6126         * iterators.h:
6127         * lyxcursor.h:
6128         * lyxtext.h:
6129         * text_funcs.h:
6130         * undo.h:
6131         * undo_funcs.h:
6132         * insets/inset.h:
6133         * insets/insettext.h: use ParagraphList_fwd.h rather than
6134         ParagraphList.h.
6135
6136         * paragraph.h: don't forward declare ParagraphList.
6137
6138         * buffer.h:
6139         * paragraph_funcs.h: #include ParagraphList_fwd.h and paragraph.h
6140         rather than ParagraphList.h. paragraph.h is still needed for the
6141         Paragraph::depth_type parameters.
6142
6143         * textcursor.h: enable it to compile stand-alone in light of the
6144         above changes.
6145
6146         * bufferview_funcs.C:
6147         * iterators.C:
6148         * lyxfunc.C:
6149         * lyxrow_funcs.C:
6150         * paragraph.C:
6151         * rowpainter.C:
6152         * text.C:
6153         * text2.C:
6154         * text3.C:
6155         * text_funcs.C:
6156         * textcursor.C:
6157         * undo.C:
6158         * frontends/controllers/ControlParagraph.C:
6159         * frontends/controllers/ControlTabular.C:
6160         * insets/insetmarginal.C:
6161         * insets/insetminipage.C:
6162         * insets/insetnote.C:
6163         * insets/insetoptarg.C: add header files needed to compile again.
6164
6165 2003-09-06  Angus Leeming  <leeming@lyx.org>
6166
6167         * RowList_fwd.h: new file, forward-declaring Row rather than
6168         #including lyxrow.h.
6169
6170         * lyxrow_funcs.h:
6171         * lyxtext.h:
6172         * paragraph.h:
6173         * insets/insettext.h: use it instead of RowList.h
6174
6175         * bufferview_funcs.C:
6176         * lyxfunc.C:
6177         * lyxrow_funcs.C:
6178         * paragraph.C:
6179         * rowpainter.C:
6180         * text.C:
6181         * text2.C:
6182         * text3.C: #include "RowList.h".
6183
6184 2003-09-05  Angus Leeming  <leeming@lyx.org>
6185
6186         * factory.C (createInset):
6187         * vspace.C (c-tor): replace sscanf call with an istringstream.
6188         * ispell.C: re-add missing HP/UX headers.
6189         * lyxserver.C: re-add missing  os2 headers.
6190
6191 2003-09-05  Martin Vermeer  <martin.vermeer@hut.fi>
6192
6193         * BranchList.C:
6194         * graph.C:
6195         * ispell.C:
6196         * lastfiles.C:
6197         * lyx_cb.C:
6198         * lyxserver.C:
6199         * texrow.C:
6200         * text3.C: re-add missing system headers, needed for 2.95.2.
6201
6202 2003-09-05  Angus Leeming  <leeming@lyx.org>
6203
6204         Changes most place everywhere due to the removal of using directives
6205         from support/std_sstream.h.
6206
6207 2003-09-05  Angus Leeming  <leeming@lyx.org>
6208
6209         Replace LString.h with support/std_string.h,
6210         Lsstream.h with support/std_sstream.h,
6211         support/LIstream.h with support/std_istream.h,
6212         support/LOstream.h with support/std_ostream.h.
6213
6214         Changes resulting throughout the tree.
6215
6216 2003-09-05  Angus Leeming  <leeming@lyx.org>
6217
6218         * sgml.h: ensure that the header file can be compiled stand-alone.
6219         * *.C: strip out redundant #includes. (320 in total.)
6220
6221 2003-09-04  Angus Leeming  <leeming@lyx.org>
6222
6223         * LaTeXFeatures.C (getMacros): move the output of the preamble_snippets
6224         here (from getPackages).
6225
6226         * debug.[Ch]: add a new EXTERNAL tag.
6227
6228 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
6229
6230         * text2.C (cursorEnd): simplify
6231         (setCursor): adjust
6232         (getColumnNearX): adjust
6233
6234         * text.C (computeBidiTables): adjust
6235         (fill): adjust
6236
6237         * rowpainter.C (paintChars): adjust
6238         (paintSelection): adjust
6239         (paintChangeBar): adjust
6240         (paintText): adjust
6241
6242         * lyxrow_funcs.C (lastPrintablePos): remove, all users now call
6243         lastPos instead.
6244         (numberOfSeparators): adjust
6245
6246 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
6247
6248         * LyXAction.C:
6249         * box.[Ch]:
6250         * lfuns.h:
6251         * lyxfunc.C:
6252         * text3.C: Restricts the mouse click functionality
6253         of insets like bibtex, include, toc and floatlist to the visible
6254         button, and allows the use of LFUN_INSET_SHOW_DIALOG to bring
6255         up the dialogs. Cursor has to be in front of the inset (i.e.
6256         start of row) for this to function.
6257
6258 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
6259
6260         * bufferview_funcs.C (currentState): output row information
6261
6262 2003-09-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
6263
6264         * bufferview_funcs.C (currentState): output paragraph position
6265
6266 2003-09-04  Angus Leeming  <leeming@lyx.org>
6267
6268         * FloatList.h: move out #include "Floating.h".
6269         * LaTeX.h: move out #include "DepTable.h".
6270         * LyXAction.h: move out #include "funcrequest.h".
6271         * buffer.h: move out #include "author.h", "iterators.h".
6272         * bufferparams.h: move out #include "LaTeXFeatures.h", "texrow.h".
6273         * lyx_main.h: move out #include "errorlist.h".
6274         * lyxfunc.h: move out #include "FuncStatus.h".
6275         * lyxtext: move out #include "lyxcursor.h".
6276         * paragraph_pimpl.h: move out #include "counters.h".
6277
6278 2003-09-03  Angus Leeming  <leeming@lyx.org>
6279
6280         * LaTeXFeatures.[Ch]: replace the externalPreambles string with a
6281         preamble_snippets list, enabling us to add snippets to the preamble
6282         only if the snippet was not there already.
6283
6284 2003-09-04  Angus Leeming  <leeming@lyx.org>
6285
6286         * Chktex.C, converter.C, lyx_cb.C: add #include "support/lyxlib.h".
6287
6288 2003-09-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
6289
6290         * lyxfunc.C (dispatch): if fitCursor did something be sure to
6291         update
6292
6293 2003-09-03  Martin Vermeer  <martin.vermeer@hut.fi>
6294
6295         * BranchList.C: point fix, earlier forgotten
6296
6297 2003-09-02  Angus Leeming  <leeming@lyx.org>
6298
6299         * box.C (contains): renamed from 'contained' after a fantastic
6300         amount of hot air.
6301
6302 2003-09-02  John Levon  <levon@movementarian.org>
6303
6304         * BufferView.C:
6305         * lyxcursor.h:
6306         * lyxcursor.C:
6307         * lyxfunc.C:
6308         * lyxfunc.h: remove cursor.i[x]y(), it no longer differs
6309
6310 2003-09-02  John Levon  <levon@movementarian.org>
6311
6312         * text2.C: simplification of cursorEnd(), including partial
6313         fix for bug 1376
6314
6315 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6316
6317         * buffer.C (readFile): add a space
6318
6319 2003-09-02  Alfredo Braunstein  <abraunst@libero.it>
6320
6321         * BufferView_pimpl.C (update): remove bogus fitCursor() call
6322
6323 2003-09-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
6324
6325         * buffer.C (readFile): new function, take a filename and a
6326         ParagraphList::iterator
6327         (readFile): adjust
6328         (readFile): adjust, make it private. don't use setStream, make
6329         lyx2lyx use a temporary file. Some simplificaton. Make the Alerts
6330         always contain the filename.
6331
6332         * BufferView.C (insertLyXFile): simplify and make it work for
6333         gzipped files.
6334
6335 2003-08-30  John Levon  <levon@movementarian.org>
6336
6337         * Makefile.am: fix dist (from Kayvan)
6338
6339 2003-08-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6340
6341         * most files: change to use const Buffer refs
6342
6343 2003-08-27  André Pönitz  <poenitz@gmx.net>
6344
6345         * BufferView.[Ch]: remove getParentText, implement getParentLanguage
6346         on top of ownerPar().
6347
6348 2003-08-27  John Levon  <levon@movementarian.org>
6349
6350         * funcrequest.C: properly initialise POD members
6351
6352 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
6353
6354         * lyxtext.h (top_y): move top_y from here
6355         * text.C:
6356         * text2.C:
6357         * text3.C:
6358         * BufferView.[Ch]:
6359         * BufferView_pimpl.[Ch]: to here
6360         * frontends/screen.C:
6361         * insets/insettabular.C:
6362         * insets/insettext.C: adjust
6363         * rowpainter.[Ch] (paintRows): remove LyXText & argument
6364
6365 2003-08-27  Alfredo Braunstein  <abraunst@libero.it>
6366
6367         * BufferView.[Ch]:
6368         * BufferView_pimpl.[Ch] (updateInset): add an InsetOld * argument
6369
6370 2003-08-26  André Pönitz  <poenitz@gmx.net>
6371
6372         * paragraph_func.[Ch] (outerPar): new function
6373
6374         * paragraph.C:
6375         * paragraph_funcs.C:
6376         * paragraph_funcs.h:
6377         * paragraph_pimpl.C:
6378         * text2.C: remove Inset::par_owner
6379
6380 2003-08-25  Martin Vermeer  <martin.vermeer@hut.fi>
6381
6382         * lyxrow_funcs.C:
6383         * lyxtext.h:
6384         * text.C:
6385         * text2.C: eliminates the needFullRow/display() stuff
6386         altogether, putting the logic in metrics/draw in the insets.
6387
6388 2003-08-25  Alfredo Braunstein  <abraunst@libero.it>
6389
6390         * text2.C (redoParagraphInternal, redoParagraphs):
6391         * text.C (redoParagraph): add a call to updateRowPositions at the
6392         end of each 'metrics-like' call. Remove all others.
6393         (getRow): remove the 'y-computing' version.
6394         (getRowNearY): do not compute nor return the real y. Solve the
6395         'y < 0' problem and simplify.
6396
6397 2003-08-22  Angus Leeming  <leeming@lyx.org>
6398
6399         * *.[Ch]: clean-up of licence and author blurbs.
6400         Also move config.h out of a few .h files and into a few .C files.
6401
6402 2003-08-22  André Pönitz  <poenitz@gmx.net>
6403
6404         * lyxrow.[Ch]: add x_ and *fill_ members
6405
6406         * lyxtext.h:
6407         * text.C:
6408         * rowpainter.C:
6409         * text2.C: adjust/remove prepareToPrint() calls
6410
6411 2003-08-22  André Pönitz  <poenitz@gmx.net>
6412
6413         * lyxrow.[Ch]: add  end_ member
6414
6415         * lyxrow_funcs.C: use LyXRow::end_
6416
6417         * lyxtext.h (singleWidth): add LyXFont parameter
6418
6419         * rowpainter.C:
6420         * text2.C: adjust LyXText::singleWidth() calls
6421
6422         * text.C (redoParagraph): simplify row breaking logic
6423
6424
6425 2003-08-19  André Pönitz  <poenitz@gmx.net>
6426
6427         * funcrequest.C: initialize button_ member
6428
6429         * text3.C:
6430         * rowpainter.[Ch]: interface consolidation
6431
6432 2003-08-18  André Pönitz  <poenitz@gmx.net>
6433
6434         * BufferView.C:
6435         * BufferView_pimpl.C:
6436         * lyxfind.C:
6437         * paragraph_funcs.C:
6438         * rowpainter.C:
6439         * text3.C: remove LyXScreen::draw() and fitCursor calls
6440
6441         * BranchList.h: remove spurious semicolons
6442
6443         * MenuBackend.C: fix branchlist related crash
6444
6445 2003-08-17  Martin Vermeer  <martin.vermeer@hut.fi>
6446
6447         * BranchList.[Ch]:
6448         * InsetList.[Ch]:
6449         * LColor.[Ch]:
6450         * LyXAction.C:
6451         * Makefile.am:
6452         * MenuBackend.[Ch]:
6453         * bufferparams.[Ch]:
6454         * factory.C:
6455         * lfuns.h:
6456         * lyxfunc.C:
6457         * text3.C: implements the 'branch inset'
6458         idea. This allows the output of various versions of a document
6459         from a single source version, selectively outputing or suppressing
6460         output of parts of the text.
6461         This implementation contains a 'branch list editor' in a separate
6462         tab of the document settings dialog. Branches are user definable
6463         and have a "display colour" to distinguish them on-screen.
6464
6465         ColorHandler was somewhat cleaned up.
6466         (1) make possible a dynamically growing LColor list by allowing
6467         the graphic context cache to grow along (vector);
6468         (2) eliminate an IMHO unnecessary step in colour allocation.
6469
6470 2003-08-15  Kayvan A. Sylvan <kayvan@sylvan.com>
6471
6472         * BufferView_pimpl.C: compile fix
6473
6474 2003-08-15  André Pönitz  <poenitz@gmx.net>
6475
6476         * rowpainter.C: remove extra metrics calls
6477
6478         * lyxtext.h: merge the two constructors into a single one,
6479           pass reference to owner's par list
6480
6481         * BufferView_pimpl.C:
6482         * text.C:
6483         * text2.C: adjust
6484
6485 2003-08-15  André Pönitz  <poenitz@gmx.net>
6486
6487         * lyxrow_funcs.[Ch]:
6488         * lyxtext.h:
6489         * paragraph.h:
6490         * paragraph_funcs.C:
6491         * rowpainter.C:
6492         * text.C:
6493         * text2.C:
6494         * text3.C:
6495         * text_funcs.C: split LyXText::rowlist_ into individual
6496         Paragraph::rows_ chunks
6497
6498         * BufferView.[Ch]:
6499         * BufferView_pimpl.[Ch]:
6500         * lyxfind.C:
6501         * lyxtext.h:
6502         * text3.C: remove toggleSelection()
6503
6504 2003-08-12  Michael Schmitt  <michael.schmitt@teststep.org>
6505
6506         * bufferlist.C: beautify two alerts (shorter text of buttons)
6507         * buffer.C: Remove redundant ' ' from message
6508         * tabular.h:
6509         * tabular.C: rename LYX_VALIGN_CENTER" to LYX_VALIGN_MIDDLE";
6510         rename M_VALIGN_CENTER to M_VALIGN_MIDDLE;
6511         rename VALIGN_CENTER to VALIGN_MIDDLE
6512
6513 2003-08-11  André Pönitz  <poenitz@gmx.net>
6514
6515         * lyxtext.h (getPar):
6516         * text.C: new function
6517
6518 2003-08-11  André Pönitz  <poenitz@gmx.net>
6519
6520         * Makefile.am:
6521         * tracer.[Ch]: remove unneeded files
6522
6523         * InsetList.[Ch]: remove resizeInsetsLyXText()
6524
6525         * lyxtext.h:
6526         * text.C:
6527         * text2.C:
6528         * text3.C: merge insertParagraphs() and appendParagraph()
6529         remove breakAgain(), update()
6530
6531         * BufferView_pimpl.[Ch]:
6532         * bufferview_funcs.[Ch]:
6533         * lyxfunc.C:
6534         * paragraph.[Ch]:
6535         * rowpainter.C:
6536         * tabular.C: adjust after text & InsetList changes.
6537
6538 2003-08-08  André Pönitz  <poenitz@gmx.net>
6539
6540         * text.C (insertChar, backspace): replace rowlist fiddling
6541         with rebreak of full par
6542
6543         * lyxtext.h:
6544         * text.C (breakAgainOneRow, redoHeightOfParagraph,
6545         checkParagraph, updateInset): removed
6546
6547 2003-08-07  André Pönitz  <poenitz@gmx.net>
6548
6549         * paragraph.C:
6550         * text3.C: merge some LFUN handlers, remove dead code
6551
6552 2003-08-06  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6553
6554         * .cvsignore: add lyx-xforms, lyx-qt, version.C-tmp and stamp-version
6555
6556 2003-08-05  Alfredo Braunstein  <abraunst@libero.it>
6557
6558         * text2.C (DEPM): fix part of bug 1255 and 1256
6559
6560 2003-08-05  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6561
6562         * BufferView_pimpl.C (workAreaDispatch): change to use
6563         LyXView::dispatch instead of BufferView::Pimpl::dispatch for lfuns
6564         that are no mouse related.
6565
6566 2003-08-05  André Pönitz  <poenitz@gmx.net>
6567
6568         * BufferView.[Ch]:
6569         * BufferView_pimpl.[Ch]:
6570         * bufferview_funcs.C:
6571         * text2.C:
6572         * text3.C: rip out "deep update"
6573
6574         * textcursor.[Ch] (last_sel_cursor): remove unused member
6575
6576 2003-08-04  André Pönitz  <poenitz@gmx.net>
6577
6578         * BufferView.[Ch]:
6579         * BufferView_pimpl.[Ch]:
6580         * ParagraphParameters.C:
6581         * bufferview_funcs.C:
6582         * lyx_cb.C:
6583         * lyxfind.C:
6584         * lyxfunc.C:
6585         * text.C:
6586         * text2.C:
6587         * text3.C: replace "complicated" BufferView::update(...) calls with
6588         simpler ones.
6589
6590         * BufferView.[Ch]: remove now unneeded BufferView::UpdateCodes
6591
6592 2003-08-02  Kayvan Sylvan  <kayvan@sylvan.com>
6593
6594         * Makefile.am (lyx_SOURCES): add paper.h
6595
6596 2003-08-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
6597
6598         * Makefile.am: move things around so that both lyx-qt and
6599         lyx-xforms can be built (according to --with-frontend). Then lyx
6600         is a symbolic link to lyx-[firstfrontend]
6601
6602 2003-08-02  Lars Gullik Bjønnes  <larsbj@lyx.org>
6603
6604         * Always use std::endl with lyxerr
6605
6606 2003-08-01  Lars Gullik Bjønnes  <larsbj@lyx.org>
6607
6608         * BufferView_pimpl.C: _Always_ use std::endl with lyxerr
6609
6610 2003-08-01  André Pönitz  <poenitz@gmx.net>
6611
6612         * BufferView.[Ch]:
6613         * BufferView_pimpl.[Ch]:
6614         * lyxfunc.C:
6615         * text3.C: merge BufferView::repaint() and BufferView::update()
6616
6617 2003-08-01  José Matos  <jamatos@lyx.org>
6618
6619         * buffer.[Ch]: file_format is no longer a buffer data element.
6620
6621 2003-08-01  André Pönitz  <poenitz@gmx.net>
6622
6623         * BufferView.C:
6624         * lyxtext.h:
6625         * text.C:
6626         * text2.C: make redoParagraph more independent of current cursor
6627
6628         * lyxtext.h (need_update, needUpdate, postPaint, clearPaint):
6629         * text.C:
6630         * text2.C: remove unneeded members
6631
6632 2003-07-30  André Pönitz  <poenitz@gmx.net>
6633
6634         * paragraph.[Ch] (copyIntoMinibuffer): removed unused function
6635
6636         * paragraph.[Ch] (cutIntoMinibuffer, insertFromMinibuffer):
6637           create a single function...
6638
6639         * paragraph_funcs.C (moveItem): ... here.
6640
6641         * text.C:
6642           lyxtext.h (LyXText::workWidth(InsetOld*)) remove. unused.
6643
6644 2003-07-30  Martin Vermeer  <martin.vermeer@hut.fi>
6645
6646         * LColor.[Ch]: Add comment and greyedout logical colors.
6647
6648 2003-07-30  André Pönitz  <poenitz@gmx.net>
6649
6650         * tabular.C: don't use Assert too heavily. This crashes where it
6651           shouldn't
6652
6653 2003-07-30  Alfredo Braunstein  <abraunst@libero.it>
6654
6655         * lyxfunc.C (dispatch): do not mark the buffer dirty if the action
6656         is disabled (bug 1232)
6657
6658 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
6659
6660         * factory.C: limited 'arg' scope
6661
6662 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
6663
6664         * factory.C: fixed Note submenu issues
6665
6666 2003-07-30      Martin Vermeer  <martin.vermeer@hut.fi>
6667
6668         * factory.C: submenu for Note/Comment/Greyedout
6669
6670 2003-07-29  Alfredo Braunstein  <abraunst@libero.it>
6671
6672         * lyx_main.C (LyX):
6673         * BufferView_pimpl.C (loadLyXFile): fix to bugs 1287 and 1297 + ws
6674
6675 2003-07-29  Martin Vermeer  <martin.vermeer@hut.fi>
6676
6677         * LaTeXFeatures.C:
6678         * lyx_sty.[Ch]:h: Implement a newenvironment in preamble for
6679         greyedout. Patch provided by Jürgen Spitzmüller.
6680
6681 2003-07-29  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6682
6683         * kbmap.C (read): fix error message when reading bind files
6684
6685 2003-07-29  Angus Leeming  <leeming@lyx.org>
6686
6687         * BufferView.[Ch] (ChangeCitationsIfUnique): This function most
6688         certainly does not do what it purports to do. I am doing it, and
6689         us, a favour by killing it.
6690
6691 2003-07-28  José Matos  <jamatos@lyx.org>
6692
6693         * buffer.C (readBody, do_writeFile):
6694         * paragraph.C(readParagraph): \end_document replaces \the_end.
6695
6696 2003-07-29  André Pönitz  <poenitz@gmx.net>
6697
6698         * BufferView.[Ch]:
6699         * BufferView_pimpl.[Ch]:
6700         * lyxfunc.C:
6701         * text2.C:
6702         * text3.C:
6703         * textcursor.[Ch]: remove toggleToggle & Co
6704
6705 2003-07-28  José Matos  <jamatos@fep.up.pt>
6706
6707         * buffer.C (readParagraph):
6708         * params_func (readParToken, readParagraph):
6709         * paragraph.C (write): \layout -> \begin_layout.
6710
6711 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6712
6713         * lyxlex_pimpl.C (setFile): clean up slightly.
6714
6715         * bufferparams.h: add compressed var
6716
6717         * buffer_funcs.C (readFile): adjust for LyXLex change
6718         (newFile): ditto + simplify
6719
6720         * buffer.C (writeFile): handle writing of compressed files
6721
6722         * buffer.[Ch] (readFile): begin LyXLex here, remove one argument.
6723         Check if the file is compressed and set a bufferparm if so.
6724
6725         * Makefile.am (lyx_LDADD): remove explicit -lz
6726
6727 2003-07-28  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6728
6729         * buffer.C (do_writeFile, makeLaTeXFile, makeLinuxDocFile,
6730         makeDocBookFile): put the real LyX version in the first line of
6731         the file
6732
6733         * version.h:
6734         * version.C.in: remove lyx_docversion
6735
6736         * tabular.C (write_attribute): add a template-based version to
6737         write enums properly
6738
6739 2003-07-28  André Pönitz  <poenitz@gmx.net>
6740
6741         * lyxtext.h:
6742         * text.C:
6743         * text2.C:
6744         * text3.C: use doubles again for x-coordinates. They are needed.
6745
6746 2003-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
6747
6748         * messages.C (getLocaleDir): use lyx_localedir()
6749
6750         * lyxlex_pimpl.C (setFile): compress stuff
6751
6752         * buffer.C (writeFile): add some compression stuff
6753         (do_writeFile): new func, dont call expliti close... will this
6754         breake anything?
6755
6756         * Makefile.am (lyx_LDADD): add -lz
6757
6758 2003-07-28  José Matos  <jamatos@fep.up.pt>
6759
6760         * buffer.C: increment file format.
6761         * paragraph_funcs (readParagraph, readParToken):
6762         * paragraph.C (readParagraph): add \end_layout.
6763
6764 2003-07-27  Angus Leeming  <leeming@lyx.org>
6765
6766         * Makefile.am: remove special casing for configure-time setting of
6767         LYX_DIR, TOP_SRCDIR and LOCALEDIR.
6768
6769         * lyx_main.C (init): remove all Jean-Marc's magic setting of
6770         system_lyxdir, build_lyxdir and user_lyxdir into the support lib.
6771
6772 2003-07-26  André Pönitz  <poenitz@gmx.net>
6773
6774         * paragraph_func.[Ch]:
6775         * paragraph.C (realizeFont): inline it whereever it is used
6776
6777         * rowpainter.C:
6778         * text.C:
6779         * text2.C:
6780         * text3.C: remove Buffer * parameter from a bunch of get*Font functions
6781
6782
6783 2003-07-26  André Pönitz  <poenitz@gmx.net>
6784
6785         *       lyxtext.h:
6786         * text.C:
6787         * text2.C: get rid of LyXText::need_break_row
6788
6789 2003-07-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
6790
6791         * toc.[Ch]: put namespace toc inside namespace lyx
6792
6793         * MenuBackend.C (expandToc2): adjust for lyx::toc
6794         (expandToc): ditto
6795
6796         * lyxfunc.C (dispatch): adjust for lyx::find
6797
6798         * lyxfind.[hC]: get rid of namespace lyxfind introduce namespace
6799         lyx::find instead. Reorganize a bit.
6800         (LyXReplace): rename to replace
6801         (LyXFind): rename to find
6802
6803         * BufferView_pimpl.C (trackChanges): adjust for lyx::find
6804         (dispatch): ditto
6805
6806 2003-07-26  André Pönitz  <poenitz@gmx.net>
6807
6808         * text.C (setHeightOfRow): restrict scope of temporary variable
6809
6810         * paragraph_funcs.C (readParToken): remove USE_CAPTION  compatibility
6811           code (never has been used?)
6812
6813 2003-07-27  Asger Alstrup  <alstrup@local>
6814
6815         * text.C (fill): Optimise algorithm to exploit that we can reuse
6816         the LyXFont for many characters.
6817         (setHeightOfRow): Same thing.
6818         (rowBreakPoint): Same thing.
6819
6820 2003-07-26  Asger Alstrup  <alstrup@local>
6821
6822         * text2.C (metrics): change a brain-dead algorithm to a smarter one.
6823
6824         * text.C (singleWidth): Spurious font copying in hot-spot
6825         singleWidth avoided. Reorder tests for arabic for efficiency.
6826
6827         * text.C (fill): handle empty paragraphs better.
6828
6829 2003-07-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6830
6831         * ispell.C:
6832         * encoding.h: add includes
6833
6834         * lyxrc.C: remove reading of bind files
6835
6836         * lyx_main.C (init): setup bindings and menus only if we have a
6837         gui.
6838
6839         * kbmap.C (read): new method. Do the actual reading of bind
6840         files.
6841
6842         * converter.C (dvipdfm_options):
6843         * bufferparams.C:
6844         * lyxrc.C (read):
6845         (output): adapt PAPER_* enums.
6846
6847         * lyxrc.h: include paper.h instead of bufferparams.h (mucho lighter)
6848
6849         * bufferparams.h: remove paper-related enums from there
6850
6851         * paper.h: New file. A trivial header file to hold paper-related
6852         enums. It should later expand to contain many paper-related
6853         horrors access.
6854
6855         * lyxrc.C: declare extern displayTranslator
6856
6857 2003-07-27  José Matos  <jamatos@fep.up.pt>
6858
6859         * tabular.[Ch] (linuxdoc): add support for tables and figures
6860         (linuxdoc).
6861
6862 2003-07-27  José Matos  <jamatos@fep.up.pt>
6863
6864         * buffer.[Ch] (makeLaTeXFile): changed name of arguments for
6865         consistency in both functions.
6866         * bufferlist.C (updateIncludedTeXfiles): change client to comply.
6867
6868 2003-07-26  Asger Alstrup  <alstrup@local>
6869
6870         * rowpainter.C (paintRows): Change algorithm to work directly on
6871         the insets rather than asking every character in the document
6872         whether its an inset.
6873
6874 2003-07.26  Alfredo Braunstein  <abraunst@libero.it>
6875
6876         * buffer.C (openFileWrite): factorize some code
6877
6878 2003-07-26  Angus Leeming  <leeming@lyx.org>
6879
6880         * lyx_cb.C:
6881         * lyx_main.[Ch]: replace occurances of system_tempdir with
6882         os::getTmpDir().
6883
6884 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6885
6886         * rename Inset to InsetOld
6887
6888 2003-07-25  Asger Alstrup  <alstrup@diku.dk>
6889
6890         * undo_funcs.h: Removed setCursorParUndo to simplify things a bit.
6891         Renamed setUndo family to recordUndo. Renamed FINISH to ATOMIC
6892         which I think is a bit clearer. EDIT is gone, since it was
6893         premature optimisation, and broken for mathed anyway.
6894         * undo_funcs.C (performUndoOrRedo): Cleaned up and made it work
6895         with cursor positioning in insets as well (math insets still do not
6896         work, but that's a different story anyway.) It mysteriously
6897         crashes sometimes with undo in the first paragraph, but I'm fairly
6898         confident that this is a compiler bug.
6899
6900 2003-07-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
6901
6902         * paragraph.C (Paragraph): adjust for new clone return type
6903         (operator==): ditto
6904         (copyIntoMinibuffer): ditto
6905
6906 2003-07-25  Asger Alstrup  <alstrup@lyx.org>
6907
6908         * undo_funcs.C (textHandleUndo): Fix undo crash in first paragraph
6909         by not having a special case, and always doing a full rebreak of
6910         the document after undo.
6911
6912 2003-07-23  Angus Leeming  <leeming@lyx.org>
6913
6914         * factory.C (createInset): InsetExternal::setParams now takes a
6915         Buffer const * arg.
6916
6917 2003-07-23  Angus Leeming  <leeming@lyx.org>
6918
6919         * factory.C (createInset): changed interface to the external and
6920         graphics mailers' string2params functions.
6921
6922 2003-07-23  Angus Leeming  <leeming@lyx.org>
6923
6924         * factory.C (createInset): pass a
6925         Buffer const * parameter to InsetExternalMailer's string2params.
6926
6927 2003-07-22  John Levon  <levon@movementarian.org>
6928
6929         * Thesaurus.h: include the right aiksaurus header
6930
6931 2003-07-21  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
6932
6933         * MenuBackend.C (expand): check menu shortcuts unconditionally
6934
6935 2003-07-21  Angus Leeming  <leeming@lyx.org>
6936
6937         * factory.C (createInset): pass a
6938         buffer_path parameter to InsetGraphicsMailer's string2params.
6939
6940 2003-07-21  Angus Leeming  <leeming@lyx.org>
6941
6942         * BufferView_pimpl.C (buffer):
6943         * buffer.C (d-tor):
6944         * lyx_main.C (LyX):
6945         * lyxfunc.C (dispatch):
6946         * lyxrc.C (setDefaults, read, output): use namespace lyx::graphics
6947         rather than the grfx shortcut.
6948
6949 2003-07-21  André Pönitz  <poenitz@gmx.net>
6950
6951         * rowpainter.C: remove unused variables
6952
6953         * tabular_funcs.C:
6954         * tabular_funcs.h: move to tabular.C
6955         * Makefile.am: adjust
6956
6957         * tabular.[Ch]: basic optical cleaning
6958
6959         * author.h: pass references, not values
6960
6961 2003-07-18  André Pönitz  <poenitz@gmx.net>
6962
6963         * lyxtext.h:
6964         * metricsinfo.C:
6965         * metricsinfo.h:
6966         * rowpainter.C:
6967         * text.C:
6968         * text2.C:
6969         * text3.C: two-phase drawing for InsetText and InsetTabular
6970         some float -> int changes.
6971
6972 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
6973
6974         * lyx_main.C: fix the fix
6975
6976 2003-07-18  Alfredo Braunstein  <abraunst@libero.it>
6977
6978         * lyx_main.C: fix a crash in batch mode if no files specified
6979         * converter.C: ws
6980
6981 2003-07-17  Alfredo Braunstein  <abraunst@libero.it>
6982
6983         * format.[Ch] (papersize): moved to BufferParams
6984         * converter.[Ch] (dvips_options): moved to BufferParams
6985         (dvipdfm_options): moved to anon namespace
6986         * bufferparams.[Ch]: added above functions.
6987
6988 2003-07-17  André Pönitz  <poenitz@gmx.net>
6989
6990         * lyxtext.h:
6991         * rowpainter.C:
6992         * text2.C: don't call inset->update() anymore
6993
6994         * metricsinfo.[Ch]: add convenience constructor
6995
6996 2003-07-16  André Pönitz  <poenitz@gmx.net>
6997
6998         * lyxcursor.[Ch]:
6999         * lyxfunc.[Ch]:
7000         * text.C:
7001         * text2.C: replace the LyXCursor::irow_ member with
7002          on-demand computation of the value
7003
7004 2003-07-16  John Levon  <levon@movementarian.org>
7005
7006         * lyxfunc.C: support LFUN_INSET_SETTINGS for Note
7007
7008 2003-07-15  André Pönitz  <poenitz@gmx.net>
7009
7010         * text.C:
7011         * text2.C: remove no more needed refresh_row
7012
7013 2003-07-15  André Pönitz  <poenitz@gmx.net>
7014
7015         * lyxtext.h:
7016         * rowpainter.C:
7017         * text2.C:
7018         * text3.C: refresh_status tristate -> need_update bool
7019
7020 2003-07-15  Alfredo Braunstein  <abraunst@libero.it>
7021
7022         * lyxtext.h (init): remove reinit argument (act as if always true)
7023         * text2.C: adjust to that
7024
7025 2003-07-14  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
7026
7027         * bufferview_funcs.[Ch]: introduce function replaceSelection()
7028         * text3.C: use it to delete selections in some cases
7029         (bugs 441, 673, 702, 954).
7030
7031 2003-07-14  André Pönitz  <poenitz@gmx.net>
7032
7033         * rowpainter.[Ch]: reduce interface
7034
7035 2003-07-14  André Pönitz  <poenitz@gmx.net>
7036
7037         * BufferView_pimpl.C:
7038         * text2.C: adjust after removing unused BufferView * argument
7039
7040 2003-07-14  Alfredo Braunstein  <abraunst@libero.it>
7041
7042         * text2.C (init): fix a crash fired on resize
7043
7044 2003-07-11  Alfredo Braunstein  <abraunst@libero.it>
7045
7046         * buffer.[Ch]: added new closing signal
7047         * BufferView_pimpl.[Ch]: connect/disconnect to new signal
7048         * lyxfunc.C: removed BufferView::buffer(0) call now handled in
7049         BufferView::Pimpl via the closing the signal
7050
7051 2003-07-10  Alfredo Braunstein  <abraunst@libero.it>
7052
7053         * buffer.[Ch]: take out all bv-related from buffer
7054         * BufferView.C:
7055         * BufferView_pimpl.[Ch]: connect to new signals
7056         * CutAndPaste.C: removed useless asserts
7057         * bufferview_funcs.[Ch] (resizeInsets): moved from buffer
7058         * lyxvc.[Ch]:
7059         * vc-backend.[Ch]:
7060         * lyxfunc.C: moved view-related funciontality from vc here
7061         * paragraph.C: removed outdated comments
7062         * text.C: ws
7063
7064 2003-07-10  André Pönitz  <poenitz@gmx.net>
7065
7066         * BufferView_pimpl.C:
7067         * tabular.h:
7068         * tabular_funcs.C:
7069         * text.C:
7070         * text2.C: remove InsetText::InnerCache, clean up consequences
7071
7072 2003-07-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
7073
7074         * ispell.C: fix two typos in error messages
7075
7076 2003-07-08  Martin Vermeer  <martin.vermeer@hut.fi>
7077
7078         * Extend Note inset to other forms of annotation like Comment
7079         and Greyedout. Right button click gives dialog.
7080
7081         Files modified or added (+):
7082
7083         * insetnote.[Ch]
7084         * FormNote.[Ch]      +
7085         * ControlNote.[Ch]   +
7086         * form_note.fd       +
7087         * Makefile.am in frontends/xforms, frontends/xforms/forms,
7088         frontends/controllers
7089         * xforms/Dialogs.C
7090         * factory.C
7091
7092 2003-07-01  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
7093
7094         * aspell.C: add missing namespace lyx::support
7095
7096 2003-07-07  Alfredo Braunstein  <abraunst@libero.it>
7097
7098         * BufferView.[Ch] (newFile): Add
7099         * BufferView_pimpl.[Ch] (newFile, connectBuffer, disconnectBuffer): Add
7100         * LaTeX.[Ch] (message): added this signal and use it
7101         * buffer.[Ch] (busy, message): added these signals and use them
7102         * buffer_funcs.[Ch]: rename parseErrors to bufferErrors
7103         * converter.C:
7104         * exporter.C:
7105         * format.C:
7106         * importer.C: use buffer signals instead of direct bv calling
7107         * lyx_cb.[Ch] (ShowMessage): removed
7108         * lyx_main.C:
7109         * lyxfunc.C:
7110         * paragraph_funcs.C:
7111         * text2.C: use buffer signals
7112
7113 2003-07-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
7114
7115         * introduce namespace lyx::graphics
7116
7117 2003-07-02  André Pönitz  <poenitz@gmx.net>
7118
7119         * BufferView_pimpl.C (workAreaDispatch): tell the FuncRequest who we are
7120
7121 2003-07-01  André Pönitz  <poenitz@gmx.net>
7122
7123         * text.C:
7124         * text2.C:
7125         * text3.C:
7126         * text_funcs.[Ch]:
7127         * textcursor.h:
7128         * lyxtext.h: shuffle pure paragraph/cursor related cursor movement from
7129           text*.C to text_func.C
7130
7131 2003-07-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
7132
7133         * introduce namespace lyx::support
7134
7135 2003-06-30  André Pönitz  <poenitz@gmx.net>
7136
7137         * Chktex.C:
7138         * funcrequest.C:
7139         * lyxtext.h:
7140         * text.C: re-enable --with-included-string
7141
7142 2003-06-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
7143
7144         * textcursor.C: add <config.h>
7145
7146         * text.C (getWord): remove const from word_location arg
7147
7148         * lyxvc.C (getLogFile): fix const type order
7149
7150         * lyxtext.h: remove const from word_location arg, add arg name
7151
7152         * lyxlayout.h: currect type on labeltype.
7153
7154         * importer.C: correct \file
7155
7156         * converter.C (intToFormat): use std:: on ret val, ws changes
7157
7158         * bufferlist.h: correct \file
7159
7160         * buffer.C (makeLinuxDocFile): fix const type order
7161         (makeDocBookFile): ditto
7162         (fillWithBibKeys): use std:: on stdlib args.
7163
7164         * CutAndPaste.C: fix authors.
7165         (availableSelections): use std:: on return vector
7166
7167 2003-06-27  André Pönitz  <poenitz@gmx.net>
7168
7169         * BufferView_pimpl.C:
7170         * bufferview_funcs.C:
7171         * lyxcursor.C:
7172         * lyxcursor.h:
7173         * lyxfunc.C:
7174         * lyxtext.h:
7175         * rowpainter.C:
7176         * text.C:
7177         * text2.C:
7178         * text3.C: remove LyXCursor::row_ member
7179
7180         * lyxtext.h:
7181         * text.C: rename fullRebreak() to partialRebreak() and implement
7182           a fullRebreak() that really bereks fully
7183
7184         * textcursor.h: new struct for cursor-related data
7185
7186 2003-06-26  Alfredo Braunstein  <abraunst@lyx.org>
7187
7188         * lyx_main.C (LyX): get full path of document loaded on the
7189         command line
7190
7191 2003-06-26  André Pönitz  <poenitz@gmx.net>
7192
7193         * lyxcursor.[Ch]: move rarely used operator==,!= out of line
7194           remove unused/broken operator>,<,>=.
7195
7196         *       text.C: remove only use of broken operator<= in an Assert().
7197
7198 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
7199
7200         * BufferView.[Ch] (getErrorList): removed unneeded forward declare,
7201         moved errorlist_.clear to showErrorList
7202
7203 2003-06-24  Alfredo Braunstein  <abraunst@lyx.org>
7204
7205         * converter.C (scanLog, runLaTeX):
7206         * buffer.C (makeLinuxDocFile, makeDocBookFile, runChkTeX):
7207         move the bv->showErrorList call to the callers
7208         * lyxfunc.C: i.e. here...
7209         * text2.C: and here
7210         * BufferView.[Ch] (setErrorList, resetErrorList): both removed
7211         * exporter.[Ch] (Backends, BufferFormat): the first was moved to anon
7212         namespace, the second to...
7213         * buffer_funcs (BufferFormat, parseErrors): added
7214         * errorlist.C (ErrorList(TeXErrors const &)): removed
7215
7216 2003-06-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7217
7218         * ToolbarBackend.C (getIcon): complain when icon cannot be found
7219
7220 2003-06-24  "Garst R. Reese" <reese@isn.net>
7221
7222         * debug.C: fix typo
7223
7224 2003-06-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7225
7226         * lyx_main.C (init): honor LYX_DIR_14x and LYX_USERDIR_14x
7227
7228         * version.C.in: change docversion to 1.4
7229
7230 2003-06-22  Alfredo Braunstein  <abraunst@libero.it>
7231
7232         * buffer.C: fix a bug just introduced
7233
7234 2003-06-21  Alfredo Braunstein  <abraunst@libero.it>
7235
7236         * buffer.[Ch]: added the parseError signal and use it, removed
7237         sgmlError
7238         * BufferView.[Ch] (addError): moved to ...
7239         * BufferView_pimpl.[Ch] (addError, loadLyXFile): ... here. Attach
7240         to the Buffer::parseError signal to catch (guess what) parse errors
7241         * lyx_main.[Ch] (printError,LyX): added gui-less parsing error feedback
7242
7243 2003-06-19  Alfredo Braunstein  <abraunst@libero.it>
7244
7245         * bufferlist.[Ch] (loadLyXFile, readFile, newFile): removed the
7246         ability to create a buffer and to return an existing one from
7247         the list. Moved these functions to...
7248         * buffer_funcs.[Ch]: added
7249         * BufferView.[Ch] (loadLyXFile): added
7250         * BufferView_pimpl.[Ch] (loadLyXFile): Added. Does the guessing
7251         job removed from bufferlist::loadLyXFile.
7252         * buffer.C (setReadOnly): make it work without view
7253         (i.e added an if (users))
7254
7255 2003-06-19  Angus Leeming  <leeming@lyx.org>
7256
7257         * lfuns.h:
7258         * LyXAction.C (init):
7259         * lyxfunc.C (getStatus, dispatch): remove 14 LFUNs, replacing them
7260         with LFUN_DIALOG_SHOW <name> <data>.
7261
7262 2003-06-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7263
7264         * CutAndPaste.C (availableSelections): small compilation fix for
7265         ancient (gcc 2.9x) compilers
7266
7267 2003-06-18  Lars Gullik Bjønnes  <larsbj@gullik.net>
7268
7269         * text3.C (cursorNext): add tmp var
7270
7271         * text2.C (updateCounters): for function calling out of for clause
7272         (replaceSelectionWithString): ditto
7273         (insertStringAsParagraphs): ditto
7274         (getColumnNearX): add tmp var
7275         (setCursorFromCoordinates): add tmp var
7276         (cursorDownParagraph): add tmp var
7277         (deleteEmptyParagraphMechanism): add tmp var
7278
7279         * text.C (insertChar): add tmp var
7280
7281         * rowpainter.C (paintDepthBar): add tmp var
7282
7283         * CutAndPaste.C (availableSelections): potentially check all
7284         paragraphs in a cut to fill the shown strings.
7285
7286 2003-06-18  André Pönitz  <poenitz@gmx.net>
7287
7288         * kbmap.[Ch]: use vector<> instead of list<>
7289
7290 2003-06-17  Lars Gullik Bjønnes  <larsbj@lyx.org>
7291
7292         * text3.C (dispatch): handle arg to LFUN_PASTE, call
7293         pasteSelection with index
7294
7295         * text2.C (pasteSelection): modify, call pasteSelection with index
7296
7297         * paragraph.C (asString): reimplement version with no interval to
7298         call the one with interval.
7299
7300         * lyxtext.h: add index arg to pasteSelection
7301
7302         * MenuBackend.C (MenuItem): handle PasteRecent
7303         (Menu::read::Menutags): add md_pasterecent
7304         (read): handle it
7305         (expandPasteRecent): new function
7306         (expand): use it
7307
7308         * MenuBackend.h: add PasteRecent to MenuItem::Kind
7309
7310         * CutAndPaste.C: get rid of some stale comments. Add typdefe for
7311         the limited stack
7312         (availableSelections): new function
7313
7314 2003-06-17  Angus Leeming  <leeming@lyx.org>
7315
7316         * lyxfunc.C (dispatch): s/showMathPanel/show("mathpanel")/
7317
7318 2003-06-17  Angus Leeming  <leeming@lyx.org>
7319
7320         * lfuns.h:
7321         * LyXAction.C (init): new LFUN_DIALOG_SHOW.
7322
7323         * lyxfunc.C (dispatch): invoke it.
7324
7325 2003-06-16  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7326
7327         * iterators.C (operator++, ParPosition): reintroduce some
7328         const_cast for the benefit of older compilers.
7329
7330 2003-06-13  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7331
7332         * text3.C (dispatch): do not modify clipboard when doing
7333         LFUN_BACKSPACE, LFUN_BACKSPACE_SKIP, LFUN_DELETE or
7334         LFUN_DELETE_SKIP on a selection selection
7335
7336 2003-06-16  André Pönitz  <poenitz@gmx.net>
7337
7338         * BufferView.C:
7339         * buffer.C:
7340         * buffer.h:
7341         * paragraph.C:
7342         * tabular.[Ch]: IU of clone() and getLabelList();
7343
7344 2003-06-13  André Pönitz  <poenitz@gmx.net>
7345
7346         * tabular.h: compactification
7347
7348 2003-06-12  André Pönitz  <poenitz@gmx.net>
7349
7350         * tabular.C:
7351         * tabular.h:
7352         * tabular_funcs.h: some renaming plus whitespace
7353
7354 2003-06-12  André Pönitz  <poenitz@gmx.net>
7355
7356         * BufferView.C:
7357         * BufferView_pimpl.C:
7358         * CutAndPaste.C:
7359         * buffer.C:
7360         * iterators.[Ch]:
7361         * lyxfunc.C:
7362         * text.C:
7363         * toc.C: Return a Paragraph & for ParIterator::operator*()
7364
7365 2003-06-11  John Levon  <levon@movementarian.org>
7366
7367         * lyx_main.C:
7368         * ToolbarBackend.h:
7369         * ToolbarBackend.C: add "Toolbars" section and
7370         put the flags there
7371
7372 2003-06-10  Angus Leeming  <leeming@lyx.org>
7373
7374         * lfuns.h:
7375         * LyXAction.C (init): new LFUN_EXTERNAL_EDIT.
7376
7377         * lyxfunc.C (dispatch): invoke it.
7378
7379 2003-06-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
7380
7381         * main.C: protect <ios> with HAVE_IOS
7382         (main): protect sync_with_stdio with HAVE_IOS
7383
7384 2003-06-10  Lars Gullik Bjønnes  <larsbj@lyx.org>
7385
7386         * text2.C (cutSelection): adjust
7387         (pasteSelection): adjust
7388
7389         * messages.C: handle get of empty string
7390
7391         * main.C (main): use sync_with_stdio(false)
7392
7393         * lyxfunc.C (dispatch): adjust
7394
7395         * lyx_cb.[Ch] (MenuWrite): remove unneeded BufferView arg
7396         (WriteAs): remove unneeded BufferView arg.
7397
7398         * bufferparams.h: use correct types on papersize, papersize2 and
7399         paperpackage.
7400
7401         * bufferparams.C (readToken): adjust for type
7402         (writeLaTeX): add missing cases to switch.
7403
7404         * bufferlist.C (quitWriteBuffer): adjust
7405         (close): adjust
7406
7407         * buffer.C (asciiParagraph): remove some commented code.
7408
7409         * CutAndPaste.C: remove current_view extern variable.
7410         (cutSelection): add BufferParams arg.
7411         (eraseSelection): add BufferParams arg.
7412         (pasteSelection): add Buffer const & arg
7413
7414 2003-06-07  John Levon  <levon@movementarian.org>
7415
7416         * buffer.C:
7417         * paragraph_funcs.C:
7418         * paragraph_pimpl.C:
7419         * text.C:
7420         * text2.C:
7421         * paragraph.h:
7422         * paragraph.C: allow InsetERT to freely space lines,
7423         and some consolidation of code
7424
7425 2003-06-06  José Matos  <jamatos@fep.up.pt>
7426
7427         * buffer.C (makeDocBookFile): fix bug #821
7428
7429 2003-06-06  Alfredo Braunstein  <abraunst@libero.it>
7430
7431         * BufferView_pimpl.C (dispatch): use Dialogs::visible
7432
7433 2003-06-04  Angus Leeming  <leeming@lyx.org>
7434
7435         * buffer.C: bump format to 224.
7436
7437 2003-06-05  André Pönitz  <poenitz@gmx.net>
7438
7439         * text2.C (redoParagraphs): remove two const_cast<>
7440
7441 2003-06-04  Lars Gullik Bjønnes  <larsbj@lyx.org>
7442
7443         * ParagraphList.h: remove last remnants of NO_STD_LIST
7444
7445 2003-06-03  Angus Leeming  <leeming@lyx.org>
7446
7447         * factory.C (createInset): small change to the way InsetExternal's params
7448         are set.
7449
7450 2003-06-04  André Pönitz  <poenitz@gmx.net>
7451
7452         * buffer.h: use Undo directly instead of shared_ptr<Undo>
7453
7454         * paragraph_pimpl.h:
7455         * paragraph.[Ch]: some Inset -> UpdatableInset changes
7456
7457         * undo.[Ch]: use ParagraphList instead of vector<Paragraph>
7458
7459         * undo_funcs.C: make some simple cases of undo work again
7460
7461 2003-06-03  John Levon  <levon@movementarian.org>
7462
7463         * ispell.C: HPUX doesn't have sys/select.h
7464         (from Albert Chin)
7465
7466 2003-06-03  John Levon  <levon@movementarian.org>
7467
7468         * CutAndPaste.C: update tabular and include inset
7469         buffer references
7470
7471         * buffer.h:
7472         * paragraph.h:
7473         * paragraph.C: remove owningBuffer(), don't pass Buffer
7474         to clone()
7475
7476         * factory.C: insetGraphicsParams changed
7477
7478 2003-06-02  John Levon  <levon@movementarian.org>
7479
7480         * LyXAction.C:
7481         * factory.C:
7482         * lfuns.h:
7483         * lyxfunc.C:
7484         * text3.C: remove insetparent
7485
7486 2003-06-02  John Levon  <levon@movementarian.org>
7487
7488         * buffer.h:
7489         * buffer.C: fix inset_iterator.end(), move out of line
7490         (bug 1149)
7491
7492 2003-06-01  John Levon  <levon@movementarian.org>
7493
7494         * text3.C: use a proper cut/paste when doing inset
7495         insert (from Jürgen Spitzmüller)
7496
7497 2003-06-01  John Levon  <levon@movementarian.org>
7498
7499         * factory.C: accept "\bibtex" not "\BibTeX" (bug 1018)
7500
7501 2003-05-30  André Pönitz  <poenitz@gmx.net>
7502
7503         * rowpainter.C: unify second drawing phase
7504
7505 2003-05-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
7506
7507         * trans_mgr.C: remove one case of current_view
7508
7509         * text2.C (cursorBottom): delete NO_STD_LIST stuff
7510
7511         * paragraph_funcs.h: remove paragraph.h include
7512
7513         * paragraph.h: delete NO_STD_LIST stuff
7514
7515         * paragraph.C (Paragraph): delete NO_STD_LIST stuff
7516
7517         * buffer.h: remove paragraph.h include
7518
7519         * ParagraphList.C: delete file
7520
7521         * Makefile.am (lyx_SOURCES): remove ParagraphList.C
7522
7523         * toc.C (getTocList): adjust
7524
7525         * paragraph_pimpl.C (validate): adjust
7526
7527         * paragraph_funcs.C (optArgInset): use const_iterator, adjust
7528
7529         * paragraph.C (Paragraph): adjust
7530         (getPositionOfInset): use const_iterator, adjust
7531         (bibitem): use const_iterator, adjust
7532         (setInsetOwner): adjust
7533
7534         * iterators.C (operator++): adjust
7535
7536         * InsetList.[Ch]: Replace selfmade iterator with standard
7537         vector::iterator also introduce const_iterator. Remove getPos,
7538         getInset and setInset from InsetTable. Adjust accordingly.
7539
7540         * BufferView.C (lockInset): adjust
7541         (ChangeInsets): adjust
7542
7543         * tabular.[Ch]: delete commented same_id functions
7544
7545 2003-05-28  John Levon  <levon@movementarian.org>
7546
7547         * lyxfunc.C: fix LFUN_ESCAPE (bug 1055)
7548
7549 2003-05-28  André Pönitz  <poenitz@gmx.net>
7550
7551         * metricsinfo.[Ch]: remove 'fullredraw' member
7552
7553 2003-05-28  Lars Gullik Bjønnes  <larsbj@lyx.org>
7554
7555         * lyxtextclass.C (operator): remove caching.
7556
7557 2003-05-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
7558
7559         * text3.C: adjust
7560
7561         * text2.C (cursorBottom): adjust
7562         (setCounter): use ParagraphList::find, adjust
7563
7564         * text.C (workWidth): use ParagraphList::find, adjust
7565
7566         * lyxcursor.C (LyXCursor): adjust
7567
7568         * buffer.C (inset_iterator): adjust
7569
7570         * ParagraphList.h: make iterator(value_type) private, make
7571         ParagraphList a friend of iterator.
7572
7573         * ParagraphList.C (find): new function
7574
7575         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
7576
7577 2003-05-27  André Pönitz  <poenitz@gmx.net>
7578
7579         * dimension.[Ch]: a -> asc, d -> des, w -> wid
7580
7581 2003-05-27  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
7582
7583         * lyxfont.C (latexWriteStartChanges): fix character count for \noun
7584
7585 2003-05-26  John Levon  <levon@movementarian.org>
7586
7587         * LyXAction.C: LFUN_ESCAPE should be ReadOnly
7588
7589 2003-05-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
7590
7591         * remove same_id from function signatures, adjust.
7592
7593 2003-05-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
7594
7595         * undo_funcs.C (createUndo): use the id functions directly, adjust.
7596
7597         * paragraph_pimpl.C (Pimpl): get rid of same_ids parameter
7598
7599         * paragraph.C (Paragraph): get rid of same_ids parameter
7600
7601         * ParagraphList.C (insert): adjust
7602         (push_back): adjust
7603
7604 2003-05-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
7605
7606         * paragraph_funcs.C (breakParagraph): adjust
7607         (breakParagraphConservative): adjust
7608
7609         * buffer.C (readParagraph): adjust
7610
7611         * ParagraphList.C (insert): take a reference instead of a pointer
7612         (insert): adjust
7613
7614         * paragraph.[Ch] (id): new function
7615
7616         * bufferlist.C (newFile): adjust
7617
7618         * ParagraphList.C (ParagraphList): adjust
7619         (assign): adjust
7620         (push_back): take a reference instead of a pointer.
7621
7622         * paragraph.h: add NO_STD_LIST define, remove NO_NEXT define.
7623
7624         * paragraph.C: remove all NO_NEXT node add some NO_STD_LIST parts
7625         instead.
7626
7627         * ParagraphList.h: degenerate to std::list if NO_STD_LIST is not
7628         set else use old code.
7629
7630         * ParagraphList.C: remove all NO_NEXT code and only compile this
7631         code of NO_STD_LIST is set.
7632
7633 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
7634
7635         * BufferView_pimpl.C:
7636         * TextCache.C:
7637         * TextCache.h:
7638         * bufferlist.C:
7639         * errorlist.h:
7640         * format.C:
7641         * format.h:
7642         * graph.C:
7643         * lyxfunc.C:
7644         * lyxrc.C:
7645         * graphics/GraphicsConverter.C:
7646         * graphics/PreviewLoader.C: header adjustment
7647
7648 2003-05-23  Angus Leeming  <leeming@lyx.org>
7649
7650         * LaTeXFeatures.[Ch] (useBabel): new method.
7651         * bufferparams.C (writeLaTeX): use it.
7652
7653 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
7654
7655         * ParagraphList.h (set): remove unused function.
7656
7657 2003-05-23  André Pönitz  <poenitz@gmx.net>
7658
7659         * BufferView.C:
7660         * BufferView_pimpl.C:
7661         * buffer.C:
7662         * buffer.h:
7663         * lyxfunc.C:
7664         * undo_funcs.C: setUndo reworked
7665
7666         * iterators.[Ch]: add access to topmost ParagraphList
7667
7668         * lyxtext.[Ch] (workWidth): add a const
7669
7670 2003-05-23  Alfredo Braunstein  <abraunst@libero.it>
7671
7672         * texrow.[Ch] (increasePos): remove function
7673         * exporter.C (export): removed unused var and outdated comment
7674
7675 2003-05-23  Angus Leeming  <leeming@lyx.org>
7676
7677         * latexrunparams.h: rename fragile as moving_arg.
7678         * paragraph.C (simpleTeXOnePar): ditto.
7679         * paragraph_pimpl.C (simpleTeXSpecialChars): ditto.
7680
7681 2003-05-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
7682
7683         * undo_funcs.C (textHandleUndo): comment out next/previous stuff
7684         (createUndo): ditto
7685         (textUndoOrRedo): comment out a currently unused var.
7686
7687         * paragraph.h (NO_NEXT): enable NO_NEXT
7688
7689         * lyxfunc.C (dispatch): remove LFUN_REMOVEERRORS
7690
7691         * lfuns.h: remove LFUN_REMOVEERRORS and adjust lfun numbers.
7692
7693         * exporter.C (Export): adjust for removeAutoInsets removal.
7694
7695         * buffer.C (runChktex): adjust for removeAutoInsets removal.
7696
7697         * LyXAction.C (init): remove LFUN_REMOVEERRORS
7698
7699         * BufferView.[Ch] (removeAutoInsets): delete function
7700
7701 2003-05-22  Angus Leeming  <leeming@lyx.org>
7702
7703         * latexrunparams.h: add a free_spacing variable.
7704
7705         * paragraph.[Ch] (simpleTeXOnePar): further fragile clean-up; no need
7706         to pass moving_arg, as the data is stored in runparams.fragile.
7707
7708         * paragraph_funcs.C (TeXOnePar): no longer pass free_spacing arg
7709         to Inset::latexOptional or to simpleTeXOnePar.
7710
7711         * paragraph_pimpl.C (simpleTeXSpecialChars): no longer pass
7712         free_spacing arg to Inset::latexOptional.
7713
7714         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7715         free_spacing arg.
7716
7717 2003-05-22  Angus Leeming  <leeming@lyx.org>
7718
7719         * latexrunparams.h: add fragile and use_babel variables.
7720
7721         * bufferparams.[Ch] (writeLaTeX): return use_babel.
7722         * buffer.C (makeLaTeXFile): store this returned value in
7723         runparams.use_babel, thus passing it to the inset::latex methods.
7724
7725         * paragraph.C (simpleTeXOnePar): no need to pass 'moving_arg' to
7726         simpleTeXSpecialChars as it is now stored in runparams.fragile.
7727
7728         * paragraph_funcs.[Ch] (TeXOnePar, latexParagraphs): TeXOnePar no
7729         longer has a fragile arg, as it is stored in runparams.fragile.
7730
7731         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars): no longer has a
7732         moving_arg parameter as the data is stored in runparams.fragile.
7733
7734         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow): no longer have
7735         a fragile parameter as the data is stored in runparams.fragile.
7736
7737 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7738
7739         * paragraph.C (Paragraph): initialize next_par_ and prev_par_
7740
7741 2003-05-22  Angus Leeming  <leeming@lyx.org>
7742
7743         * latexrunparams.h: add a 'bool nice' which defaults to false.
7744
7745         * buffer.[Ch] (makeLaTeXFile): remove the nice parameter as it is
7746         now encapsulated within runparams.
7747
7748         * bufferlist.C (updateIncludedTeXfiles):
7749         * exporter.C (Export): ensuing change to the calls to makeLaTeXFile.
7750
7751 2003-05-22  Angus Leeming  <leeming@lyx.org>
7752
7753         * latexrunparams.h: new file containing struct LatexRunParams.
7754         * Makefile.am: add new file.
7755
7756         * LaTeX.[Ch] (c-tor, run):
7757         * buffer.[Ch] (makeLaTeXFile):
7758         * bufferlist.[Ch] (updateIncludedTeXfiles):
7759         * converter.C (convert, scanLog):
7760         * converter.[Ch] (runLaTeX):
7761         * exporter.C (Export):
7762         * paragraph.[Ch] (simpleTeXOnePar):
7763         * paragraph_funcs.C (TeXEnvironment, TeXOnePar, TeXDeeper):
7764         * paragraph_funcs.[Ch] (latexParagraphs):
7765         * paragraph_pimpl.[Ch] (simpleTeXSpecialChars):
7766         * tabular.[Ch] (TeXLongtableHeaderFooter, TeXRow, latex):
7767         pass around a LatexRunParams parameter.
7768
7769 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7770
7771         * paragraph.[Ch]: remove unused constructor
7772
7773         * ParagraphList.C (erase): new function, taking two iterators
7774
7775 2003-05-22  André Pönitz  <poenitz@gmx.net>
7776
7777         * undo_funcs.C: remove duplicated code
7778
7779         * iterator.[Ch]: operator=
7780
7781 2003-05-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
7782
7783         * tabular.C (SetMultiColumn): ws changes
7784
7785         * rowpainter.C (paintFirst): get rid of a ->previous
7786
7787         * lyx_cb.C (getPossibleLabel): parlist simplification
7788
7789         * BufferView.C (ChangeInsets): simplify slightly.
7790
7791 2003-05-20  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
7792
7793         * LyXAction.C: new lfun space-insert, kill protected-space-insert
7794         * lfuns.h: new LFUN_SPACE
7795         * lyxfunc.C: protected space has a new lfun
7796         * paragraph_funcs.C: read new space insets
7797         * text3.C:
7798         * factory.C: handle new space insets
7799
7800 2003-05-22  André Pönitz  <poenitz@gmx.net>
7801
7802         * BufferView.C:
7803         * BufferView_pimpl.C:
7804         * buffer.[Ch]:
7805         * lyxfunc.C:
7806         * undo_funcs.C: return a ParIterator from getParFromID.
7807
7808         * iterators.[Ch]: add two const's
7809
7810 2003-05-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
7811
7812         * toc.C (getTocList): adjust
7813
7814         * iterators.[Ch]: rework for parlist
7815
7816         * buffer.C (par_iterator_begin): adjust
7817         (par_iterator_end): adjust
7818
7819         * CutAndPaste.C (SwitchLayoutsBetweenClasses): adjust
7820
7821         * BufferView.C (removeAutoInsets): adjust
7822         (ChangeInsets): adjust
7823
7824 2003-05-21  Alfredo Braunstein  <abraunst@libero.it>
7825
7826         * text.C (top_y): fix bug 1110
7827
7828 2003-05-08  Alfredo Braunstein  <abraunst@libero.it>
7829
7830         * errorlist.[Ch]: added
7831         * buffer.C:
7832         * BufferView.[Ch]:
7833         * BufferView_pimpl.C:
7834         * CutAndPaste.[Ch]: get rid of InsetError users, use ErrorList
7835         instead
7836
7837 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7838
7839         * Makefile.am: ensure that lyx is relinked upon changes to the
7840         various "convenience" libs.
7841
7842 2003-05-20  Angus Leeming  <leeming@lyx.org>
7843
7844         * Makefile.am (lyx_SOURCES): move format.[Ch] and graph.[Ch] so that
7845         files are compiled in alphabetical order again.
7846
7847         * gettext.h: #ifndef _GETTEXT_H_ -> #ifndef GETTEXT_H.
7848
7849 2003-05-19  Angus Leeming  <leeming@lyx.org>
7850
7851         * gettext.[Ch]: remove "char const * _(char const *)".
7852
7853 2003-05-19  André Pönitz  <poenitz@gmx.net>
7854
7855         * dimension.[Ch]: promote from mathed/dimension.[Ch]
7856
7857         * Makefile.am:
7858         * BufferView.C:
7859         * DepTable.h:
7860         * LaTeXFeatures.C:
7861         * buffer.C:
7862         * lyxfont.C:
7863         * lyxlex.h:
7864         * paragraph_funcs.C: dimensions() instead of ascend/descend/width
7865
7866 2003-05-19  André Pönitz  <poenitz@gmx.net>
7867
7868         * buffer.C:
7869         * lyxlayout.[Ch]:
7870         * lyxtextclass.[Ch]:
7871         * paragraph.C:
7872         * paragraph_funcs.[Ch]:
7873         * text2.C:
7874         * text3.C: more insetenv work
7875
7876 2003-05-16  Alfredo Braunstein  <abraunst@libero.it>
7877
7878         * ParagraphParameters.C (params2string): small bug fixed
7879
7880 2003-05-16  André Pönitz  <poenitz@gmx.net>
7881
7882         * debug.C:
7883         * bufferview_funcs.C: patch from Kornel Benko to prevent
7884           crash when _(...) is called twice in a statement
7885
7886 2003-05-16  André Pönitz  <poenitz@gmx.net>
7887
7888         * BufferView.C:
7889         * lyxfunc.C:
7890         * text.C:
7891         * text2.C:
7892         * text3.C:
7893         * undo_funcs.C: edit() -> LFUN_INSET_EDIT
7894
7895 2003-05-14  Alfredo Braunstein  <abraunst@libero.it>
7896
7897         * lyx_main.C (init): remove spurious static_cast
7898
7899 2003-05-14  André Pönitz  <poenitz@gmx.net>
7900
7901         * BufferView.C: fix format string
7902
7903 2003-05-12  Alfredo Braunstein  <abraunst@libero.it>
7904
7905         * BufferView.[Ch] (insertErrors): removed
7906         * BufferView.[Ch] (showErrorList): added
7907         * buffer.C (runChkTeX):
7908         * converter.C (scanLog): call showErrorList instead of inserterrors
7909
7910 2003-05-13  André Pönitz  <poenitz@gmx.net>
7911
7912         * BufferView_pimpl.C:
7913         * buffer.C:
7914         * bufferview_func.C:
7915         * MenuBackend.C:
7916         * lyxfunc.C:
7917         * lyxrc.C:
7918         * tex-accent.C:
7919         * text3.C:
7920         * toc.C:
7921         * tabular_funcs.h: tostr() from its own header
7922
7923         * ParagraphParameters.C:
7924         * ToolbarBackend.C:
7925         * bufferparams.C:
7926         * format.C:
7927         * lyxlex_pimpl.C:
7928         * text3.C: STRCONV()
7929
7930 2003-05-12  André Pönitz  <poenitz@gmx.net>
7931
7932         * BufferView.C:
7933         * BufferView_pimpl.C:
7934         * CutAndPaste.C:
7935         * LaTeX.C:
7936         * LaTeXFeatures.C:
7937         * ParagraphParameters.C:
7938         * buffer.C:
7939         * bufferlist.C:
7940         * bufferparams.C:
7941         * bufferview_funcs.C:
7942         * converter.C:
7943         * counters.C:
7944         * debug.C:
7945         * exporter.C:
7946         * format.C:
7947         * importer.C:
7948         * lyx_cb.C:
7949         * lyx_main.C:
7950         * lyxfont.C:
7951         * lyxfunc.C:
7952         * lyxvc.C:
7953         * paragraph.C:
7954         * paragraph_funcs.C:
7955         * tabular.C:
7956         * tabular_funcs.C:
7957         * text2.C:
7958         * text3.C:  boost::format -> bformat  all over the place
7959
7960
7961 2003-05-09  André Pönitz  <poenitz@gmx.net>
7962
7963         * LColor.[Ch]: Pimpl the #include <map> away
7964
7965 2003-05-09  John Levon  <levon@movementarian.org>
7966
7967         * bufferlist.C: never remove emergency saves
7968
7969 2003-05-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
7970
7971         * Makefile.am: better lib building
7972
7973 2003-05-07  Lars Gullik Bjønnes  <larsbj@gullik.net>
7974
7975         * texrow.[Ch]: remove dependency on Paragraph and just store a id
7976         instead.
7977         * paragraph_pimpl.C (simpleTeXBlanks): adjust
7978         (simpleTeXSpecialChars): adjust
7979         (simpleTeXSpecialChars): adjust
7980         * paragraph.C (simpleTeXOnePar): adjust
7981         * buffer.C (makeLaTeXFile): adjust
7982
7983         * Makefile.am (BOOST_LIBS): allow boost as system lib.
7984
7985         * text2.C (changeDepth): parlist cleanup
7986         (getColumnNearX): ditto
7987
7988         * rowpainter.C (getLabelFont): parlist cleanup
7989
7990         * bufferlist.C (newFile): parlist cleanup
7991
7992         * CutAndPaste.C (eraseSelection): parlist cleanup
7993
7994         * BufferView_pimpl.C (trackChanges): parlist cleanup
7995         (dispatch): ditto
7996
7997         * BufferView.C (lockInset): parlist cleanup.
7998         (ChangeInsets): ditto
7999
8000 2003-05-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
8001
8002         * CutAndPaste.h: Update file header.
8003
8004         * CutAndPaste.C: Update file header.
8005         Store the parts cut out of the Document in a limited_stack.
8006         (copySelection): adjust
8007         (pasteSelection): new function, takes the index in the limited stack.
8008         (nrOfParagraphs): adjust
8009         (SwitchLayoutsBetweenClasses): Change to take a ParagraphList&,
8010         simplify error inset insertion.
8011         (checkPastePossible): adjust
8012
8013 2003-05-06  John Levon  <levon@movementarian.org>
8014
8015         * text2.C: don't cast wrap inset to float
8016
8017 2003-05-05  André Pönitz  <poenitz@gmx.net>
8018
8019         * iterator.C:
8020         * undo_funcs.C: use getParagraphs() instead of getFirstParagraph()
8021
8022         * buffer.[Ch]: new function hasParWithId() to help to get rid of a
8023           few naked Paragraph *.
8024
8025 2003-05-02  Michael Schmitt  <michael.schmitt@teststep.org>
8026
8027         * bufferparams.C: Output warning if a document with missing
8028         TeX document class is loaded
8029         * exporter.C: Disable TeX exports if the document class is missing
8030         * lyxtextclass.C:
8031         * lyxtextclass.h:
8032         * lyxtextclasslist.C: Handle new textclass.lst format; new method
8033         isTeXClassAvailable()
8034
8035 2003-05-03  John Levon  <levon@movementarian.org>
8036
8037         * BufferView.h:
8038         * BufferView.C: remove showLockedInsetCursor(), showCursor(),
8039         explicit cursor show/hide
8040
8041         * BufferView_pimpl.h:
8042         * BufferView_pimpl.C: hide cursor before dispatching. Show cursor
8043         after a cursor move lfun. Simplify cursorToggle(). Remove show/hideCursor().
8044
8045         * lyxfunc.C: hide cursor before dispatching.
8046
8047         * lyx_cb.C:
8048         * lyxfind.C:
8049         * text.C:
8050         * text3.C: remove explicit cursor hides
8051
8052 2003-05-02  André Pönitz  <poenitz@gmx.net>
8053
8054         * buffer.[Ch]: two instances of Paragraph * -> ParagraphList::iterator
8055
8056         * undo_funcs.C:
8057         * undo.[Ch]: rely on std::vector<Paragraph *> instead of manually
8058           linked lists
8059
8060         * text2.C: tiny whitespace
8061
8062 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8063
8064         * undo_funcs.C: almost only ws changes.
8065
8066         * ParagraphList.C (splice): just return if pl is empty.
8067
8068 2003-05-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8069
8070         * ParagraphList.C (splice): new function.
8071
8072         * CutAndPaste.C (pasteSelection): use it
8073
8074 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8075
8076         * CutAndPaste.C (pasteSelection): remove the last next and
8077         previous from this file.
8078
8079 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8080
8081         * CutAndPaste.C (pasteSelection): more clean up, user proper
8082         ParagraphList functions for pasteing.
8083
8084         * ParagraphList.C (insert): new function, three arg insert
8085
8086 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8087
8088         * ParagraphList.C (insert): new function, three arg insert
8089
8090         * CutAndPaste.C (pasteSelection): work on the simple_cut_clone,
8091         not on paragraphs.
8092
8093 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8094
8095         * CutAndPaste.C (pasteSelection): copy paragraphlist the nice way.
8096
8097 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8098
8099         * CutAndPaste.C (pasteSelection): remove some unneeded code.
8100
8101 2003-05-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8102
8103         * CutAndPaste.C (resetOwnerAndChanges): new helper functor
8104         (copySelection): clean up a bit.
8105         (pasteSelection): use make_pair
8106
8107         * ParagraphList.C (ParagraphList): implement copy constructor
8108         (operator=): implement, base on copy constructor.
8109         (assign): new func
8110
8111         * paragraph.C (erase): return a bool
8112
8113         * paragraph_pimpl.C (erasePos): remove function, move contents...
8114         (erase): ... here. Return a bool.
8115         (erase): call erase instead of erasePos.
8116
8117 2003-04-30  Alfredo Braunstein  <abraunst@libero.it>
8118
8119         * ParagraphList.h: define PitPosPair
8120         * CutAndPaste.C (copySelection, pasteSelection): big rework, use
8121         ParagraphList, fix a bug on pasting multiple pars
8122         * text2.C: change interface to C&P
8123
8124 2003-04-30  André Pönitz  <poenitz@gmx.net>
8125
8126         * undo_func.C: revert part of yesterday's patch 2
8127
8128 2003-04-30  John Levon  <levon@movementarian.org>
8129
8130         * LColor.C: s/tabular/table/
8131
8132 2003-04-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
8133
8134         * text3.C (dispatch): do not convert iterator -> pointer
8135         * undo_funcs.C (setCursorParUndo): ditto
8136         * text_funcs.C (transposeChars): ditto
8137
8138         * text2.C (setLayout): ws changes only
8139
8140         * text.C (breakParagraph): do not convert iterator -> pointer
8141         (insertChar): ditto
8142         (acceptChange): ditto
8143         (rejectChange): ditto
8144         (changeCase): ditto
8145         (Delete): ditto
8146         (backspace): ditto
8147
8148         * BufferView.C (lockedInsetStoreUndo): do not convert iterator ->
8149         pointer
8150
8151 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
8152
8153         * text3.C (gotoInset): YABG (yet another bad getChar)
8154
8155 2003-04-29  André Pönitz  <poenitz@gmx.net>
8156
8157         * paragraph.h: make operator= private unimplemented as long as
8158           it is unusable
8159
8160         * ParagraphList.C: whitespace
8161
8162         * paragraph.[Ch]:
8163         * paragraph_pimpl.[Ch]:
8164         * paragraph_funcs.C:
8165         * CutAndPaste.C:
8166         * undo_funcs.C: whitespace + Paragraph *  -> Paragraph (const) &
8167
8168         * text2.C:
8169           undo_funcs.[Ch]: Paragraph * -> ParagraphList::iterator
8170
8171 2003-04-29  Alfredo Braunstein  <abraunst@libero.it>
8172
8173         * CutAndPaste.[Ch] (cutSelection): big rework, some bugs fixed
8174         * paragraph.[Ch] (erase):
8175         * paragraph_pimpl.[Ch] (erase): change return type and value
8176         * text2.C (cutSelection): some rework
8177
8178 2003-04-28  John Levon  <levon@movementarian.org>
8179
8180         * bufferlist.C: changes for unsaved changes dialog
8181
8182 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
8183
8184         * bufferlist.C (newFile): set language (messages_) for new
8185         documents also.
8186
8187         * buffer.C (readFile): ws changes only.
8188
8189 2003-04-28  André Pönitz  <poenitz@gmx.net>
8190
8191         * undo_funcs.C:
8192         * lyxfunc.C:
8193         * buffer.[Ch]:
8194         * BufferView_pimpl.C:
8195         * BufferView.C: getParFromID related ParagraphList::iterator changes
8196
8197 2003-04-28  André Pönitz  <poenitz@gmx.net>
8198
8199         * tabular.[Ch]: part of Lars' Paragraph * -> ParagraphList::iterator
8200           Changes
8201
8202 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
8203
8204         * messages.C: remove one more localedir class variable.
8205
8206 2003-04-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
8207
8208         * messages.C (getLocaleDir): singleton generation function
8209         (Pimpl): use it.
8210         (Messages): add a default constructor.
8211
8212         * main.C (main): do not setup localedir here, do not call
8213         gettext_init.
8214
8215         * gettext.C (_): use it.
8216         (gettext_init): delete funciton
8217
8218 2003-04-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
8219
8220         * gettext.C (getLyXMessages): new singleton generating function.
8221
8222         * buffer.C (updateDocLang): adjust
8223
8224         * Makefile.am (messages.o): add target
8225         (main.o): remove target
8226
8227 2003-04-27  John Levon  <levon@movementarian.org>
8228
8229         * bufferlist.C:
8230         * lyx_cb.C:
8231         * lyxfunc.C:
8232         * lyxvc.C: specify cancel button in Alert::prompt
8233
8234 2003-04-26  John Levon  <levon@movementarian.org>
8235
8236         * text3.C:
8237         * lyxfunc.C:
8238         * lfuns.h:
8239         * LyXAction.C: add LFUN_INSET_SETTINGS
8240
8241         * lyxfunc.C: don't enable tabular-feature when there's
8242         just any locking inset
8243
8244 2003-04-26  John Levon  <levon@movementarian.org>
8245
8246         * bufferlist.C: re-add Cancel to buffer close question
8247
8248         * lyxfunc.C: fix import UI a bit
8249
8250 2003-04-25  John Levon  <levon@movementarian.org>
8251
8252         * gettext.C: remove the broken asserts for now
8253
8254 2003-04-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
8255
8256         * messages.C: make case where setlocale cannot comply work better.
8257
8258         * buffer.C (updateDocLang): new function
8259         (changeLanguage): use it
8260         (readFile): use it
8261
8262         * text2.C (setCounter): use B_ a bit.
8263
8264         * lyxlayout.C (Read): be sure to trim the label strings.
8265
8266         * messages.C (Messages): fix typo in comment
8267
8268         * buffer.C (readFile): set message_ after file is loaded.
8269         (makeDocBookFile): remove double return
8270         (changeLanguage): reset message_ upon language change.
8271         (B_): new func, use this to get translated buffer strings.
8272
8273         * main.C: add myself and Jean Marc as authors.
8274
8275 2003-04-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
8276
8277         * messages.[hC]: pimplify Messages, and three different pimpls to be
8278         used in different circumstances.
8279
8280         * gettext.[Ch]: change for use with new message code.
8281
8282 2003-04-24 André Pönitz <poenitz@gmx.net>
8283
8284         * factory.C: support for eqref
8285
8286 2003-04-23  Lars Gullik Bjønnes  <larsbj@gullik.net>
8287
8288         * messages.[Ch]: add missing char
8289
8290         * Makefile.am (lyx_SOURCES): add messages.[Ch]
8291
8292         * messages.[Ch]: New files
8293
8294 2003-04-18  John Levon  <levon@movementarian.org>
8295
8296         * BufferView.h:
8297         * BufferView.C:
8298         * BufferView_pimpl.C:
8299         * lfuns.h:
8300         * LyXAction.C:
8301         * lyxtext.h:
8302         * text2.C: remove layout-copy/paste (bug 778)
8303
8304 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
8305
8306         * text2.C (redoParagraphs): eliminate good_prevrit, rewrite a loop
8307
8308 2003-04-16  Alfredo Braunstein  <abraunst@libero.it>
8309
8310         * bufferlist.C (quitWriteBuffer): WriteAs and MenuWrite return true
8311         if they succeed. Act accordingly.
8312
8313 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
8314
8315         * text2.C (setCharFont): adjust
8316         (setCounter): adjust
8317         (insertStringAsLines): adjust
8318
8319         * text.C (leftMargin): adjust
8320         (setHeightOfRow): adjust
8321
8322         * rowpainter.C (paintFirst): adjust
8323         (paintLast): adjust
8324
8325         * paragraph_funcs.C (depthHook): ParagraphList::iterators
8326         (outerHook): ditto
8327         (isFirstInSequence): ditto
8328         (getEndLabel): ditto
8329         (outerFont): adjust
8330
8331         * paragraph.C (getParLanguage): comment out some hard stuff.
8332
8333         * buffer.C (insertStringAsLines): take a ParagraphList as arg
8334         (sgmlError): ditto
8335         (simpleDocBookOnePar): ditto
8336         (makeDocBookFile): use ParagraphList::iterator
8337
8338         * CutAndPaste.C (pasteSelection): adjust
8339
8340 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
8341
8342         * text2.C (getFont): adjust
8343         (getLayoutFont): adjust
8344         (getLabelFont): adjust
8345
8346         * paragraph_funcs.C (TeXOnePar): adjust
8347
8348         * buffer.C (simpleLinuxDocOnePar): adjust
8349         (simpleDocBookOnePar): adjust
8350
8351         * CutAndPaste.C (pasteSelection): adjust
8352
8353         * BufferView.C (getEncoding): adjust
8354
8355         * paragraph_funcs.C (outerFont): prepare for a ParagraphList arg.
8356
8357 2003-04-16  John Levon  <levon@movementarian.org>
8358
8359         * lyxfind.C: use parlist stuff for search/changes
8360
8361 2003-04-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
8362
8363         * undo_funcs.C (textHandleUndo): ajust (rather big adsjust this one)
8364
8365         * text2.C (deleteEmptyParagraphMechanism): adjust
8366
8367         * text2.[Ch] (ownerParagraph): delete func (both of them
8368
8369 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8370
8371         * text_funcs.C (transposeChars): use ParagraphList::iterator here.
8372
8373 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8374
8375         * ParagraphList.C: prepare for NO_NEXT
8376
8377 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8378
8379         * text2.C (getFont): adjust
8380         (getLayoutFont): adjust
8381         (getLabelFont): adjust
8382
8383         * paragraph.C (getFont): adjust
8384         (getLabelFont): adjust
8385         (getLayoutFont): adjust
8386
8387         * paragraph_funcs.[Ch] (realizeFont): remove unneeded arguments.
8388
8389 2003-04-15  John Levon  <levon@movementarian.org>
8390
8391         From Angus Leeming
8392
8393         * lyx_main.C: handle Include in .ui files
8394
8395 2003-04-15  John Levon  <levon@movementarian.org>
8396
8397         * MenuBackend.C: make the doc files length shorter
8398
8399         * ToolbarBackend.h:
8400         * ToolbarBackend.C: handle toolbar placement flags,
8401         Minibuffer
8402
8403 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8404
8405         * paragraph_pimpl.C (simpleTeXSpecialChars): take a outerfont arg,
8406         adjust
8407
8408         * paragraph_funcs.C (TeXOnePar): adjust
8409
8410         * paragraph.C (getLabelFont): add outerfont arg, adjust
8411         (getLayoutFont): ditto
8412         (simpleTeXOnePar): adjust
8413
8414         * paragraph_pimpl.C (realizeFont): delete func
8415
8416 2003-04-14  Alfredo Braunstein  <abraunst@libero.it>
8417
8418         * text2.C (beforeFullRowInset): added a bad getchar check, removed
8419         row argument, constify cur argument.
8420
8421 2003-04-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
8422
8423         * text2.C (getFont): adjust
8424         (getLayoutFont): adjust
8425         (getLabelFont): adjust
8426
8427         * paragraph_funcs.C (TeXOnePar): adjust
8428         (outerFont): new func...
8429         (realizeFont): ...moved out from here, changed this to facilitate
8430         transition
8431
8432         * paragraph.C (getFont): take outerfont as arg, adjust
8433         (simpleTeXOnePar): add outerfont arg, adjust
8434
8435         * buffer.C (simpleLinuxDocOnePar): adjust
8436         (simpleDocBookOnePar): adjust
8437
8438         * CutAndPaste.C (pasteSelection): adjust
8439
8440         * BufferView.C (getEncoding): adjust
8441
8442 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8443
8444         * text2.C (setCharFont): adjust
8445         (setCounter): adjust
8446
8447         * text.C (leftMargin): adjust
8448         (setHeightOfRow): adjust
8449
8450         * rowpainter.C (paintFirst): adjust
8451         (paintLast): adjust
8452
8453         * paragraph_pimpl.C (realizeFont): adjust
8454
8455         * paragraph.C (isFirstInSequence): move from here...
8456         * paragraph_funcs.C (isFirstInSequence): ...to here
8457
8458         * paragraph.C (outerHook): move from here...
8459         * paragraph_funcs.C (outerHook): ...to here
8460
8461         * paragraph.C (depthHook): move from here...
8462         * paragraph_funcs.C (depthHook): ...to here
8463
8464         * paragraph.C (getEndLabel): move from here...
8465         * paragraph_funcs.C (getEndLabel): ...to here
8466
8467         * text2.C (realizeFont): move from here...
8468         * paragraph_funcs.C (realizeFont): ...to here
8469
8470 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8471
8472         * text3.C (gotoNextInset): use separate tmp vars for par and pos.
8473
8474 2003-04-14  Angus Leeming  <leeming@lyx.org>
8475
8476         * LColor.[Ch]: scrap LColor mathcursor.
8477
8478 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8479
8480         * lyxlex.[Ch] (text): delete function
8481         * trans.C (Load): adjust
8482         * paragraph_funcs.C (readParToken): adjust
8483
8484 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8485
8486         * lyxlex_pimpl.h: get rid of LEX_MAX_BUFF, change buff to be a
8487         vector<char> instead of a char[].
8488
8489         * lyxlex_pimpl.C (getString): adjust
8490         (next): adjust
8491         (lex): use getString
8492         (eatLine): adjust
8493         (nextToken): adjust
8494
8495         * lyxlex.C (text): use pimpl_->getString()
8496         (getBool): ditto
8497         (findToken): ditto
8498
8499 2003-04-14  Lars Gullik Bjønnes  <larsbj@gullik.net>
8500
8501         * text2.C (getInset): temp vars for cursor.par() and cursor.pos()
8502         (makeFontEntriesLayoutSpecific): temp var for par.size()
8503         (setLayout): temp var for ownerParagraphs().end()
8504         (fullRebreak): temp var for rows().end()
8505         (selectionAsString): temp var for boost::next(startpit), realize
8506         that the while really is a regular for loop.
8507         (cursorEnd): temp vars for cursor.row(), lastPos ++, only call
8508         setCursor in one place.
8509         (setParagraph): temp vr for ownerParagraphs().end()
8510         (updateCounters): make the while loop a for loop
8511         (cutSelection): temp var for ownerParagraphs().end()
8512         (updateInset): make the do {} while() a regular for loop
8513         (getCursorX): use temp vars
8514         (setCurrentFont): use temp vars
8515         (getColumnNearX): use temp vars
8516
8517 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
8518
8519         * text.C (transformChar): use temp var for getChar
8520         (computeBidiTables): use temp var for row->par()
8521         (fill): move temp vars for row->par() and pit->layout() earlier in
8522         the function.
8523         (labelFill): use temp var for row->par()
8524         (setHeightOfRow): do not allow rit to be RowList::end, get rid of
8525         asc and desc, realize that pit never changes and that firstpit is
8526         just a duplicate and not needed. Exchange rit->par() with pit in a
8527         lot of places.
8528         (breakAgain): use a temp var for boost::next(rit)
8529         (breakAgainOneRow): ditto
8530         (breakParagraph): use a temp var for rows().begin()
8531         (prepareToPrint): move nlh into minimal scope, use temp var for rit->par()
8532         (cursorRightOneWord): use temp var for cursor.par() and
8533         cursor.pos(), remove usage of tmpcursor.
8534         (cursorLeftOneWord): use temp var for cursor.par() and
8535         cursor.pos() only set cur at end of function.
8536
8537 2003-04-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
8538
8539         * text.C, text2.C: exchange all usage of Paragraph::next with
8540         boost::next(ParagraphList::iterator)
8541
8542         * CutAndPaste.C (cutSelection): change 2. arg to a Paragraph*
8543
8544         * text2.C (cursorTop): simplify implementation
8545         (cursorBottom): ditto
8546         (setParagraph): use ParagraphList::iterator
8547         (setCurrentFont): adjust
8548         (getColumnNearX): adjust
8549         (cursorRight): adjust
8550         (cursorLeft): remove usage of Paragraph::previous
8551         (cursorUpParagraph): ditto
8552         (deleteEmptyParagraphMechanism): slight cleanup
8553
8554         * text.C (isBoundary): take a Paragraph const & instead of a
8555         pointer as arg.
8556         (addressBreakPoint): ditto
8557         (leftMargin): remove usage of Paragraph::previous.
8558         (setHeightOfRow): ditto
8559         (cursorLeftOneWord): ditto
8560         (selectNextWordToSpellcheck): ditto
8561         (Delete): ditto
8562         (backspace): ditto
8563         (breakParagraph): remove one usage of Paragraph::next
8564         (redoParagraph): ditto
8565         (acceptChange): ditto
8566         (insertChar): adjust
8567         (rowBreakPoint): adjust
8568
8569         * bufferview_funcs.C (toggleAndShow): adjust
8570
8571 2003-04-11  Alfredo Braunstein  <abraunst@libero.it>
8572
8573         * lyxrow.[Ch]: add a cached y position to a Row and Row::y()
8574         methods to access it.
8575         * lyxtext.h:
8576         * text.C: Added updateRowPositions to compute all row positions.
8577         Make top_y and getRowNearY() to use the cached y position
8578
8579 2003-04-11  John Levon  <levon@movementarian.org>
8580
8581         * text.C (rowBreakPoint): reintroduce the labelEnd
8582         checks, code copied from the row fill stuff. Deep voodoo.
8583
8584         * text.C (fill): add a comment and debugging for the
8585         next poor soul.
8586
8587 2003-04-11  John Levon  <levon@movementarian.org>
8588
8589         * text.C: make sure fullrow insets get wrapped to the next line,
8590         even when they're in a manual label
8591
8592 2003-04-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
8593
8594         * text2.C (insertParagraph): make it take ParagraphList::iterator
8595         as arg.
8596         (setLayout): make it return ParagraphList::iterator
8597         (redoParagraphs): ditto
8598         (setCounter): ditto
8599         (checkParagraph): ditto
8600
8601         * text.C (getRow): make getrow take ParagraphList::iterator as arg
8602
8603         * text2.C: adjust several funcs.
8604         (realizeFont): take a ParagraphList::iterator as arg.
8605         (getLayoutFont): ditto
8606         (getLabelFont): ditto
8607         (setCharFont): ditto
8608
8609         * text.C: adjust several funcs.
8610
8611 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
8612
8613         * text.C (selectNextWordToSpellcheck): don't accidentally
8614         skip insets
8615
8616 2003-04-10  John Levon  <levon@movementarian.org>
8617
8618         * ToolbarBackend.C (getIcon): special handling for
8619         LFUN_MATH_DELIM
8620
8621 2003-04-09  Alfredo Braunstein  <abraunst@libero.it>
8622
8623         * text2.C (cursorRight): a getChar assert fixed
8624
8625 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
8626
8627         * text2.C (getFont): change to take a ParagraphList::iterator
8628         instead of Paragraph*
8629         Adjust several functions.
8630
8631         * text.C (transformChar): change to take a ParagraphList::iterator
8632         instead of Paragraph*
8633         (singleWidth): ditto
8634         Adjust several functions.
8635
8636         * rowpainter.C: adjust several functions
8637         * rowpainter.h:store a ParagraphList::iterator and not a
8638         Paragraph&.
8639
8640
8641 2003-04-09  John Levon  <levon@movementarian.org>
8642
8643         * lyxfunc.C:
8644         * lfuns.h:
8645         * LyXAction.h:
8646         * LyXAction.C: remove LFUN_APROPOS, LFUN_GETTIP,
8647         and the "help" bits as well
8648
8649 2003-04-09  John Levon  <levon@movementarian.org>
8650
8651         * ToolbarBackend.h:
8652         * ToolbarBackend.C: allow multiple toolbars
8653
8654 2003-04-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
8655
8656         * undo_funcs.C (setCursorParUndo): adjust
8657
8658         * text_funcs.C (transposeChars): adjust
8659
8660         * text3.C (gotoNextInset): adjust
8661         (dispatch): adjust
8662
8663         * text2.C (setLayout): adjust
8664         (changeDepth): adjust
8665         (setFont): adjust
8666         (redoParagraphs): adjust
8667         (selectionAsString): adjust
8668         (setParagraph): adjust
8669         (insertInset): adjust
8670         (cutSelection): adjust
8671         (copySelection): adjust
8672         (pasteSelection): adjust
8673         (insertStringAsLines): adjust
8674         (updateInset): adjust
8675         (setCursor): change to take a ParagraphList::iterator parameter
8676         (setCursorIntern): change to take a ParagraphList::iterator parameter
8677         (setCurrentFont): adjust
8678         (cursorLeft): adjust
8679         (cursorRight): adjust
8680         (deleteEmptyParagraphMechanism): adjust
8681
8682         * text.C (breakParagraph): adjust
8683         (insertChar): adjust
8684         (acceptChange): adjust
8685         (rejectChange): adjust
8686         (selectNextWordToSpellcheck): adjust
8687         (changeCase): adjust
8688         (Delete): adjust
8689         (backspace): adjust
8690
8691         * lyxfind.C (SearchForward): adjust
8692         (SearchBackward): adjust
8693         (nextChange): adjust
8694
8695         * lyxcursor.C (par): adjust
8696
8697         * lyxcursor.h: store a ParagraphList::iterator instead of a
8698         Paragraph*
8699
8700         * lyx_cb.C (getPossibleLabel): adjust
8701
8702         * bufferview_funcs.C (toggleAndShow): adjust
8703
8704         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
8705         (dispatch): adjust
8706
8707         * BufferView.C (removeAutoInsets): adjust
8708         (lockedInsetStoreUndo): adjust
8709
8710 2003-04-09  John Levon  <levon@movementarian.org>
8711
8712         * ToolbarBackend.C: try icon without argument
8713         if with argument fails
8714
8715 2003-04-08  John Levon  <levon@movementarian.org>
8716
8717         * ToolbarBackend.h:
8718         * ToolbarBackend.C: add getIcon(), handle tooltip,
8719         and change from "Icon" to "Item".
8720
8721 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
8722
8723         * BufferView.C (lockInset): another bad getchar crunched
8724
8725 2003-04-08  Alfredo Braunstein  <abraunst@libero.it>
8726
8727         * text2.C (changeDepth): do not setUndo on test_only (make undo work
8728         again)
8729
8730 2003-04-05  Alfredo Braunstein  <abraunst@libero.it>
8731
8732         * lyxfind.C (searchForward, searchBackwards): bug 782
8733
8734 2003-04-07  John Levon  <levon@movementarian.org>
8735
8736         * paragraph.C: remove dead comment
8737
8738         * text.C: remove troublesome depth-fiddling code
8739         in leftMargin() and rightMargin() (bug 1017)
8740
8741         * text.C: fix breaking of rows in nested lists
8742         (bug 1004)
8743
8744         * text2.C (updateCounters): fix up depth values
8745         (bug 1013)
8746
8747 2003-04-07  John Levon  <levon@movementarian.org>
8748
8749         * BufferView_pimpl.C: clear message when doc finishes resizing,
8750         and after a mouse event
8751
8752         * lyxfunc.C: clear message after exiting inset
8753
8754 2003-04-07  John Levon  <levon@movementarian.org>
8755
8756         * bufferview_funcs.C: show math status not outside
8757         status in the statusbar
8758
8759 2003-04-07  John Levon  <levon@movementarian.org>
8760
8761         * lyxfunc.C: note status changed after a depth change
8762
8763 2003-04-04  Angus Leeming  <leeming@lyx.org>
8764
8765         * LaTeX.h: move AuxInfo operator==, != out of line.
8766         Remove LaTeX virtual destructor; nothing derives from it.
8767         Move operator()() out of public area and rename it startscript().
8768         Change protected for private.
8769
8770 2003-04-04  Angus Leeming  <leeming@lyx.org>
8771
8772         * lyxfunc.C:
8773         * text2.C: remove unneeded #includes.
8774
8775 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
8776
8777         * text2.C (dEPM): fix the heigth of the next row
8778
8779 2003-04-03  Alfredo Braunstein  <abraunst@libero.it>
8780
8781         * text.C: squashed an invalid getChar requester + some ws changes
8782
8783 2003-04-03  John Levon  <levon@movementarian.org>
8784
8785         * bufferview_funcs.h:
8786         * bufferview_funcs.C:
8787         * lyxfunc.C:
8788         * lyxtext.h:
8789         * text2.C: make getStatus work for the env depth lfuns
8790
8791 2003-04-03  John Levon  <levon@movementarian.org>
8792
8793         * bufferview_funcs.h:
8794         * bufferview_funcs.C:
8795         * lyxfunc.C:
8796         * lyxtext.h:
8797         * text2.C: parlistize decDepth(), by merging it with incDepth()
8798
8799 2003-04-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
8800
8801         * lyxrow.h: store a ParagraphList::iterator instead of a
8802         Paragraph* and adjust other class functions to suit.
8803
8804         * lyxrow_funcs.C, text.C, text2.C, text3.C: adjust because of the
8805         above.
8806
8807 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
8808
8809         * text2.C (setCursor): do not anchor to cursor row for the time being
8810
8811 2003-04-02  John Levon  <levon@movementarian.org>
8812
8813         * LyXAction.C:
8814         * lfuns.h:
8815         * lyx_main.C:
8816         * lyxtext.h:
8817         * text.C:
8818         * text3.C: rename the "tab" lfuns. Remove tab support from normal text
8819
8820 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8821
8822         * paragraph.h: make ParagraphList and ParagraphList::iterator
8823         friends of Paragraph.
8824
8825         * buffer.C (makeLinuxDocFile): move towards ParagraphList
8826
8827         * ParagraphList.C: Use the private next_ and previous_ from
8828         Paragraph.
8829
8830 2003-04-01  John Levon  <levon@movementarian.org>
8831
8832         * ToolbarBackend.h:
8833         * ToolbarBackend.C:
8834         * Makefile.am: rename, remove defaults gunk
8835
8836         * MenuBackend.h:
8837         * MenuBackend.C: remove defaults gunk
8838
8839         * Languages.h:
8840         * Languages.C: remove defaults gunk
8841
8842         * lyx_main.h:
8843         * lyx_main.C: error out if files couldn't be found.
8844
8845 2003-04-02  John Levon  <levon@movementarian.org>
8846
8847         * text2.C: make incDepth() use parlist
8848
8849 2003-04-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
8850
8851         * undo_funcs.C (firstUndoParagraph): adjust
8852
8853         * text3.C (gotoInset): adjust
8854         (dispatch): adjust, and rewrite loop.
8855
8856         * text2.C (init): adjust, and rewrite loop.
8857         (redoParagraphs): adjust
8858         (updateInset): adjust, and rewrite loop.
8859         (deleteEmptyParagraphMechanism): adjust
8860
8861         * tabular.C (LyXTabular): adjust
8862         (SetMultiColumn): adjust
8863         (TeXRow): adjust
8864
8865         * lyxtext.[Ch] (ownerParagraph): delete function
8866         (ownerParagraphs): new function returns a ParagraphList.
8867
8868         * BufferView.C (removeAutoInsets): adjust
8869         (insertErrors): adjust
8870         (setCursorFromRow): adjust
8871
8872 2003-04-01  Angus Leeming  <leeming@lyx.org>
8873
8874         * BufferView_pimpl.C (buffer): ensure that the Layout is correct
8875         in the frontends.
8876
8877 2003-04-02  John Levon  <levon@movementarian.org>
8878
8879         * lyxtext.h:
8880         * text.C:
8881         * Makefile.am:
8882         * text_funcs.h:
8883         * text_funcs.C: make transposeChars a free function
8884
8885         * lyxrow_funcs.C: remove wrong comment
8886
8887 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8888
8889         * lyxtext.h: adjust
8890         * rowpainter.C: adjust
8891         * text.C: adjust
8892         * text2.C: adjust
8893         * text3.C: adjust
8894
8895         * lyxrow_funcs. [Ch]: new files
8896
8897         * lyxrow.[Ch]: remove next and previous pointers
8898         (next,previous): remove accessor functions
8899         (isParEnd): move to lyxrow_funcs
8900         (lastPos): move to lyxrow_funcs
8901         (nextRowIsAllInset): move to lyxrow_funcs
8902         (lastPrintablePos): move to lyxrow_funcs
8903         (numberOfSeparators): move to lyxrow_funcs
8904         (numberOfHfills): move to lyxrow_funcs
8905         (numberOfLabelHfills): move to lyxrow_funcs
8906         (hfillExpansion): move to lyxrow_funcs
8907
8908         * lyxfunc.C: adjust
8909
8910         * bufferview_funcs.C (toggleAndShow): adjust
8911
8912         * RowList.h: Remove class RowList from file leave just a
8913         std::list<Row>.
8914
8915         * RowList.C: delete file
8916
8917         * Makefile.am (lyx_SOURCES): remove RowList.C, add lyxrow_funcs.C
8918         and lyxrow_funcs.h
8919
8920 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8921
8922         * text3.C (cursorPrevious): adjust
8923         (cursorNext): adjust
8924         (dispatch): adjust
8925
8926         * text2.C (redoHeightOfParagraph): adjust
8927         (redoDrawingOfParagraph): adjust
8928         (setCursor): adjust
8929
8930         * text.C (breakParagraph): adjust
8931         (insertChar): adjust
8932         (backspace): adjust
8933
8934         * rowpainter.C (RowPainter): adjust
8935         (leftMargin): simplify and adjust
8936         (most rowpainter functions): adjust.
8937
8938         * rowpainter.h: store the row as RowList::iterator not as Row*
8939
8940         * lyxcursor.C (row): taka RowList::iterator as arg
8941         (irow): ditto
8942
8943         * lyxcursor.h: make the LyXCursor store RowList::iterators instead
8944         of Row*.
8945
8946 2003-04-01  Angus Leeming  <leeming@lyx.org>
8947
8948         * bufferview_funcs.C (string2font): rewrite so that it no longer uses
8949         stuff like bool Bool.
8950
8951 2003-04-01  Alfredo Braunstein  <abraunst@libero.it>
8952
8953         * text2.C (redoParagraphs): fix a bug (introduced by myself) and
8954         rewrite a loop
8955
8956 2003-04-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
8957
8958         * text2.C (redoParagraphs): rewrite (with help from Alfredo) for
8959         RowList::iterator.
8960
8961         * lyxtext.h (rows): drop one version and leve a const variant that
8962         returns a RowList::iterator.
8963
8964 2003-03-31  Angus Leeming  <leeming@lyx.org>
8965
8966         * text.C (fill): ensure that the signature is the same as that in the
8967         header file.
8968
8969 2003-03-31  Lars Gullik Bjønnes  <larsbj@gullik.net>
8970
8971         * text2.C (redoParagraphs): adjust
8972         (updateCounters): adjust
8973         (checkParagraph): adjust
8974         (getColumnNearX): adjust and reformat a bit.
8975
8976         * text.C (top_y): adjust
8977         (workWidth): adjust
8978         (leftMargin): adjust
8979         (prepareToPrint): adjust
8980         (getRow): adjust
8981         (getRowNearY): adjust
8982
8983         * lyxtext.h: make rowlist_ mutable.
8984
8985         * RowList.h: add const_iterator
8986         * RowList.C: adjust for RowList::const_iterator.
8987
8988         * text2.C (getCursorX): make it take a RowList::iterator as arg,
8989         adjust.
8990
8991 2003-03-31  John Levon  <levon@movementarian.org>
8992
8993         * lyxrc.h:
8994         * lyxrc.C: moved pdf_mode and use_gui to elsewhere
8995
8996         * lyx_main.C: set default fonts from using lyx_gui funcs
8997
8998         * exporter.C: pdf_mode moved from lyxrc
8999
9000         * lyx_cb.C:
9001         * lyxfunc.C: changes from above
9002
9003 2003-03-31  John Levon  <levon@movementarian.org>
9004
9005         * lyx_main.C: fix to the last fix
9006
9007 2003-03-31  John Levon  <levon@movementarian.org>
9008
9009         * bufferlist.C: "Load original" -> "Load Original"
9010
9011         * converter.C:
9012         * exporter.C:
9013         * importer.C:
9014         * lyx_main.C:
9015         * format.C: more Alert cleanups
9016
9017 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
9018
9019         * text2.C (removeParagraph): make it take a RowList::iterator as
9020         arg, adjust.
9021         (getColumnNearX): make it take a RowList::iterator as arg, adjust.
9022         (postRowPaint): make it take a RowList::iterator as arg, adjust.
9023
9024         * text.C (anchor_row): make it take a RowList::iterator as arg,
9025         adjust.
9026         (computeBidiTables): make it take a const reference to Row instead
9027         of Row pointer, adjust.
9028         (leftMargin): make it take a RowList::iterator as arg, adjust.
9029         (rowBreakPoint): adjust
9030         (breakAgainOneRow): make it take a RowList::iterator as arg,
9031         adjust.
9032         (prepareToPrint): make it take a RowList::iterator as arg, adjust.
9033
9034         * bufferview_funcs.C (toggleAndShow): adjust
9035
9036 2003-03-30  John Levon  <levon@movementarian.org>
9037
9038         * Makefile.am:
9039         * BoostFormat.h:
9040         * boost-inst.C: moved to support
9041
9042         * several files: changes as a result
9043
9044 2003-03-30  Lars Gullik Bjønnes  <larsbj@gullik.net>
9045
9046         * text2.C (LyXText): adjust.
9047         (init): adjust
9048         (removeRow): make it take a RowList::iterator as arg, adjust.
9049         (fullRebreak): adjust
9050         (deleteEmptyParagraphMechanism): adjust
9051         (clearPaint): adjust
9052         (postPaint): adjust
9053
9054         * text.C (top_y): adjust
9055         (setHeightOfRow): make it take a RowList::iterator as arg, adjust.
9056         (breakAgain): make it take a RowList::iterator as arg, adjust.
9057         (breakParagraph): adjust
9058         (insertChar): adjust
9059         (backspace): adjust
9060
9061         * lyxtext.h: make anchor_row_ be a RowList::iterator, ditto
9062         need_break_row, and refresh_row.
9063
9064         * text3.C (dispatch): adjust
9065
9066         * text2.C (checkParagraph): adjust
9067         (setCursor): adjust
9068         (setCursorFromCoordinates): adjust
9069
9070         * text.C (top_y): adjust
9071         (workWidth): adjust
9072         (getRow): make it return a RowList::iterator, adjust
9073         (getRowNearY): make it return a RowList::iterator, adjust
9074
9075         * text2.C (init): adjust
9076         (insertRow): remove function
9077         (insertParagraph): adjust
9078         (redoParagraphs): adjust
9079         (fullRebreak): adjust
9080         (updateCounters): adjust
9081
9082         * text.C (top_y): rewrite to use RowList iterators.
9083         (top_y): adjust
9084         (setHeightOfRow): rewrite to sue RowList iterators.
9085         (appendParagraph): adjust
9086         (breakAgain): adjust
9087         (breakAgainOneRow): adjust
9088         (breakParagraph): adjust
9089         (getRow): adjust
9090         (getRowNearY): adjust, and remove commented code.
9091
9092         * lyxtext.h (firstRow): delete function
9093         (lastRow): delete function
9094         (rows): new function (const and non-const versions.)
9095         (insertRow): delete function
9096
9097         * lyxrow.[Ch] (Row): new constructor taking a par and a pos
9098
9099 2003-03-29  John Levon  <levon@movementarian.org>
9100
9101         * BufferView_pimpl.C: always update scrollbar top
9102         because pasting text when we're anchored could mean we
9103         miss an update altogether
9104
9105 2003-03-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
9106
9107         * text2.C (init): use rowlist_.end() and not 0.
9108         (insertRow): change to take a RowList::iterator as arg, adjust
9109         for this.
9110         (insertParagraph): change to take a RowList::iterator as arg,
9111         adjust for this.
9112         (redoParagraphs): remove some debug msgs.
9113
9114         * text.C (appendParagraph): change to take a RowList::iterator
9115         arg, adjust for this.
9116         (breakAgain): add an assert
9117         (breakAgainOneRow): ditto
9118
9119 2003-03-29  John Levon  <levon@movementarian.org>
9120
9121         * text2.C: do not clear selection after inc/decDepth
9122         (bug 550)
9123
9124 2003-03-29  John Levon  <levon@movementarian.org>
9125
9126         * BufferView.C:
9127         * buffer.C: fix broken strerrors according to Lars
9128
9129 2003-03-29  John Levon  <levon@movementarian.org>
9130
9131         * converters.C: more Alert cleanups
9132
9133 2003-03-29  John Levon  <levon@movementarian.org>
9134
9135         * bufferview_funcs.C: remove pointless Alert
9136
9137         * buffer.C: fix confusing error message when
9138         a template is chmoded 000
9139
9140 2003-03-29  John Levon  <levon@movementarian.org>
9141
9142         * BufferView.C:
9143         * BufferView.h:
9144         * BufferView_pimpl.C: Alert fixes
9145
9146         * Makefile.am:
9147         * tabular.C:
9148         * tabular-old.C: remove unused table compat reading
9149
9150 2003-03-29  John Levon  <levon@movementarian.org>
9151
9152         * BufferView.C:
9153         * buffer.C:
9154         * lyx_cb.h:
9155         * lyx_cb.C: more Alert cleanups
9156
9157         * lyxfunc.C: don't allow chktex if not latex document
9158
9159 2003-03-29  John Levon  <levon@movementarian.org>
9160
9161         * lyx_cb.C:
9162         * BufferView.C:
9163         * buffer.C: warnings pushed down from support/,
9164         kill err_alert
9165
9166 2003-03-29  John Levon  <levon@movementarian.org>
9167
9168         * lyxfunc.C: safety check for C-r (revert)
9169
9170 2003-03-29  John Levon  <levon@movementarian.org>
9171
9172         * bufferlist.h:
9173         * bufferlist.C: several UI fixes using Alert::prompt.
9174         Fix the pointless looping quit code. Fix stupid revert
9175         behaviour (bug 938)
9176
9177         * lyxvc.h:
9178         * lyxvc.C:
9179         * lyx_cb.C: use Alert::prompt
9180
9181         * lyx_main.C: remove a silly question
9182
9183         * lyxfunc.C: remove a couple of silly questions,
9184         use Alert::prompt
9185
9186 2003-03-28  John Levon  <levon@movementarian.org>
9187
9188         * text2.C: fix bug 974 (End on empty par)
9189
9190 2003-03-28  John Levon  <levon@movementarian.org>
9191
9192         * BufferView_pimpl.C:
9193         * LyXAction.C:
9194         * lfuns.h: remove do-nothing math greek lfuns
9195
9196 2003-03-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
9197
9198         * lyxgluelength.h (isValidGlueLength): add default arg on
9199         parameter 2. Remove default arg from friend in class.
9200
9201         * lyxlength.h (isValidLength): add default arg on parameter 2.
9202         Remove default arg from friend in class.
9203
9204         * text2.C (LyXText): adjust, initialize refresh_row.
9205         (init): adjust
9206         (removeRow): adjust
9207         (insertRow): adjust
9208         (insertParagraph): adjst
9209         (redoParagraphs): adjust
9210         (fullRebreak): adjust
9211         (updateCounters): adjust
9212         (deleteEmptyParagraphMechanism): first attempt at fixing a
9213         crashing bug.
9214
9215         * text.C (top_y): adjust
9216         (setHeightOfRow): adjust
9217         (getRow): adjust
9218         (getRowNearY): adjust
9219
9220         * lyxtext.h: include RowList.h
9221         (~LyXText): not needed anymore, deleted.
9222         (firstRow): modify for RowList
9223         (lastRow): new function
9224         Delete firstrow and lastrow class variables, add a Rowlist
9225         rowlist_ class variable.
9226
9227         * lyxrow.C (lastPos): use empty() and not !size() to check if a
9228         paragraph is empty.
9229
9230         * RowList.C (insert): fix case where it == begin().
9231
9232 2003-03-26  Angus Leeming  <leeming@lyx.org>
9233
9234         * BufferView_pimpl.C (dispatch): changes to the Dialogs interface for
9235         the thesaurus dialog.
9236
9237 2003-03-26  Lars Gullik Bjønnes  <larsbj@gullik.net>
9238
9239         * Makefile.am (lyx_SOURCES): add RowList.[Ch]
9240
9241         * RowList.[Ch]: new files
9242
9243         * ParagraphList.C (erase): handle the case where it == begin
9244         correctly.
9245
9246 2003-03-25  John Levon  <levon@movementarian.org>
9247
9248         * Makefile.am:
9249         * aspell_local.h:
9250         * aspell.C: add new aspell support
9251
9252         * lyxrc.h:
9253         * lyxrc.C: Make use_pspell be use_spell_lib. Always
9254         have it accessible.
9255
9256 2003-03-25  Angus Leeming  <leeming@lyx.org>
9257
9258         * lfuns.h:
9259         * LyXAction.C (init): new LFUN_INSET_INSERT.
9260
9261         * BufferView_pimpl.C (dispatch): split out part of the
9262         LFUN_INSET_APPLY block LFUN_INSET_INSERT.
9263
9264         * factory.C (createInset): act on LFUN_INSET_INSERT rather than
9265         LFUN_INSET_APPLY.
9266
9267 2003-03-25  Angus Leeming  <leeming@lyx.org>
9268
9269         * lyxfunc.C (dispatch): changes to the Dialogs interface.
9270
9271 2003-03-25  Alfredo Braunstein  <abraunst@libero.it>
9272
9273         * text2.C:
9274         * text3.C: remove useless row->height(0)
9275
9276 2003-03-25  John Levon  <levon@movementarian.org>
9277
9278         * lyxtext.h:
9279         * text2.C:
9280         * text3.C: rename the refreshing stuff to better names
9281
9282 2003-03-24  John Levon  <levon@movementarian.org>
9283
9284         * BufferView_pimpl.h:
9285         * BufferView_pimpl.C: update layout choice on a mouse
9286         press/release
9287
9288 2003-03-23  John Levon  <levon@movementarian.org>
9289
9290         * Makefile.am: fix commandtags.h reference
9291
9292 2003-03-22  John Levon  <levon@movementarian.org>
9293
9294         * BufferView_pimpl.C:
9295         * lyxtext.h:
9296         * rowpainter.C:
9297         * rowpainter.h:
9298         * text.C:
9299         * text2.C: remove CHANGED_IN_DRAW, it cannot happen now
9300
9301 2003-03-21  Alfredo Braunstein  <abraunst@libero.it>
9302
9303         * lyxtext.h:
9304         * text.C: take the rtl methods out of line
9305
9306 2003-03-21 André Pönitz <poenitz@gmx.net>
9307
9308         * metricsinfo.[Ch]: new files containing structures to be passed around
9309         during the two-phase-drawing...
9310
9311 2003-03-21 André Pönitz <poenitz@gmx.net>
9312
9313         * lyxtextclass.C: read 'environment' tag.
9314
9315 2003-03-20  Alfredo Braunstein  <abraunst@libero.it>
9316
9317         * text2.C (removeRow): fix bug 964
9318
9319 2003-03-20  John Levon  <levon@movementarian.org>
9320
9321         * rowpainter.C:
9322         * text.C:
9323         * text2.C: paint cleanups. Inset::update() dropped font
9324         parameter
9325
9326 2003-03-19  John Levon  <levon@movementarian.org>
9327
9328         * lyxfunc.C: only fitcursor/markDirty if available()
9329
9330 2003-03-19  John Levon  <levon@movementarian.org>
9331
9332         * commandtags.h: rename to ...
9333
9334         * lfuns.h: ... this, and renumber / cleanup
9335
9336 2003-03-19  John Levon  <levon@movementarian.org>
9337
9338         * lyxfunc.C: mark buffer dirty if we executed a "dirtying" lfun.
9339         fit the cursor after an lfun
9340
9341         * BufferView.h:
9342         * BufferView.C:
9343         * BufferView_pimpl.h:
9344         * BufferView_pimpl.C: remove BufferView::FITCUR/CHANGE
9345
9346         * LyXAction.C: layout-character should have ReadOnly
9347
9348         * ParagraphParameters.C:
9349         * buffer.C:
9350         * bufferview_funcs.C:
9351         * lyx_cb.C:
9352         * lyxfind.C:
9353         * lyxtext.h:
9354         * text.C:
9355         * text2.C:
9356         * text3.C:
9357         * undo_funcs.C: changes from above
9358
9359 2003-03-18  John Levon  <levon@movementarian.org>
9360
9361         * BufferView_pimpl.C (scrollDocView): add updateLayoutChoice(),
9362         remove it from update()
9363
9364         * lyxfunc.C: update layout choice after an lfun
9365
9366         * text3.C: remove extra updateLayoutChoice()s
9367
9368 2003-03-18  John Levon  <levon@movementarian.org>
9369
9370         * text.C: top_y change means full repaint, fix
9371         a drawing bug with cursor movement
9372
9373 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
9374
9375         * lyxtext.h:
9376         * text.C:
9377         * text2.C: anchor row on setCursor
9378
9379 2003-03-18  Alfredo Braunstein  <abraunst@libero.it>
9380
9381         * lyxtext.h: remove almost all mutable keywords
9382         * text.C:
9383         * text2.C:
9384         * text3.C: remove const keywords accordingly
9385
9386 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
9387
9388         * paragraph_funcs.C (TeXDeeper): reduce number of args, move into
9389         anon namespace
9390         (TeXEnvironment): ditto
9391         (TeXOnePar): ditto
9392
9393 2003-03-17  John Levon  <levon@movementarian.org>
9394
9395         * text.C (rowBreakPoint): remove attempt to fix displayed
9396         math insets inside a manual label
9397
9398 2003-03-17  Lars Gullik Bjønnes  <larsbj@gullik.net>
9399
9400         * lyxtext.h: remove BufferView* as first arg from almost all class
9401         functions.
9402         * other files: adjust.
9403
9404 2003-03-17  John Levon  <levon@movementarian.org>
9405
9406         * lyxtext.h:
9407         * undo_funcs.C:
9408         * text2.C: more paint cleanups
9409
9410         * BufferView_pimpl.C: screen prototype changed, use postPaint etc.
9411
9412         * rowpainter.h:
9413         * rowpainter.C: remove "smart" background painting code
9414
9415 2003-03-16  John Levon  <levon@movementarian.org>
9416
9417         * lyxtext.h:
9418         * text.C:
9419         * text2.C:
9420         * text3.C: add helper functions for setting refresh_row/y
9421
9422 2003-03-14  Kayvan Sylvan  <kayvan@sylvan.com>
9423
9424         * paragraph_pimpl.C (simpleTeXSpecialChars): Added fix for the
9425         newline inset which *can* get inserted in the pass_thru layouts.
9426         This is primarily for literate documents.
9427
9428 2003-03-14  Dekel Tsur  <dekelts@tau.ac.il>
9429
9430         * buffer.C: increment LYX_FORMAT to 223
9431
9432 2003-03-14 André Pönitz <poenitz@gmx.net>
9433
9434         * textclass.h: prepare for environment handling, ws changes
9435         * lyxlayout.C: read latexheader and latexfooter tags
9436
9437 2003-03-14  John Levon  <levon@movementarian.org>
9438
9439         * text2.C: rewrite ::status() a bit
9440
9441 2003-03-13  John Levon  <levon@movementarian.org>
9442
9443         * lyxtext.h: add some docs
9444
9445 2003-03-13  John Levon  <levon@movementarian.org>
9446
9447         * lyxtext.h:
9448         * text.C:
9449         * text2.C:
9450         * text3.C: remove pointless 2nd arg to setHeightOfParagraph()
9451
9452 2003-03-13  John Levon  <levon@movementarian.org>
9453
9454         * text3.C: fix appendix redrawing
9455
9456 2003-03-13  John Levon  <levon@movementarian.org>
9457
9458         * text.C (setHeightOfRow):
9459         * rowpainter.h:
9460         * rowpainter.C: make appendix mark have the text
9461           "Appendix" so the user knows what it is
9462
9463         * LColor.h:
9464         * LColor.C: s/appendixline/appendix/ from above
9465
9466 2003-03-13  John Levon  <levon@movementarian.org>
9467
9468         * paragraph_pimpl.C: fix Andre's backing out of the strong assertion
9469
9470         * text.C: fix a getChar(pos) bug properly
9471
9472 2003-03-13  Angus Leeming  <leeming@lyx.org>
9473
9474         * commandtags.h:
9475         * LyXAction.C (init): new LFUNs PARAGRAPH_APPLY and PARAGRAPH_UPDATE.
9476         Probably only temporary. Let's see how things pan out.
9477
9478         * BufferView.C (unlockInset):
9479         * BufferView_pimpl.C (fitCursor):
9480         replace Dialogs::updateParagraph with dispatch(LFUN_PARAGRAPH_UPDATE).
9481
9482         * BufferView_pimpl.C (dispatch): code for LFUNs LAYOUT_PARAGRAPH,
9483         PARAGRAPH_UPDATE, PARAGRAPH_APPLY.
9484
9485         * ParagraphParameters.[Ch] (setParagraphParams, params2string):
9486         new functions that convert ParagraphParameters to and from a string.
9487
9488         * lyxfunc.C (dispatch): move LFUN_LAYOUT_PARAGRAPH to
9489         BufferView::Pimpl's dispatch.
9490         In LFUN_ESCAPE, dispatch LFUN_PARAGRAPH_UPDATE.
9491
9492 2003-03-13 André Pönitz <poenitz@gmx.net>
9493
9494         * lyxfunc.C:
9495         * text3.C:
9496         * factory.C: make it aware of InsetEnv
9497
9498 2003-03-13  Lars Gullik Bjønnes  <larsbj@gullik.net>
9499
9500         * text2.C (setCursor): never ask for one past last
9501         (setCursor): add some debugging messages.
9502
9503         * text.C (singleWidth): never ask for one past last
9504         (singleWidth): ditto
9505         (leftMargin): ditto
9506         (rightMargin): ditto
9507         (rowBreakPoint): ditto
9508         (setHeightOfRow): ditto
9509         (prepareToPrint): ditto
9510
9511         * rowpainter.C (paintBackground): never ask for one past last
9512         (paintText): never ask for one past last
9513
9514         * paragraph_pimpl.C (getChar): make the assert stricter, never
9515         allow the one past last pos to be taken
9516
9517         * paragraph.C (getChar): ws changes only
9518
9519         * lyxrow.C (nextRowIsAllInset): never ask for one past last
9520         (numberOfSeparators): ditto
9521         (numberOfHfills): ditto
9522
9523 2003-03-12  John Levon  <levon@movementarian.org>
9524
9525         * author.h:
9526         * author.C:
9527         * bufferparams.h:
9528         * bufferparams.C:
9529         * paragraph_funcs.C: fix per-buffer authorlists
9530
9531 2003-03-12  John Levon  <levon@movementarian.org>
9532
9533         * text.C: fix newline in right address
9534
9535 2003-03-12  Angus Leeming  <leeming@lyx.org>
9536
9537         * BufferView_pimpl.C (dispatch): remove LFUNs from switch as they
9538         duplicate those in LyXFunc::dispatch.
9539
9540         * commandtags.h:
9541         * LyXAction.C:
9542         * ToolbarDefaults.C:
9543         rename LFUN_FREE as LFUN_FONTFREE_APPLY.
9544         Add LFUN_FONTFREE_UPDATE.
9545
9546         * lyxfunc.C (dispatch): code for LFUN_FREEFONT_APPLY,
9547         LFUN_FREEFONT_UPDATE, LFUN_LAYOUT_CHARACTER.
9548
9549         * bufferview_func.[Ch]: several new functions to facilliate
9550         transfer of data to and from the character dialog.
9551
9552 2003-03-12  John Levon  <levon@movementarian.org>
9553
9554         * buffer.C:
9555         * paragraph.h:
9556         * paragraph.C:
9557         * paragraph_funcs.C:
9558         * paragraph_pimpl.C:
9559         * sgml.C:
9560         * tabular.C:
9561         * text.C:
9562         * text3.C: remove META_NEWLINE in favour of an inset
9563
9564         * rowpainter.h:
9565         * rowpainter.C: remove paintNewline (done by inset)
9566
9567 2003-03-12  John Levon  <levon@movementarian.org>
9568
9569         * paragraph_pimpl.C: complain about bad getChar()s
9570         for a while at least
9571
9572 2003-03-12  John Levon  <levon@movementarian.org>
9573
9574         * buffer.h:
9575         * buffer.C: move paragraph read into a separate function,
9576         a little renaming to reflect that.
9577
9578         * bufferparams.h:
9579         * bufferparams.C: remove the author_ids map, not necessary now
9580
9581         * factory.h:
9582         * factory.C: moved Buffer::readInset to here
9583
9584         * paragraph_funcs.h:
9585         * paragraph_funcs.C: readParagraph free function moved from
9586         buffer.C
9587
9588         * tabular.C: name change
9589
9590 2003-03-12  John Levon  <levon@movementarian.org>
9591
9592         * buffer.C:
9593         * ParagraphParameters.C: move par params input to
9594         a read() method
9595
9596         * lyxlex_pimpl.C: make nextToken()/next() after a pushToken()
9597         behave like a normal read from the stream wrt reading
9598         a line vs. a \\token
9599
9600 2003-03-12  John Levon  <levon@movementarian.org>
9601
9602         * paragraph.C:
9603         * ParagraphParameters.h:
9604         * ParagraphParameters.C: move output code to a
9605         ::write() method
9606
9607 2003-03-12  John Levon  <levon@movementarian.org>
9608
9609         * BufferView.C (insertLyXFile):
9610         * buffer.h:
9611         * buffer.C:
9612         * tabular.C: use a parlist iterator for creating the
9613           document.
9614
9615 2003-03-12  John Levon  <levon@movementarian.org>
9616
9617         * buffer.C: make current_change static local not
9618           static file-scope
9619
9620 2003-03-12  John Levon  <levon@movementarian.org>
9621
9622         * buffer.C: fix insertStringAsLines for change tracking
9623
9624 2003-03-12  John Levon  <levon@movementarian.org>
9625
9626         * BufferView.C:
9627         * tabular.C:
9628         * buffer.h:
9629         * buffer.C:
9630         * bufferparams.h:
9631         * bufferparams.C: move author list into params. Rename some
9632           functions. Move the header reading into a separate token
9633           loop. Move the header token reading into BufferParams.
9634
9635 2003-03-12  John Levon  <levon@movementarian.org>
9636
9637         * changes.C: put debug inside lyxerr.debugging() checks
9638
9639 2003-03-11 André Pönitz <poenitz@gmx.net>
9640
9641         * factory.C: make it aware of InsetHFill
9642
9643 2003-03-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
9644
9645         * buffer.C (latexParagraphs): move function from here...
9646         * paragraph_funcs.C (latexParagraphs): ...to here, and adjust
9647         args.
9648
9649 2003-03-10  Angus Leeming  <leeming@lyx.org>
9650
9651         * LyXAction.C (init): fix bug in poplating array with multiple entries
9652         with the same LFUN (spotted by JMarc).
9653
9654 2003-03-10  John Levon  <levon@movementarian.org>
9655
9656         * text.C:
9657         * text2.C: move getColumnNearX() near its
9658         only call site
9659
9660 2003-03-10  John Levon  <levon@movementarian.org>
9661
9662         * text.C: fix break before a minipage
9663
9664 2003-03-10  John Levon  <levon@movementarian.org>
9665
9666         * text.C: fix the last commit
9667
9668 2003-03-09  John Levon  <levon@movementarian.org>
9669
9670         * lyxtext.h:
9671         * text.C:
9672         * text2.C: clean up nextBreakPoint (now rowBreakPoint). Fix
9673         bug 365 (don't break before insets unless needed). Don't
9674         return a value > last under any circumstances.
9675
9676 2003-03-09  Angus Leeming  <leeming@lyx.org>
9677
9678         * BufferView_pimpl.C (trackChanges, dispatch): call
9679         Dialogs::show("changes") rather than Dialogs::showMergeChanges().
9680
9681 2003-03-09  Angus Leeming  <leeming@lyx.org>
9682
9683         * lyxfunc.C (dispatch): call Dialogs::show("about") rather
9684         than Dialogs::showAboutlyx().
9685
9686 2003-03-09  Angus Leeming  <leeming@lyx.org>
9687
9688         * factory.C (createInset): call Dialogs::show("tabularcreate") rather
9689         than Dialogs::showTabularCreate().
9690
9691 2003-03-09  John Levon  <levon@movementarian.org>
9692
9693         * lyxtext.h:
9694         * text.C:
9695         * text2.C: 3rd arg to nextBreakPoint was always the same.
9696           Use references.
9697
9698 2003-03-08  John Levon  <levon@movementarian.org>
9699
9700         * lyxrow.C:
9701         * paragraph.C:
9702         * paragraph.h:
9703         * rowpainter.C:
9704         * text.C:
9705         * text2.C: Remove the "main" bit from the "main body"
9706           notion.
9707
9708 2003-03-08  John Levon  <levon@movementarian.org>
9709
9710         * text.C (leftMargin): The left margin of an empty
9711         manual label paragraph should not include the label width
9712         string length.
9713
9714         * text.C (prepareToPrint): don't attempt to measure hfills
9715         for empty manual label paragraphs - the answer should be 0
9716
9717 2003-03-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
9718
9719         * CutAndPaste.C: remove commented code and reindent.
9720
9721 2003-03-08  John Levon  <levon@movementarian.org>
9722
9723         * lyxfunc.h:
9724         * lyxfunc.C: move reloadBuffer()
9725
9726         * BufferView.h:
9727         * BufferView.C: to here
9728
9729         * lyxvc.C: add comment
9730
9731         * vc-backend.h:
9732         * vc-backend.C: call bv->reload() to avoid
9733           getStatus() check on MENURELOAD
9734
9735 2003-03-07  Dekel Tsur  <dekelts@tau.ac.il>
9736
9737         * LaTeX.C (run): Fix a bug where the DVI file was not updated due
9738         to an old format .dep file.
9739
9740 2003-03-07  Angus Leeming  <leeming@lyx.org>
9741
9742         * text3.C (dispatch): remove the 'gross hack' of calling inset->edit
9743         when the LFUN_MOUSE_RELEASE should have been handled by
9744         inset->localDispatch.
9745
9746 2003-03-07  Angus Leeming  <leeming@lyx.org>
9747
9748         * BufferView_pimpl.C (dispatch):
9749         * LyXAction.C (init):
9750         * ToolbarDefaults.C (init):
9751         * commandtags.h:
9752         * lyxfunc.C (getStatus):
9753         remove LFUN_INSET_GRAPHICS.
9754
9755         * factory.C (createInset): add "graphics" to LFUN_INSET_APPLY.
9756
9757 2003-03-07  Angus Leeming  <leeming@lyx.org>
9758
9759         * commandtags.h:
9760         * LyXAction.C (init):
9761         * lyxfunc.C (getStatus): remove LFUN_REF_INSERT.
9762
9763         * lyxfunc.C (getStatus): add LFUN_DIALOG_SHOW_NEW_INSET to switch.
9764
9765         * commandtags.h:
9766         * LyXAction.C: add LFUN_INSET_DIALOG_UPDATE.
9767
9768         * lyxfunc (dispatch): on LFUN_DIALOG_UPDATE, pass the 'open' inset's
9769         localDispatch method LFUN_INSET_DIALOG_UPDATE.
9770
9771 2003-03-07  Angus Leeming  <leeming@lyx.org>
9772
9773         * lyxfunc.C (dispatch): add "include" to LFUN_SHOW_NEW_INSET and
9774         remove "ert".
9775
9776 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
9777
9778         * ParagraphList.C (front): new function
9779         (back): implement
9780
9781 2003-03-06  Alfredo Braunstein  <abraunst@libero.it>
9782
9783         * lyxtext.h (top_y): added these 2 methods, and private vars top_row_
9784         and top_row_offset_. removed var first_y.
9785         * text.C (top_y):
9786         * text2.C (LyXText, removeRow):
9787         * text3.C:
9788         * BufferView_pimpl.C:
9789         use these methods instead of using first_y
9790
9791 2003-03-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
9792
9793         * text2.C (pasteSelection): adjust for checkPastePossible
9794
9795         * CutAndPaste.C: remove Paragraph * buf and replace with
9796         ParagraphList paragraphs.
9797         (DeleteBuffer): delete
9798         (cutSelection): change the tc type to textclass_type
9799         (copySelection): change the tc type to textclass_type
9800         (copySelection): adjust for ParagraphList
9801         (pasteSelection): change the tc type to textclass_type
9802         (pasteSelection): adjust for Paragraphlist
9803         (nrOfParagraphs): simplify for ParagraphList
9804         (checkPastePossible): simplify for ParagraphList
9805         (checkPastePossible): remove unused arg
9806
9807         * ParagraphList.C (insert): handle the case where there are no
9808         paragraphs yet.
9809
9810         * CutAndPaste.h: make CutAndPaste a namespace.
9811
9812         * text3.C (dispatch): adjust
9813
9814         * text.C (breakParagraph): add a ParagraphList as arg
9815
9816         * paragraph_funcs.C (breakParagraph): change to take a
9817         BufferParams and a ParagraphList as args.
9818         (breakParagraphConservative): ditto
9819         (mergeParagraph): ditto
9820         (TeXDeeper): add a ParagraphList arg
9821         (TeXEnvironment): ditto
9822         (TeXOnePar): ditto
9823
9824         * buffer.C (readLyXformat2): adjust
9825         (insertStringAsLines): adjust
9826         (latexParagraphs): adjust
9827
9828         * CutAndPaste.C (cutSelection): use 'true' not '1' as truth value.
9829         (cutSelection): adjust
9830         (pasteSelection): adjust
9831
9832         * BufferView_pimpl.C (insertInset): adjust
9833
9834 2003-03-05  Angus Leeming  <leeming@lyx.org>
9835
9836         * commandtags.h:
9837         * LyXAction.C (init):
9838         * BufferView_pimpl.C (dispatch):
9839         * lyxfunc.C (getStatus):
9840         remove LFUN_CHILD_INSERT.
9841
9842         * factory.C (createInset): add "include" to LFUN_INSET_APPLY.
9843
9844 2003-03-05  Angus Leeming  <leeming@lyx.org>
9845
9846         * commandtags.h:
9847         * LyXAction.C (init):
9848         * src/factory.C (createInset):
9849         * lyxfunc.C (getStatus):
9850         * text3.C (dispatch):
9851         remove LFUN_INSET_EXTERNAL and LFUN_INSERT_URL
9852
9853         * factory.C (createInset): add "external" to LFUN_INSET_APPLY.
9854
9855 2003-03-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
9856
9857         * ParagraphList.C (insert): handle insert right before end()
9858         (erase): fix cases where it can be first or last paragraph.
9859
9860 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9861
9862         * paragraph_funcs.C (TeXEnvironment): remove all usage of
9863         Paragraph::next and Paragraph::previous
9864         (TeXOnePar): ditto
9865
9866         * text.C (breakParagraph): adjust
9867
9868         * paragraph_funcs.C (breakParagraph): take a Buffer* instead of a
9869         BufferParams& as arg.
9870         (breakParagraph): use ParagraphList::insert
9871         (breakParagraphConservative): take a Buffer* instead of a
9872         BufferParams& as arg.
9873         (breakParagraphConservative): use ParagraphList::insert.
9874
9875         * buffer.C (insertStringAsLines): un-const it
9876         (insertStringAsLines): adjust
9877
9878         * ParagraphList.C (insert): new function
9879
9880         * CutAndPaste.C (pasteSelection): adjust
9881
9882         * text.C (backspace): adjust
9883
9884         * tabular.C (SetMultiColumn): adjust
9885
9886         * CutAndPaste.C (cutSelection): adjust
9887         (pasteSelection): adjust
9888
9889         * tabular.C (SetMultiColumn): make it take a Buffer* instead of a
9890         Buffer const * as arg
9891
9892         * ParagraphList.C (erase): new function
9893         * paragraph_funcs.C (mergeParagraph): use it
9894         (mergeParagraph): make it take a Buffer* instead of a
9895         BufferParams* as arg
9896
9897         * paragraph_funcs.C (breakParagraph): take ParagraphList::iterator
9898         as arg
9899         (breakParagraphConservative): ditto
9900
9901         * paragraph.h: remove the breakParagraph friend
9902
9903         * paragraph.C (eraseIntern): new function
9904         (setChange): new function
9905
9906         * paragraph_funcs.C (mergeParagraph): make it take a
9907         ParagraphList::iterator instead of a Paragraph *, adjust
9908         accordingly.
9909
9910         * paragraph.h: move an #endif so that the change tracking stuff
9911         also works in the NO_NEXT case.
9912
9913 2003-03-04  Angus Leeming  <leeming@lyx.org>
9914
9915         * commandtags.h:
9916         * LyXAction.C: new LFUN_INSET_MODIFY.
9917
9918         * BufferView_pimpl.C (dispatch): if an inset is found to be open
9919         on LFUN_INSET_APPLY, pass LFUN_INSET_MODIFY to its localDispatch.
9920
9921 2003-03-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
9922
9923         * several files: ws changes only
9924
9925         * paragraph_funcs.C (TeXOnePar): take ParagraphList::iterator as args
9926         (TeXEnvironment): ditto
9927         (TeXDeeper): ditto
9928
9929         * buffer.C (makeLaTeXFile): adjust
9930         (latexParagraphs): make it take ParagraphList::iterator as args
9931
9932 2003-03-03  Lars Gullik Bjønnes  <larsbj@gullik.net>
9933
9934         * buffer.C (latexParagraphs): adjust
9935
9936         * paragraph.C (TeXOnePar): move function...
9937         (optArgInset): move function...
9938         (TeXEnvironment): move function...
9939         * paragraph_pimpl.C (TeXDeeper): move function...
9940         * paragraph_funcs.C: ...here
9941
9942         * tabular.C (UseParbox): rewrite to use ParagraphList iterators.
9943
9944 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
9945
9946         * buffer.C (readInset): remove compability code for old Figure and
9947         InsetInfo insets
9948
9949 2003-03-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
9950
9951         * buffer.C: ws changes
9952         (readInset):
9953
9954         * BufferView_pimpl.C: ditto
9955         * author.C: ditto
9956         * buffer.h: ditto
9957         * bufferlist.h: ditto
9958         * changes.h: ditto
9959         * lyxfunc.C: ditto
9960
9961 2003-02-28  Alfredo Braunstein <abraunst@libero.it>
9962
9963         * converter.[Ch]: split into itself +
9964         * graph.[Ch]
9965         * format.[Ch]
9966         * Makefile.am: += graph.[Ch] + format.[Ch]
9967         * MenuBackend.C
9968         * buffer.C
9969         * exporter.C
9970         * importer.C
9971         * lyx_main.C
9972         * lyxfunc.C
9973         * lyxrc.C: added #include "format.h"
9974
9975 2003-02-27  Angus Leeming  <leeming@lyx.org>
9976
9977         * BufferView_pimpl.C (dispatch): call a real, LyX dialog to insert
9978           a label.
9979
9980         * factory.C (createInset): add "label" to the factory.
9981
9982         * lyx_cb.[Ch] (getPossibleLabel): rewrite MenuInsertLabel to return the
9983           string and do no more.
9984
9985 2003-02-27  Angus Leeming  <leeming@lyx.org>
9986
9987         * commandtags.h:
9988         * LyXAction.C (init):
9989         * factory.C (createInset):
9990         * BufferView_pimpl.C (dispatch):
9991           collapse LFUN_XYZ_APPLY to LFUN_INSET_APPLY.
9992
9993         * lyxfunc.C (getStatus): remove LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY.
9994
9995         * lyxfunc.C (dispatch):
9996         * text3.C (dispatch): pass name to params2string.
9997
9998 2003-02-26  Angus Leeming  <leeming@lyx.org>
9999
10000         * BufferView_pimpl.C (dispatch): collapse the various LFUN_XYZ_APPLY
10001           blocks together.
10002           Rearrange the ~includes. Strip out the unnecessary ones.
10003
10004         * factory.C (createInset): reformat.
10005           create new insets for the various LFUN_XYZ_APPLY lfuns.
10006
10007 2003-02-26  John Levon  <levon@movementarian.org>
10008
10009         * lyxrow.h:
10010         * lyxrow.C: add isParStart,isParEnd helpers
10011
10012         * paragraph.h: make isInserted/DeletedText take refs
10013
10014         * paragraph_funcs.h:
10015         * paragraph_funcs.C: remove #if 0'd code
10016
10017         * lyxtext.h:
10018         * text3.C:
10019         * text2.C:
10020         * text.C: use lyxrow helpers above.
10021           Move draw and paint routines to RowPainter.
10022           Make several methods use refs not pointers.
10023           Make backgroundColor() const.
10024           Add markChangeInDraw(), isInInset().
10025           Merge changeRegionCase into changeCase.
10026           Make workWidth() shouldn't-happen code into an Assert.
10027
10028         * rowpainter.h:
10029         * rowpainter.C: new class for painting a row.
10030
10031         * vspace.h:
10032         * vspace.C: make inPixels take a ref
10033
10034 2003-02-26  Angus Leeming  <leeming@lyx.org>
10035
10036         * BufferView_pimpl.C (dispatch): use InsetCommand::localDispatch for
10037         LFUN_REF_APPLY.
10038
10039 2003-02-25  John Levon  <levon@movementarian.org>
10040
10041         * ispell.C: give the forked command a more accurate name
10042
10043 2003-02-22  John Levon  <levon@movementarian.org>
10044
10045         * toc.h:
10046         * toc.C: make TocItem store an id not a Paragraph *
10047           (bug #913)
10048
10049 2003-02-21  Angus Leeming  <leeming@lyx.org>
10050
10051         * commandtags.h: Retire LFUN_CITATION_INSERT, LFUN_CITATION_CREATE,
10052           LFUN_INSERT_BIBTEX, LFUN_BIBTEX_STYLE, LFUN_BIBDB_ADD, LFUN_BIBDB_DEL.
10053           Bring to life LFUN_DIALOG_SHOW_NEW_INSET, LFUN_DIALOG_SHOW_NEXT_INSET,
10054           LFUN_DIALOG_UPDATE, LFUN_DIALOG_HIDE, LFUN_DIALOG_DISCONNECT_INSET,
10055           LFUN_BIBITEM_APPLY, LFUN_BIBTEX_APPLY, LFUN_CITATION_APPLY,
10056           LFUN_INDEX_APPLY, LFUN_REF_APPLY, LFUN_TOC_APPLY, LFUN_URL_APPLY,
10057
10058         * BufferView_pimpl.C (dispatch):
10059         * LyXAction.C (init):
10060         * factory.C (createInset):
10061         * lyxfunc.C (getStatus, dispatch):
10062         * text3.C (dispatch): retire old LFUNs and bring new ones to life.
10063
10064 2003-02-21  Angus Leeming  <leeming@lyx.org>
10065
10066         * BufferView_pimpl.C (MenuInsertLyXFile):
10067         * lyx_cb.C (WriteAs, getContentsOfAsciiFile):
10068         * lyxfunc.C (menuNew, open, doImport):
10069           no longer pass a LyXView & to fileDlg.
10070
10071 2003-02-21  Angus Leeming  <leeming@lyx.org>
10072
10073         * BufferView_pimpl.C: replace insetbib.h with insetbibtex.h.
10074         * LyXAction.C: change, BIBKEY to BIBITEM.
10075         * buffer.C: replace insetbib.h with insetbibitem.h and insetbibtex.h.
10076         Change InsetBibKey to InsetBibitem.
10077         Change BIBKEY_CODE to BIBITEM_CODE.
10078         * commandtags.h: change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
10079         * factory.C: replace insetbib.h with insetbibitem.h.
10080         Change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
10081         * paragraph.C: replace insetbib.h with insetbibitem.h.
10082         * paragraph.[Ch]: change InsetBibKey to InsetBibitem.
10083         Change bibkey() to bibitem().
10084         * text.C: remove insetbib.h.
10085         * text2.C: replace insetbib.h with insetbibitem.h.
10086         change bibkey() to bibitem().
10087         * text3.C: remove insetbib.h.
10088         change LFUN_INSERT_BIBKEY to LFUN_INSERT_BIBITEM.
10089
10090 2003-02-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10091
10092         * lyxrc.C (output): enclose user email in quotes (in case there are
10093         several words)
10094
10095 2003-02-18  John Levon  <levon@movementarian.org>
10096
10097         * buffer.h: add std::
10098
10099 2003-02-17  John Levon  <levon@movementarian.org>
10100
10101         * SpellBase.h:
10102         * ispell.h:
10103         * ispell.C:
10104         * pspell.h:
10105         * pspell.C: reworking. Especially in ispell, a large
10106           number of clean ups and bug fixes.
10107
10108         * lyxfunc.C: fix revert to behave sensibly
10109
10110 2003-02-17 André Pönitz <poenitz@gmx.net>
10111
10112         * LyXAction.C:
10113         * commandtags.h: new LFUN_INSERT_BIBKEY
10114
10115         * layout.h:
10116         * lyxlayout.C:
10117         * buffer.C:
10118         * factory.C:
10119         * text.C:
10120         * text2.C:
10121         * text3.C:
10122         * paragraph.[Ch]:
10123         * paragraph_func.C: remove special bibkey handling
10124
10125 2003-02-17  John Levon  <levon@movementarian.org>
10126
10127         * text.C (Delete): fix case where delete at the end of
10128           the very first paragraph would not merge the pars
10129
10130 2003-02-17  John Levon  <levon@movementarian.org>
10131
10132         * lyxrow.C: fix lastPrintablePos()
10133
10134 2003-02-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10135
10136         * bufferparams.C (writeLaTeX): add a std:here
10137
10138         * buffer.C: and remove a using directive there
10139
10140 2003-02-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10141
10142         * buffer.C (makeLaTeXFile): move the code that generates the
10143           preamble...
10144
10145         * bufferparams.C (writeLaTeX): ... in this new method
10146
10147         * LaTeXFeatures.C (getEncodingSet): make const
10148           (getLanguages): make const
10149
10150         * MenuBackend.C (binding): returns the binding associated to this
10151           action
10152           (add): sets the status of each item by calling getStatus. Adds
10153           some intelligence.
10154           (read): add support for OptSubMenu
10155           (expand): remove extra separator at the end of expanded menu
10156
10157 2003-02-15  John Levon  <levon@movementarian.org>
10158
10159         * BufferView.C:
10160         * BufferView_pimpl.C:
10161         * bufferlist.h:
10162         * bufferlist.C: remove pointless BufferStorage bloat. Remove
10163           inset code that had no actual effect. Remove unneeded status
10164           code.
10165
10166 2003-02-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10167
10168         * buffer.C (makeLaTeXFile): fix counting of number of line feeds
10169           in preamble
10170
10171 2003-02-14  Michael Schmitt <michael.schmitt@teststep.org>
10172
10173         * text.C (drawLengthMarker): also draw an arrow marker for
10174           symbolic lengths (medskip...)
10175
10176 2003-02-14  John Levon  <levon@movementarian.org>
10177
10178         * tabular.h:
10179         * tabular.C: better method names
10180
10181 2003-02-14  John Levon  <levon@movementarian.org>
10182
10183         * BufferView_pimpl.C:
10184         * bufferlist.C:
10185         * buffer.C:
10186         * converter.C:
10187         * lyx_cb.C:
10188         * lyxfunc.C: change prohibit/allowInput to busy(bool), as
10189           it's a more accurate name. Remove some pointless uses.
10190
10191 2003-02-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10192
10193         * text2.C (LyXText): change order of initilizers to shut off
10194           warnings
10195
10196 2003-02-14  John Levon  <levon@movementarian.org>
10197
10198         * buffer.C: use ParIterator for getParFromID()
10199
10200         * paragraph.h:
10201         * paragraph.C:
10202         * paragraph_pimpl.h:
10203         * paragraph_pimpl.C: remove unused getParFromID()
10204
10205 2003-02-14  John Levon  <levon@movementarian.org>
10206
10207         * buffer.C: remove some very old #if 0'd parse code
10208
10209 2003-02-13  John Levon  <levon@movementarian.org>
10210
10211         * text.h:
10212         * text.C:
10213         * text2.C: move hfillExpansion(), numberOfSeparators(),
10214           rowLast(), rowLastPrintable(), numberofHfills(),
10215           numberOfLabelHfills() ...
10216
10217         * lyxrow.h:
10218         * lyxrow.C: ... to member functions here.
10219
10220         * paragraph.h:
10221         * paragraph.C:
10222         * lyxtext.h:
10223         * text.C: remove LyXText::beginningOfMainBody(), and call
10224           p->beginningOfMainBody() directly. Move the check for
10225           LABEL_MANUAL into the latter.
10226
10227         * text.h:
10228         * text.C:
10229         * text2.C:
10230         * vspace.C:
10231         * BufferView.h:
10232         * BufferView.C: make defaultHeight() be a free defaultRowHeight()
10233
10234         * text.h:
10235         * text.C:
10236         * text2.C:
10237         * text3.C:
10238         * frontends/screen.C: move bv_owner private, introduce isTopLevel()
10239           to make it clear we're testing for outmost-lyxtext vs. inset's lyxtext
10240
10241 2003-02-13  John Levon  <levon@movementarian.org>
10242
10243         * CutAndPaste.C: remove debug
10244
10245 2003-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
10246
10247         * paragraph.C (asString): remove two unused variables
10248
10249         * lyxtextclass.C (readTitleType):
10250           (Read):
10251           (LyXTextClass): handle new members titletype_ and titlename_
10252
10253         * buffer.C (latexParagraphs): honor LyXTextClass::titletype
10254
10255 2003-02-09  John Levon  <levon@movementarian.org>
10256
10257         * buffer.h:
10258         * buffer.C: replace hand-coded list with a map for the dep clean
10259
10260 2003-02-08  John Levon  <levon@movementarian.org>
10261
10262         * LaTeX.C: consolidate code into showRunMessage() helper
10263
10264 2003-02-08  John Levon  <levon@movementarian.org>
10265
10266         * lyxfind.C:
10267         * lyxtext.h:
10268         * text2.C:
10269         * BufferView.C: change setSelectionOverString() to setSelectionRange()
10270           and pass the size in explicitly
10271
10272         * BufferView_pimpl.h:
10273         * BufferView_pimpl.C:
10274         * BufferView.h:
10275         * BufferView.C: add getCurrentChange()
10276
10277         * BufferView_pimpl.h:
10278         * BufferView_pimpl.C: handle change lfuns
10279
10280         * CutAndPaste.C: merge the cut and copy code. Rework the cut code
10281           for changes. Mark pasted paragraphs as new.
10282
10283         * support/lyxtime.h:
10284         * support/lyxtime.C:
10285         * DepTable.C: abstract time_t as lyx::time_type
10286
10287         * LColor.h:
10288         * LColor.C: add colours for new text, deleted text, changebars
10289
10290         * LaTeXFeatures.C: add dvipost as a simple feature. Make the color
10291           package use "usenames" option.
10292
10293         * commandtags.h:
10294         * lyxfunc.C:
10295         * LyXAction.C: add change lfuns
10296
10297         * Makefile.am:
10298         * author.h:
10299         * author.C: author handling
10300
10301         * buffer.h:
10302         * buffer.C: add a per-buffer author list, with first entry as
10303           current author. Handle new .lyx tokens for change tracking. Output
10304           author list to .lyx file. Output dvipost stuff to .tex preamble.
10305           Bump lyx format to 222.
10306
10307         * bufferlist.h:
10308         * bufferlist.C: add setCurrentAuthor() to reset current author details
10309           in all buffers.
10310
10311         * bufferparams.h:
10312         * bufferparams.C: add param for tracking
10313
10314         * bufferview_funcs.C: output change info in minibuffer
10315
10316         * Makefile.am:
10317         * changes.h:
10318         * changes.C: add change-tracking structure
10319
10320         * debug.h:
10321         * debug.C: add CHANGES debug flag
10322
10323         * lyxfind.h:
10324         * lyxfind.C: add code for finding the next change piece
10325
10326         * lyxrc.h:
10327         * lyxrc.C: add user_name and user_email
10328
10329         * lyxrow.h:
10330         * lyxrow.C: add a metric for the top of the text line
10331
10332         * lyxtext.h:
10333         * text.C: implement accept/rejectChange()
10334
10335         * lyxtext.h:
10336         * text.C: paint changebars. Paint new/deleted text in the chosen
10337         colours. Strike through deleted text.
10338
10339         * paragraph.h:
10340         * paragraph.C:
10341         * paragraph_pimpl.h:
10342         * paragraph_pimpl.C: output change markers in .lyx and .tex. Pass
10343           in the current change to the insert functions. Rework erase to
10344           mark text as deleted, adding an eraseIntern() and a range-based
10345           erase(). Implement per-paragraph change lookup and
10346           accept/reject.
10347
10348         * paragraph_funcs.C: Fixup paste for change tracking.
10349
10350         * tabular.C: mark added row/columns as new.
10351
10352         * text.C: fix rowLast() to never return -1. Don't allow
10353           spellchecking of deleted text. Track transpose changes. Don't
10354           allow paragraph break or merge where appropriate.
10355
10356         * text2.C: leave cursor at end of selection after a cut.
10357
10358 2003-02-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10359
10360         * text.C (getLengthMarkerHeight):
10361         (drawLengthMarker): make the `symbolic' lengths (small/med/big)
10362         visible on screen too.
10363
10364 2003-02-07  John Levon  <levon@movementarian.org>
10365
10366         * text.C: s/LYX_PAPER_MARGIN/PAPER_MARGIN/g
10367
10368 2003-02-05  Angus Leeming  <leeming@lyx.org>
10369
10370         * lyxserver.C (read_ready): revert my patch of 11 September last year
10371         as it sends PC cpu through the roof. Presumably this means that
10372         the lyxserver will no longer run on an Alpha...
10373
10374 2003-01-30  Angus Leeming  <leeming@lyx.org>
10375
10376         * factory.C (createInset): create an InsetCommandParam of type "index"
10377         and use it to 'do the right thing'.
10378
10379         * text2.C (getStringToIndex): ensure that cursor position is always
10380         reset to the reset_cursor position.
10381
10382 2003-01-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10383
10384         * lyxfunc.C (getStatus): "buffer-export custom" should never be
10385         disabled.
10386
10387 2003-01-20  Michael Schmitt <michael.schmitt@teststep.org>
10388
10389         * bufferview.C:
10390         * lyxcb.C:
10391         * lyxfunc.C: Output messages with identical spelling, punctuation,
10392         and spaces
10393
10394 2003-01-22  Michael Schmitt  <Michael.Schmitt@teststep.org>
10395
10396         * MenuBackend.C (expandFormats): List only viewable export formats
10397         in "View" menu
10398
10399         * buffer.C (parseSingleLyXformat2Token): Fix misleading error
10400         message
10401
10402         * lyxfunc.C (getStatus): Make sure that formats other than
10403         "fax" can also be disabled
10404
10405 2003-01-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10406
10407         * text3.C (dispatch): put the lfuns that insert insets in 3
10408         groups, and call doInsertInset with appropriate arguments.
10409         (doInsertInset): new function, that creates an inset and inserts
10410         it according to some boolean parameters.
10411
10412 2003-01-16  Lars Gullik Bjønnes  <larsbj@gullik.net>
10413
10414         * buffer.C (readFile): remember to pass on 'par' when calling
10415         readFile recursively.
10416
10417 2003-01-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10418
10419         * MenuBackend.C (expandFormats): add "..." to import formats.
10420
10421 2003-01-15  Dekel Tsur  <dekelts@tau.ac.il>
10422
10423         * paragraph.C (asString): Remove XForms RTL hacks.
10424
10425 2003-01-13  Alfredo Braunstein <abraunst@libero.it>
10426         * buffer.C: fix typo
10427
10428 2003-01-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
10429
10430         * Makefile.am (LIBS): delete var
10431         (lyx_LDADD): add @LIBS@ here instead.
10432
10433 2003-01-08  Michael Schmitt <Michael.Schmitt@teststep.org>
10434
10435         * Clarify the meaning of "wheel mouse jump"
10436
10437 2003-01-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10438
10439         * lyxfunc.C (getStatus): fix disabling of cut/paste of cells in a
10440         tabular in a float
10441
10442 2003-01-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10443
10444         * importer.C (Loaders): do not preallocate 3 elements in the
10445         vector, since one ends up with 6 elements otherwise
10446
10447 2002-12-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10448
10449         * DepTable.C (write): write the file name as last element of the
10450         .dep file (because it may contain spaces)
10451         (read): read info in the right order
10452
10453 2003-01-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10454
10455         * paragraph_pimpl.C (simpleTeXBlanks):
10456         (simpleTeXSpecialChars):
10457         * paragraph.C (simpleTeXOnePar): make `column' unsigned.
10458
10459         * tabular.C (latex): add some missing case statements. Reindent.
10460
10461         * MenuBackend.C (expandToc): remove unused variable.
10462
10463 2003-01-06  Michael Schmitt <Michael.Schmitt@teststep.org>
10464
10465         * LColor.C:
10466         * LaTeX.C:
10467         * LyXAction.C:
10468         * MenuBackend.C:
10469         * buffer.C:
10470         * exporter.C:
10471         * lyxfunc.C:
10472         * lyxrc.C: fix inconsistent usage of spaces, colons, capitalization,
10473         and the like.
10474
10475 2003-01-05  John Levon  <levon@movementarian.org>
10476
10477         * BufferView.h:
10478         * BufferView.C: add getEncoding()
10479
10480         * kbsequence.h:
10481         * kbsequence.C: do not store last keypress
10482
10483         * lyxfunc.h:
10484         * lyxfunc.C: store last keypress here instead. Pass encoding
10485           to getISOEncoded()
10486
10487 2002-12-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10488
10489         * lyx_main.C (init): remove annoying error message when following
10490         symbolic links (bug #780)
10491
10492 2002-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10493
10494         * text.C (insertChar):
10495         * lyxrc.C (getDescription): remove extra spaces
10496
10497 2002-12-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10498
10499         * lyxrc.C (getDescription): remove extra spaces
10500
10501 2002-12-20  John Levon  <levon@movementarian.org>
10502
10503         * text3.C: hack fix for page up/down across tall rows
10504
10505 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10506
10507         * text2.C (pasteEnvironmentType): avoid crash if layout-copy has
10508         not been invoked
10509
10510 2002-12-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10511
10512         * lyxfunc.C (getStatus): query lyx_gui::getStatus() to catter for
10513         unimplemented lfuns. Make LFUN_THESAURUS_ENTRY status unknown if
10514         thesaurus is not compiled in
10515
10516 2002-12-17  Alfredo Braunstein <abraunst@libero.it>
10517
10518         * lyxfunc.C: correct  inversion of WORDFINDBACK/FORWARD
10519
10520 2002-12-16  Angus Leeming  <leeming@lyx.org>
10521
10522         * lyxrc.[Ch]:
10523         * lyx_main.C (init): remove override_x_deadkeys stuff.
10524
10525 2002-12-12  John Levon  <levon@movementarian.org>
10526
10527         * lyxfunc.C: use LyXKeySym->isText() as last-ditch
10528           insert. Only remove shift modifier under strict
10529           circumstances.
10530
10531 2002-12-09  Lars Gullik Bjønnes  <larsbj@gullik.net>
10532
10533         * MenuBackend.C (expandToc): fix crash.
10534
10535 2002-12-08  Lars Gullik Bjønnes  <larsbj@gullik.net>
10536
10537         * MenuBackend.C (expandToc): gettext on float names.
10538
10539 2002-12-03  Juergen Spitzmueller  <j.spitzmueller@gmx.de>
10540
10541         * lyxlength.[Ch]: set default unit to UNIT_NONE,
10542         implement bool empty() [bug 490]
10543
10544 2002-12-02  Lars Gullik Bjønnes  <larsbj@gullik.net>
10545
10546         * text2.C, CutAndPaste.C: use BoostFormat.h not boost/format.hpp
10547
10548 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
10549
10550         * several files: ws changes
10551
10552 2002-12-01  Lars Gullik Bjønnes  <larsbj@gullik.net>
10553
10554         * text2.C (setCounter): clean up a bit, use boost.format.
10555         (updateCounters): initialize par upon declaration.
10556
10557         * CutAndPaste.C (SwitchLayoutsBetweenClasses): set the layout also
10558         if the layout exists. We do not just store the layout any more.
10559         (SwitchLayoutsBetweenClasses): use boost.format
10560
10561 2002-11-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10562
10563         * converter.C (convert): if from and to files are the same, use a
10564         temporary files as intermediary
10565
10566 2002-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10567
10568         * commandtags.h:
10569         * LyXAction.C (init): remove LFUN_VECTOR (bug 662)
10570
10571 2002-11-27  Dekel Tsur  <dekelts@tau.ac.il>
10572
10573         * lyxrc.[Ch]: Add {roman,sans,typewriter}_font_foundry variables.
10574
10575 2002-11-27  Lars Gullik Bjønnes  <larsbj@gullik.net>
10576
10577         * tabular.C (asciiPrintCell): use string(size, char) instead of
10578         explicit loop.
10579
10580         * sgml.C (openTag): fix order of arguments to string constructor
10581         (closeTag): ditto
10582
10583         * lyxfunc.C (dispatch): use boost.format
10584
10585         * lots of files: change "c" -> 'c'
10586
10587 2002-11-25  Dekel Tsur  <dekelts@tau.ac.il>
10588
10589         * encoding.C: Patch from Isam Bayazidi: Fix Arabic shaping.
10590
10591 2002-11-25  Angus Leeming  <leeming@lyx.org>
10592
10593         * BoostFormat.h: wrap code inside #ifdef __GNUG__ block.
10594
10595         * lyx_main.C (init): compile fix.
10596
10597 2002-11-25  Lars Gullik Bjønnes  <larsbj@gullik.net>
10598
10599         * lyx_cb.C (start): boost.formatify
10600         do not include <iostream>
10601
10602         * lengthcommon.C: ws only
10603
10604         * boost-inst.C,BoostFormat.h: add more explict instantations
10605
10606 2002-11-24  Lars Gullik Bjønnes  <larsbj@gullik.net>
10607
10608         * lots of files: handle USE_BOOST_FORMAT
10609
10610 2002-11-21  John Levon  <levon@movementarian.org>
10611
10612         * pspell.C: fix compile
10613
10614 2002-11-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10615
10616         * lyxfunc.C (dispatch): use boost::format
10617         (open): ditto
10618         (doImport): ditto
10619
10620         * lyxfont.C (stateText): use boost::format
10621
10622         * lyx_main.C (LyX): use boost::format
10623         (init): ditto
10624         (queryUserLyXDir): ditto
10625         (readRcFile): ditto
10626         (parse_dbg): ditto
10627         (typedef boost::function): use the recommened syntax.
10628
10629         * importer.C (Import): use boost::format
10630
10631         * debug.C (showLevel): use boost::format
10632
10633         * converter.C (view): use boost::format
10634         (convert): ditto
10635         (move): ditto
10636         (scanLog): ditto
10637
10638         * bufferview_funcs.C (currentState): use boost::format
10639
10640         * bufferlist.C (emergencyWrite): use boost::format
10641
10642         * buffer.C (readLyXformat2): use boost::format
10643         (parseSingleLyXformat2Token): ditto
10644
10645         * Makefile.am (lyx_SOURCES): add BoostFormat.h and boost-inst.C
10646
10647         * LaTeX.C (run): use boost::format
10648
10649         * Chktex.C (scanLogFile): use boost::format
10650
10651         * BufferView_pimpl.C (savePosition): use boost::format
10652         (restorePosition): ditto
10653         (MenuInsertLyXFile): ditto
10654
10655         * BoostFormat.h: help file for explicit instation.
10656
10657 2002-11-21  Dekel Tsur  <dekelts@tau.ac.il>
10658
10659         * tabular.C (latex): Support for block alignment in fixed width
10660         columns.
10661
10662 2002-11-17  John Levon  <levon@movementarian.org>
10663
10664         * BufferView_pimpl.C:
10665         * lyx_cb.C:
10666         * lyxfunc.C: split filedialog into open/save
10667
10668 2002-11-08  Juergen Vigna  <jug@sad.it>
10669
10670         * undo_funcs.C (textHandleUndo): fixed problems with undo introduced
10671         by my last patch (hopefully).
10672
10673 2002-11-08  John Levon  <levon@movementarian.org>
10674
10675         * iterators.h:
10676         * iterators.C:
10677         * buffer.h:
10678         * buffer.C:
10679         * paragraph.h:
10680         * paragraph.C:
10681         * toc.h:
10682         * toc.C: ParConstIterator, and use it (from Lars)
10683
10684 2002-11-07  Ben Stanley  <bds02@uow.edu.au>
10685
10686         * lyxtextclass.[Ch]: revise and add doxygen comments
10687
10688 2002-11-07  John Levon  <levon@movementarian.org>
10689
10690         * text.C: fix progress value for spellchecker
10691
10692         * toc.C: fix navigate menu for insetwrap inside minipage
10693
10694         * paragraph_funcs.C: added FIXME for suspect code
10695
10696 2002-11-07  John Levon  <levon@movementarian.org>
10697
10698         * BufferView_pimpl.C: fix redrawing of insets
10699           on buffer switch
10700
10701 2002-11-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
10702
10703         * text2.C (updateCounters): fix bug 668
10704
10705 2002-11-04  Dekel Tsur  <dekelts@tau.ac.il>
10706
10707         * text3.C (dispatch): Do not make the buffer dirty when moving the
10708         cursor.
10709
10710 2002-11-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
10711
10712         * vc-backend.C: STRCONV
10713         (scanMaster): ditto
10714
10715         * text2.C (setCounter): STRCONV
10716
10717         * paragraph.C (asString): STRCONV
10718
10719         * lyxlength.C (asString): STRCONV
10720         (asLatexString): ditto
10721
10722         * lyxgluelength.C (asString): STRCONV
10723         (asLatexString): ditto
10724
10725         * lyxfunc.C (dispatch): STRCONV
10726         (open): ditto
10727
10728         * lyxfont.C (stateText): STRCONV
10729
10730         * importer.C (Import): STRCONV
10731
10732         * counters.C (labelItem): STRCONV
10733         (numberLabel): ditto
10734         (numberLabel): remove unused ostringstream o
10735
10736         * chset.C: STRCONV
10737         (loadFile): ditto
10738
10739         * bufferview_funcs.C (currentState): STRCONV
10740
10741         * buffer.C (readFile): STRCONV
10742         (asciiParagraph): ditto
10743         (makeLaTeXFile): ditto
10744
10745         * Spacing.C (writeEnvirBegin): STRCONV
10746
10747         * LaTeXFeatures.C (getLanguages): STRCONV
10748         (getPackages): ditto
10749         (getMacros): ditto
10750         (getBabelOptions): ditto
10751         (getTClassPreamble): ditto
10752         (getLyXSGMLEntities): ditto
10753         (getIncludedFiles): ditto
10754
10755         * LaTeX.C: STRCONV
10756         (run): ditto
10757         (scanAuxFile): ditto
10758         (deplog): ditto
10759
10760         * LString.h: add the STRCONV macros
10761
10762         * BufferView_pimpl.C (savePosition): STRCONV
10763         (restorePosition): ditto
10764         (MenuInsertLyXFile): ditto
10765
10766         * vc-backend.C (scanMaster): change from submatch[...] to
10767         submatch.str(...)
10768
10769         * funcrequest.C: include config.h
10770
10771         * factory.C: include config.h
10772
10773         * chset.C (loadFile): change from submatch[...] to submatch.str(...)
10774
10775         * box.C: include config.h
10776
10777         * LaTeX.C (scanAuxFile): change from submatch[...] to
10778         submatch.str(...)
10779         (deplog): ditto
10780
10781 2002-10-25  Angus Leeming  <leeming@lyx.org>
10782
10783         * BufferView_pimpl.C (cursorToggle): remove reapSpellchecker hack.
10784
10785         * ispell.[Ch] (setError): new method.
10786         * ispell.C (c-tor): move out child process into new class LaunchIspell.
10787         Use setError() insetead of goto END.
10788
10789         * lyx_cb.C (AutoSave): move out child process into new class
10790         AutoSaveBuffer.
10791
10792 2002-10-30  John Levon  <levon@movementarian.org>
10793
10794         * text3.C: make start appendix undoable
10795
10796 2002-10-24  Dekel Tsur  <dekelts@tau.ac.il>
10797
10798         * lyxlength.C (inPixels): Fix returned value.
10799
10800         * paragraph.C (TeXOnePar): Fix bug with language changes in nested
10801         environment.
10802
10803 2002-10-24  Angus Leeming  <leeming@lyx.org>
10804
10805         * lyxgluelength.h: no need to forward declare BufferParams
10806         or BufferView, so don't.
10807
10808 2002-10-21  John Levon  <levon@movementarian.org>
10809
10810         * BufferView.C: menuUndo ->undo, redo
10811
10812         * BufferView.h: document, remove dead, make some methods private
10813
10814         * paragraph_funcs.h:
10815         * paragraph_funcs.C:
10816         * CutAndPaste.C: s/pasteParagraph/mergeParagraph
10817
10818         * buffer.h:
10819         * buffer.C:
10820         * sgml.h:
10821         * sgml.C: move sgml open/close tag into sgml.C
10822
10823         * bufferview_funcs.h: unused prototype
10824
10825         * lyxfunc.h:
10826         * lyxfunc.C: remove unused
10827
10828         * lyxtext.h:
10829         * text.C: remove unused
10830
10831 2002-10-21  John Levon  <levon@movementarian.org>
10832
10833         * BufferView.h:
10834         * BufferView.C:
10835         * BufferView_pimpl.h:
10836         * BufferView_pimpl.C: fix mouse wheel handling based on
10837           patch from Darren Freeman
10838
10839 2002-10-09  Dekel Tsur  <dekelts@tau.ac.il>
10840
10841         * lyx_main.C (queryUserLyXDir): Fix automatic reconfiguration.
10842
10843 2002-10-17  Dekel Tsur  <dekelts@tau.ac.il>
10844
10845         * lyxlength.C (inPixels): Fix hanfling of negative length.
10846         Fix LyXLength::MU case.
10847
10848 2002-10-16  John Levon  <levon@movementarian.org>
10849
10850         * buffer.C: remove \\protected_separator parsing done by lyx2lyx now
10851
10852 2002-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10853
10854         * converter.C (view): add support for $$i (file name) and $$p
10855         (file path) for the viewer command. If $$i is not specified, then
10856         it is appended to the command (for compatibility with old syntax)
10857
10858 2002-10-14  Juergen Vigna  <jug@sad.it>
10859
10860         * undo_funcs.C (textHandleUndo): alter the order in which the
10861         new undopar is added to the LyXText, as we have to set first
10862         the right prev/next and then add it as otherwise the rebuild of
10863         LyXText is not correct. Also reset the cursor to the right paragraph,
10864         with this IMO we could remove the hack in "redoParagraphs()".
10865
10866 2002-10-09  Angus Leeming  <leeming@lyx.org>
10867
10868         * Bufferview_pimpl.C (dispatch): call InsetCitation::setLoadingBuffer
10869         to turn off an optimisation if a new inset is to be inserted.
10870
10871 2002-10-11 André Pönitz <poenitz@gmx.net>
10872
10873         * lyxtext.h: make some functions public to allow access
10874         from inset/lyxtext for handling LFUN_PRIOR/NEXT
10875
10876 2002-10-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10877
10878         * text3.C (dispatch): when changing layout, avoid an infinite loop
10879         [bug #652]
10880
10881 2002-10-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10882
10883         * lyxrc.C (read): treat a viewer or converter command of "none" as
10884         if it were empty.
10885
10886         * MenuBackend.C (expandFormats): for an update, also allow the
10887         formats that are not viewable
10888
10889         * lyx_main.C (queryUserLyXDir): re-run automatically the configure
10890         script if it is newer than the lyxrc.defaults in user directory
10891
10892 2002-10-07 André Pönitz <poenitz@gmx.net>
10893
10894         * text.C: Vitaly Lipatov's small i18n fix
10895
10896 2002-09-25  Angus Leeming  <leeming@lyx.org>
10897
10898         * ispell.h: doxygen fix.
10899
10900 2002-09-25  Dekel Tsur  <dekelts@tau.ac.il>
10901
10902         * buffer.h (readFile): Add a new argument to the method, to allow
10903         reading of old-format templates.
10904
10905 2002-09-24  Dekel Tsur  <dekelts@tau.ac.il>
10906
10907         * toc.C (getTocList): Get TOC from InsetWrap.
10908
10909 2002-09-16  John Levon  <levon@movementarian.org>
10910
10911         * lyxfunc.C: check tabular for cut/copy too
10912
10913 2002-09-12  John Levon  <levon@movementarian.org>
10914
10915         * LyXAction.C: tidy
10916
10917         * factory.h:
10918         * factory.C: add header
10919
10920         * paragraph_funcs.h:
10921         * paragraph_funcs.C: cleanup
10922
10923 2002-09-11  John Levon  <levon@movementarian.org>
10924
10925         * PrinterParams.h: odd/even default to true
10926
10927 2002-09-12  Rob Lahaye  <lahaye@snu.ac.kr>
10928
10929         * PrinterParams.h: update printer parameters for new xforms dialog
10930
10931 2002-09-11  Angus Leeming  <leeming@lyx.org>
10932
10933         * lyxserver.C (read_ready): re-write to make it more transparent
10934         and to make it work in coherent fashion under Tru64 Unix.
10935
10936 2002-09-11  André Pönitz <poenitz@gmx.net>
10937
10938         * commandtags.h:
10939         * LyXAction.C:
10940         * text3.C: implement LFUN_WORDSEL
10941
10942 2002-09-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
10943
10944         * lyxtextclass.h: don't include FloatList.h, forward declare instead.
10945         make floatlist_ a boost::shared_ptr<FloatList>
10946
10947         * lyxtextclass.C: include FloatList.h
10948         (LyXTextClass): initialize floatlist_
10949         (TextClassTags): add TC_NOFLOAT
10950         (Read): match "nofloat" to TC_NOFLOAT and use it.
10951         (readFloat): modify call to floatlist_
10952         (floats): ditto
10953         (floats): ditto
10954
10955         * FloatList.[Ch] (FloatList): remove commented out float
10956         initialization.
10957         (erase): new function
10958
10959 2002-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
10960
10961         * MenuBackend.C (expandToc): fix crash when there is no document
10962         open
10963
10964 2002-09-10  Dekel Tsur  <dekelts@tau.ac.il>
10965
10966         * many files: Add insetwrap.
10967
10968 2002-09-09  John Levon  <levon@movementarian.org>
10969
10970         * text2.C: remove confusing and awkward depth wraparound
10971
10972 2002-09-09  John Levon  <levon@movementarian.org>
10973
10974         * BufferView_pimpl.C: Don't use empty arg for LFUN_CHILD_INSERT
10975
10976         * buffer.h:
10977         * buffer.C: remove getIncludeonlyList()
10978
10979         * paragraph.C:
10980         * lyxfunc.C: remove headers
10981
10982 2002-09-09  Juergen Vigna  <jug@sad.it>
10983
10984         * text.C (getColumnNearX): fix form Michael this is most
10985         probably a cut&paste bug.
10986
10987 2002-09-06  Lars Gullik Bjønnes  <larsbj@gullik.net>
10988
10989         * remove all INHERIT_LANG and INHERIT_LANGUAGE commented code
10990
10991         * LaTeXFeatures.C (useLayout): let tclass and lyt be a const
10992         references, ws changes.
10993
10994         * text2.C (init): update counters after init
10995         (insertParagraph): no need to set counter on idividual paragraphs.
10996         (setCounter): access the counters object in the textclass object
10997         on in the buffer object.
10998         (updateCounters): ditto
10999
11000         * lyxtextclass.C: include counters.h, add variable ctrs_ as
11001         shared_ptr<Counters> to avoid loading counters.h in all
11002         compilation units.
11003         (LyXTextClass): initialize ctrs_
11004         (TextClassTags): add TC_COUNTER, and ...
11005         (Read): use it here.
11006         (CounterTags): new tags
11007         (readCounter): new function
11008         (counters): new funtion
11009         (defaultLayoutName): return a const reference
11010
11011         * counters.C (Counters): remove contructor
11012         (newCounter): remove a couple of unneeded statements.
11013         (newCounter): simplify a bit.
11014         (numberLabel): some small formatting changes.
11015
11016         * buffer.[Ch]: remove all traces of counters, move the Counters
11017         object to the LyXTextClass.
11018
11019 2002-09-06  Alain Castera  <castera@in2p3.fr>
11020
11021         * tabular.C: uses \tabularnewline; uses >{...} construct from array
11022         package to set the horizontal alignment on fixed width columns.
11023
11024         * lyx_sty.C:
11025         * lyx_sty.h: added tabularnewline macro def.
11026
11027         * LaTeXFeatures.C: added NeedTabularnewline macro feature
11028
11029 2002-09-06  John Levon  <levon@movementarian.org>
11030
11031         * LyXAction.C: tooltips for sub/superscript
11032
11033         * MenuBackend.C: a bit more verbose
11034
11035         * lyxfunc.C: tiny clean
11036
11037         * undo_funcs.C: document undo_frozen
11038
11039 2002-09-05  Lars Gullik Bjønnes  <larsbj@gullik.net>
11040
11041         * counters.C (Counters): add missing algorithm counter.
11042
11043         * text2.C (setCounter): lookup the counter with layouts latexname
11044         instead of by section number.
11045         (setCounter): use a hackish way to lookup the correct enum
11046         counter.
11047         a float name->type change
11048         reset enum couners with counter name directly instead of depth value.
11049
11050         * counters.C (Counters): remove the push_backs, change to use the
11051         float type not the float name.
11052         (labelItem): remove unused string, float name->type change
11053
11054         * counters.h: don't include vector, loose the enums and sects vectors
11055
11056 2002-09-04  Lars Gullik Bjønnes  <larsbj@gullik.net>
11057
11058         * lyxtextclass.C (TextClassTags): add TC_FLOAT
11059         (Read): add float->TC_FLOAT to textclassTags
11060         (Read): and handle it in the switch
11061         (readFloat): new function
11062
11063         * FloatList.C (FloatList): comment out the hardcoded float
11064         definitions.
11065
11066         * lyxlayout.h: ws change.
11067
11068 2002-08-29  Dekel Tsur  <dekelts@tau.ac.il>
11069
11070         * buffer.C (readFile): Look for lyx2lyx in LYXDIR/lyx2lyx/
11071
11072 2002-09-03  Angus Leeming  <leeming@lyx.org>
11073
11074         * BufferView_pimpl.h: qualified name is not allowed in member
11075         declaration: WorkArea & Pimpl::workarea() const;
11076
11077         * factory.C: added using std::endl directive.
11078
11079         * text3.C: added using std::find and std::vector directives.
11080
11081 2002-08-29  André Pönitz <poenitz@gmx.net>
11082
11083         * lyxtext.h:
11084         * text2.C: remove unused member number_of_rows
11085
11086         * Makefile.am:
11087         * BufferView2.C: remove file, move contents to...
11088         * BufferView.C: ... here
11089
11090         * BufferView_pimpl.C:
11091         * factory.C: move more inset creation to factory
11092
11093         * vspace.C: avoid direct usage of LyXText, ws changes
11094
11095         * BufferView.[Ch]:
11096                 don't provide direct access to WorkArea, use two simple
11097                 acessors haveSelction() and workHeight() instead
11098
11099
11100 2002-08-29  John Levon  <levon@movementarian.org>
11101
11102         * BufferView_pimpl.C (dispatch): do not continue when
11103           no buffer
11104
11105 2002-08-28  André Pönitz <poenitz@gmx.net>
11106
11107         * commandtags.h: new LFUN_MOUSE_DOUBLE, LFUN_MOUSE_TRIPLE
11108
11109         * BufferView.h:
11110         * BufferView_pimpl.[Ch] move work area mouse event to LFUNs
11111
11112 2002-08-28  Rob Lahaye  <lahaye@snu.ac.kr>
11113
11114         * buffer.C: increment LYX_FORMAT to 221
11115
11116         * lyxrc.[Ch]: declare display_graphics as grfx::DisplayType and use
11117         grfx::displayTranslator.find(foo); include graphics/GraphicsTypes.h.
11118
11119         * lyxrc.C: use more "if (...) { } else { }" style (John's advice).
11120
11121         * lyx_main.C: call once the setDisplayTranslator(); is that okay here?
11122
11123 2002-08-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11124
11125         * factory.C (createInset): use LyXTextClass::floats
11126
11127         * MenuBackend.C (expandFloatListInsert):
11128         (expandFloatInsert):
11129         (expandToc):
11130
11131         * text2.C (setCounter):
11132
11133         * LaTeXFeatures.C (useFloat):
11134         (getFloatDefinitions):
11135
11136         * BufferView_pimpl.C (dispatch): use LyXTextClass::floats()
11137
11138         * lyxtextclass.[Ch]: rename layoutlist to layoutlist_; add
11139         floatlist_, with accessor floats().
11140
11141         * FloatList.h: remove global FloatList
11142
11143 2002-08-26  André Pönitz <poenitz@gmx.net>
11144
11145         * paragraph.[Ch]: Martin's patch for the \end_deeper bug
11146
11147         * BufferView.h:
11148         * BufferView2.C:
11149         * BufferView_pimpl.C:
11150         * text3.C: mun hanfling of LFUN_CUT/COPY/PASTE to LyXText
11151
11152 2002-08-25  John Levon  <levon@movementarian.org>
11153
11154         * LyXAction.C: fix margin note description
11155
11156 2002-08-24  John Levon  <levon@movementarian.org>
11157
11158         * buffer.C:
11159         * bufferlist.C:
11160         * bufferview_funcs.C:
11161         * lyxfont.C:
11162         * undo_funcs.C: cleanups
11163
11164         * lyxfunc.C: disable CUT/COPY when no selection
11165
11166 2002-08-23  Rob Lahaye  <lahaye@snu.ac.kr>
11167
11168         * lyxlength.[Ch]: use better (three letters) mnemonics for percentage units
11169         in "enum UNIT"; e.g. PTW for Percent of TextWidth
11170
11171         * lyxrc.C: graphics display is now monochrome|grayscale|color|none.
11172         Add backward compatibility to "mono", "gray" and "no".
11173
11174 2002-08-24  Dekel Tsur  <dekelts@tau.ac.il>
11175
11176         * buffer.C (readFile): Always run lyx2lyx if file_format < LYX_FORMAT
11177         (and file_format >= 200).
11178
11179 2002-08-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11180
11181         * lyxlayout.C (Read): treat LT_OPTARGS as an integer, not a bool
11182
11183 2002-08-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11184
11185         * lyxfunc.C (getStatus): handle LFUN_INSET_OPTARG
11186
11187 2002-08-20  Martin Vermeer  <martin.vermeer@hut.fi>
11188
11189         * BufferView_pimpl.C:
11190         * LyXAction.C:
11191         * buffer.C:
11192         * commandtags.h:
11193         * lyxfunc.C:
11194         * paragraph.[Ch]:
11195         * text2.C:
11196         * insets/insetoptarg.[Ch]: Added "optional argument" collapsible
11197         inset and code to make it  work with the paragraph code. The inset
11198         can be anywhere in the paragraph, but will only do the expected
11199         thing in LaTeX if the layout file contains the parameter line
11200                         OptionalArgs    1
11201         (or more generally, a nonzero value) for that layout.
11202
11203 2002-08-22  Lars Gullik Bjønnes  <larsbj@gullik.net>
11204
11205         * paragraph.h: remove the declaration of undefined counters class
11206         function.
11207
11208 2002-08-22  Martin Vermeer <martin.vermeer@hut.fi>
11209
11210         * text2.C (setCounter):  fixed enumeration mis-count as reported by
11211         Dr. Richard Hawkins.
11212
11213 2002-08-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11214
11215         * paragraph_funcs.h: remove some unneeded includes
11216
11217         * text.C (backspace): pasteParagraph now in global scipe
11218
11219         * CutAndPaste.C (cutSelection): pasteParagraph now in global scope
11220         (pasteSelection): ditto
11221
11222         * paragraph.[Ch] (pasteParagraph): move function to global scope ...
11223         * paragraph_funcs.C (pasteParagraph): ... here
11224
11225 2002-08-20  André Pönitz <poenitz@gmx.net>
11226
11227         * commandtags.h: new LFUNs for swapping/copying table row/colums
11228
11229         * LyXAction.C:
11230         * lyxfunc.C: support for new lfuns
11231
11232 2002-08-21  Lars Gullik Bjønnes  <larsbj@gullik.net>
11233
11234         * tabular.C:
11235         * buffer.[Ch]: remove NO_COMPABILITY stuff
11236
11237 2002-08-20  Lars Gullik Bjønnes  <larsbj@gullik.net>
11238
11239         * boost.C (throw_exception): new file, with helper function for
11240         boost compiled without exceptions.
11241
11242         * paragraph.h:
11243         * lyxlength.C:
11244         * buffer.C:
11245         * ParameterStruct.h:
11246         * ParagraphParameters.[Ch]: remove NO_PEXTRA_REALLY stuff
11247
11248         * bufferlist.C (emergencyWriteAll): use boost bind
11249
11250         * BufferView_pimpl.C (moveCursorUpdate): remove inline
11251
11252         * text.C: include paragraph_funcs.h
11253         (breakParagraph): breakParagraph is now in global scope
11254
11255         * paragraph_funcs.[Ch]: new files
11256
11257         * paragraph.C (breakParagraph,breakParagraphConservative): move to
11258         global scope
11259
11260         * buffer.C: include paragraph_funcs.h
11261         (insertStringAsLines): breakParagraph is now in global scope
11262
11263         * Makefile.am (lyx_SOURCES): add paragraph_funcs.h and
11264         paragraph_funcs.C
11265
11266         * CutAndPaste.C: include paragraph_funcs.h
11267         (cutSelection): breakParagraphConservative is now in global scope
11268         (pasteSelection): ditto
11269
11270         * buffer.h: declare oprator== and operator!= for
11271         Buffer::inset_iterator
11272
11273         * bufferlist.C (emergencyWrite): don't use fmt(...)
11274
11275         * text3.C: add using std::endl
11276
11277         * BufferView.C (moveCursorUpdate): remove default arg
11278
11279 2002-08-20  André Pönitz <poenitz@gmx.net>
11280
11281         * buffer.[Ch]: move inline functions to .C
11282
11283         * BufferView2.C:
11284         * BufferView_pimpl.C:
11285         * text.C:
11286         * buffer.[Ch]: use improved inset_iterator
11287
11288         * buffer.C:
11289         * paragraph.[Ch]: write one paragraph at a time
11290
11291 2002-08-20  Dekel Tsur  <dekelts@tau.ac.il>
11292
11293         * BufferView_pimpl.C (dispatch): Insert insetbibtex with "plain"
11294         style if style is not specified.
11295
11296 2002-08-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11297
11298         * text2.C (setCounter): when searching for right label for a
11299         caption, make sure to recurse to parent insets (so that a caption
11300         in a minipage in a figure float works) (bug #568)
11301
11302 2002-08-20  André Pönitz <poenitz@gmx.net>
11303
11304         * text3.C: new file for LyXText::dispatch() and helpers
11305
11306         * BufferView.[Ch]: move text related stuff to LyXText::dispatch()
11307
11308         * funcrequest.[Ch]: add message() do avoid direct access to LyXFunc
11309
11310 2002-08-19  André Pönitz <poenitz@gmx.net>
11311
11312         * lyxtext.h:
11313         * text.C: new LyXText::dispatch()
11314
11315         * BufferView_pimpl.C: move handling of LFUN_APPENDIX to LyXText
11316
11317 2002-08-18  Dekel Tsur  <dekelts@tau.ac.il>
11318
11319         * text.C (paintRowSelection): Fix code for rows with both RTL & LTR text.
11320
11321         * BufferView_pimpl.C (smartQuote): Insert typewriter quotes in
11322         Hebrew text.
11323
11324 2002-08-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11325
11326         * Makefile.am: use $(variables) instead of @substitutions@
11327
11328 2002-08-15  André Pönitz <poenitz@gmx.net>
11329
11330         * lyxfunc.C:
11331         * BufferView_pimpl.C: streamlining mathed <-> outer world
11332         interaction
11333
11334         * commandtags.h:
11335         * LyXAction.C: remove unused LFUN_MATH
11336
11337 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
11338
11339         * paragraph.[Ch]: add some NO_NEXT ifdefs.
11340
11341 2002-08-15  Lars Gullik Bjønnes  <larsbj@gullik.net>
11342
11343         * paragraph.C (Paragraph): reformat a bit
11344         (cutIntoMinibuffer): use builtin InsetList function instad of
11345         doing it manually.
11346         (getInset): ditto
11347
11348         * buffer.C: include boost/bind.hpp, add using std::for_each
11349         (writeFileAscii): use ParagraphList iterators
11350         (validate): use for_each for validate traversal of paragraphs
11351         (getBibkeyList): use ParagraphList iterators
11352         (resizeInsets): use for_each to resizeInsetsLyXText for all
11353         paragraphs.
11354         (getParFromID): use ParagraphList iterators
11355
11356         * BufferView2.C (lockInset): use paragraph list and iterators
11357
11358 2002-08-14  John Levon  <levon@movementarian.org>
11359
11360         * lyxserver.C: remove spurious xforms include
11361
11362 2002-08-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11363
11364         * lyxfunc.C (getStatus): disable math-extern outside of math mode
11365
11366 2002-08-13  André Pönitz <poenitz@gmx.net>
11367
11368         * LyXAction.[Ch]:
11369         * lyxfunc.C: further cleaning
11370
11371 2002-08-13  André Pönitz <poenitz@gmx.net>
11372
11373         * funcrequest.h: new constructor
11374
11375         * funcrequest.C: move stuff here from .h
11376
11377         * Makefile.am:
11378         * BufferView_pimpl.C:
11379         * LyXAction.C:
11380         * toc.C:
11381         * lyxfunc.C: subsequent changes
11382
11383         * lyxfunc.h: new view() member function
11384
11385         * lyxfunc.C: subsequent changes
11386
11387 2002-08-13  Angus Leeming  <leeming@lyx.org>
11388
11389         * BufferView2.C:
11390         * BufferView_pimpl.C:
11391         * buffer.C:
11392         * converter.C:
11393         * importer.C:
11394         * lyxfunc.C:
11395         * lyxvc.C:
11396         * toc.C:
11397         * vc-backend.C:
11398         changes due to the changed LyXView interface that now returns references
11399         to member variables not pointers.
11400
11401 2002-08-13  Angus Leeming  <leeming@lyx.org>
11402
11403         * WordLangTuple (word, lang_code): return references to strings,
11404         not strings.
11405
11406         * BufferView.h:
11407         * SpellBase.h:
11408         * lyxtext.h: forward-declare WordLangTuple.
11409
11410         * BufferView2.C:
11411         * ispell.C:
11412         * pspell.C:
11413         * text.C: #include "WordLangTuple.h".
11414
11415         * lyxtext.h:
11416         * text.C: (selectNextWordToSpellcheck): constify return type.
11417
11418 2002-08-12  Martin Vermeer <martin.vermeer@hut.fi>
11419
11420         * buffer.C:
11421         * buffer.h:
11422         * lyxtext.h:
11423         * paragraph.C:
11424         * paragraph_pimpl.h:
11425         * text.C:
11426         * text2.C:
11427         * undo_funcs.C: replaced per-paragraph counter logic by per-buffer, as
11428         suggested by Angus.
11429         Made updateCounter always count from start of buffer, and removed
11430         second argument (par).
11431         Reverted floats number display to '#'. Perhaps I'll try again when the
11432         code base is sanitized a bit.
11433
11434 2002-08-12  Angus Leeming  <leeming@lyx.org>
11435
11436         * buffer.[Ch] (getLabelList): constify.
11437
11438 2002-08-07  André Pönitz <poenitz@gmx.net>
11439
11440         * commandtags.h: new LFUN_MOUSE_(PRESS|MOTION|RELEASE)
11441
11442         * funcrequest.h: extension to keep mouse (x,y) position
11443
11444 2002-08-12  Juergen Vigna  <jug@sad.it>
11445
11446         * BufferView2.C (insertErrors): forbid undo when inserting error
11447         insets.
11448
11449         * CutAndPaste.C (SwitchLayoutsBetweenClasses): ditto
11450
11451 2002-08-12  Lars Gullik Bjønnes  <larsbj@gullik.net>
11452
11453         * ParagraphList.[Ch]: new files
11454
11455         * Makefile.am (lyx_SOURCES): add ParagraphList.[Ch]
11456
11457         * BufferView2.C (lockInset): ParagraphList changes
11458         * toc.C: ditto
11459         * text2.C: ditto
11460         * bufferlist.C: ditto
11461         * buffer.h: ditto
11462         * buffer.C: ditto
11463
11464 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
11465
11466         * paragraph_pimpl.h: remove inclusion of boost/array.hpp, remove
11467         unused class variable counter_,
11468
11469         * paragraph.[Ch] (getFirstCounter): delete unused function
11470
11471         * counters.C: include LAssert.h
11472         (reset): add a new function with no arg, change other version to
11473         not have def. arg and to not allow empty arg.
11474
11475         * text2.C (setCounter): remove empty arg from call to Counters::reset
11476
11477 2002-08-11  John Levon  <levon@movementarian.org>
11478
11479         * Makefile.am: add WordLangTuple.h
11480
11481 2002-08-11  Lars Gullik Bjønnes  <larsbj@gullik.net>
11482
11483         * paragraph.C, ToolbarDefaults.h, kbsequence.h, lyx_main.C,
11484         lyxfunc.C lyxlex_pimpl.C: ws changes only.
11485
11486         * insets/insettext.C: InsetList changes
11487
11488         * graphics/GraphicsSupport.C (operator()): InsetList changes
11489
11490         * toc.C (getTocList): InsetList changes
11491
11492         * paragraph_pimpl.[Ch]: InsetList changes
11493
11494         * paragraph.[Ch]: InsetList changes
11495
11496         * buffer.C (inset_iterator): InsetList changes
11497         (setParagraph): ditto
11498         * buffer.h (inset_iterator): ditto
11499         * iterators.C (operator++): ditto
11500         * iterators.h: ditto
11501
11502         * Makefile.am (lyx_SOURCES): add InsetList.C and InsetList.h
11503
11504         * InsetList.[Ch]: new files, most InsetList handling moved out of
11505         paragraph.C.
11506
11507         * BufferView2.C (removeAutoInsets): InsetList changes
11508         (lockInset): ditto
11509         (ChangeInsets): ditto
11510
11511 2002-08-10  Lars Gullik Bjønnes  <larsbj@gullik.net>
11512
11513         * paragraph_pimpl.h (empty): new function
11514
11515         * paragraph.[Ch] (empty): new function
11516
11517         * other files: use the new Paragraph::empty function
11518
11519 2002-08-09  John Levon  <levon@movementarian.org>
11520
11521         * lyxtext.h: remove unused refresh_height
11522
11523 2002-08-09  John Levon  <levon@movementarian.org>
11524
11525         * Makefile.am:
11526         * sgml.h:
11527         * sgml.C:
11528         * buffer.C:
11529         * paragraph.h:
11530         * paragraph.C: move sgml char escaping out of paragraph
11531
11532         * paragraph.h:
11533         * paragraph.C: remove id setter
11534
11535         * buffer.C:
11536         * paragraph.C:
11537         * paragraph_pimpl.C: remove dead tex_code_break_column
11538
11539         * bufferview_funcs.C: small cleanup
11540
11541         * lyxfunc.C: remove dead proto
11542
11543         * lyxtext.h: make some stuff private. Remove some dead stuff.
11544
11545         * lyxgluelength.C: make as[LyX]String() readable
11546
11547 2002-08-08  John Levon  <levon@movementarian.org>
11548
11549         * LyXAction.h:
11550         * LyXAction.C:
11551         * MenuBackend.C:
11552         * ToolbarDefaults.C:
11553         * lyxfunc.C:
11554         * lyxrc.C:
11555         * toc.C: lyxaction cleanup
11556
11557 2002-08-08  John Levon  <levon@movementarian.org>
11558
11559         * BufferView2.C: small cleanup
11560
11561         * lyxfind.h:
11562         * lyxfind.C: move unnecessary header into the .C
11563
11564 2002-08-08  John Levon  <levon@movementarian.org>
11565
11566         * funcrequest.h: just tedious nonsense
11567
11568         * lyx_main.h:
11569         * lyx_main.C: cleanups
11570
11571         * buffer.C:
11572         * vspace.C: remove dead header lyx_main.h
11573
11574 2002-08-07  Angus Leeming  <leeming@lyx.org>
11575
11576         * Paragraph.[Ch]:
11577         * paragraph_pimpl.h:
11578         Forward declare class Counters in paragraph.h by moving the ctrs member
11579         variable into Paragraph::Pimpl.
11580         (counters): new method, returning a reference to pimpl_->ctrs.
11581
11582         * text2.C: ensuing changes.
11583
11584 2002-08-07  John Levon  <levon@movementarian.org>
11585
11586         * BufferView_pimpl.C (resizeCurrentBuffer): update scrollbar
11587
11588         * BufferView_pimpl.C: announce X selection on double/triple
11589           click
11590
11591         * lyx_main.C: use correct bool in batch dispatch
11592
11593         * counters.h: srcdocs (from Martin Vermeer and Angus Leeming)
11594
11595 2002-08-07  André Pönitz <poenitz@gmx.net>
11596
11597         * funcrequest.h: new class to wrap a kb_action and its argument
11598
11599         * BufferView.[Ch]:
11600         * BufferView_pimpl[Ch]:
11601         * LaTeX.C:
11602         * LyXAction.[Ch]:
11603         * lyxfunc.[Ch]:
11604         * lyxrc.C: subsequent changes
11605
11606
11607 2002-08-07  John Levon  <levon@movementarian.org>
11608
11609         * BufferView_pimpl.C (redoCurrentBuffer): fix screen update when
11610           document options change.
11611
11612 2002-08-06  Martin Vermeer  <martin.vermeer@hut.fi>
11613
11614         * counters.[Ch]
11615         * text2.C
11616         * paragraph.[Ch]
11617         * makefile.am: move counters functionality over from
11618         text2.C/paragraph.[Ch] to counters.[Ch], and make proper C++.
11619
11620 2002-08-06  John Levon  <levon@movementarian.org>
11621
11622         * WordLangTuple.h: new file for word + language code tuple
11623
11624         * SpellBase.h:
11625         * pspell.h:
11626         * pspell.C:
11627         * ispell.h:
11628         * ispell.C:
11629         * lyxtext.h:
11630         * text.C:
11631         * text2.C:
11632         * BufferView.h:
11633         * BufferView2.C: use WordLangTuple
11634
11635         * layout.h:
11636         * buffer.C: remove very dead LYX_LAYOUT_DEFAULT
11637
11638 2002-08-06  John Levon  <levon@movementarian.org>
11639
11640         * lyx_main.C: fix cmdline batch handling
11641
11642 2002-08-06  André Pönitz <poenitz@gmx.net>
11643
11644         * lyxrc.C: set default for show_banner to true
11645
11646 2002-08-06  John Levon  <levon@movementarian.org>
11647
11648         * pspell.C: fix a crash, and allow new aspell to work
11649
11650 2002-08-06  John Levon  <levon@movementarian.org>
11651
11652         * lyxfunc.C:
11653         * kbmap.C: small cleanup
11654
11655         * vspace.h:
11656         * vspace.C: add const
11657
11658 2002-08-05  John Levon  <levon@movementarian.org>
11659
11660         * LyXAction.C: back to tabular-insert
11661
11662 2002-08-04  John Levon  <levon@movementarian.org>
11663
11664         * BufferView.h:
11665         * BufferView.C: cosmetic change
11666
11667         * BufferView_pimpl.C: s/IGNORE_CODE/NOTE_CODE/
11668
11669         * bufferlist.C:
11670         * buffer.h:
11671         * buffer.C:
11672         * lyxcb.h:
11673         * lyxcb.C:
11674         * lyxserver.C:
11675         * lyxvc.C:
11676         * vc-backend.C:
11677         * BufferView2.C: purge all "Lyx" not "LyX" strings
11678
11679         * lyxcursor.h:
11680         * lyxcursor.C: attempt to add some documentation
11681
11682         * lyxfunc.C:
11683         * commandtags.h:
11684         * LyXAction.C:
11685         * ToolbarDefaults.C:
11686         * BufferView_pimpl.C: remove LFUN_DIALOG_TABULAR_INSERT and
11687           merge with LFUN_TABULAR_INSERT
11688
11689         * Makefile.am:
11690         * SpellBase.h:
11691         * ispell.h:
11692         * ispell.C:
11693         * pspell.h:
11694         * pspell.C: split up i/pspell implementations into separate
11695           files, many cleanups
11696
11697         * lyxlex.C: unrevert, with a proper fix for prefix.length() == 0
11698
11699         * text2.C: some cleanup
11700
11701         * lyxfunc.C: don't check for isp_command == "none" any more, it
11702           didn't make any sense
11703
11704 2002-08-06      Martin Vermeer <martin.vermeer@hut.fi>
11705
11706         * counters.[Ch]
11707         * text2.C
11708         * paragraph.[Ch]
11709         * makefile.am: move counters functionality over
11710         from text2.C/paragraph.[Ch] to counters.[Ch], and
11711         make proper C++.
11712 2002-08-02  John Levon  <levon@movementarian.org>
11713
11714         * buffer.C: s/lyxconvert/lyx2lyx/
11715
11716 2002-08-02  Angus Leeming  <leeming@lyx.org>
11717
11718         * lyxlex.C: revert John's change as it breaks reading of the user
11719         preamble.
11720
11721 2002-08-02  Angus Leeming  <leeming@lyx.org>
11722
11723         * importer.C (Import):
11724         * lyxfunc.C (moveCursorUpdate, dispatch, view_status_message):
11725         changes due to LyXView::view() now returning a boost::shared_ptr.
11726
11727 2002-08-02  John Levon  <levon@movementarian.org>
11728
11729         * lyxlex.C: small cleanup
11730
11731 2002-08-02  John Levon  <levon@movementarian.org>
11732
11733         * text2.C (status): small cleanup, no logic change
11734
11735 2002-08-01  John Levon  <levon@movementarian.org>
11736
11737         * buffer.h:
11738         * buffer.C (writeFile): don't output alerts, caller
11739           handles this
11740
11741         * bufferlist.C:
11742         * lyx_cb.C: from above
11743
11744         * lyxfunc.C: allow to open non-existent files
11745
11746 2002-07-31  John Levon  <levon@movementarian.org>
11747
11748         * lyxserver.C: don't let incidental errors get
11749           in the way (errno)
11750
11751 2002-07-30  John Levon  <levon@movementarian.org>
11752
11753         * lyxfunc.C: disable character dialog in ERT inset (partial fix)
11754
11755 2002-07-30  John Levon  <levon@movementarian.org>
11756
11757         * lyxserver.h:
11758         * lyxserver.C: remove I/O callback too
11759
11760 2002-07-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11761
11762         * lyxfunc.C (getStatus): disable LFUN_LATEX_LOG when there is no
11763         log.
11764
11765 2002-07-29  Lars Gullik Bjønnes  <larsbj@gullik.net>
11766
11767         * many files: strip,frontStrip -> trim,ltrim,rtrim
11768
11769 2002-07-28  Lars Gullik Bjønnes  <larsbj@gullik.net>
11770
11771         * PrinterParams.h: remove extern containsOnly, and include
11772         support/lstrings.h instead.
11773
11774         * LaTeX.C (scanAuxFile): modify because of strip changes
11775         (deplog): ditto
11776         * buffer.C (makeLaTeXFile): ditto
11777         * bufferparams.C (writeFile): ditt
11778         * lyxfont.C (stateText): ditto
11779         * lyxserver.C (read_ready): ditto
11780         * vc-backend.C (scanMaster): ditto
11781
11782         * BufferView_pimpl.h: ws changes
11783
11784         * BufferView_pimpl.C: inlude boost/signals/connection.hpp
11785
11786 2002-07-26  André Pönitz <poenitz@gmx.net>
11787
11788         * kb_sequence.C: remove unnedred usings
11789
11790 2002-07-26  Juergen Vigna  <jug@sad.it>
11791
11792         * lyxfind.C (LyXReplace): we have to check better if the returned
11793         text is not of theLockingInset()->getLockingInset().
11794
11795 2002-07-25  Juergen Vigna  <jug@sad.it>
11796
11797         * lyxfind.C (LyXReplace): don't replace if we don't get the
11798         right LyXText.
11799
11800         * undo_funcs.C (createUndo): remove debugging code.
11801
11802 2002-07-25  Dekel Tsur  <dekelts@tau.ac.il>
11803
11804         * buffer.C (parseSingleLyXformat2Token): Use default placement
11805         when reading old floats.
11806
11807         * FloatList.C (FloatList): Change the default placement of figure
11808         and tables to "tbp".
11809
11810 2002-07-25  John Levon  <moz@compsoc.man.ac.uk>
11811
11812         * MenuBackend.C: using std::max
11813
11814 2002-07-25  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11815
11816         * MenuBackend.C (expandToc):
11817         (expandToc2): code moved from xforms menu frontend. It is now
11818         generic and TOCs are transparent to menu frontends.
11819
11820 2002-07-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11821
11822         * toc.C (getTocList): protect against buf=0
11823
11824         * MenuBackend.C (expand): move from Menu to MenuBackend; pass a
11825         Menu as first parameter. Now, this calls itself recursively to
11826         expand a whole tree (this will be useful for TOC handling)
11827         (expandFloatInsert): remove 'wide' version of floats
11828
11829         * MenuBackend.h (submenuname): returns the name of the submenu.
11830         (submenu): returns the submenu itself, provided it has been
11831         created by MenuBackend::expand
11832
11833 2002-07-23  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11834
11835         * paragraph_pimpl.C (simpleTeXSpecialChars): close fonts before
11836         insets which have noFontChange == true. (bug #172)
11837
11838 2002-07-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
11839
11840         * BufferView_pimpl.C: add connection objects and use them...
11841         (Pimpl): here.
11842
11843 2002-07-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11844
11845         * MenuBackend.C (expandLastfiles):
11846         (expandDocuments):
11847         (expandFormats):
11848         (expandFloatListInsert):
11849         (expandFloatInsert):
11850         (expand): split expand in parts
11851
11852 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11853
11854         * lyx_gui.C: use lyx_gui::exit()
11855
11856 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11857
11858         * LyXAction.C: show the failing pseudo action
11859
11860 2002-07-22  Dekel Tsur  <dekelts@tau.ac.il>
11861
11862         * buffer.C (readFile): Run the lyxconvert script in order to read
11863         old files.
11864
11865 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11866
11867         * LyXAction.C:
11868         * commandtags.h:
11869         * lyxfunc.C: remove LFUN_ADD_TO_TOOLBAR
11870
11871 2002-07-22  John Levon  <moz@compsoc.man.ac.uk>
11872
11873         * LyXAction.C:
11874         * commandtags.h:
11875         * lyxfunc.C: remove LFUN_TOOLBAR_PUSH
11876
11877 2002-07-22  Herbert Voss  <voss@lyx.org>
11878
11879         * lengthcommon.C:
11880         * lyxlength.[Ch]: add support for the vertical lengths
11881
11882 2002-07-21  John Levon  <moz@compsoc.man.ac.uk>
11883
11884         * toc.[Ch]: std:: fixes
11885
11886 2002-07-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11887
11888         * lyxrc.C: do not include lyx_main.h
11889
11890         * LaTeXFeatures.h: use a list<string> instead of a vector<string>
11891         for layouts
11892
11893         * lyxrc.C:
11894         * encoding.C:
11895         * bufferlist.C:
11896         * BufferView2.C: include "lyxlex.h"
11897
11898         * tabular.h:
11899         * bufferparams.h: do not #include "lyxlex.h"
11900
11901         * lyxtextclasslist.C (Add): remove method
11902         (classlist): renamed to classlist_
11903
11904         * paragraph_pimpl.C:
11905         * paragraph.C:
11906         * text2.C:
11907         * CutAndPaste.C:
11908         * bufferview_funcs.C:
11909         * bufferlist.C:
11910         * text.C:
11911         * LaTeXFeatures.C:
11912         * buffer.C:
11913         * toc.C (getTocList): use BufferParams::getLyXTextClass
11914
11915         * toc.C (getTocList): use InsetFloat::addToToc
11916
11917         * toc.[Ch]: new files, containing helper functions to handle table
11918         of contents
11919
11920         * lyxfunc.C (dispatch): no need to remove spaces around command
11921         given as a string
11922         (getStatus): handle LFUN_SEQUENCE by returning the status of the
11923         first command of the sequence; it is not very clever, but I do not
11924         have a better idea, actually
11925
11926         * LyXAction.C (LookupFunc): make sure to remove space at the
11927         beginning and end of the command
11928
11929 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11930
11931         * MenuBackend.C (getMenubar): new method: return the menubar of
11932         this menu set
11933         (read): treat differently reading of menu and menubar (in
11934         particular, the menubar has no name now)
11935         (Menu::menubar): remove
11936
11937         * lyxfunc.C (dispatch): add 'done' message to minibuffer when
11938         saving is finished
11939
11940 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
11941
11942         * BufferView_pimpl.C (workAreaButtonRelease): Fix opening of
11943         a bibitem inset in a RTL paragraph.
11944
11945 2002-07-20  John Levon  <moz@compsoc.man.ac.uk>
11946
11947         * paragraph_pimpl.C: constify
11948
11949         * BufferView_pimpl.C:
11950         * LaTeX.C:
11951         * lyxfunc.C: fix dispatch in a nicer way
11952
11953 2002-07-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11954
11955         * lyxfunc.C (dispatch):
11956         * BufferView_pimpl.C:
11957         * BufferView_pimpl.h:
11958         * BufferView.C:
11959         * BufferView.h: rename Dispatch() to dispatch()
11960
11961         * LaTeXFeatures.C (useLayout): honor LyXLayout::depends_on()
11962
11963         * lyxlayout.C (Read): honor DependsOn tag
11964
11965         * lyxlayout.[Ch] (depends_on): new method
11966
11967         * version.C.in: update lyx_docversion
11968
11969         * LaTeXFeatures.C (getMacros): only define \LyX when needed
11970
11971         * paragraph.C (validate): remove from here...
11972         * paragraph_pimpl.C (validate): ... and move here
11973         (isTextAt): make it const
11974
11975         * buffer.C (getLists): ws cleanup
11976
11977 2002-07-20  Dekel Tsur  <dekelts@tau.ac.il>
11978
11979         * language.C (read): Use iso8859-1 encoding in latex_lang
11980         (this prevents LyX from crashing when using iso10646-1 encoding).
11981
11982 2002-07-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
11983
11984         * text2.C (toggleInset): if cursor is inside an inset, close the
11985         inset and leave cursor _after_ it
11986
11987 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
11988
11989         * lyxfunc.C: move minibuffer completion handling out of here
11990
11991 2002-07-19  John Levon  <moz@compsoc.man.ac.uk>
11992
11993         * BufferView_pimpl.C:
11994         * LaTeX.C: fix dispatch calls
11995
11996 2002-07-19  Dekel Tsur  <dekelts@tau.ac.il>
11997
11998         * text.C (drawChars): Fix Arabic text rendering.
11999
12000 2002-07-18  John Levon  <moz@compsoc.man.ac.uk>
12001
12002         * LyXAction.C:
12003         * commandtags.h:
12004         * lyxfunc.C: remove message-push/pop
12005
12006         * lyxserver.C:
12007         * lyxfunc.h:
12008         * lyxfunc.C: rationalise some code by removing verboseDispatch
12009           in favour of a bool argument to dispatch()
12010
12011 2002-07-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12012
12013         * lyx_main.C (init): make sure to read symlinks as absolute paths
12014
12015 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
12016
12017         * lyxfunc.h:
12018         * lyxfunc.C: no need for commandshortcut to be a member
12019
12020 2002-07-15  André Pönitz <poenitz@gmx.net>
12021
12022         * converter.C: add support for $$s (scripts from lib/scripts dir)
12023         * lyx_main.C: white space
12024
12025 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
12026
12027         * bufferlist.C:
12028         * lyxrc.h:
12029         * lyxrc.C: remove second exit confirmation
12030
12031 2002-07-17  John Levon  <moz@compsoc.man.ac.uk>
12032
12033         * BufferView.h:
12034         * BufferView.C:
12035         * BufferView2.C:
12036         * BufferView_pimpl.h:
12037         * BufferView_pimpl.C:
12038         * lyxfunc.C: s/setState/switchKeyMap/, s/showState/view_state_changed/
12039
12040 2002-07-16  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12041
12042         * MenuBackend.C (expand): add numeric shortcuts to document menu
12043
12044         * lyxrc.C (getDescription): remove RC_NEW_ASK_FILENAME
12045
12046 2002-07-15  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12047
12048         * lyxfont.C (setLyXFamily):
12049         (setLyXSeries):
12050         (setLyXShape):
12051         (setLyXSize):
12052         (setLyXMisc):
12053         (lyxRead):
12054         * debug.C (value):
12055         * buffer.C (asciiParagraph): use ascii_lowercase
12056
12057 2002-07-15  Mike Fabian  <mfabian@suse.de>
12058
12059         * lyxlex_pimpl.C (search_kw):
12060         * lyxlex.C (getLongString):
12061         * converter.h (operator<):
12062         * converter.C (operator<):
12063         * buffer.C (parseSingleLyXformat2Token):
12064         (asciiParagraph):
12065         * ToolbarDefaults.C (read):
12066         * MenuBackend.C (checkShortcuts):
12067         (read):
12068         * LColor.C (getFromGUIName):
12069         (getFromLyXName): use the compare_ascii_no_case instead of
12070         compare_no_case, because in turkish, 'i' is not the lowercase
12071         version of 'I', and thus turkish locale breaks parsing of tags.
12072
12073 2002-07-16  Angus Leeming  <leeming@lyx.org>
12074
12075         * BufferView_pimpl.C (buffer): Previews::generateBufferPreviews
12076         now takes a Buffer const & argument.
12077
12078 2002-07-15  John Levon  <moz@compsoc.man.ac.uk>
12079
12080         * BufferView.C (resize): check there's a buffer to resize
12081
12082 2002-07-14  John Levon  <moz@compsoc.man.ac.uk>
12083
12084         * lyxfunc.C: remove dead code
12085
12086         * lyxserver.h:
12087         * lyxserver.C: use lyx_guii::set_read_callback
12088
12089 2002-07-13  Dekel Tsur  <dekelts@tau.ac.il>
12090
12091         * lyxfunc.C (dispatch): Correct cursor behaviour when exiting
12092         an inset in a RTL paragraph.
12093
12094 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
12095
12096         * lyxfunc.C: repaint after a font size update
12097
12098 2002-07-15  André Pönitz <poenitz@gmx.net>
12099
12100         * lyxlength.C: inBP should be able to return negative values
12101
12102 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
12103
12104         * lyxfunc.C: use lyx_gui::update_fonts()
12105
12106 2002-07-12  John Levon  <moz@compsoc.man.ac.uk>
12107
12108         * lyxfunc.C: use lyx_gui::update_color()
12109
12110 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
12111
12112         * bufferlist.C:
12113         * lyxfunc.h:
12114         * lyxfunc.C:
12115         * lyxrc.h:
12116         * lyxrc.C: remove file->new asks for name option, and let
12117           buffer-new take an argument
12118
12119 2002-07-11  John Levon  <moz@compsoc.man.ac.uk>
12120
12121         * BufferView_pimpl.C: remove unneeded extra repaint()
12122
12123 2002-07-10  John Levon  <moz@compsoc.man.ac.uk>
12124
12125         * LyXAction.C: allow command-sequence with NoBuffer
12126
12127         * lyxfunc.C: don't insist on trailing ';' for command-sequence
12128
12129 2002-07-10  Angus Leeming  <leeming@lyx.org>
12130
12131         * lyxrc.[Ch]: preview_scale_factor should be a float not an int.
12132
12133 2002-07-09  Angus Leeming  <leeming@lyx.org>
12134
12135         * lyxrc.[Ch]: added preview_hashed_labels and preview_scale_factor.
12136
12137 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
12138
12139         * lengthcommon.h: whitespace
12140
12141         * lyxfunc.C: update scrollbar after goto paragraph
12142
12143         * lyxtext.h: factor out page break drawing, and fix it so
12144           page break/added space paints as selected nicely
12145
12146 2002-07-09  John Levon  <moz@compsoc.man.ac.uk>
12147
12148         * BufferView_pimpl.C: add FIXMEs, clean up a little
12149
12150 2002-07-09  André Pönitz <poenitz@gmx.net>
12151
12152         * lyxfont.[Ch]: support for wasy symbols
12153
12154 2002-07-08  André Pönitz <poenitz@gmx.net>
12155
12156         * BufferView_pimpl.C: apply John's patch for #93.
12157
12158 2002-07-05  Angus Leeming  <leeming@lyx.org>
12159
12160         * BufferView_pimpl.C (buffer): generate previews if desired.
12161
12162         * LColor.h: add "preview" to the color enum.
12163
12164         * LColor.C (LColor): add a corresponding entry to the items array.
12165
12166         * buffer.C (~Buffer): remove any previewed LaTeX snippets associated
12167         with this buffer.
12168
12169 2002-07-05  Angus Leeming  <leeming@lyx.org>
12170
12171         * buffer.[Ch] (makeLaTeXFile): create two methods where there was one.
12172         The body of the code is now in the method that is passed an ostream &
12173         rather than a file name.
12174         Pass an additional only_preamble parameter, useful for the forthcoming
12175         preview stuff.
12176
12177 2002-07-03  André Pönitz <poenitz@gmx.net>
12178
12179         * lyxfunc.C: simplify getStatus() a bit for math stuff
12180
12181 2002-07-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12182
12183         * BufferView_pimpl.C (workAreaResize): add an unconditional repaint.
12184
12185 2002-06-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12186
12187         * text.C (changeRegionCase): do not change case of all the
12188         document when region ends at paragraph end (bug #461)
12189
12190 2002-07-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12191
12192         * paragraph.C (startTeXParParams):
12193         (endTeXParParams): add \protect when necessary
12194
12195 2002-06-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12196
12197         * BufferView_pimpl.C (workAreaExpose): remove warning
12198
12199 2002-06-27  Angus Leeming  <leeming@lyx.org>
12200
12201         * Makefile.am: add lyxlayout_ptr_fwd.h.
12202
12203 2002-06-26  André Pönitz <poenitz@gmx.net>
12204
12205         * lyxrc.[Ch]: introduce \preview, revive half-dead \show_banner
12206
12207 2002-06-25  Angus Leeming  <leeming@lyx.org>
12208
12209         * lyxfunc.C (dispatch): Comment out the call to
12210         grfx::GCache::changeDisplay. The method no longer exists now that the
12211         pixmap generation part of the graphics loader has been moved into
12212         InsetGraphics.
12213
12214 2002-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12215
12216         * text2.C: layout as layout
12217
12218         * text.C: layout as layout
12219
12220         * tabular.C (OldFormatRead): layout as layout
12221
12222         * paragraph_pimpl.C (TeXDeeper): layout as layout
12223         (realizeFont): layout as layout
12224
12225         * paragraph.C (writeFile): layout as layout
12226         (validate): layout as layout
12227         (getFont): layout as layout
12228         (getLabelFont): layout as layout
12229         (getLayoutFont): layout as layout
12230         (breakParagraph): layout as layout
12231         (stripLeadingSpaces): layout as layout
12232         (getEndLabel): layout as layout
12233         (getMaxDepthAfter): layout as layout
12234         (applyLayout): layout as layout
12235         (TeXOnePar): layout as layout
12236         (simpleTeXOnePar): layout as layout
12237         (TeXEnvironment): layout as layout
12238         (layout): layout as layout
12239         (layout): layout as layout
12240
12241         * lyxtextclass.C (compare_name): new functor to work with
12242         shared_ptr, layout as layout
12243         (Read): layout as layout
12244         (hasLayout): layout as layout
12245         (operator): layout as layout
12246         (delete_layout): layout as layout
12247         (defaultLayout): layout as layout
12248
12249         * lyxlayout_ptr_fwd.h: new file
12250
12251         * lyxlayout.C (Read): layout as layout
12252
12253         * lyx_cb.C (MenuInsertLabel): layout as layout
12254
12255         * bufferlist.C (newFile): layout as layout
12256
12257         * buffer.C (readLyXformat2): layout as layout
12258         (parseSingleLyXformat2Token): layout as layout
12259         (insertStringAsLines): layout as layout
12260         (asciiParagraph): layout as layout
12261         (latexParagraphs): layout as layout
12262         (makeLinuxDocFile): layout as layout
12263         (simpleLinuxDocOnePar): layout as layout
12264         (makeDocBookFile): layout as layout
12265         (simpleDocBookOnePar): layout as layout
12266         (getLists): layout as layout
12267
12268         * LaTeXFeatures.C (getTClassPreamble): layout as layout
12269
12270         * CutAndPaste.C (cutSelection): layout as layout
12271         (pasteSelection): layout as layout
12272         (SwitchLayoutsBetweenClasses): layout as layout
12273
12274         * BufferView_pimpl.C (Dispatch): layout as layout
12275         (smartQuote): layout as layout
12276
12277         * BufferView2.C (unlockInset): layout as layout
12278
12279 2002-06-24  André Pönitz <poenitz@gmx.net>
12280
12281         * lyxfunc.C: fix #487
12282
12283 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
12284
12285         * lyxrc.h:
12286         * lyxrc.C:
12287         * lyxfunc.C: remove display_shortcuts, show_banner
12288
12289 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
12290
12291         * Buffer_pimpl.C: oops, update on resize
12292
12293 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
12294
12295         * buffer.C:
12296         * converter.C:
12297         * exporter.C:
12298         * lyxfunc.C:
12299         * BufferView.h:
12300         * BufferView.C: use repaint()
12301
12302         * BufferView_pimpl.h:
12303         * BufferView_pimpl.C: s/updateScreen()/repaint()/
12304           as it's a clearer description. Remove superfluous
12305           redraws.
12306
12307 2002-06-21  John Levon  <moz@compsoc.man.ac.uk>
12308
12309         * text.C: fix bug 488. Not ideal, but getting
12310           getWord() to work properly for the insets that
12311           matter is more difficult ...
12312
12313 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
12314
12315         * BufferView_pimpl.C:
12316         * LyXAction.C:
12317         * commandtags.h:
12318         * lyxfunc.C: remove the six million index lyxfuncs to just
12319           one, and DTRT (bug 458)
12320
12321 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
12322
12323         * BufferView.h:
12324         * BufferView.C:
12325         * BufferView_pimpl.h:
12326         * BufferView_pimpl.C: clean up resize() stuff,
12327           and unnecessary updateScreen()s
12328
12329 2002-06-20  John Levon  <moz@compsoc.man.ac.uk>
12330
12331         * BufferView.h:
12332         * BufferView.C:
12333         * BufferView_pimpl.h:
12334         * BufferView_pimpl.C:
12335         * lyxfind.h:
12336         * lyxfind.C:
12337         * minibuffer.C: remove focus management of workarea,
12338           not needed. Use screen's greyOut()
12339
12340 2002-06-17  Herbert Voss  <voss@lyx.org>
12341
12342         * converter.C: (convert) do not post a message, when converting
12343         fails, let the calling function decide what to do in this case
12344
12345 2002-06-18  John Levon  <moz@compsoc.man.ac.uk>
12346
12347         * lyxfunc.C: tidy up a little
12348
12349 2002-06-16    <alstrup@diku.dk>
12350
12351         * BufferView_pimpl.C (Pimpl): Use WorkAreaFactory.
12352         Got rid of FORMS_H_LOCATION include. Now we are
12353         GUII.
12354
12355 2002-06-15  LyX Development team  <lyx@rilke>
12356
12357         * buffer.[Ch] (sgmlOpenTag):
12358         (sgmlCloseTag): Added support for avoiding pernicious mixed
12359         content. Return number of lines written.
12360
12361         (makeLinuxDocFile):
12362         (makeDocBookFile): Fixed calls to sgml*Tag.
12363         Simple white space clean.
12364
12365         (simpleDocBookOnePar): Simple white space clean.
12366
12367         * tabular.[Ch] (docBook): Renamed to docbook and got another
12368         argument to related with the pernicious mixed content.
12369
12370         (docbookRow): Fixed calls for docbook inset method.
12371
12372 2002-06-15  Lyx Development team  <larsbj@birdstep.com>
12373
12374         * lyxfunc.[Ch]: Use LyXKeySym instead of KeySym,
12375         so it's X11 independent.
12376
12377         * kb*.[Ch]: ditto.
12378
12379         * BufferView_pimpl.[Ch] (workAreaKeyPress): ditto.
12380
12381 2002-06-15  Lyx Development team  <lyx@electronia>
12382
12383         * intl.h: Renamed getTrans to getTransManager.
12384
12385 2002-06-14  Angus Leeming  <leeming@lyx.org>
12386
12387         * Makefile.am: nuke forgotten stl_string_fwd.h.
12388
12389 2002-06-12  Angus Leeming  <leeming@lyx.org>
12390
12391         * stl_string_fwd.h: unused and non-compliant anyway. Nuked.
12392
12393 2002-06-13  Angus Leeming  <leeming@lyx.org>
12394
12395         * LaTeX.C:
12396         * vspace.C: wrap using std::sscanf inside a CXX_GLOBAL_CSTD block.
12397
12398 2002-06-12  Andrew Zabolotny  <zap@cobra.ru>
12399
12400         * kbmap.C (getiso): add support for cyrillic and greek
12401
12402 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12403
12404         * BufferView.h:
12405         * BufferView.C:
12406         * BufferView_pimpl.h:
12407         * BufferView_pimpl.C: move bogus scrolling logic
12408           to xforms
12409
12410 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12411
12412         * lyxfunc.C:
12413         * BufferView_pimpl.C: view->resize() change
12414
12415 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12416
12417         * BufferView_pimpl.C: topCursorVisible
12418           prototype change
12419
12420 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12421
12422         * Makefile.am:
12423         * lyx_gui.h:
12424         * lyx_gui.C: move to frontends/
12425
12426         * main.C:
12427         * lyx_main.h:
12428         * lyx_main.C: changes from above
12429
12430 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12431
12432         * intl.C:
12433         * intl.h:
12434         * kbmap.C:
12435         * kbsequence.C:
12436         * lyx_cb.C:
12437         * lyx_main.C: minor tidy
12438
12439 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12440
12441         * BufferView_pimpl.h:
12442         * BufferView_pimpl.C:
12443         * BufferView.h:
12444         * BufferView.C: make painter() const,
12445           remove dead code
12446
12447         * BufferView2.C: use screen() accessor
12448
12449         * lyx_main.h:
12450         * lyx_main.C: some minor cleanup
12451
12452 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12453
12454         * BufferView_pimpl.h:
12455         * BufferView_pimpl.C: remove enter/leaveView,
12456           use workHeight()
12457
12458 2002-06-12  John Levon  <moz@compsoc.man.ac.uk>
12459
12460         * BufferView.h:
12461         * BufferView.C:
12462         * BufferView2.C:
12463         * BufferView_pimpl.h:
12464         * BufferView_pimpl.C: only construct screen once,
12465           rename
12466
12467         * lyxrc.C: remove pointless comment
12468
12469 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
12470
12471         * BufferView.h:
12472         * BufferView.C: remove active() and belowMouse()
12473
12474         * BufferView_pimpl.h:
12475         * BufferView_pimpl.C: use workarea() not workarea_,
12476           and make it use a scoped_ptr instead
12477
12478 2002-06-11  John Levon  <moz@compsoc.man.ac.uk>
12479
12480         * lyx_gui.C: add debug message on BadWindow
12481
12482 2002-06-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12483
12484         * sp_spell.C: fdopen is not part of the C++ standard.
12485
12486         * paragraph.C (InsetIterator): use >= instead of ==
12487
12488 2002-06-07  Angus Leeming  <leeming@lyx.org>
12489
12490         Fixes needed to compile with Compaq cxx 6.5.
12491         * BufferView_pimpl.C:
12492         * DepTable.C:
12493         * buffer.C:
12494         * converter.C:
12495         * encoding.C:
12496         * lyx_gui.C:
12497         * lyx_main.C:
12498         * lyxtextclasslist.C:
12499         * minibuffer.C:
12500         * sp_spell.C:
12501         * tabular_funcs.C:
12502         * vc-backend.C:
12503         all c-library variables have been moved into namespace std. Wrap
12504         using std::xyz declarations inside a #ifndef CXX_GLOBAL_CSTD block.
12505
12506         * lyxlength.C:
12507         * tabular-old.C:
12508         * tabular.C:
12509         Add a using std::abs declaration.
12510
12511         * kbmap.h (modifier_pair):
12512         * paragraph.h (InsetTable, InsetList):
12513         * lyxfont.h (FontBits):
12514         type definition made public.
12515
12516         * bufferlist.C (emergencyWriteAll): the compiler complains that
12517         there is more than one possible lyx::class_fun template to choose from.
12518         I re-named the void specialisation as lyx::void_class_fun.
12519
12520         * lyxfont.C (FontBits' operator==, operator!=): taken out of class.
12521
12522         * tabular_funcs.C: lstrings.h must come before tabular_funcs.h or
12523         the compiler is is unable to find tostr in write_attribute.
12524
12525 2002-06-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12526
12527         * buffer.C (sgmlError): hide #warning
12528
12529 2002-06-05  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12530
12531         * xtl/*: get rid of xtl, which is not in use anyway
12532
12533         * LyXAction.C (init):
12534         * commandtags.h: remove BUFFER_PRINT and BUFFER_PARAMS_GET, which
12535         were unimplemented xtl experimentation
12536
12537 2002-06-04  André Pönitz <poenitz@gmx.net>
12538
12539         * lyxfunc.C: disable array operation on simple formulae
12540
12541 2002-06-03  John Levon  <moz@compsoc.man.ac.uk>
12542
12543         * converter.C: constify a bit
12544
12545 2002-06-02  John Levon  <moz@compsoc.man.ac.uk>
12546
12547         * lyx_gui.C: check xforms version correctly
12548
12549 2002-04-30  Herbert Voss  <voss@lyx.org>
12550
12551         * buffer.C (parseSingleLyXformat2Token): fix bug with ignored
12552         "keep" option
12553
12554 2002-05-31  John Levon  <moz@compsoc.man.ac.uk>
12555
12556         * lyxvc.C: fix bug 416 (make sure buffer is saved before
12557           attempt to register it with a VCS)
12558
12559 2002-05-30  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12560
12561         * lyx_main.C (init): honor variables LYX_DIR_13x and
12562         LYX_USERDIR_13x
12563
12564 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
12565
12566         * buffer.h:
12567         * buffer.C:
12568         * lyx_main.C: fix a crash on bad command line,
12569           and give a useful exit status on error
12570
12571         * lyxfunc.C (doImport): allow -i lyx to work
12572
12573 2002-03-30  André Pönitz <poenitz@gmx.net>
12574
12575         * lyxfunc.C: mathed font changes
12576
12577 2002-05-30  John Levon  <moz@compsoc.man.ac.uk>
12578
12579         * LaTeX.C:
12580         * importer.h:
12581         * importer.C:
12582         * lyx_sty.h:
12583         * lyx_sty.C:
12584         * lyxlex.C:
12585         * lyxrow.h:
12586         * lyxtext.h:
12587         * paragraph.h:
12588         * paragraph.C:
12589         * texrow.h:
12590         * texrow.C:
12591         * text.C:
12592         * trans_mgr.h: srcdocs, and some minor cleanups
12593
12594 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12595
12596         * paragraph_pimpl.C (isTextAt): rewrite to be much faster (do not
12597         call getFont all the time)
12598
12599 2002-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12600
12601         * switch from SigC signals to boost::signals
12602
12603 2002-05-29  André Pönitz <poenitz@gmx.net>
12604
12605         * paragraph_pimpl.C (getChar): don't call size() too often...
12606
12607 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12608
12609         * paragraph_pimpl.C (insertChar): do not try to update tables when
12610         appending (pos == size())
12611
12612         * buffer.C (parseSingleLyXformat2Token): reorder a bit the tests
12613         in order to reduce drastically the number of comparisons needed to
12614         parse a large document
12615
12616 2002-05-29  André Pönitz <poenitz@gmx.net>
12617
12618         * text.C:
12619         * text2.C:
12620         * lyxtextclass.C:
12621         * sp_pspell.h:
12622         * textclasslist.[Ch]:
12623         * sp_ispell.h: whitespace change
12624
12625 2002-05-29  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12626
12627         * lyxserver.C (callback): tentative fix of lyxserver. Does not use
12628         lyxaction directly now.
12629
12630 2002-05-27  John Levon  <moz@compsoc.man.ac.uk>
12631
12632         * trans.C:
12633         * lyxfont.C:
12634         * lyxvc.C: remove unused headers
12635
12636 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
12637
12638         * Makefile.am:
12639         * buffer.h:
12640         * undostack.h:
12641         * undostack.C:
12642         * undo_funcs.h:
12643         * undo_funcs.C: some cleanups. Use shared_ptr
12644           and a template for the undo stacks.
12645
12646 2002-05-26  John Levon  <moz@compsoc.man.ac.uk>
12647
12648         * BufferView_pimpl.h:
12649         * BufferView_pimpl.C:
12650         * kbmap.h:
12651         * kbmap.C:
12652         * kbsequence.h:
12653         * kbsequence.C:
12654         * lyxfunc.h:
12655         * lyxfunc.C:
12656         * text2.C: use key_state/mouse_state
12657
12658 2002-05-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12659
12660         * vc-backend.C (scanMaster): use boost regex and get rid of LRegex
12661         and LSubstring
12662
12663         * chset.C: change include order
12664         (loadFile): use boost regex and get rid of LRegex and LSubstring
12665
12666         * Makefile.am (BOOST_LIBS): new variable
12667         (lyx_LDADD): use it
12668
12669         * LaTeX.C: change include order.
12670         (scanAuxFile): use boost regex and get rid of LRegex and
12671         LSubstring
12672         (deplog): ditto
12673
12674 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
12675
12676         * ColorHandler.h:
12677         * ColorHandler.C:
12678         * FontInfo.h:
12679         * FontInfo.C: moved to frontends/xforms/
12680
12681         * FontLoader.h:
12682         * FontLoader.C: moved into frontends for GUIIzation
12683
12684         * Makefile.am:
12685         * lyx_gui.C:
12686         * lyxfont.C:
12687         * lyxfunc.C: changes from above
12688
12689 2002-05-24  John Levon  <moz@compsoc.man.ac.uk>
12690
12691         * LColor.C: remove spurious X include
12692
12693         * BufferView_pimpl.C:
12694         * Makefile.am:
12695         * font.h:
12696         * font.C:
12697         * text.C:
12698         * text2.C: move font metrics to frontends/
12699
12700 2002-05-24  Juergen Vigna  <jug@sad.it>
12701
12702         * undo_funcs.C (textHandleUndo): fix the cursor selection after
12703         setting the undo_cursor.
12704
12705         * ParagraphParameters.h: include local includes first.
12706
12707 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
12708
12709         * BufferView_pimpl.C:
12710         * BufferView_pimpl.h:
12711         * Makefile.am:
12712         * WorkArea.h:
12713         * WorkArea.C:
12714         * screen.C: move WorkArea into frontends/
12715
12716         * lyxscreen.h:
12717         * screen.C:
12718         * text.C:
12719         * BufferView.C:
12720         * BufferView2.C: move LyXScreen into frontends/
12721
12722         * lyxlookup.h:
12723         * lyxlookup.C:
12724         * lyx_gui.C: move lyxlookup into frontends/xforms/
12725
12726 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
12727
12728         * BufferView2.C:
12729         * BufferView_pimpl.C:
12730         * FontLoader.C:
12731         * LyXView.h:
12732         * LyXView.C:
12733         * Makefile.am:
12734         * WorkArea.C:
12735         * XFormsView.h:
12736         * XFormsView.C:
12737         * buffer.C:
12738         * bufferlist.C:
12739         * bufferview_funcs.C:
12740         * converter.C:
12741         * importer.C:
12742         * lyx_cb.C:
12743         * lyx_gui.C:
12744         * lyx_main.C:
12745         * lyx_find.C:
12746         * lyxfunc.C:
12747         * lyxvc.C:
12748         * minibuffer.C:
12749         * text.C:
12750         * text2.C:
12751         * trans.C:
12752         * vc-backend.C: move LyX/XFormsView into frontends/
12753
12754 2002-05-23  John Levon  <moz@compsoc.man.ac.uk>
12755
12756         * Makefile.am:
12757         * PainterBase.C:
12758         * PainterBase.h:
12759         * Painter.C:
12760         * Painter.h:
12761         * WorkArea.C:
12762         * WorkArea.h:
12763         * screen.C:
12764         * tabular.C:
12765         * text.C:
12766         * text2.C: move Painter to frontends/
12767
12768 2002-05-22  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12769
12770         * buffer.C: comment out some some code that depend upon lyx_format
12771         < 220
12772
12773         * paragraph.h (NO_PEXTRA_REALLY): turn off all pextra
12774         * ParagraphParameters.h (NO_PEXTRA_REALLY): ditto
12775
12776         * buffer.h (NO_COMPABILITY): turn off compability
12777
12778         * ColorHandler.C: include scoped_array.hpp
12779
12780         * font.C: Use more specific smart_ptr header.
12781         * Painter.C: ditto
12782         * gettext.C: ditto
12783         * ShareContainer.h: ditto
12784         * lyx_main.h: ditto
12785         * kbmap.h: ditto
12786         * FontInfo.h: ditto
12787         * BufferView_pimpl.h: ditto
12788         * ColorHandler.h: ditto
12789
12790         * kbmap.C (defkey): change call to shared_ptr::reset
12791
12792 2002-05-21  Juergen Vigna  <jug@sad.it>
12793
12794         * buffer.C (insertErtContents): fix to insert ert asis if it is
12795         non empty. Skip it completely if it contains only whitespaces.
12796
12797 2002-05-15  John Levon  <moz@compsoc.man.ac.uk>
12798
12799         * BufferView_pimpl.C:
12800         * BufferView2.C: clear selection on paste (bug 393)
12801
12802 2002-05-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12803
12804         * DepTable.C: include ctime
12805
12806 2002-05-11  Dekel Tsur  <dekelts@tau.ac.il>
12807
12808         * buffer.C (latexParagraphs): Add new argument (moving_arg).
12809
12810 2002-05-14  Juergen Vigna  <jug@sad.it>
12811
12812         * text.C (breakParagraph): fixed function to honor the keepempty
12813         layout in the right maner and also to permit the right breaking
12814         algorithm on empty or non empyt keepempty paragraphs.
12815
12816         * paragraph.C (breakParagraph): we have to check also if the par
12817         is really empty (!size()) for isempty otherwise we do the wrong
12818         paragraph break.
12819
12820 2002-05-10  Juergen Vigna  <jug@sad.it>
12821
12822         * buffer.[Ch] : The following are only changes to the ert
12823         compatibility read reading old LaTeX layout and font stuff and
12824         convert it to ERTInsets.
12825
12826         * buffer.h: added isErtInset().
12827
12828         * buffer.C (struct ErtComp): add a fromlayout bool to check
12829         if we're inside a LaTeX layout.
12830         (isErtInset): new helper function.
12831         (insertErtContents): look for other ert insets before this one
12832         and insert the contents there, so that we don't have subsequent
12833         ERT insets with nothing between them. This way we create only one
12834         inset with multiple paragraphs. Also check if we don't insert only
12835         spaces ' ' as they are ignored anyway afterwards in the .tex file
12836         so if we have only spaces we will ignore this latex part in the
12837         new file.
12838         (parseSingleLyXformat2Token \\layout): better compatibility when
12839         reading layout-latex stuff.
12840         (parseSingleLyXformat2Token \\lang): put the insetERT in the right
12841         language tag.
12842         (parseSingleLyXformat2Token \\begin_inset): don't reset ert_comp
12843         stuff after reading the inset only get the information back from
12844         the stack.
12845
12846 2002-05-10  Dekel Tsur  <dekelts@tau.ac.il>
12847
12848         * buffer.C (makeLaTeXFile): Put language options after loading babel.
12849
12850         * LaTeXFeatures.C (getBabelOptions): New method.
12851
12852 2002-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12853
12854         * BufferView_pimpl.C (Dispatch): work around missing argument for
12855         'layout'
12856
12857 2002-05-08  Juergen Vigna  <jug@sad.it>
12858
12859         * text.C (leftMargin): handle paragraph leftindent.
12860
12861         * paragraph.C (writeFile): write the new \\leftindent tag.
12862         (validate): handle leftindent code.
12863         (TeXEnvironment): handle paragraphleftindent code again.
12864
12865         * lyx_sty.h: changed ParagraphIndent to ParagraphLeftIndent.
12866
12867         * buffer.C (parseSingleLyXformat2Token): added compatibility code
12868         for paragrap_extra indent code and new token \\leftindent.
12869         (latexParagraphs): handle the leftindent as environment.
12870
12871         * ParameterStruct.h: added leftindent support.
12872
12873         * ParagraphParameters.C (leftIndent): added support functions for
12874         the paragraph left indent.
12875
12876         * LaTeXFeatures.C: change paragraphindent to paragraphleftindent seems
12877         more appropriate.
12878
12879 2002-05-05  Dekel Tsur  <dekelts@tau.ac.il>
12880
12881         * paragraph.C (isRightToLeftPar): Return false for a paragraph
12882         inside insetERT.
12883
12884         * text.C (computeBidiTables): No bidi in insetERT.
12885
12886         * BufferView_pimpl.C (setState): Fix keymap handling inside insetERT
12887         in RTL documents.
12888
12889 2002-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12890
12891         * version.C.in: pre 5
12892
12893 2002-05-02  José Matos  <jamatos@fep.up.pt>
12894         * buffer.C (makeDocBookFile): white space changes, add newline to
12895         command styles.
12896         (simpleDocBookOnePar): protect <emphasis> inside a CDATA section.
12897
12898         * tabular.C (docBook): fix typo.
12899
12900 2002-05-03  Juergen Vigna  <jug@sad.it>
12901
12902         * screen.C (drawFromTo): recalculate the rowpointer if we had a
12903         change in LyXText as we can not be sure it was not freed.
12904         (drawOneRow): remove unused code.
12905
12906         * text.C (drawInset): redo the calculation of the need_break_row as
12907         it could have a row which was already freed.
12908         (draw): look at the return value of drawInset and return false if
12909         it also returned false.
12910         (paintRowText): look at the return value of draw and return false if
12911         it also returned false.
12912
12913         * lyxtext.h: added bool return type to drawInset() and draw() so that
12914         if we have a change in the row so that the rowbreak has to be redone
12915         we abort drawing as it will be called again.
12916
12917 2002-05-02  Juergen Vigna  <jug@sad.it>
12918
12919         * BufferView_pimpl.C (moveCursorUpdate): make repaint if we had
12920         a change in the maintext also if we're inside an inset.
12921         (Dispatch): set the cursor again after a break line and after the
12922         screen has been updated as it could be we're in a different row.
12923
12924         * text2.C (fixCursorAfterDelete): check to make sure we don't request
12925         to set the cursor behind the pargraph with > size().
12926         (setCursor): check also for the same paragraph when checking where
12927         to put the cursor if we have a NFR inset.
12928
12929         * buffer.C (parseSingleLyXformat2Token): move the compatibility
12930         parts of layout read further up as it still was in the wrong
12931         position.
12932
12933 2002-05-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12934
12935         * screen.C (drawFromTo): change sine fullRebreak always return
12936         true.
12937
12938         * buffer.C (parseSingleLyXformat2Token): reindent some
12939
12940         * BufferView_pimpl.C (update): change since fullRebreak always
12941         return true.
12942         (Dispatch): git rid of the last hardcoded "Standard"s.
12943
12944 2002-05-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
12945
12946         * text2.[Ch] (fullRebreak): make it return void now that we always
12947         returned true.
12948
12949 2002-04-30  Juergen Vigna  <jug@sad.it>
12950
12951         * buffer.C (parseSingleLyXformat2Token): reset the font before the
12952         ert compatibility check for "latex" layout.
12953
12954 2002-04-29  Dekel Tsur  <dekelts@tau.ac.il>
12955
12956         * buffer.C (parseSingleLyXformat2Token): Fix reading of old format
12957         minipages: use col% instead of p%, and also use the current font.
12958         (makeLaTeXFile): Fix use babel condition.
12959         (parseSingleLyXformat2Token): Correct font when reading old floats.
12960
12961 2002-04-28  Dekel Tsur  <dekelts@tau.ac.il>
12962
12963         * BufferView_pimpl.C (Dispatch): Check that float type exists when
12964         inserting list of floats.
12965
12966 2002-04-25  Herbert Voss  <voss@lyx.org>
12967
12968         * MenuBackend.C (expand): don't add the graphics extensions to the
12969         export menu
12970
12971 2002-04-24  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
12972
12973         * CutAndPaste.C (SwitchLayoutsBetweenClasses): when converting a
12974         non-existing layout, do not complain if it was the default layout
12975         of the original class (bug #342)
12976
12977 2002-04-24  Juergen Vigna  <jug@sad.it>
12978
12979         * BufferView_pimpl.C (workAreaButtonPress): fix handling of mouse-wheel
12980         (workAreaButtonRelease): don't do anything if it was a mouse-wheel
12981
12982 2002-04-22  Angus Leeming  <a.leeming@ic.ac.uk>
12983
12984         * buffer.C (getBibkeyList): If using \bibliography, return the
12985         option field with the reference itself. Enables us to provide natbib
12986         support when using \bibliography.
12987
12988 2002-04-23  Mike Ressler  <mike.ressler@alum.mit.edu>
12989
12990         * lyxtextclass.[Ch]: add layout keyword ProvidesNatbib.
12991
12992         * LaTeXFeatures.C: do not add \usepackage{natbib} to tex file if
12993         natbib is provided by the LaTeX class.
12994
12995 2002-04-23  Juergen Vigna  <jug@sad.it>
12996
12997         * BufferView_pimpl.[Ch]: remove use of wrong and unneeded insetSleep/
12998         Wakeup functions.
12999
13000         * BufferView.[Ch]: remove not needed insetSleep/Wakeup functions.
13001
13002 2002-04-22  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13003
13004         * lyxfunc.C (getStatus): LFUN_PROTECTED_SPACE is allowed in maths
13005
13006         * paragraph_pimpl.C (simpleTeXSpecialChars): remove bogus
13007         ensuremath around textordmasculine, textordfeminine and
13008         textdegree.
13009
13010 2002-04-19  Juergen Vigna  <jug@sad.it>
13011
13012         * BufferView_pimpl.C (resizeCurrentBuffer): resize the insets before
13013         reinitializing the buffer otherwise row-dimensions may be wrong.
13014         (update): reset also the selection cursors if they do exits otherwise
13015         their x/y positions may be wrong.
13016
13017         * text2.C (cursorDown): don't enter the inset if we came from a row
13018         above and are one row over the inset.
13019
13020         * lyxfunc.C (dispatch): update paragraph layout after LFUN_ESCAPE when
13021         really leaving an inset.
13022
13023 2002-04-18  Juergen Vigna  <jug@sad.it>
13024
13025         * BufferView_pimpl.C (Dispatch): fixed to change layout also if one
13026         of the selected paragraph does not have the selected layout also if
13027         the last one had!
13028
13029         * text2.C (setLayout): fixed bug which did not change last selected
13030         paragraph.
13031
13032         * tabular.C (OldFormatRead): check also for \\end_inset as Lars
13033         changed the read and substituted \\end_float with \\end_inset!
13034
13035         * BufferView_pimpl.C (cursorPrevious):
13036         (cursorNext): fixed to make it work with rows heigher than the work
13037         area without moving the cursor only the draw of the row.
13038         (workAreaMotionNotify): fix jumping over high rows.
13039
13040 2002-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13041
13042         * lyxtextclass.C (Read): fix bit adding, bug discovered by Mike
13043         Ressler.
13044
13045 2002-04-16  Juergen Vigna  <jug@sad.it>
13046
13047         * text2.C (setCursor): set also the irow().
13048         (setCursorFromCoordinates): fixed to set the (i) cursor values right!
13049         (cursorUp):
13050         (cursorDown): support for locking an inset if the x_fix value goes
13051         inside it. That way I can transverse insets too with cursor up/down.
13052
13053         * lyxrow.h: added irow helper function same as other (i) functions.
13054
13055         * BufferView_pimpl.C (cursorPrevious):
13056         (cursorNext): fixed for insets!
13057
13058 2002-04-15  Juergen Vigna  <jug@sad.it>
13059
13060         * BufferView_pimpl.C (insetDimensions): use ix/iy values for inset
13061         position otherwise it is wrong in some cases.
13062
13063         * lyxfunc.C (dispatch): fix FINISHED UP/DOWN to handle x position
13064         inside the inset before the call.
13065
13066 2002-04-16  Angus Leeming  <a.leeming@ic.ac.uk>
13067
13068         * buffer.[Ch] (getBibkeyList): make it const.
13069
13070 2002-04-12  Juergen Vigna  <jug@sad.it>
13071
13072         * BufferView_pimpl.C (workAreaMotionNotify): use new ix() cursor pos.
13073
13074         * text2.C (getCursorX): new helper function
13075         (setCursor): compute also ix_
13076         (setCursorFromCoordinates): set also ix.
13077
13078         * lyxcursor.h: added ix_ and helper functions.
13079
13080         * BufferView_pimpl.C (workAreaMotionNotify): forgot to use iy().
13081
13082         * buffer.C (insertStringAsLines): dont break paragraph if the this
13083         paragraph is inside an inset which does not permit it!
13084
13085         * text.C (breakParagraph): honor keepempty flag and break the paragraph
13086         also with no chars on this paragraph.
13087         (paintRowText): only paint stuff if it's inside the workarea!
13088
13089         * paragraph.C (breakParagraph): honor keepempty flag and break the
13090         paragraph always below not above.
13091
13092         * BufferView2.C (unlockInset): update the paragraph layout on inset
13093         unlock as we changed paragraph in such a case.
13094
13095         * lyxfind.C (LyXFind): clear the former selection if not found!
13096
13097         * text2.C (insertInset): freeze Undo after setUndo so that it is not
13098         again called in insertChar().
13099
13100         * text.C (leftMargin): return LYX_PAPER_MARGIN if this row contains
13101         an inset which uses the whole row!
13102         (rightMargin): ditto.
13103         (insertChar): force a rebreak if we inserted an inset!
13104
13105 2002-03-28  Herbert Voss  <voss@lyx.org>
13106
13107         * lyxlength.[Ch]: add inBP() to get the right PS-point
13108         units (BigPoint). With inPixels we have rounding errors
13109
13110 2002-04-11  Juergen Vigna  <jug@sad.it>
13111
13112         * text2.C (setCursorFromCoordinates): set iy to the right value.
13113         (setCursor): add check if row->previous exists!
13114
13115         * buffer.C (parseSingleLyXformat2Token): reset font after read of
13116         an old float_type as this was the case in the old code!
13117
13118         * paragraph.C (simpleTeXOnePar): fix closing of foreignlanguage tags.
13119
13120         * BufferView2.C (showLockedInsetCursor): use iy
13121         (fitLockedInsetCursor): ditto
13122
13123         * BufferView_pimpl.C (checkInset): use LyXCursor::iy for baseline of
13124         locked insets as there we have the right value now.
13125
13126         * lyxcursor.C: added iy_ variable and iy functions to set to the
13127         baseline of cursor-y of the locked inset.
13128
13129         * text2.C (setCursorFromCoordinates): set LyXCursor::iy.
13130         (setCursor): fixed for insets which need a full row.
13131
13132         * text.C (rowLastPrintable): don't ignore the last space when before
13133         an inset which needs a full row.
13134         (numberOfSeparators): use rowLastPrintable and <= last to honor a space
13135         as last character of a row when before a inset which needs a full row.
13136
13137 2002-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13138
13139         * version.C.in: update date
13140
13141         * text2.C (fullRebreak): try to always return true and see what
13142         happens...
13143
13144 2002-04-04  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13145
13146         * MenuBackend.C (expand): use Floating::listName
13147
13148         * FloatList.C (FloatList): add listName argument to the built-in
13149         floats
13150
13151         * Floating.[Ch]: add listName member, which is the 'List of XXX'
13152         text associated with the float.
13153
13154 2002-04-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13155
13156         * MenuBackend.C (expand): change label "Wide xxx" to "xxx (wide)".
13157
13158 2002-04-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13159
13160         * ShareContainer.h: add a couple of missing typenames.
13161
13162 2002-04-02  Angus Leeming  <a.leeming@ic.ac.uk>
13163
13164         * lyxrc.C (getDescription): use _() correctly rather than N_().
13165
13166 2002-03-28  Herbert Voss  <voss@lyx.org>
13167
13168         * lyxlength.C: compatibility stuff for < 1.1.6fix4 and
13169         "old" 1.2.0 files which use c%, l%, p% t% instead of text%, ...
13170
13171 2002-04-02  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13172
13173         * lyx_main.C (init): use environment variable LYX_DIR_12x instead
13174         of LYX_DIR_11x. Same for LYX_USERDIR_12x.
13175
13176 2002-03-29  Juergen Vigna  <jug@sad.it>
13177
13178         * lyxfunc.C (dispatch): add a missing fitCursor call.
13179
13180         * BufferView2.C (fitLockedInsetCursor): the inset needs to know if
13181         it was scrolled by a cursor move, so return the bool status.
13182
13183         * BufferView.C (fitCursor): return the bool flag also to the outside
13184         world as this is needed.
13185
13186         * screen.C (toggleToggle): don't subtract the offset if it's positive.
13187
13188         * BufferView_pimpl.C (workAreaButtonPress): just lock the inset don't
13189         call the edit() as it is not needed (and wrong) IMO.
13190         (workAreaButtonPress): set the screen_first variable before evt.
13191         unlock the inset as this may change screen_first and then we have
13192         a wrong y position for the click!
13193
13194 2002-03-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13195
13196         * MenuBackend.C (expand): another translation that I missed
13197
13198 2002-03-28  Juergen Vigna  <jug@sad.it>
13199
13200         * screen.C (toggleToggle): fix for insettexts y_offset on drawing.
13201
13202         * tabular.C (OldFormatRead): fix ert compatibility read inside cells.
13203
13204 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13205
13206         * lyxfunc.C (getStatus): return 'disabled' early for LFUN_NOACTION
13207
13208         * MenuBackend.C (expand): fix export/view/update when there is no
13209         document open.
13210
13211 2002-03-27  Herbert Voss  <voss@lyx.org>
13212
13213         * lengthcommon.C: change c%, l%, p% t% to col%, line%, page%
13214         and text%
13215
13216 2002-03-27  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13217
13218         * bufferview_funcs.C (currentState): only show paragraph number
13219         for is DEVEL_VERSION is set.
13220
13221         * lyxfunc.C (dispatch): put warning in INFO channel
13222
13223         * MenuBackend.C (expand): translate the name of floats
13224
13225         * FloatList.C (FloatList): mark the float names for translation
13226
13227         * converter.C (convert): use LibScriptSearch
13228
13229 2002-03-26  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13230
13231         * MenuBackend.C (defaults): fix default menu (we might as well get
13232         rid of it...)
13233
13234 2002-03-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13235
13236         * lyxvc.C (registrer): register the file with CVS if it's in a CVS
13237         directory.
13238
13239 2002-03-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13240
13241         * lyxvc.C: reorder includes.
13242
13243 2002-03-25  John Levon  <moz@compsoc.man.ac.uk>
13244
13245         * BufferView_pimpl.C (updateScrollbar): update on buffer switch
13246           properly
13247
13248 2002-03-19  John Levon  <moz@compsoc.man.ac.uk>
13249
13250         * CutAndPaste.C: change layouts earlier on paste
13251           to avoid crashing when calling getFont()
13252
13253 2002-03-22  Angus Leeming  <a.leeming@ic.ac.uk>
13254
13255         * PrinterParams.h: #include "lyxrc.h" and remove that bloody
13256         irritating #error.
13257
13258 2002-03-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13259
13260         * WorkArea.C: remove 'Pending' debug message.
13261
13262         * most files: ws cleanup
13263
13264         * buffer.[Ch]: ws changes
13265
13266         * Makefile.am (LYX_CONV_LIBS): remove ld -r stuff.
13267
13268 2002-03-21  Juergen Vigna  <jug@sad.it>
13269
13270         * tabular.C (SetMultiColumn): collapse also the contents of the
13271         cells and set the last border right. Added a Buffer const * param.
13272
13273 2002-03-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13274
13275         * Makefile.am (LYX_CONV_LIBS): select libs depending on partial
13276         linking or not.
13277
13278 2002-03-19  Juergen Vigna  <jug@sad.it>
13279
13280         * text2.C (clearSelection): reset also xsel_cache.
13281
13282         * BufferView_pimpl.C (Dispatch): call WorkArea::haveSelection(false)
13283         where it needs to be called (John tells us to do so too :)
13284         (selectionLost): reset sel_cache.
13285
13286         * WorkArea.C (event_cb): leave ret to 0 (John tells us to do so :)
13287
13288 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13289
13290         * text2.C (setCursorIntern): put debuging code in INSETS channel
13291
13292 2002-03-19  André Pönitz <poenitz@gmx.net>
13293
13294         * lyxfunc.C: tiny whitespace change
13295
13296 2002-03-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13297
13298         * ToolbarDefaults.C (init):
13299         * LyXAction.C (init):
13300         * commandtags.h:
13301         * BufferView_pimpl.C (Dispatch):
13302         * lyxfunc.C (dispatch): remove LFUN_DEPTH
13303
13304 2002-03-19  Allan Rae  <rae@lyx.org>
13305
13306         * exporter.C (Export): removeAutoInsets before doing anything else.
13307         While I've just introduced a dependency on BufferView this really is
13308         the best place to clean the buffer otherwise you need to cleanup in
13309         a dozen places before calling export or cleanup in a dozen functions
13310         that export calls.
13311
13312         * converter.C (runLaTeX):
13313         (scanLog): Better handling of removeAutoInsets and screen updates.
13314
13315         * lyxfunc.C (dispatch): small whitespace changes
13316
13317 2002-03-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13318
13319         * WorkArea.C (C_WorkAreaEvent): return a value.
13320         (event_cb): return 1 if we handled the event, 0 otherwise.
13321
13322         * lyx_gui.C (LyX_XErrHandler): don't abort on BadWindow
13323
13324 2002-03-18  Juergen Vigna  <jug@sad.it>
13325
13326         * tabular.C (LeftAlreadyDrawed): fixed for multicolumn borders.
13327         (GetAdditionalWidth): ditto.
13328         (RightLine): ditto.
13329         (LeftLine): ditto.
13330
13331         * BufferView2.C (copy): use getLyXText() so that we do it inside an
13332         inset if we're there actually (probably not used right now but this
13333         is the direction to go for unifying code).
13334         (paste): disable code to clear the selection.
13335
13336         * BufferView_pimpl.C (workAreaButtonPress): check also for a selection
13337         inside an InsetText and move the check further up as it is in the
13338         wrong place.
13339
13340         * text2.C (pasteSelection): set a selection over the pasted text.
13341
13342 2002-03-14  Kayvan A. Sylvan  <kayvan@sylvan.com>
13343
13344         * Makefile.am (lyx_DEPENDENCIES): Swap the order of libfrontend
13345         and libgraphics to build on Cygwin.
13346
13347 2002-03-15  Juergen Vigna  <jug@sad.it>
13348
13349         * CutAndPaste.C (SwitchLayoutsBetweenClasses): fix the wrong use of
13350         inserting an Inset into the paragraph. I know this is not the best
13351         fix but we already use current_view in CutAndPaste so we will remove
13352         all of it's using at the same time.
13353
13354         * buffer.C (sgmlError): deactivated function till it is rewritten in
13355         the right mode, now it can create problems.
13356
13357         * paragraph.C (isLineSeparator): check if getInset returns != 0,
13358         before accessing it.
13359
13360 2002-03-14  Juergen Vigna  <jug@sad.it>
13361
13362         * undo_funcs.C (textHandleUndo): do the right thing when updating
13363         the inset after the undo/redo.
13364
13365         * text2.C (setCursor): just some testcode for #44 not ready yet.
13366
13367         * undo_funcs.C (textHandleUndo): set the next() and previous()
13368         pointers of the paragraph to 0 before deleting otherwise we have
13369         problems with the Paragraph::[destructor].
13370
13371         * text.C (breakParagraph): IMO we should ALWAYS force a real undo
13372         on a paragraph insertion.
13373
13374 2002-03-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13375
13376         * buffer.C (asciiParagraph): use += operator for char append to
13377         string.
13378
13379         * paragraph.C (getFontSettings): compare >= not just >
13380         (highestFontInRange): ditto
13381         (setFont): ditto
13382
13383 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13384
13385         * paragraph.C: change several algorithm to be more appripriate for
13386         the problem domain. This is lookip in FontList and in the InsetList.
13387
13388 2002-03-13  André Pönitz <poenitz@gmx.net>
13389
13390         * commandtags.h:
13391         * LyXAction.C: remove unused LFUN_MATH_MACROARG
13392
13393 2002-03-06  John Levon  <moz@compsoc.man.ac.uk>
13394
13395         * commandtags.h:
13396         * LyXAction.C:
13397         * lyxfunc.C:
13398         * BufferView_pimpl.C: remove unused LFUN_CORE, LFUN_TEXT_INSET
13399
13400 2002-03-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13401
13402         * Painter.C (display): anon helper function, adjust code for this
13403         change.
13404         (pixmap): remove function.
13405
13406         * Painter.h: remove private display variable.
13407
13408         * PainterBase.[Ch]: remove dummy[123] cruft, ws changes
13409
13410 2002-03-13  Angus Leeming  <a.leeming@ic.ac.uk>
13411
13412         * WorkArea.[Ch]: remove figinset_canvas cruft.
13413
13414 2002-03-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13415
13416         * lyxtextclass.C (operator): add one item cache optimization.
13417
13418         * bufferlist.h: doxy changes
13419
13420         * bufferlist.C: ws changes
13421
13422         * DepTable.[Ch] (ext_exist): place const in the right spot.
13423
13424         * BufferView_pimpl.C (resizeCurrentBuffer): further refine when to
13425         call resizeInsets.
13426         (workAreaExpose): call resizeInsets when the with BufferView changes.
13427         (Dispatch): adjust for protectedBlank removal
13428         (specialChar): call updateInset if the insert went ok.
13429
13430         * BufferView_pimpl.[Ch] (protectedBlank): remove func, use
13431         specialChar instead.
13432
13433         * BufferView2.C (ChangeInsets): remove warning add FIXME comment
13434
13435         * BufferView.h: doxy change
13436
13437         * Makefile.am (INCLUDES): remove @FRONTEND_INCLUDES@
13438
13439         * lyxtextclass.C (operator[]): remove non-const version
13440         (defaultLayout): remove non-const version
13441
13442 2002-03-12  Juergen Vigna  <jug@sad.it>
13443
13444         * BufferView_pimpl.C (resizeCurrentBuffer): only resize insets if we
13445         did resize the LyXText too.
13446
13447         * buffer.C (readLyXformat2): set layout information on newly allocated
13448         paragraphs.
13449
13450         * tabular.C (OldFormatRead): set layout information on the paragraph.
13451
13452 2002-03-12  Jos�Ab�io Oliveira Matos  <jamatos@novalis.fc.up.pt>
13453
13454         * buffer.C (simpleDocBookOnePar): fix empty definition case for now.
13455
13456 2002-03-11  Juergen Vigna  <jug@sad.it>
13457
13458         * BufferView_pimpl.C (cursorPrevious): remove old cruft which is
13459         plainly wrong.
13460         (resizeCurrentBuffer): force also the insets to resize themselfes.
13461         (moveCursorUpdate): fixed up for InsetText.
13462
13463 2002-03-08  Angus Leeming  <a.leeming@ic.ac.uk>
13464
13465         * commandtags.h:
13466         * LyXAction.C: add LFUN_TOOLTIPS_TOGGLE, "toggle-tooltips"
13467         * lyxfunc.C (getStatus(LFUN_TOOLTIPS_TOGGLE)): set flag based on
13468         value of Dialogs::tooltipsEnabled().
13469         (dispatch(LFUN_TOOLTIPS_TOGGLE)): emit signal Dialogs::toggleTooltips.
13470
13471 2002-03-08  Juergen Vigna  <jug@sad.it>
13472
13473         * BufferView_pimpl.C (updateInset): update inset inside inset also
13474         if it isn't inside theLockingInset().
13475
13476 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13477
13478         * buffer.C (asciiParagraph): redo some of the word and line length
13479         handling.
13480         (getLists): look for Caption instead of caption.
13481
13482 2002-03-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13483
13484         * buffer.C (Buffer): initialize niceFile to true
13485         (makeLaTeXFile):
13486         (makeLinuxDocFile):
13487         (makeDocBookFile): make sure niceFile is true on exit
13488
13489 2002-03-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13490
13491         * buffer.C (makeLaTeXFile): escape ~ in \input@path
13492
13493 2002-03-07  Angus Leeming  <a.leeming@ic.ac.uk>
13494
13495         * LyXSendto.C: remove.
13496         * LyXView.C (c-tor): clean-up Jürgen's #if 0 correctly.
13497         * lyx_gui.C: remove now-redundant comment.
13498         * ColorHandler.h: remove forward declaration of class WorkArea.
13499         * lyxfunc.C: remove #include "WorkArea.h".
13500
13501 2002-03-07  Juergen Vigna  <jug@sad.it>
13502
13503         * undo_funcs.C (textHandleUndo): fix problems when the paragraph
13504         got moved away with the DEPM and also set the inset_owner always
13505         right which before could have been omitted.
13506
13507 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13508
13509         * buffer.C (parseSingleLyXformat2Token): use default layout is the
13510         wanted layout is not found.
13511
13512 2002-03-07  Juergen Vigna  <jug@sad.it>
13513
13514         * CutAndPaste.C (cutSelection): another layout settings forgotten.
13515
13516 2002-03-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13517
13518         * paragraph.C (breakParagraph): use default layout not layout of
13519         prev paragraph.
13520         (Paragraph): clear ParagraphParameters.
13521
13522 2002-03-06  Juergen Vigna  <jug@sad.it>
13523
13524         * buffer.C (parseSingleLyXformat2Token): changed "%" to "p%" as
13525         otherwise it would not be a valid lenght. Fixed a special case in
13526         the minipage compatibility read where we end the document with a
13527         minipage.
13528
13529         * text2.C (deleteEmptyParagraphMechanism): check if old_cursor.par()
13530         was set as it could be 0 for InsetTexts first entry.
13531
13532 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13533
13534         * paragraph.C (writeFile): if layout is empty write out
13535         defaultLayoutName().
13536
13537         * buffer.C (parseSingleLyXformat2Token): if we have a buggy .lyx
13538         file without named layout we set layout to defaultLayoutName().
13539
13540 2002-03-06  Juergen Vigna  <jug@sad.it>
13541
13542         * CutAndPaste.C (copySelection): set layout for new paragraph.
13543
13544         * text.C (prepareToPrint): leave ERT inset left aligned
13545         (leftMargin): don't indent paragraphs inside ERT insets
13546
13547 2002-03-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13548
13549         * paragraph.C (breakParagraph): dont call clear do the work manually
13550
13551         * paragraph.[Ch] (clear): remove function
13552
13553 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13554
13555         * paragraph.C (Paragraph): dont call clear, the work has already
13556         been done.
13557
13558         * lyxtextclass.C (operator): assert if n is empty
13559
13560         * CutAndPaste.C (cutSelection): dont call Paragraph::clear, do the
13561         work manually instead.
13562
13563 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
13564
13565         * BufferView_pimpl.C: protect selectionLost against text == 0
13566
13567 2002-03-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13568
13569         * text.C (breakParagraph): fix a setting layout to '0' problem.
13570
13571 2002-03-05  Jos�Ab�io Oliveira Matos  <jamatos@novalis.fc.up.pt>
13572
13573         * buffer.C (makeLinuxDocFile, makeDocBookFile): take in account the
13574         final location of file, for the included files, and graphics.
13575
13576 2002-03-05  Juergen Vigna  <jug@sad.it>
13577
13578         * CutAndPaste.C (pasteSelection): fix the depth level on paste.
13579
13580 2002-03-04  Juergen Vigna  <jug@sad.it>
13581
13582         * lyx_cb.C (getContentsOfAsciiFile): new helper function.
13583
13584         * tabular.C (calculate_width_of_column_NMC): fixed to use also the
13585         last column of multicolumn cells.
13586         (SetWidthOfMulticolCell): recalculate NMC and real columns.
13587
13588 2002-03-04  Jose Abilio Oliveira Matos  <jamatos@novalis.fc.up.pt>
13589
13590         * exporter.C (Export): for linuxdoc and docbook the buffer is a nice
13591         file if it doesn't go to a temporary file.
13592
13593         * buffer.C (sgmlOpenTag):
13594         (sgmlCloseTag):  remove extra newline insertion.
13595
13596 2002-03-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13597
13598         * text.C (getRowNearY): comment out debug msg
13599
13600 2002-03-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13601
13602         * text2.C: first -> first_y
13603
13604         * text.C (getRowNearY): add some attemts at a possible
13605         optimization, not working.
13606
13607         * tabular.[Ch]: add BufferParams to several function so that newly
13608         created paragraph can be initialized to he default layotu for the
13609         buffers textclass.
13610
13611         * tabular-old.C (ReadOld): add buf->params to call of Init
13612
13613         * screen.C: rename text->first to text->first_y
13614
13615         * paragraph.C (breakParagraph): always set layout in the broken
13616         paragraph
13617
13618         * lyxtextclass.C (Read): remove lowercase
13619         (hasLayout): ditto
13620         (operator): ditto
13621         (delete_layout): ditto
13622
13623         * lyxtext.h: rename first -> first_y
13624
13625         * lyxlayout.C (Read): remove lowercase
13626         (name): ditto
13627         (setName): ditto
13628         (obsoleted_by): ditto
13629
13630         * bufferlist.C (newFile): set layout on first paragrpah of new buffers.
13631
13632         * buffer.C (insertErtContents): add params are to InsetERT
13633         (parseSingleLyXformat2Token): add code to check if a paragraphs
13634         layout really exist.
13635         (parseSingleLyXformat2Token): add params to several inset
13636         constructors
13637         (asciiParagraph): remove lowercase, do the layout comparisons with
13638         no_case
13639
13640         * BufferView_pimpl.C (cursorNext): first -> first_y
13641         (resizeCurrentBuffer): first -> first_y
13642         (updateScrollbar): first -> first_y
13643         (scrollCB): first -> first_y
13644         (workAreaMotionNotify): first -> first_y
13645         (workAreaButtonPress): first -> first_y
13646         (checkInsetHit): first -> first_y
13647         (cursorPrevious): first -> first_y
13648         (cursorNext): first -> first_y
13649         (Dispatch): add buffer_->params to severl inset contructors
13650
13651 2002-03-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
13652
13653         * lyxlayout.C (Read): remove some debug info that I forgot.
13654
13655         * buffer.C (makeLaTeXFile): fix calling of LaTeXFeatures, and
13656         clean up the code slightly.
13657         (makeLinuxDocFile): ditto
13658         (makeDocBookFile): ditto
13659
13660         * text2.C: layout as string
13661
13662         * text.C: layout as string
13663
13664         * paragraph_pimpl.C: layout as string
13665
13666         * paragraph.[Ch]: layout as string
13667
13668         * lyxtextclasslist.[Ch]: layout as string
13669
13670         * lyxtextclass.[Ch]: layout as string
13671
13672         * lyxtext.h: layout as string
13673
13674         * lyxlayout.[Ch]: layout as string
13675
13676         * lyx_cb.C: layout as string
13677
13678         * bufferview_funcs.C: layout as string
13679
13680         * bufferparams.C: layout as string
13681
13682         * buffer.C: layout as string
13683
13684         * LyXView.[Ch]: layout as string
13685
13686         * LaTeXFeatures.[Ch]: layout as string
13687
13688         * CutAndPaste.C (SwitchLayoutsBetweenClasses): layout as string
13689
13690         * BufferView_pimpl.C: change current_layout to string, remove
13691         lyx::layout_type.
13692         (Dispatch):
13693         (smartQuote):
13694         (insertInset):
13695         (workAreaButtonRelease): layout as string
13696
13697         * BufferView2.C (unlockInset): adjust
13698
13699         * vspace.C (asLatexCommand): use an explict temp variable.
13700
13701 2002-03-01  John Levon  <moz@compsoc.man.ac.uk>
13702
13703         * Makefile.am: use FRONTEND_*
13704
13705 2002-03-01  Juergen Vigna  <jug@sad.it>
13706
13707         * tabular.C (SetWidthOfMulticolCell): changed to something better
13708         I hope but still work in progress.
13709         (recalculateMulticolumnsOfColumn): renamed function from
13710         recalculateMulticolCells as it is more appropriate now.
13711         (SetWidthOfCell): calculate multicols better.
13712
13713 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13714
13715         * minibuffer.C (MiniBuffer): reset timout to 6000, as it was before.
13716
13717         * lyxfunc.C (processKeySym): print sequence also if it is
13718         `deleted' (complete)
13719
13720         * kbsequence.C (print): print sequence even if it is deleted
13721         (complete would be a better word, actually).
13722
13723         * lyxfunc.C (dispatch): print complete options after a prefix key
13724
13725         * vspace.C (asLatexCommand): rewrite in a slightly different form.
13726
13727 2002-03-01  Martin Vermeer  <martin.vermeer@hut.fi>
13728
13729         * text2.C (setCharFont): eliminate setCharFont code duplication.
13730
13731 2002-03-01  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13732
13733         * BufferView_pimpl.C (Dispatch): remove bogus handling of
13734         LFUN_TABULAR_FEATURE (bug #177)
13735
13736 2002-02-29 ;-)  Angus Leeming  <a.leeming@ic.ac.uk>
13737
13738         * Makefile.am: remove figure.h
13739
13740 2002-02-28  Angus Leeming  <a.leeming@ic.ac.uk>
13741
13742         * Bufferview_pimpl.C:
13743         * CutAndPasteC:
13744         * LaTeX.C:
13745         * LyXSendto.C:
13746         * buffer.C:
13747         * bufferlist.C:
13748         * converter.C:
13749         * language.C:
13750         * lyxfunc.C:
13751         * lyxvc.C:
13752         * paragraph.C:
13753         * text.C:
13754         * text2.C: remove #include "lyx_gui_misc.h".
13755
13756         * LaTeX.C: added #include <cstdio>
13757
13758 2002-02-28  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13759
13760         * paragraph.C (getMaxDepthAfter): new method. The maximal depth
13761         that the paragraph following this one can have.
13762
13763         * text2.C (incDepth): use Paragraph::getMaxDepthAfter
13764
13765         * vspace.C (asLatexCommand): fix bogus gcc warning
13766
13767         * Makefile.am (lyx_SOURCES): remove vms_defines.h
13768
13769 2002-02-27  Martin Vermeer  <martin.vermeer@hut.fi>
13770
13771         * text2.C (setLayout): get rid of redundant code
13772
13773 2002-02-26  Martin Vermeer  <martin.vermeer@hut.fi>
13774
13775         * text2.C (incDepth): make sure depth cannot be increased beyond
13776         reasonable values.
13777
13778 2002-02-20  Angus Leeming  <a.leeming@ic.ac.uk>
13779
13780         * lyxfunc.C (dispatch): act on LFUN_FORKS_SHOW and LFUN_FORKS_KILL.
13781         also call grfx::GCache::changeDisplay if the graphicsbg color changes.
13782
13783         * PainterBase.h (image):
13784         * Painter.[Ch] (image): now accepts a grfx::GImage const & rather than
13785         a LyXImage const *.
13786
13787 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
13788
13789         * BufferView.C:
13790         * BufferView.h:
13791         * BufferView_pimpl.C:
13792         * BufferView_pimpl.h:
13793         * LaTeXFeatures.C:
13794         * LyXAction.C:
13795         * LyXView.C:
13796         * Makefile.am:
13797         * UpdateList.h:
13798         * UpdateList.C:
13799         * buffer.C:
13800         * figure.h:
13801         * figureForm.C:
13802         * figureForm.h:
13803         * figure_form.C:
13804         * figure_form.h:
13805         * lyx_cb.C:
13806         * lyx_gui.C:
13807         * lyx_gui_misc.C:
13808         * lyxfunc.C:
13809         * sp_base.h:
13810         * sp_ispell.h:
13811         * sp_pspell.h:
13812         * sp_spell.C: remove fig inset, and the crap house of
13813           cards that follows it
13814
13815 2002-02-26  John Levon  <moz@compsoc.man.ac.uk>
13816
13817         * Makefile.am:
13818         * lyxserver.C:
13819         * os2_defines.h:
13820         * os2_errortable.h:
13821         * nt_defines.h: move .h into support/
13822
13823         * vms_defines.h: remove
13824
13825         * WorkArea.C: add space in debug output
13826
13827         * text2.C:
13828         * paragraph.C:
13829         * buffer.C: add WITH_WARNINGS
13830
13831         * vc-backend.h:
13832         * vc-backend.C:
13833         * bufferlist.C: s/retrive/retrieve/, add docs
13834
13835         * vspace.h:
13836         * vspace.C:
13837         * kbmap.h:
13838         * lyxlength.h:
13839         * lyxgluelength.h:
13840         * length_common.h:
13841         * chset.h:
13842         * chset.C: add docs
13843
13844         * lyxgui.C: add ID to X error handler
13845
13846         * lyxtestclass.c: fix typo
13847
13848 2002-02-26  Juergen Vigna  <jug@sad.it>
13849
13850         * tabular_funcs.C (write_attribute): changed so that some default
13851         attributes are not written at all.
13852         (getTokenValue): set default values before trying to read the
13853         value so we have the return value always set as default if we don't
13854         find the token we search for.
13855
13856         * tabular.C (Write): write bools as bools not as strings!
13857
13858 2002-02-22  Juergen Vigna  <jug@sad.it>
13859
13860         * BufferView_pimpl.C (workAreaButtonPress): call edit() before calling
13861         insetButtonPress for HIGHLY_EDITABLE_INSETS seems saner (fix #250).
13862
13863         * text.C (leftMargin): don't add an indent for paragraphs inside
13864         tabular cells (fix #208).
13865
13866 2002-02-21  José Matos  <jamatos@fep.up.pt>
13867
13868         * tabular.C (docBook): fixed support for long tables.
13869
13870 2002-02-20  Juergen Vigna  <jug@sad.it>
13871
13872         * text2.C (getFont): get the drawing font of the Inset if this
13873         paragraph is inside an inset (only important for InsetERT for now).
13874
13875         * buffer.C (insertErtContents): use new lanugage params in ERT
13876         constructor.
13877
13878         * CutAndPaste.C: commenting out seemingly uneeded code.
13879
13880 2002-02-19  Allan Rae  <rae@lyx.org>
13881
13882         * BufferView2.C (removeAutoInsets): fix remaining freed memory read.
13883         Iterators might be simple to use but they also get invalidated.
13884         (removeAutoInsets): renamed saved cursor tracking variables and added
13885         some comments to clarify what everything does.
13886
13887 2002-02-18  Angus Leeming  <a.leeming@ic.ac.uk>
13888
13889         * Chktex.C:
13890         * LaTeX.C:
13891         * LyXSendto.C:
13892         * converter.C:
13893         * lyx_cb.C:
13894         * vc-backend.C: Changes due to the renaming of support/syscall.[Ch] as
13895         support/systemcall.[Ch] and of class Systemcalls as class SystemCall.
13896
13897         * lyxfunc.C:
13898         * vc-backend.h: remove #include "support/syscall.h"
13899
13900         * LaTeX.C:
13901         * LyXSendto.C:
13902         * converter.C: rearrange #includes in Lars' approved fashion.
13903
13904         * LyXView.[Ch]: make autosave_timeout a pointer to Timeout. Can thus
13905         forward declare class Timeout in the header file.
13906
13907         * XFormsView.C: changes due to the above.
13908
13909         * minibuffer.[Ch]: make timer and stored_timer pointers to Timeout,
13910         similar to LyXView.
13911
13912         * commandtags.h: add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to the enum.
13913         * LyXAction.C (init): add LFUN_FORKS_SHOW and LFUN_FORKS_KILL to items[]
13914
13915 2002-02-18  José Matos  <jamatos@fep.up.pt>
13916
13917         * buffer.C (simpleDocBookOnePar): if paragraph style is CDATA escapes
13918         insets contents.
13919
13920 2002-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
13921
13922         * a lot of small ws changes
13923         * add a lot of using std::XXX
13924         * use std construcs some places where approp.
13925         * use some exisint stuff from lyxfunctional where approp.
13926         * Make file changes to use partial linking (lets test this now...)
13927
13928 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
13929
13930         * Chktex.C:
13931         * buffer.C:
13932         remove #include "support/syscontr.h" as it's redundant. Always has been.
13933
13934         * Chktex.C:
13935         * LaTeX.C:
13936         * LyXSendto.C:
13937         * converter.C:
13938         * lyx_cb.C:
13939         * vc-backend.C:
13940         change Systemcalls::System to Systemcalls::Wait and
13941         change Systemcalls::SystemDontWait to Systemcalls::DontWait.
13942         No change of functionality, just reflects the stripped down Systemcalls
13943         class.
13944
13945 2002-02-16  Angus Leeming  <a.leeming@ic.ac.uk>
13946
13947         * debug.[Ch]: add a GRAPHICS type to the enum.
13948
13949 2002-02-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13950
13951         * text.C (nextBreakPoint): use Paragraph::isLineSeparator
13952
13953         * paragraph.C (isLineSeparator): call Inset::isLineSeparator if
13954         there is an inset.
13955
13956 2002-02-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13957
13958         * lyxfunc.C (getStatus): change the rules for LFUN_INSET_TOGGLE to
13959         match the changes below.
13960
13961         * text2.C (toggleInset): if there is not editable inset at cursor
13962         position, try to see if cursor is _inside_ a collapsable inset
13963         and close it.
13964
13965 2002-02-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13966
13967         * lyxfunc.C (getStatus): handle LFUN_SWITCHBUFFER so that the
13968         document menu has a nice checkbox
13969
13970 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13971
13972         * lyxlength.C (asLatexString): change PW to output as percent of
13973         \textwidth.
13974
13975         * lengthcommon.C: change '%' to 't%'
13976
13977         * lyxfunc.C (dispatch): a few comments from Martin
13978
13979 2002-02-06  John Levon  <moz@compsoc.man.ac.uk>
13980
13981         * WorkArea.h:
13982         * WorkArea.C:
13983         * BufferView_pimpl.h:
13984         * BufferView_pimpl.C: clear our selection when X tells us we've lost
13985           the X selection.
13986
13987 2002-02-07  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13988
13989         * vspace.C (inPixels): fix compiler warning
13990
13991 2002-02-06  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
13992
13993         * lyxfunc.C (getStatus): fix status message for disabled commands.
13994
13995 2002-02-01  John Levon  <moz@compsoc.man.ac.uk>
13996
13997         * BufferView_pimpl.C: fix crash on close buffer
13998         during selection (#227)
13999
14000 2002-01-27  Herbert Voss  <voss@lyx.org>
14001
14002         * buffer.C: link old Figure to new graphic inset
14003
14004 2002-01-26  Dekel Tsur  <dekelts@tau.ac.il>
14005
14006         * FontLoader.C (getFontinfo): Change the latex font names in order
14007         to match the names of type1inst.
14008
14009 2002-01-21  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14010
14011         * WorkArea.C (WorkArea): initialize the scrollbar bounds.
14012
14013         * DepTable.C (sumchange): do not evaluate end() on every iteratrion.
14014         (extchanged): ditto
14015         (ext_exist): ditto
14016         (remove_files_with_extension): ditto
14017         (remove_file): ditto
14018         (write): ditto
14019
14020         * BufferView_pimpl.C (updateScrollbar): do the right thing if the
14021         document is smaller than the work area height. Do not initialize
14022         static variables to 0.
14023
14024 2002-01-20  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14025
14026         * lyx_gui.C (init): give the toolbar tooltips a normal font.
14027
14028         * lyxfunc.C (getStatus): handle LFUN_LAYOUT like
14029         LFUN_LAYOUT_PARAGRAPHS.
14030
14031         * tabular.C (GetCellFromInset): new method. Finds an inset in a
14032         tabular. It is possible to provide a possible cell, which will
14033         typically be the actcell from the corresponding insettabular
14034
14035         * lyxfunc.C (getStatus): small cleanup; disable
14036         LFUN_LAYOUT_PARAGRAPHS in insets where forceDefaultParagraphs is
14037         true
14038
14039 2002-01-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14040
14041         * tabular.C (Validate): remove broken optimization (fixes bug #201)
14042
14043         * paragraph.C (startTeXParParams):
14044         (endTeXParParams): new methods. The LaTeX code to
14045         start/end paragraph formatting
14046         (simpleTeXOnePar): call startTeXParParams also when paragraph is
14047         empty (fixes bug #200)
14048
14049         * vspace.C (inPixels): adapt to the change below
14050         (inPixels): [later] more cleanups (remove unused variables)
14051
14052         * lyxlength.C (inPixels): change to use a width and a height as
14053         parameter.
14054
14055 2002-01-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14056
14057         * lyxlength.C (asLatexString): \pagewidth is not a LaTeX macro.
14058         Replaced with \paperwidth
14059
14060         * DepTable.C (insert): add std:: qualifier
14061
14062 2002-01-18  Allan Rae  <rae@lyx.org>
14063
14064         * text2.C (removeRow): add comment.  Should other refresh_?? vars be
14065         updated also?
14066
14067         * text.C (drawInset): Turned out I didn't know enough about how
14068         rebreaking worked.  This fixes most of the redraw problems.  I see
14069         an occasional cursor trail when a line is broken now and the cursor
14070         placement can seem out by a few pixels also after a rebreak.
14071
14072 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14073
14074         * buffer.C (parseSingleLyXformat2Token): update because minipage
14075         width is now a LyXLength
14076
14077         * lyxlength.C (inPixels): new method, extracted from VSpace::inPixels
14078
14079         * BufferView_pimpl.C (smartQuote): fix insertion of quote inset in
14080         math insets
14081
14082 2002-01-17  Juergen Vigna  <jug@sad.it>
14083
14084         * lyxfunc.C (dispatch): fixed PARAGRAPH_GOTO
14085
14086         * BufferView2.C (lockInset): call edit() so that theLockingInset()
14087         is set correctly and the inset is updated correctly.
14088
14089 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14090
14091         * CutAndPaste.C (pasteSelection): move the setInsetOwner call at
14092         the beginning of the loop.
14093
14094 2002-01-17  John Levon  <moz@compsoc.man.ac.uk>
14095
14096         * lyxrc.C: improve help for use_scalable_fonts
14097
14098 2002-01-17  Allan Rae  <rae@lyx.org>
14099
14100         * lyx_cb.C (ShowMessage): make sure we have a user and an owner.
14101
14102 2002-01-17  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14103
14104         * CutAndPaste.C (pasteSelection): when pasting multiple paragraph,
14105         make sure to set their inset_owner to the right value (bug #171)
14106
14107 2001-12-12  Ben Stanley  <bds02@uow.edu.au>
14108
14109         * DepTable.h
14110         * DepTable.C: Implement mtime checking to reduce time spent doing
14111         CRCs.
14112
14113 2002-01-16  Juergen Vigna  <jug@sad.it>
14114
14115         * tabular.C (GetAdditionalHeight): one of error fixed.
14116
14117         * lyxrc.C (output): small fix in writing use_pspell.
14118
14119 2002-01-16  Angus Leeming  <a.leeming@ic.ac.uk>
14120
14121         * sp_base.h: #include LString.h
14122
14123 2002-01-16  Allan Rae  <rae@lyx.org>
14124
14125         * text2.C (removeRow): refresh_row needs a valid row.  Or does it?
14126         Can someone check this please?
14127
14128         * text.C (drawInset): It was possible that p.row would be removed by
14129         breakAgainOneRow upsetting a few other settings.  There may be another
14130         small tweak possible by setting need_break_row = 0 when p.row has been
14131         removed but I don't know enough about the logic here.
14132
14133 2002-01-15  Allan Rae  <rae@lyx.org>
14134
14135         * text.C (insertChar): removed conditional truism.
14136
14137         * BufferView2.C (removeAutoInsets): More tweaks.
14138         cur_par_prev could be a stray pointer.  Check for trailing empty line
14139         in case last line was cur_par and only had an error inset on it.
14140
14141 2002-01-14  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14142
14143         * lyx_cb.C (MenuWrite): buffer->fileName is guaranteed to be
14144         absolute
14145
14146         * vc-backend.C (most methods):
14147         * exporter.C (Export):
14148         * converter.C (convert):
14149         (runLaTeX):
14150         * LyXSendto.C (SendtoApplyCB):
14151         * lyxfunc.C (dispatch):
14152         (menuNew):
14153         (open):
14154         (doImport):
14155         * lyx_cb.C (AutoSave):
14156         (InsertAsciiFile):
14157         * BufferView_pimpl.C (MenuInsertLyXFile):
14158         * buffer.C (runChktex): use Buffer::filePath().
14159
14160         * buffer.h: rename filename to filename_; rename filepath to
14161         filepath_ and make it private
14162         (filePath): new method
14163
14164         * buffer.C (writeFile): use fileName()
14165         (getLatexName):
14166
14167         * lyx_main.C (init): fix starting  of LyX when the binary is a
14168         link from so,ewhere else.
14169
14170         * minibuffer.C: include <cctype> for isprint
14171
14172 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
14173
14174         * buffer.C (parseSingleLyXformat2Token): changes associated with the
14175         change of InsetMinipage::width to InsetMinipage::pageWidth to avoid the
14176         name clash with InsetCollapsable's width function.
14177
14178 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14179
14180         * lastfiles.C: include <iterator>
14181
14182 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
14183
14184         * BufferView2.C (ChangeRefsIfUnique): use lyx::count rather than
14185         std::count.
14186
14187         * buffer.C (makeLaTeXFile): ditto.
14188         Also make loop operation more transparent.
14189
14190 2002-01-14  Angus Leeming  <a.leeming@ic.ac.uk>
14191
14192         * ToolbarDefaults.C: remove trailing comma closing namespace.
14193
14194         * WorkArea.h: remove WorkArea:: from declaration of event_cb.
14195
14196         * lyxfunc.[Ch]: clean-up declaration of verboseDispatch functions
14197         as in WorkArea.
14198
14199         * trans.C (Load): comment out unused variable, allowed.
14200
14201 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
14202
14203         * minibuffer.[Ch] (append_char): new method to recieve input from the
14204         drop-down completion browser. If a key was pressed, then recieve this
14205         char and append it to the existing string.
14206         (peek_event): modify the positioning data passed to the completion
14207         browser so that it can be placed above the minibuffer rather than below.
14208 2002-01-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14209
14210         * LyXAction.C (init): alloe error-next for readonly documents.
14211
14212         * BufferView2.C (ChangeRefsIfUnique): use standard version of
14213         count.
14214
14215 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14216
14217         * bufferlist.C (readFile): create the buffer _after_ checking that
14218         the file exists.
14219
14220         * lyxfunc.C (verboseDispatch): fix handling of arguments
14221
14222         * lyxrc.C (setDefaults): do not initialize document_path to $HOME.
14223
14224         * lyxrc.C: use string::erase() instead of initializing to "".
14225
14226
14227 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
14228
14229         * BufferView_pimpl.h:
14230         * BufferView_pimpl.C:
14231         * WorkArea.h:
14232         * WorkArea.C:
14233         * text2.C: tell X when we have made a selection for copying
14234
14235 2002-01-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14236
14237         * BufferView_pimpl.C (MenuInsertLyXFile):
14238         * lyxfunc.C (menuNew):
14239         (open):
14240         (doImport): add shortcuts to directory buttons
14241
14242         * BufferView_pimpl.C (workAreaButtonRelease): remove dead code (to
14243         open a float)
14244
14245         * lyxfunc.C (setStatusMessage):
14246         (getStatusMessage): new methods
14247         (getStatus):use setStatusMessage instead of setErrorMessage
14248         (dispatch): when function is disabled, set error message here
14249         [instead of in getStatus previously]
14250
14251         * BufferView_pimpl.C (workAreaButtonRelease): update
14252         toolbar/menubar here too.
14253
14254 2002-01-13  Allan Rae  <rae@lyx.org>
14255
14256         * BufferView2.C (removeAutoInsets): finished off earlier fix.
14257         Now seems indestructible.  Remaining task is to audit all other
14258         code affected by deleteEmptyParagraphMechanism.  One small quirk
14259         left is that an empty document with an error in the preamble can
14260         be made to report an error but no error box appears.  I don't know
14261         where it goes.
14262         (removeAutoInsets): Improved comments.
14263
14264 2002-01-13  John Levon  <moz@compsoc.man.ac.uk>
14265
14266         * Thesaurus.h:
14267         * Thesaurus.C: update for Aiksaurus 0.14
14268
14269 2002-01-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14270
14271         * text2.C (firstParagraph): removed member function, all uses
14272         replaces with ownerParagraph
14273         (redoParagraphs): here
14274         (updateInset): here
14275         (toggleAppendix): here
14276         * BufferView2.C (insertErrors): here
14277         (setCursorFromRow): here
14278
14279 2002-01-13  Allan Rae  <rae@lyx.org>
14280
14281         * BufferView2.C (removeAutoInsets): ensure we have a valid cursor if
14282         the old cursor is now invalid due to deleteEmptyParagraphMechanism.
14283         There is still a way to segfault this although you may have to do this
14284         multiple times: Have an InsetERT with an unknown command in it.
14285         View->DVI, move cursor between Error box and InsetERT and hit <Enter>,
14286         <down-arrow>, <Enter> again, View->DVI, BANG!
14287
14288         * text2.C (setCursor):
14289         (deleteEmptyParagraphMechanism):
14290         * lyxtext.h (setCursor):
14291         (deleteEmptyParagraphMechanism): return true if the paragraph was deleted.
14292         Making use of the return value may help fix other bugs.
14293
14294 2002-01-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14295
14296         * lyxfunc.C (dispatch): update toolbar/menubar after dispatching.
14297
14298         * LyXView.C (updateMenubar): call MenuBar::update here
14299         (updateToolbar): but not here
14300         (showState): do not update toolbar/menubar
14301
14302         * LyXAction.[Ch]: move isPseudoAction to the C file, since nobody
14303         should need to care about that.
14304
14305         * lyxfunc.C (verboseDispatch): simplify a bit
14306         (getStatus): have a version which takes a pseudoaction, and
14307         another which requires a (kb_action,string).
14308
14309         * LyXAction.C (retrieveActionArg): make it work also when action
14310         is not a pseudo-action.
14311         (getActionName): simplify a bit
14312         (helpText):
14313
14314 2002-01-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14315
14316         * lyxfunc.C (verboseDispatch): new families of methods with
14317         several ways to specify a command and a bool to indicate whether
14318         the command name and shortcut should be displayed in minibuffer
14319         (eventually, we could extend that to a finer bitmask like
14320         SHORTCUT|CMDNAME|CMDRESULT, or whatever).
14321         (dispatch): the pristine dispatch command which just, well,
14322         dispatchs! Note it still sets its result to minibuffer; I'm not
14323         sure we want that.
14324
14325         * lyxfunc.h: remove setHintMessage
14326
14327         * vc-backend.C: use LFUN_MENURELOAD instead of "buffer-reload"
14328
14329 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14330
14331         * BufferView_pimpl.C (specialChar): delete new inset if we have
14332         not been able to insert it.
14333
14334         * kbmap.C: revert to using int instead of kb_action, since all we
14335         are dealing with is pseudo-actions.
14336
14337         * LyXAction.C (searchActionArg): change to return int instead of
14338         kb_action, since the result is a pseudoaction.
14339
14340 2002-01-12  Dekel Tsur  <dekelts@tau.ac.il>
14341
14342         * buffer.C (insertErtContents): Fix (partially) the font bug.
14343
14344 2002-01-11  Angus Leeming  <a.leeming@ic.ac.uk>
14345
14346         * BufferView2.C (ChangeRefsIfUnique): use the HP version of std::count
14347         as the other one is broken on my machine!
14348
14349 2002-01-10  Martin Vermeer  <martin.vermeer@hut.fi>
14350
14351         * commandtags.h:
14352         * LyXAction.C: two new LFUNS, LFUN_FRAK and LFUN_ITAL.
14353
14354 2002-01-10  Angus Leeming  <a.leeming@ic.ac.uk>
14355
14356         * lyxrc.[Ch]: change names and descriptions of popup font variables to
14357         reflect their actual use. Provide compatibility code for older lyxrc
14358         files.
14359
14360         * lyx_gui.C (init): revoke change of 2002-01-07 of popup font style to
14361         FL_NORMAL_STYLE.
14362         change names of popup font variables in line with the changes to lyxrc.C
14363
14364 2002-01-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14365
14366         * buffer.C (asciiParagraph): avoid outputing a word twice after
14367         an inset.
14368
14369         * lyxrc.C (getDescription): document that document_path and
14370         template_path can be empty.
14371
14372 2002-01-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14373
14374         * LaTeXFeatures.C (getMacros):
14375         * buffer.C (validate): rename feature "amsstyle" to "amsmath"
14376
14377         * buffer.C (makeLaTeXFile): remove test for "amsstyle" from here.
14378
14379         * LaTeXFeatures.C (useFloat): require "float" here instead of in
14380         getPackages.
14381         (getPackages): rename feature "floats" to "float". Use an array to
14382         iterate over 'simple' features (i.e. just a \usepackage). Add
14383         handling of "amsmath" (renamed from "amsstyle").
14384
14385 2001-12-29  Michael A. Koziarski  <michael@koziarski.org>
14386
14387         * LaTeXFeatures.C (require): Prevent duplicate entries in the
14388         features list.
14389
14390 2002-01-08  Angus Leeming  <a.leeming@ic.ac.uk>
14391
14392         * FuncStatus.C: small compile fix for DEC cxx. Doesn't like
14393         FuncStaus::FuncStatus & FuncStaus::some_method().
14394
14395 2002-01-08  Martin Vermeer  <martin.vermeer@hut.fi>
14396
14397         * FuncStatus.[Ch]: new files. This is a rewrite as a proper class
14398         of the func_satus stuff. Edited and massaged in various ways by
14399         JMarc.
14400
14401         * lyxfunc.C (getStatus): use FuncStatus
14402
14403 2002-01-08  Juergen Vigna  <jug@sad.it>
14404
14405         * text.C (nextBreakPoint): use function Inset::isChar().
14406
14407         * paragraph.C (TeXOnePar): use function
14408         Inset::forceDefaultParagraphs.
14409
14410         * buffer.C (latexParagraphs): use function
14411         Inset::forceDefaultParagraphs.
14412
14413 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
14414
14415         * lyx_gui.C (init): set the style of the menu popups to
14416         FL_BOLD_STYLE, thereby fixing bugzilla bug #32.
14417
14418 2002-01-07  Juergen Vigna  <jug@sad.it>
14419
14420         * text.C (setHeightOfRow): small fix
14421         (prepareToPrint): don't look at alignment if we don't have the place
14422         for doing it.
14423
14424 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
14425
14426         * box.C: New file. Move the Box methods and functions out of box.h,
14427         following Lars' suggestion.
14428
14429 2002-01-07  Angus Leeming  <a.leeming@ic.ac.uk>
14430
14431         * box.h: #include "support/LOstream.h", needed for inlined function.
14432
14433         * lyxtextclass.C:
14434         * lyxtextclasslist.C: added some using std declarations.
14435
14436 2002-01-06  John Levon  <moz@compsoc.man.ac.uk>
14437
14438         * box.h: make signed dimensions to allow insets wider than
14439           the screen (bug #162)
14440
14441         * BufferView_pimpl.C: add some insetHit debug
14442
14443 2002-01-05  John Levon  <moz@compsoc.man.ac.uk>
14444
14445         * vc-backend.C: add FIXME
14446
14447 2002-01-03  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14448
14449         * lyxfunc.C (getStatus): enable code for showing math font status
14450         in toolbar/menu.
14451
14452 2002-01-07  Juergen Vigna  <jug@sad.it>
14453
14454         * text.C (nextBreakPoint): removed debug output not needed anymore.
14455
14456 2002-01-06  Juergen Vigna  <jug@sad.it>
14457
14458         * text.C (nextBreakPoint): fixed up this function we had this bug
14459         since ever but now hopefully we break row better.
14460         (insertChar): we have to check if an inset is the next char as it
14461         could now happen that a large inset is causing a break.
14462
14463 2002-01-05  Juergen Vigna  <jug@sad.it>
14464
14465         * BufferView2.C (showLockedInsetCursor): don't draw the inset cursor
14466         if it doesn't like to be drawed.
14467
14468 2002-01-04  Juergen Vigna  <jug@sad.it>
14469
14470         * BufferView2.C (lockInset): forgot to set a cursor.
14471
14472         * lyxfunc.C (dispatch): add a finishUndo() in LFUN_ESCAPE.
14473
14474 2002-01-03  Martin Vermeer  <martin.vermeer@hut.fi>
14475
14476         * FormMathsPanel.C:
14477         * FormMathsPanel.h
14478         * MathsSymbols.C:
14479         * form_maths_panel.C:
14480         * form_maths_panel.h:
14481         * form_maths_panel.fd: implemented sub- and super- buttons in math
14482         panel.
14483
14484         * lyx_main.C: Revised hardwired bindings to allow original _ and ^
14485         (or ^ space) to be used as in TeX (req'd by Andr�.
14486
14487         * lyxfunc.C: Allow ^ and _ again to be used both as
14488         super/subscript (mathed) and as themselves (in text).
14489
14490 2002-01-03  Allan Rae  <rae@lyx.org>
14491
14492         * LyXView.C (updateWindowTitle): Setup a short icon title of either
14493         "LyX" or the filename of the current buffer if it has one.  This is a
14494         modified form of John Levon's patch.
14495
14496         * XFormsView.C (setWindowTitle): also set icon title.
14497
14498         * LyXView.h (setWindowTitle): signature changed.
14499         * XFormsView.h (setWindowTitle): ditto.
14500
14501 2002-01-02  Juergen Vigna  <jug@sad.it>
14502
14503         * tabular.C (AppendColumn): hopefully fixed this memory access problem.
14504
14505 2001-12-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14506
14507         * screen.C (topCursorVisible): introduce a temp var for
14508         text->cursor.row(), handle the case where this row is null. (kindo
14509         hachish)
14510
14511         * text2.C (setCursor): add a couple of asserts.
14512
14513         * paragraph.h (inset_iterator): add -> operator
14514
14515         * paragraph.[Ch] (autoDeleteInsets): remove member function
14516
14517         * BufferView2.C (removeAutoInsets): rewrite to handle the old
14518         cursor pos correctly and handle inset deletion by itself.
14519         (insertErrors): move iterator declaration out of for expression
14520
14521         * lyxtextclass.C: add <algorithm>
14522
14523         * Makefile.am: added the new files to sources, removed layout.C
14524
14525         * layout.C: removed file
14526
14527         * layout.h: remove LYX_DUMMY_LAYOUT
14528
14529         * lyxtextclasslist.C (NumberOfLayout): do not special case dummy
14530         layout.
14531
14532         * lyxlayout.[Ch]:
14533         * lyxtextclass.[Ch]:
14534         * lyxtextclasslist.[Ch]: new files
14535
14536         * include order changes to a lot of files, also changes because of
14537         the six new files.
14538
14539 2001-12-27  Juergen Vigna  <jug@sad.it>
14540
14541         * buffer.C (asciiParagraph): more fixes.
14542
14543         * tabular.C (ascii): make ascii export support export of only the
14544         data separated by a column-delimiter.
14545         (ascii): better support for ascii export.
14546
14547         * buffer.C (asciiParagraph): rewrote to hopefully work as expected!
14548
14549 2001-12-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
14550
14551         * tabular_funcs.C: use a "using std::getline" instead of the
14552         previous fix from Angus (necessary for cxx + lyxstring)
14553
14554 2001-12-24  Juergen Vigna  <jug@sad.it>
14555
14556         * BufferView_pimpl.C (tripleClick): fixed for InsetText.
14557
14558         * buffer.C (parseSingleLyXformat2Token): fixed 2 compatibility read
14559         problems. First check a minipage also if we have some ert-contents
14560         (not only on par->size(), second set the right depth of the paragraph
14561         on the relink to the root-paragraph-list!
14562
14563         * undo_funcs.C (textHandleUndo): fixed a stupid earlier wrong fix
14564         which then did not anymore update the main paragraphs on undo/redo!
14565
14566 2001-12-21  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14567
14568         * lyxfunc.C (getStatus): use func_status::toggle to simplify the
14569         code. Support all font-changing funcs (even those which are not in
14570         menu currently). Support for reporting font settings in
14571         mathed (disabled until Andre provides a function on mathed's side).
14572
14573         * func_status.h (toggle): small helper function to set toggle
14574         state on a flag.
14575
14576 2001-12-21  Angus Leeming  <a.leeming@ic.ac.uk>
14577
14578         * tabular_funcs.C: getline -> std::getline
14579
14580 2001-12-21  Juergen Vigna  <jug@sad.it>
14581
14582         * undo_funcs.C (textHandleUndo): fixed a case where tmppar3 is
14583         accessed and could be 0 (I couldn't generate this but it seems
14584         Michael could!).
14585
14586 2001-12-20  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14587
14588         * tabular_funcs.C: add LIstream.h, move write_attribute to..
14589         * tabular_funcs.h: here and include iosfwd
14590
14591 2001-12-20  Juergen Vigna  <jug@sad.it>
14592
14593         * undo_funcs.C (textHandleUndo): fixed crash when undo_cursor not
14594         inside inset but undo_par was.
14595
14596 2001-12-19  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14597
14598         * Thesaurus.C: always include <config.h> in sources.
14599
14600         * Painter.h:
14601         * lyxlookup.h:
14602         * box.h: do not include <config.h> in header files
14603
14604         * text.C (paintLastRow): remove unused variable
14605
14606         * text.C (transformChar):
14607         (insertChar):
14608         * tabular-old.C (getTokenValue): use IsDigit instead of isdigit.
14609
14610         * Painter.C (text):
14611         * font.C (width): rewrite to use uppercase() instead of
14612         islower/toupper.
14613
14614         * lyxfind.C (IsStringInText): use uppercase instead of toupper.
14615
14616 2001-12-12  John Levon  <moz@compsoc.man.ac.uk>
14617
14618         * lyxfind.C: clean up of find failure position change
14619
14620 2001-12-20  Juergen Vigna  <jug@sad.it>
14621
14622         * Makefile.am (lyx_SOURCES): added tabular_funcs.[hC].
14623
14624         * tabular.C (isValidRow): added to check if we're in a LT-h/f row.
14625         (TeXRow): added to LaTeX a single tabular row.
14626         (TeXLongtableHeaderFooter): added to output LT-h/f data.
14627         (Latex): simplified and finally good LT-h/f support.
14628         (various_functions): just small adaptions for LT-h/f support.
14629
14630         * tabular_funcs.[hC]: added and moved here all not classfunctions
14631         of LyXTabular.
14632
14633 2001-12-19  Juergen Vigna  <jug@sad.it>
14634
14635         * tabular.[Ch]: better support for longtabular options (not finished
14636         yet!)
14637
14638 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14639
14640         * text.C (paintLastRow): use the label font instead of the font of
14641         the last character to compute the size of *_BOX. This makes more
14642         sense and avoids a crash with empty paragraphs.
14643         Use Painter::rectangle to draw EMPTY_BOX.
14644
14645 2001-12-19  Juergen Vigna  <jug@sad.it>
14646
14647         * undo_funcs.C (textHandleUndo): fixed setting of inset_owner of
14648         the paragraphs if the replaced paragraph is not the first one!
14649         Tried to delete not used paragraphs but does not work yet so for
14650         now it's inside #ifdef's and by default off!
14651
14652 2001-12-18  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14653
14654         * MenuBackend.C: include "lyx_main.h" instead of declaring
14655         lastfiles (actually was declared as LastFiles* instead of a
14656         scoped_ptr).
14657
14658 2001-12-17  Juergen Vigna  <jug@sad.it>
14659
14660         * tabular.C (AppendColumn): applied John's fix
14661
14662 2001-12-15  John Levon  <moz@compsoc.man.ac.uk>
14663
14664         * BufferView.h:
14665         * BufferView.C:
14666         * BufferView_pimpl.h:
14667         * BufferView_pimpl.C: cleanup and fix of checkInsetHit().
14668
14669         * Makefile.am:
14670         * box.h: new start of class for above
14671
14672         * lyxfunc.C: ignore space-only minibuffer dispatches.
14673           Show the command name when it doesn't exist
14674
14675         * minibuffer.C: don't add empty lines to the history
14676
14677         * minibuffer.C: add a space on dropdown completion
14678
14679 2001-12-14  John Levon  <moz@compsoc.man.ac.uk>
14680
14681         * text.C: fix line above/below drawing in insets
14682
14683 2001-12-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14684
14685         * lyxlength.C (LyXLength): Initialize private variables.
14686
14687 2001-12-15  Dekel Tsur  <dekelts@tau.ac.il>
14688
14689         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Use buffer language
14690         when inserting error insets.
14691
14692 2001-12-13  Juergen Vigna  <jug@sad.it>
14693
14694         * undo_funcs.C (textRedo/Undo): fixed as the first paragraph was
14695         actually sometimes the before-paragraph.
14696         (setUndo): don't clear the redostack if we're not actually undoing!
14697
14698 2001-12-06  Juergen Vigna  <jug@sad.it>
14699
14700         * undo_funcs.C (textHandleUndo): well after John's hint I got here
14701         and fixed redoing of main paragraph, so we can use it now ;)
14702
14703         * text2.C (redoParagraphs): fixed a crash when having only 1 row!
14704
14705 2001-12-13  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14706
14707         * undo_funcs.C (textHandleUndo): undo undo leak fix below, as per
14708         Juergen's request
14709
14710 2001-12-13  André Pönitz <poenitz@gmx.net>
14711
14712         * undostack.[Ch]:
14713         * undo_func.C: minor cleanup
14714
14715 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14716
14717         * FontLoader.C (getFontinfo): only use symbol fonts with encoding
14718         -adobe-fontspecific. At least Mandrake and Redhat have a symbol
14719         font in urw-fonts package which is marked as -urw-fontspecific and
14720         does not work (incidentally, changing the encoding in the
14721         fonts.dir of this package to -adobe-fontspecific fixes the
14722         problem).
14723
14724         * undo_funcs.C (textHandleUndo): fix leak in undo, but now there
14725         is a crash when undoing first paragraph (Juergen, please take a
14726         look). THis does not mean the undo fix is wrong, just that it
14727         uncovers problems.
14728
14729         * text2.C (ownerParagraph): let the (int,Paragraph*) version call
14730         the (Paragraph*) version when needed instead of duplicating the
14731         code.
14732
14733         * text.C (workWidth): use Inset::parOwner to find out where the
14734         inset has been inserted. This is a huge performance gain for large
14735         documents with lots of insets. If Inset::parOwner is not set, fall
14736         back on the brute force method
14737
14738         * paragraph_pimpl.C (insertInset):
14739         * paragraph.C (Paragraph):
14740         (cutIntoMinibuffer): set parOwner of insets when
14741         inserting/removing them
14742
14743         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14744
14745 2001-12-12  Martin Vermeer  <martin.vermeer@hut.fi>
14746
14747         * commandtags.h:
14748         * LyXAction.C:
14749         * lyx_main.C:
14750         * lyxfunc.C:
14751         * mathed/formulabase.C:
14752         * mathed/math_cursor.[Ch]:
14753         make sub/superscript into functions LFUN_SUB/SUPERSCRIPT.
14754
14755
14756 2001-12-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14757
14758         * lyxlength.[Ch] (operator!=): new function
14759
14760 2001-12-12  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14761
14762         * text.C (workWidth): use Inset::parOwner to find out where the
14763         inset has been inserted. This is a huge performance gain for large
14764         documents with lots of insets. If Inset::parOwner is not set, fall
14765         back on the brute force method
14766
14767         * paragraph_pimpl.C (insertInset):
14768         * paragraph.C (Paragraph):
14769         (cutIntoMinibuffer): set parOwner of insets when
14770         inserting/removing them
14771
14772         * lyxtext.h: add short comment on deleteEmptyParagraphMechanism
14773
14774 2001-12-10  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14775
14776         * tabular-old.C (getTokenValue):
14777         * tabular.C (getTokenValue):
14778         (write_attribute): new versions for LyXLength
14779         (everywhere): adjust the use of widths
14780
14781         * tabular.h: change the type of widths from string to LyXLength
14782
14783 2001-12-11  Ben Stanley <bds02@uow.edu.au>
14784
14785         * paragraph.C: fixed missing line number count when exporting
14786         Environments to LaTeX file
14787
14788         * buffer.C: added informational message for checking line numbers.
14789
14790 2001-12-11  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14791
14792         * text2.C (deleteEmptyParagraphMechanism): if there is only one
14793         paragraph, do the 'double space' part, but not the 'empty
14794         paragraph' one.
14795
14796         * text.C (workWidth): small optimization
14797         (getLengthMarkerHeight): use minimal size for negative lengths.
14798
14799 2001-12-11  Dekel Tsur  <dekelts@tau.ac.il>
14800
14801         * lyxfont.C (GUIFamilyNames): Fix GUIFamilyNames array
14802
14803         * FontLoader.C (getFontinfo): Use "*-eufrak-medium"
14804
14805 2001-12-11  André Pönitz <poenitz@gmx.net>
14806
14807         * FontLoader.C:
14808         * lyxfont.[Ch]: support for fraktur font used by \mathfrak
14809
14810 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
14811
14812         * text2.C: keep selection on a setFont()
14813
14814 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
14815
14816         * lyx_cb.C: another bv->text misuse, from insert label
14817
14818 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
14819
14820         * kbsequence.h:
14821         * kbsequence.C: re-instate nmodifier mask
14822
14823 2001-12-12  Angus Leeming  <a.leeming@ic.ac.uk>
14824
14825         * lyx_main.h: make lyxGUI private.
14826
14827 2001-12-06  John Levon  <moz@compsoc.man.ac.uk>
14828
14829         * lyxfind.C: place the cursor correctly on failed search
14830
14831 2001-12-09  Jean-Marc Lasgouttes  <lasgouttes@freesurf.fr>
14832
14833         * text.C (getLengthMarkerHeight): for small heights, the arrows
14834         are not always on top/bottom of the text
14835         (drawLengthMarker): smaller arrows; take the left margin in
14836         account; draw also vfills.
14837         (paintFirstRow):
14838         (paintLastRow): remove special code for vfill and standard spaces,
14839         since everything is handled in drawLengthMarker now.
14840
14841 2001-12-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14842
14843         * buffer.C (insertErtContents): try to handle font and language
14844         interaction a bit better.g
14845
14846         * ColorHandler.C (updateColor): change the hash to cover the whole
14847         LColor enum, ws cleanup
14848         (getGCLinepars): ditto
14849         (getGCLinepars): only lookup in the linecache once.
14850
14851 2001-12-07  Dekel Tsur  <dekelts@tau.ac.il>
14852
14853         * iterators.C (operator++): Make the iterator more robust
14854
14855         * BufferView2.C (removeAutoInsets): Use paragraph iterators
14856         (John's patch)
14857         * CutAndPaste.C (SwitchLayoutsBetweenClasses): Ditto
14858
14859 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14860
14861         * lyxtext.h:
14862         * text.C: better added space drawing
14863
14864 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14865
14866         * LyXView.C:
14867         * BufferView2.C: fix layout combo update on inset unlock
14868
14869 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14870
14871         * Makefile.am: don't compile unused files
14872
14873 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14874
14875         * lyxfunc.C:
14876         * commandtags.h:
14877         * LyXAction.C: remove old LFUN_LAYOUTNO
14878
14879 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14880
14881         * paragraph_pimpl.h:
14882         * paragraph_pimpl.C: isTextAt() doesn't need font param
14883
14884 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14885
14886         * lyxlex.h:
14887         * lyxlex.C: little cleanup
14888
14889 2001-12-05  John Levon  <moz@compsoc.man.ac.uk>
14890
14891         * BufferView_pimpl.C: fix insertAscii for insets
14892
14893 2001-12-05  Juergen Vigna  <jug@sad.it>
14894
14895         * CutAndPaste.C (pasteSelection): remove not allowed insets/chars and
14896         set the right font on the "multi" paragraph paste!
14897
14898 2001-12-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14899
14900         * trans_decl.h:
14901         * trans_mgr.[Ch]:
14902         * trans.[Ch]:
14903         * lyxgluelength.C:
14904         * lyxlength.C: remove out-commented code.
14905
14906         * BufferView_pimpl:
14907         * CutAndPaste.C:
14908         * DepTable.C:
14909         * buffer.C:
14910         * chset.C:
14911         * lastfiles.C:
14912         * lyxlex.C:
14913         * lyxlex_pimpl.C:
14914         * lyxserver.C:
14915         * screen.C:
14916         * tabular-old.C:
14917         * tabular.C:
14918         * text.C:
14919         * trans_mgr.C:
14920         * vc-backend.C: change "while(" to "while ("
14921
14922         * lyxlength.[Ch]: add zero function to check if length is zero or
14923         not
14924         * lyxgluelength.C: use it
14925
14926 2001-12-05  Allan Rae  <rae@lyx.org>
14927
14928         * lyxlength.C: Attempted a fix for the abs(int) header selection.
14929         Works for 2.95.3, from what I understand of Garst's reports this should
14930         work for other g++ versions.  We're screwed if the abs(int) definition
14931         changed between bugfix releases of gcc.
14932
14933 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
14934
14935         * text.C: fix chapter label offset !
14936
14937 2001-12-04  John Levon  <moz@compsoc.man.ac.uk>
14938
14939         * lyxtext.h:
14940         * text.C: fix hfill at end of line, clean up
14941
14942 2001-12-04  Juergen Vigna  <jug@sad.it>
14943
14944         * undo_funcs.C (textHandleUndo): added a call to inset->update() so
14945         that we force an update of the inset and it's owners if neccessary.
14946
14947 2001-12-03  Juergen Vigna  <jug@sad.it>
14948
14949         * text.C (rowLast): simplified code
14950
14951 2001-12-03  John Levon  <moz@compsoc.man.ac.uk>
14952
14953         * lyxfunc.C: fix show options on timeout
14954
14955 2001-12-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14956
14957         * screen.C (topCursorVisible): scroll half a page when the cursor
14958         reached top of bottom of screen
14959
14960 2001-12-02  John Levon  <moz@compsoc.man.ac.uk>
14961
14962         * minibuffer.C: deactivate on loss of focus
14963
14964 2001-12-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
14965
14966         * vspace.[Ch] (operator!=): add operator.
14967
14968 2001-12-01  John Levon  <moz@compsoc.man.ac.uk>
14969
14970         * BufferView_pimpl.C: refuse to open an inset when
14971         there's a selection.
14972
14973 2001-11-30  John Levon  <moz@compsoc.man.ac.uk>
14974
14975         * BufferView_pimpl.C: allow to click on RHS of full row insets
14976
14977 2001-11-30  Juergen Vigna  <jug@sad.it>
14978
14979         * tabular.C (LyXTabular): add a same_id to set the same id's in the
14980         insets for undo reasons.
14981
14982 2001-11-28  André Pönitz <poenitz@gmx.net>
14983
14984         * vspace.[Ch]: cosmetical changes
14985
14986 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
14987
14988         * LyXAction.h:
14989         * LyXAction.C:
14990         * lyxfunc.h:
14991         * lyxfunc.C:
14992         * kbmap.h:
14993         * kbmap.C:
14994         * lyxrc.C:
14995         * kbsequence.h:
14996         * kbsequence.C: part re-write of old kb code
14997
14998         * Painter.C:
14999         * WorkArea.C: remove Lgb_bug_find_hack
15000
15001 2001-11-30  José Matos <jamatos@fep.up.pt>
15002
15003         * buffer.C (makeDocBookFile): add a comment to point a hack.
15004         (simpleDocBookOnePar): changed a PAR::META_INSET to isInset().
15005         Fixed a double write of labels.
15006
15007 2001-11-29 Ben Stanley <bds02@uow.edu.au>
15008
15009         * LaTeX.C:
15010         * LaTeX.h Fixed bug in LaTeX class where it would not
15011         re-run latex if no depfiles were changed, but the .dvi was removed.
15012
15013 2001-11-28  André Pönitz <poenitz@gmx.net>
15014
15015         * all the files from the change on 2001/11/26:
15016         use lyx::layout_type instead of LyXTextClass::size_type
15017         use lyx::textclass_type instead of LyXTextClassList::size_type
15018
15019 2001-11-29  Juergen Vigna  <jug@sad.it>
15020
15021         * text.C: added support for paragraph::isFreeSpacing()
15022
15023         * buffer.C: same as above
15024
15025         * paragraph.h: inserted isFreeSpacing() function to enable
15026         FreeSpacing inside InsetERT.
15027
15028         * CutAndPaste.C (cutSelection/copySelection): set the inset_owner
15029         of the paragraph's in the cut/copy buffer to 0!
15030
15031         * text2.C (removeRow): remove the assert as it can!
15032
15033         * lyxtext.h: added helper function firstRow returning firstrow and
15034         made firstrow private again.
15035
15036         * BufferView2.C (lockInset): don't relock if we're already locked!
15037
15038         * text2.C (deleteEmptyParagraphMechanism): don't do anything if it's
15039         the only paragraph.
15040         (removeRow): added Assert::(firstrow)
15041
15042         * debug.C: forgot to add INSETTEXT here.
15043
15044 2001-11-28  Juergen Vigna  <jug@sad.it>
15045
15046         * sp_spell.C (initialize): changed error text to more general
15047         spellchecker command use (not only ispell!)
15048
15049         * bufferlist.C (qwriteAll): fixed "Cancel" button handling!
15050
15051         * debug.h: inserted one for debugging INSETTEXT (and InsetTabular)!
15052
15053 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
15054
15055         * vspace.C: initialise lyxgluelength on failure
15056
15057 2001-11-28  Allan Rae  <rae@lyx.org>
15058
15059         * text.C (paintLastRow): g++-2.95.3 and others don't like variable
15060         declaration & definition that looks like a function declaration.
15061
15062 2001-11-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15063
15064         * BufferView2.C (copy):
15065         (copyEnvironment): do not clear the selection when doing a copy.
15066
15067         * text.C (paintFirstRow): compilation fix
15068
15069 2001-11-27  Ben Stanley  <bds02@uow.edu.au>
15070
15071         * tabular.C (Latex): correct line count when writing latex.
15072
15073 2001-11-27  John Levon  <moz@compsoc.man.ac.uk>
15074
15075         * paragraph_pimpl.h:
15076         * paragraph_pimpl.C: tidy, and fix font-change in "LaTeX"
15077           bug a bit
15078
15079 2001-11-26  John Levon  <moz@compsoc.man.ac.uk>
15080
15081         * text.C:
15082         * LColor.h:
15083         * LColor.C: change vfillline->added_space
15084
15085         * text.C: add markers and text for added space
15086
15087         * vspace.C: fix comment
15088
15089 2001-11-28  André Pönitz <poenitz@gmx.net>
15090
15091         * paragraph.C: whitespace changes
15092         * all the other files from the change on 2001/11/26:
15093         change *::pos_type into lyx::pos_type
15094
15095 2001-11-27  Dekel Tsur  <dekelts@tau.ac.il>
15096
15097         * buffer.C (parseSingleLyXformat2Token): Set the language to the
15098         language of the document when inserting error insets.
15099
15100 2001-11-26  André Pönitz <poenitz@gmx.net>
15101
15102         * BufferView_pimpl.[Ch]:
15103         *       CutAndPaste.C:
15104         * buffer.[Ch]:
15105         * lyxcursor.[Ch]:
15106         * lyxfind.C:
15107         * lyxfunc.C:
15108         * lyxrow.[Ch]:
15109         * paragraph.[Ch]:
15110         * paragraph_pimpl.[Ch]:
15111         * sp_spell.C:
15112         * text.C:
15113         * text2.C: reduce header dependencies, introduce type for positions
15114
15115 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
15116
15117         * <various>: change to use Alert.h
15118
15119 2001-11-25  Dekel Tsur  <dekelts@tau.ac.il>
15120
15121         * buffer.C (parseSingleLyXformat2Token): Insert an error inset
15122         when encountering an unknown token.
15123         (readLyXformat2): Show an error message if there were unknown tokens.
15124
15125 2001-11-22  John Levon  <moz@compsoc.man.ac.uk>
15126
15127         * BufferView2.C:
15128         * BufferView_pimpl.C:
15129         * buffer.C:
15130         * paragraph.h:
15131         * text.C:
15132         * text2.C: use par->isInset()
15133
15134 2001-11-23  John Levon  <moz@compsoc.man.ac.uk>
15135
15136         * paragraph_pimpl.h:
15137         * paragraph_pimpl.C: cleanup
15138
15139 2001-11-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15140
15141         * text2.C (removeRow):
15142         * text.C (setHeightOfRow): remove useless (and costly) call to
15143         getRow.
15144
15145 2001-11-20  Allan Rae  <rae@lyx.org>
15146
15147         * paragraph.C (insertFromMinibuffer): Fix for inset related crashes.
15148         Now need Inset*::checkInsertChar() to return true for appropriate
15149         cases so that the characters in the minibuffer will actually be
15150         inserted.
15151
15152 2001-11-15  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15153
15154         * text.C: change the order of the includes.
15155         (workWidth): initialize it at once.
15156         (workWidth): make maxw unsigned
15157         (setHeightOfRow): remove unused variable (inset)
15158         (selectSelectedWord): remove unused variable (inset)
15159         (paintRowText): fix drawing of hfill characters, and clean up a bit.
15160
15161 2001-11-14  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15162
15163         * lyxserver.C (emergencyCleanup): do not try to close pipes if
15164         server is not running.
15165         (openConnection):
15166         (closeConnection): add debug info when server is disabled.
15167
15168         * ColorHandler.C (getGCForeground): send debug message to GUI
15169         channel.
15170
15171         * lyxrc.C: do not include lyxserver.h and tex-strings.h.
15172
15173         * kbmap.C (bind): modify because return conventions of
15174         kb_sequence::parse have changed.
15175
15176         * kbsequence.C (parse): only ignore spaces and not any stupid
15177         control character. This avoids tests like s[i] <= ' ', which are
15178         guaranteed to fail with 8bit characters and signed chars.
15179         Change return code to string::npos when there have been no error
15180         (0 was a bad idea when error is at first character)
15181
15182 2001-11-14  José Matos  <jamatos@fep.up.pt>
15183
15184         * buffer.h:
15185         * buffer.C (simpleDocBookOnePar): removed unused argument.
15186
15187 2001-11-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15188
15189         * text.C (selectNextWordToSpellcheck): do not test explicitely for
15190         insets which are part of a word. Paragraph::isLetter takes care of
15191         that now. Use Paragraph::isInset to identify insets.
15192         (selectSelectedWord): do not test for hyphenation break.
15193
15194         * BufferView_pimpl.C (smartQuote): use Inset::isSpace, so
15195         that protected spaces are considered as spaces.
15196
15197         * paragraph.C (isLetter): cleanup the code for ispell extras; use
15198         Inset::isLetter.
15199
15200 2001-11-12  John Levon  <moz@compsoc.man.ac.uk>
15201
15202         * lyxserver.h:
15203         * lyxserver.C: fix it. and small cleanup.
15204
15205 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
15206
15207         * BufferView_pimpl.C: use inline helpers
15208
15209         * LaTeXFeatures.h:
15210         * LaTeXFeatures.C: fix typos
15211
15212         * Spacing.h:
15213         * Spacing.C: move spacing_string into class
15214
15215         * ToolbarDefaults.C: move stuff into namespace anon
15216
15217         * layout.h: update enum
15218
15219         * lyxfunc.C: use better debug
15220
15221         * minibuffer.h: fix typo
15222
15223         * debug.h:
15224         * debug.C:
15225         * WorkArea.C: add and use Debug::WORKAREA
15226
15227         * lyxtext.h:
15228         * text.C:
15229         * text2.C: code re-organisation, inline helpers
15230
15231 2001-11-09  Michael A. Koziarski <michael@koziarski.org>
15232
15233         * Layout.C: replaced a few cases of std::vector.size() == 0 with
15234         std::vector.empty().
15235
15236 2001-11-09  Allan Rae  <rae@lyx.org>
15237
15238         * paragraph.C (TeXOnePar): remove old, now-irrelevent comments about
15239         '\n's after tables.  Tabular and ERT inset work now makes this no
15240         longer necessary.
15241
15242 2001-11-07  John Levon  <moz@compsoc.man.ac.uk>
15243
15244         * minibuffer.h:
15245         * minibuffer.C: fix crash, improve drop-down completion
15246
15247 2001-11-06  John Levon  <moz@compsoc.man.ac.uk>
15248
15249         * lyxserver.h:
15250         * lyxserver.C: invalidate fd's when doing endPipe()
15251
15252 2001-11-08  José Matos  <jamatos@fep.up.pt>
15253
15254         * buffer.C (sgmlLineBreak): renamed from linux_doc_line_break.
15255         (simpleDocBookOnePar): removed code made obsolete by the new inset code.
15256
15257         * paragraph.h:
15258         * paragraph.C (sgmlConvertChar): renamed from linuxDocConvertChar.
15259
15260 2001-11-07  José Matos  <jamatos@fep.up.pt>
15261
15262         * buffer.h:
15263         * buffer.C (sgmlError): linuxDocError renamed, and made public, added
15264         const qualifier.
15265
15266         * buffer.C (sgmlOpenTag):
15267         * buffer.C (sgmlCloseTag): removed debug info.
15268
15269         * buffer.h (sgmlOpenTag):
15270         * buffer.h (sgmlCloseTag): made public.
15271
15272 2001-11-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15273
15274         * buffer.C (saveParamsAsDefaults):
15275         * lyx_cb.C (MenuLayoutSave): remove
15276
15277         * LyXAction.C (init):
15278         * commandtags.h:
15279         * lyxfunc.C (dispatch): remove LFUN_LAYOUT_SAVE_DEFAULT.
15280
15281 2001-11-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15282
15283         * buffer.C (setPaperStuff): removed from here...
15284
15285         * bufferparams.C (setPaperStuff): ... and moved there.
15286
15287 2001-11-03  John Levon  <moz@compsoc.man.ac.uk>
15288
15289         * minibuffer.h:
15290         * minibuffer.C:
15291         * XFormsView.C: add support for drop-down completion
15292
15293 2001-11-03  Dekel Tsur  <dekelts@tau.ac.il>
15294
15295         * paragraph.C (TeXOnePar): Correct placement of \selectlanguage
15296         commands.
15297
15298 2001-10-31  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15299
15300         * gettext.C (locale_init): set LC_NUMERIC to "C" even if nls is
15301         disabled.
15302
15303 2001-10-30  John Levon  <moz@compsoc.man.ac.uk>
15304
15305         * lyx_main.C: change ref to known bugs
15306
15307 2001-10-30  Kayvan A. Sylvan  <kayvan@sylvan.com>
15308
15309         * LaTeXFeatures.C (getPackages): Use lyxskak.sty now instead
15310         to work around older babel problems.
15311
15312 2001-10-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
15313
15314         * LaTeXFeatures.[hC]: Now uses skak.sty for chess material.
15315
15316 2001-10-24  Juergen Vigna  <jug@sad.it>
15317
15318         * tabular-old.C (ReadOld): below variable changes reflected.
15319
15320         * tabular.[Ch]: added ltType struct for longtable header/footer
15321         defines and changed all instances where they are used. Added
15322         future support for double top/bottom rows.
15323
15324 2001-10-24  José Matos  <jamatos@fep.up.pt>
15325
15326         * buffer.h (docbookHandleCaption):
15327         * buffer.C (docbookHandleCaption): removed unused function.
15328         (makeDocBookFile): moved docbook supported version to v4.1.
15329
15330 2001-10-24  José Matos  <jamatos@fep.up.pt>
15331
15332         * tabular.h:
15333         * tabular.C (docbookRow): new function to export docbook code of a row.
15334         (DocBook): now honors the longtable flags.
15335
15336 2001-10-23  José Matos  <jamatos@fep.up.pt>
15337
15338         * LaTeXFeatures.h:
15339         * LaTeXFeatures.C (getLyXSGMLEntities): new function to get the name
15340         of the lyx defined sgml entities used in a docbook/linuxdoc document.
15341
15342         * buffer.C (makeLinuxDocFile):
15343         (makeDocBookFile): reworked the preamble, more clean, and with
15344         support for lyx defined entities. Changed the document declaration
15345         to be more XML friendly.
15346
15347         * tabular.C (DocBook): removed / terminator to be more SGML friendly,
15348         if we need to output XML that should be done with a filter.
15349
15350 2001-10-22  Juergen Vigna  <jug@sad.it>
15351
15352         * sp_pspell.h (class PSpell): add alive function needed in the
15353         controller to see if the spellchecker could be started.
15354
15355 2001-10-22  Juergen Vigna  <jug@sad.it>
15356
15357         * buffer.C (insertStringAsLines): modify the font for inserting
15358         chars in certain conditions by calling checkInsertChar(font).
15359
15360 2001-10-19  Juergen Vigna  <jug@sad.it>
15361
15362         * text.C (workWidth): use getRow instead of wrong algorithm.
15363         (setHeightOfRow): fix for MARGIN_RIGHT_ADDRESS_BOX
15364
15365 2001-10-19  John Levon  <moz@compsoc.man.ac.uk>
15366
15367         * lyxserver.h:
15368         * lyxserver.C:
15369         * lyx_main.h:
15370         * lyx_main.C: add emergencyCleanup (remove pipes on crash)
15371
15372 2001-10-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15373
15374         * text.C (workWidth): do not search for the exact row when
15375         margintype is not MARGIN_RIGHT_ADDRESS_BOX. This is an
15376         optimization for big documents.
15377
15378 2001-10-18  Juergen Vigna  <jug@sad.it>
15379
15380         * text.C (workWidth): new function with added Inset * parameter.
15381
15382 2001-10-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15383
15384         * text2.C (setCursorFromCoordinates): use Paragraph::size_type
15385
15386         * lyxtext.h: change type of refresh_pos to Paragraph::size_type;
15387         change return type of getColumnNearX.
15388
15389
15390         * text.C (changeRegionCase): use uppercase/lowercase instead of
15391         toupper/tolower.
15392         (leftMargin):
15393         (rightMargin): simplify code by factoring out the uses of
15394         textclasslist.
15395         (labelFill):
15396         (numberOfHfills):
15397         (setHeightOfRow):
15398         (appendParagraph): use Paragraph::size_type
15399
15400 2001-10-15  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15401
15402         * vspace.C (asLatexString): add a missing break
15403
15404 2001-10-15  Herbert Voss  <voss@perce.de>
15405
15406         * vspace.C (asLatexString): fix bug in output of string for l% and p%.
15407
15408 2001-10-11  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15409
15410         * lyxfunc.C (getStatus): disable thesaurus when aiksaurus library
15411         is not available.
15412
15413 2001-10-10  André Pönitz <poenitz@gmx.net>
15414
15415         * lyxfunc.C: removed greek_kb_flag.
15416
15417 2001-10-10  Herbert Voss  <voss@perce.de>
15418
15419         * lyx_main.C: delete global string help_lyxdir.
15420
15421 2001-10-09  Herbert Voss  <voss@perce.de>
15422
15423         * commandtags.h (kb_action): added LFUN_HELP_TEXINFO.
15424
15425         * LyXAction.C (init): added LFUN_HELP_TEXINFO to items array.
15426
15427         * lyx_main.C: added global string help_lyxdir.
15428
15429         * lyxfunc.C (dispatch): added LFUN_HELP_TEXINFO to switch.
15430
15431 2001-10-07  Adrien Rebollo  <adrien.rebollo@gmx.fr>
15432
15433         * lyxrc.C (set_font_norm_type): support iso8859-4
15434
15435 2001-07-02  Claus Hentschel  <claus.hentschel@mbau.fh-hannover.de>
15436
15437         * LaTeX.C (deplog): add another regex for MikTeX
15438
15439 2001-10-05  Adrien Rebollo  <adrien.rebollo@gmx.fr>
15440
15441         * lyxrc.C (set_font_norm_type): support iso8859-3
15442
15443 2001-10-04  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15444
15445         * BufferView_pimpl.C (tripleClick): fix stupid logic error.
15446
15447         * LaTeXFeatures.C: remove special case of french and index
15448
15449         * buffer.C (makeLaTeXFile): _really_ load babel late (i.e. just
15450         before \begin{document}). This solves several incompatibilities.
15451
15452 2001-10-03  Garst Reese  <reese@isn.net>
15453
15454         * lyx_cb.C: change CheckTex error msg.
15455
15456 2001-10-03  José Matos  <jamatos@fep.up.pt>
15457
15458         * buffer.C (simpleDocBookOnePar): add support for pass_thru.
15459
15460 2001-10-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15461
15462         * .cvsignore: update
15463
15464         * lyx_main.C (commandLineVersionInfo): use new style version info.
15465
15466         * buffer.C (writeFile):
15467         (makeLaTeXFile):
15468         (makeLinuxDocFile):
15469         (makeDocBookFile): use lyx_docversion instead of LYX_DOCVERSION.
15470
15471         * WorkArea.C (WorkArea): use lyx_version instead of LYX_VERSION.
15472
15473         * version.h: update to use stuff in version.C
15474
15475         * version.C.in: new file. Contains version information determined
15476         at compile time. This is a merging of version.h and
15477         version_info.h.in.
15478
15479 2001-10-03  Juergen Vigna  <jug@sad.it>
15480
15481         * BufferView_pimpl.C (update): don't change "dirty" status in
15482         updateInset call.
15483
15484 2001-10-03  Angus Leeming  <a.leeming@ic.ac.uk>
15485
15486         * WorkArea.C (c-tor): re-position version string slightly.
15487
15488 2001-10-02  Angus Leeming  <a.leeming@ic.ac.uk>
15489
15490         * BufferView_pimpl.C (buffer): remove call to WorkArea::show() and
15491         revert to previous code.
15492
15493         WorkArea.[Ch]: (show, destroySplash): methods removed.
15494
15495         WorkArea.C: rework code so that it's an amalgam of the codes before and
15496         after the splash screen was moved to WorkArea.
15497
15498 2001-10-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15499
15500         * lyxrc.C (read):
15501         * vspace.C (inPixels):
15502         (lyx_advance):
15503         * kbmap.C (bind):
15504         * buffer.C (insertStringAsLines):
15505         (asciiParagraph): fix types to be large enough
15506
15507         * lyxlex_pimpl.h: change member status from short to int
15508
15509         * layout.h: fix type of endlabeltype
15510
15511         * kbmap.C (bind):
15512         * kbsequence.C (parse): change return type to string::size_type
15513
15514         * LaTeX.C (updateBibtexDependencies): comment out unneeded
15515         variable
15516
15517         * Bullet.C (bulletSize):
15518         (bulletEntry): do not use short ints as parameters
15519
15520         * BufferView2.C (insertLyXFile): change a char to an int.
15521
15522         * WorkArea.C (WorkArea): remove unneeded floats in computation
15523
15524 2001-10-01  Dekel Tsur  <dekelts@tau.ac.il>
15525
15526         * buffer.C (asciiParagraph): Treat '\\' as other chars.
15527
15528         * paragraph.C (asString): Do not ignore newline/hfill chars when
15529         copying to the clipboard.
15530
15531 2001-09-29  Dekel Tsur  <dekelts@tau.ac.il>
15532
15533         * paragraph_pimpl.C (simpleTeXSpecialChars): Call to textrow.start
15534         after a multi-line inset.
15535
15536 2001-09-28  Dekel Tsur  <dekelts@tau.ac.il>
15537
15538         * paragraph.C (validate): Set NeedLyXFootnoteCode
15539
15540 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
15541
15542         * lyxfont.C (LyXSizeNames): changed increase-error to increase
15543         and decrease-error to decrease.
15544
15545 2001-09-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15546
15547         * text2.C (deleteEmptyParagraphMechanism): reformat a bit to make
15548         it more readable (should be equivalent)
15549
15550 2001-09-27  Adrien Rebollo  <adrien.rebollo@gmx.fr>
15551
15552         * paragraph_pimpl.C (simpleTeXSpecialChars): handle latin9 too.
15553
15554 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15555
15556         * text2.C (fixCursorAfterDelete): new method. Fixes the parameters
15557         of a cursor (row, etc.) after a character has been deleted
15558         (deleteEmptyParagraphMechanism): call the method above on _all_
15559         cursors held by the LyXText when a double space has been
15560         detected/deleted.
15561
15562 2001-09-27  Angus Leeming  <a.leeming@ic.ac.uk>
15563
15564         * BufferView_pimpl.C (buffer): call WorkArea::show to pop-up the
15565         pixmap.
15566         (resizeCurrentBuff): remove code to destroy the old splash dialog.
15567
15568         * WorkArea.[Ch]: add the "LyX" pixmap and version string to the
15569         background. Use greyOut() and the new show() methods to toggle between
15570         the foreground and background. Add code to remove the splash after
15571         its initial showing.
15572
15573         * lyx_gui.C: Remove dependency on frontends/Dialogs.h.
15574         (create_forms): no longer call Dialogs::showSplash.
15575
15576 2001-09-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15577
15578         * .cvsignore: add version_info.h
15579
15580 2001-09-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15581
15582         * version_info.h.in: new file
15583
15584         * Makefile.am: add version_info.h.in
15585
15586         * lyx_main.C (commandLineVersionInfo): use version_info defined in
15587         version_info.h instead of VERSION_INFO
15588
15589 2001-09-24  Angus Leeming  <a.leeming@ic.ac.uk>
15590
15591         * text.C (selectNextWordToSpellcheck): reverted change to if-block.
15592         The ERT inset now returns string().
15593
15594 2001-09-21  Angus Leeming  <a.leeming@ic.ac.uk>
15595
15596         * lyxtext.h, text.C (selectNextWord): renamed as
15597         selectNextWordToSpellcheck.
15598
15599         * text.C (selectNextWordToSpellcheck): Modified to not select
15600         words inside an ERT inset.
15601
15602 2001-09-21  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15603
15604         * lyx_cb.C (MenuLayoutSave): change a bit the question
15605
15606         * sp_base.h: include <sys/types.h>
15607
15608 2001-09-18  Angus Leeming  <a.leeming@ic.ac.uk>
15609
15610         * LColor.[Ch]: added graphicsbg to color enum and to ColorEntry.
15611
15612 2001-09-20  Michael Schmitt  <Michael.Schmitt@teststep.org>
15613
15614         * several files: fix typos in user-visible strings
15615
15616 2001-09-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15617
15618         * text2.C (pasteSelection): do not set the selection, since it
15619         will be cleared later. Actually, the intent was to fix the way the
15620         selection was set, but I figured rmoving the code was just as good.
15621
15622 2001-09-19  Dekel Tsur  <dekelts@tau.ac.il>
15623
15624         * FontLoader.C (available): Check if font is available without
15625         loading the font.
15626
15627 2001-09-19  Jürgen Spitzmüller  <j.spitzmueller@gmx.de>
15628
15629         * lyxrc.[Ch]: added auto_reset_options variable and associated code.
15630
15631 2001-09-13  Angus Leeming  <a.leeming@ic.ac.uk>
15632
15633         * lyxrc.[Ch]: added display_graphics variable and associated code.
15634
15635 2001-09-17  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15636
15637         * bufferparams.C (hasClassDefaults): new method. Returns true if
15638         the buffer parameters correspond to known class defaults
15639
15640 2001-09-17  Angus Leeming  <a.leeming@ic.ac.uk>
15641
15642         * XFormsView.C (show): set minimum size to the main window.
15643
15644 2001-09-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15645
15646         * text2.C (copySelection):
15647         (cutSelection):
15648         * lyxfind.C (LyXReplace):
15649         * BufferView_pimpl.C (Dispatch): pass the correct flag to
15650         LyXText::selectionAsString.
15651
15652         * paragraph.C (asString): add "label" argument to the second form
15653
15654         * text2.C (selectionAsString): add "label" argument and pass it to
15655         Paragraph::asString.
15656
15657 2001-09-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15658
15659         * lyx_main.C (commandLineHelp): remove version information
15660
15661 2001-09-08  Rob Lahaye  <lahaye@users.sourceforge.net>
15662
15663         * lyx_main.C: add -version commandline option
15664
15665 2001-09-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15666
15667         * paragraph.h: make the optional constructor arg required instead.
15668         some modifications to other files because of this.
15669
15670         * minibuffer.C (C_MiniBuffer_peek_event): make it static
15671
15672         * lyxserver.C (C_LyXComm_callback): make it static
15673
15674         * lyx_main.C (error_handler): make it static
15675
15676         * lyx_gui.C (LyX_XErrHandler): make it static
15677
15678         * XFormsView.C (C_XFormsView_atCloseMainFormCB): make it static
15679
15680         * WorkArea.C: make the extern "C" methods static.
15681
15682         * Makefile.am (lyx_LDADD): simplify
15683
15684 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
15685
15686         * commandtags.h: removed redundant LFUNs, LFUN_HELP_COPYRIGHT,
15687         LFUN_HELP_CREDITS, LFUN_HELP_VERSION.
15688
15689         * LyXAction.C (init):
15690         * lyxfunc.C (dispatch): associated code removal.
15691
15692 2001-09-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15693
15694         * lyxfont.h (isSymbolFont): shut off warning
15695
15696         * text.C (setHeightOfRow):
15697         (getVisibleRow): fix crash with empty paragraphs which have a
15698         bottom line
15699
15700 2001-09-07  Rob Lahaye  <lahaye@users.sourceforge.net>
15701
15702         * lyxrc.[Ch]: added dialogs_iconify_with_main variable and associated
15703         code.
15704
15705 2001-09-04  José Matos  <jamatos@fep.up.pt>
15706         * buffer.C
15707         * buffer.h
15708         * tabular.C (docbook): rename docBook method to docbook.
15709
15710 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
15711
15712         * Makefile.am: add dependencies to main.o.
15713
15714 2001-09-03  Dekel Tsur  <dekelts@tau.ac.il>
15715
15716         * FontLoader.C (available): Return false if !lyxrc.use_gui
15717
15718 2001-09-03  Michael Schmitt <schmitt@itm.mu-luebeck.de>
15719
15720         * FontInfo.C (query):
15721         * converter.C (view):
15722         * importer.C (Import):
15723         * exporter.C (Export): Can not -> cannot.
15724
15725 2001-09-02  John Levon  <moz@compsoc.man.ac.uk>
15726
15727         * BufferView_pimpl.C: allow to create index inset even if
15728           string is empty
15729
15730 2001-09-02  Angus Leeming  <a.leeming@ic.ac.uk>
15731
15732         * buffer.C (getLists): replace boost::tie code with an explicit pair
15733         as boost::tie can break some compilers.
15734
15735         * iterators.h: Added a std:: declaration to the return type of
15736         ParIterator::size.
15737
15738 2001-08-31  John Levon  <moz@compsoc.man.ac.uk>
15739
15740         * lyxrc.C: add help for view_dvi_paper_option, default to safe
15741           case.
15742
15743 2001-09-02  Dekel Tsur  <dekelts@tau.ac.il>
15744
15745         * iterators.[Ch]: New files. Provide paragraph iterators.
15746
15747         * buffer.C (changeLanguage): Use paragraph iterators.
15748         (isMultiLingual): ditto
15749
15750         * BufferView2.C (ChangeInsets): Use paragraph iterators.
15751
15752 2001-09-01  Dekel Tsur  <dekelts@tau.ac.il>
15753
15754         * FontLoader.C: Support for cmr font.
15755
15756 2001-08-31  Dekel Tsur  <dekelts@tau.ac.il>
15757
15758         * FontLoader.C (getFontinfo): Handle latex symbol fonts.
15759         (available): New method.
15760
15761         * FontInfo.C (getFontname): Use scalable fonts even when
15762         lyxrc.use_scalable_fonts is false, if no non-scalable fonts was
15763         found.
15764
15765 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
15766
15767         * converter.C (Formats::view): reverted! Incorrect fix.
15768
15769 2001-08-23  Angus Leeming  <a.leeming@ic.ac.uk>
15770
15771         * converter.C (Formats::view): only output the -paper option
15772         if the dvi viewer is xdvi, thereby fixing bug #233429.
15773
15774 2001-08-23  Herbert Voss  <voss@perce>
15775
15776         * BufferView_pimpl.C: small fix for LFUN_INSERT_BIBTEX
15777
15778 2001-08-20  Dekel Tsur  <dekelts@tau.ac.il>
15779
15780         * Spacing.h (Spacing): Set space to Default on in the default
15781         constructor.
15782
15783 2001-08-19  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15784
15785         * vc-backend.h (RCS::versionString): add RCS to version
15786         (CVS::versionString): add CVS to version
15787
15788         * vc-backend.C (scanMaster): do not add CVS to version.
15789         (scanMaster): do not add RCS to version
15790
15791         * lyxvc.C (versionString): new method
15792
15793         * lyxfunc.C (initMiniBuffer): use LyXVC::versionString
15794
15795 2001-08-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15796
15797         * Spacing.C (set): initialize fval
15798
15799 2001-08-15  Dekel Tsur  <dekelts@tau.ac.il>
15800
15801         * lyxlex_pimpl.C (next): Treat \ as normal char if not followed by
15802         " or \.
15803
15804 2001-08-16  Juergen Vigna  <jug@sad.it>
15805
15806         * lyxfunc.C (dispatch): implemented the new FINISHED states.
15807
15808 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
15809
15810         * BufferView_pimpl.C:
15811         * figureForm.C:
15812         * lyxtext.h:
15813         * text2.C: setParagraph takes linespacing now
15814
15815 2001-08-15  John Levon  <moz@compsoc.man.ac.uk>
15816
15817         * LyxAction.C: add internal LFUN_CITATION_INSERT
15818
15819         * LyXView.C: actually apply fix
15820
15821         * bufferlist.C: fix open non-existent file
15822
15823         * lyxfind.C: fix indentation
15824
15825         * lyxfunc.C: remove unneeded assert, fix typo
15826
15827 2001-08-16  John Levon  <moz@compsoc.man.ac.uk>
15828
15829         * MenuBackend.C: use "Floatname List"
15830
15831 2001-08-14  Dekel Tsur  <dekelts@tau.ac.il>
15832
15833         * buffer.C (parseSingleLyXformat2Token): Do not generate errors
15834         when converting LaTeX layout to insetERT.
15835         Generate a non-collapsed float when reading old float
15836
15837 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
15838
15839         * BufferView2.C (showLockedInsetCursor): Use normal cursor shape in
15840         ERT insets.
15841
15842 2001-08-13  Juergen Vigna  <jug@sad.it>
15843
15844         * text.C (fill): return 0 instead of 20 as this seems to be the more
15845         correct value.
15846
15847 2001-08-13  Dekel Tsur  <dekelts@tau.ac.il>
15848
15849         * encoding.C (TransformChar): Use lyxrc.font_norm_type instead of
15850         lyxrc.font_norm.
15851
15852 2001-08-13  Juergen Vigna  <jug@sad.it>
15853
15854         * lyxfind.C (LyXReplace): fixed not single-replacing characters with
15855         casesensitive off.
15856         (SearchBackward): comment out the unlocking of the inset_owner this
15857         should not be needed!
15858
15859 2001-08-11  Dekel Tsur  <dekelts@tau.ac.il>
15860
15861         * Many files: Remove inherit_language, and add latex_language
15862
15863         * BufferView2.C (showLockedInsetCursor): Fix cursor shape in
15864         collapsible insets.
15865
15866 2001-08-10  Juergen Vigna  <jug@sad.it>
15867
15868         * text.C (prepareToPrint): fixed hfill-width in draw!
15869
15870         * BufferView2.C (selectLastWord): save the selection cursor as this
15871         now is cleared in the function LyXText::clearSelection!
15872
15873 2001-08-08  Juergen Vigna  <jug@sad.it>
15874
15875         * BufferView_pimpl.C (Dispatch): use a non-cut-buffer cut on DELTE
15876         BACKSPACE type functions.
15877
15878         * CutAndPaste.C (cutSelection): added a bool so that the stuff actually
15879         is only cutted from the document but not put in the cut-buffer, where
15880         still the old stuff should be.
15881
15882         * text2.C (cutSelection): added bool to pass to CutAndPaste::cutSelection.
15883
15884         * BufferView2.C (cut): added a bool to pass to LyXText::cutSelection.
15885
15886         * tabular.C (SetWidthOfCell): fixed special case where the width
15887         was not updated!
15888         (LeftLine): handle '|' in align_special.
15889         (RightLine): ditto
15890         (LeftAlreadyDrawed): ditto
15891         (SetWidthOfCell): ditto
15892
15893 2001-08-07  Juergen Vigna  <jug@sad.it>
15894
15895         * lyx_main.C (readUIFile): fixed some forgotten lowercase!
15896
15897 2001-08-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15898
15899         * lyxlex_pimpl.[Ch]: converto to lowercase funcs
15900         * lyxlex.[hC]: ditto
15901
15902 2001-08-06  Juergen Vigna  <jug@sad.it>
15903
15904         * text.C (getVisibleRow): fix up row clearing a bit.
15905
15906 2001-08-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15907
15908         * minibuffer.C: make sure the X server sees the changes in the input.
15909
15910 2001-08-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15911
15912         * paragraph.C (getFont): split into...
15913         (getLabelFont): this
15914         (getLayoutFont): and this
15915         * paragraph_pimpl.C (realizeFont): calling this
15916
15917         * text2.C (getFont): split into...
15918         (getLayoutFont): this
15919         (getLabelFont): and this
15920         (realizeFont): all three calling this
15921
15922         * lyxfont.h: remove all NO_LATEX macros and code... adjust all
15923         files where used.
15924
15925 2001-08-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15926
15927         * lyxfunc.C (getStatus): add checkbox support for LFUN_APPENDIX
15928
15929 2001-08-02  Kayvan A. Sylvan  <kayvan@sylvan.com>
15930
15931         * BufferView_pimpl.C (smartQuote): Added code to exempt pass_thru
15932         layouts from the Quote inset insertion.
15933
15934 2001-08-03  Juergen Vigna  <jug@sad.it>
15935
15936         * BufferView_pimpl.C (update): do the fitCursor only at the end!
15937
15938         * screen.C (drawFromTo): don't call fitcursor here and do the loop
15939         only if status not is already CHANGED_IN_DRAW (second level).
15940
15941         * text.C (draw): don't set the need_break_row when inside an
15942         InsetText LyXText.
15943
15944 2001-08-02  Lars Gullik Bjønnes  <larsbj@birdstep.com>
15945
15946         * buffer.C (parseSingleLyXformat2Token): handle more latex
15947         conversion cases.
15948
15949         * bufferview_funcs.[hC]: change function names to
15950         begin with small char, adjust other files.
15951
15952 2001-08-02  André Pönitz <poenitz@gmx.net>
15953
15954         * lyxfunc.C:
15955         BufferView_pimpl.C: remove broken special code for math-greek
15956
15957 2001-08-02  Juergen Vigna  <jug@sad.it>
15958
15959         * BufferView_pimpl.C (update): redone this function so that we
15960         update the text again if there was a CHANGE_IN_DRAW.
15961
15962         * screen.C (cursorToggle): removed LyXText parameter and recoded.
15963         (drawFromTo): added a new internal bool which is used by draw() and
15964         redraw() function.
15965         (general): some cursor drawing problems fixed.
15966
15967 2001-08-01  Juergen Vigna  <jug@sad.it>
15968
15969         * lyxfind.C (LyXFind): fixed
15970         (SearchForward): ditto
15971         (SearchBackward): ditto
15972
15973         * BufferView_pimpl.C (workAreaMotionNotify): hopefully fixed the
15974         spurius drawing of the cursor in the main area.
15975
15976         * text2.C (status): small fix which could lead to a segfault!
15977         (clearSelection): remove unneeded BufferView param.
15978
15979 2001-08-01  André Pönitz <poenitz@gmx.net>
15980
15981         * lyxfunc.C: small change due to changed mathed interface
15982
15983 2001-08-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
15984
15985         * bufferlist.C (loadLyXFile): add .lyx to file name if necessary
15986
15987 2001-08-01  John Levon  <moz@compsoc.man.ac.uk>
15988
15989         * lyxfunc.c: fail gracefully if file doesn't exist
15990
15991         * LyXSendto.C:
15992         * buffer.C:
15993         * lyxfunc.C:
15994         * BufferView_pimpl.C: IsDirWriteable() proto changed
15995
15996         * LyXView.C: fix updateWindowTitle() to store the last title
15997
15998 2001-07-31  Juergen Vigna  <jug@sad.it>
15999
16000         * text.C (setHeightOfRow): fixed setting of ascent/descent based on
16001         the font (wrong since using of Paragraph::highestFontInRange).
16002
16003         * paragraph.C (highestFontInRange): added a default_size parameter.
16004
16005         * text.C (getVisibleRow): minor clear row changes (still not perfect).
16006         (setHeightOfRow): reformat
16007
16008 2001-07-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16009
16010         * converter.[hC] + affected files: move to (inital-char)lowercase
16011         function names.
16012
16013         * ParagraphParameters.C (ParagraphParameters): remove commented code
16014
16015         * PainterBase.[Ch]: remove commented code
16016
16017         * LaTeXFeatures.h: add "bool floats" for float.sty
16018
16019         * LaTeXFeatures.C (LaTeXFeatures): init floats
16020         (require): handle float
16021         (getPackages): do it with floats
16022
16023 2001-07-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16024
16025         * BufferView_pimpl.C (Dispatch): improve handling of
16026         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE
16027
16028         * commandtags.h: #include lyxfont.h here temporarily to avoid
16029         keybinding bug.
16030
16031         * bufferlist.h: include LString.h here.
16032
16033 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16034
16035         * text2.C (getStringToIndex): new method.
16036
16037 2001-07-29  Asger Alstrup Nielsen  <alstrup@alstrup>
16038
16039         * *: Reduced header file dependencies all over.
16040
16041 2001-07-30  Baruch Even  <baruch@lyx.org>
16042
16043         * buffer.C (readInset): Stop auto-converting InsetFig to InsetGraphics.
16044
16045 2001-07-29  Baruch Even  <baruch@lyx.org>
16046
16047         * buffer.C (readInset): Changed GRAPHICS to Graphics.
16048
16049 2001-07-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16050
16051         * ParameterStruct.h (endif): add a default constructor to make
16052         sure that all variables is initialized.
16053
16054         * ParagraphParameters.C (ParagraphParameters): adjust
16055
16056 2001-07-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16057
16058         * BufferView_pimpl.C (Dispatch): use WHOLE_WORD selection for
16059         index; also, check that there is something to index, and that it
16060         does not span over several paragraphs.
16061         (doubleClick): use WHOLE_WORD_STRICT for double click.
16062
16063         * text.C (getWord): handle new WHOLE_WORD_STRICT word_location value.
16064
16065         * text2.C (toggleFree): do selection with WHOLE_WORD_STRICT
16066         scheme.
16067
16068 2001-07-26  Baruch Even  <baruch@lyx.org>
16069
16070         * buffer.C (readInset): Changed to call up InsetGraphics when reading
16071         an InsetFig figure, backwards compatible reading of old figure code.
16072
16073 2001-07-27  Juergen Vigna  <jug@sad.it>
16074
16075         * text2.C: font.realize function adaption.
16076
16077         * text.C (draw): add a warnings lyxerr text if needed.
16078
16079         * layout.C: font.realize function adaption.
16080
16081         * language.C: add inherit_language and implement it's handlings
16082
16083         * bufferview_funcs.C (StyleReset): remove language parameter from
16084         font creation (should be language_inherit now).
16085
16086         * bufferparams.C (writeFile): handle ignore_language.
16087
16088         * paragraph.C (getFontSettings): the language has to be resolved
16089         otherwise we have problems in LyXFont!
16090
16091         * lyxfont.C (lyxWriteChanges): added document_language parameter
16092         (update): removed unneeded language parameter
16093
16094         * paragraph.C (validate): fixed wrong output of color-package when
16095         using interface colors for certain fonts in certain environments,
16096         which should not seen as that on the final output.
16097
16098 2001-07-26  John Levon  <moz@compsoc.man.ac.uk>
16099
16100         * BufferView_pimpl.C:
16101         * Thesaurus.h:
16102         * Thesaurus.C:
16103         * Makefile.am:
16104         * commandtags.h:
16105         * LyXAction.C: add thesaurus support
16106
16107         * lyxfind.h:
16108         * lyxfind.C: add "once" parameter, for thesaurus, to not
16109           move to the next match
16110
16111 2001-07-26  Juergen Vigna  <jug@sad.it>
16112
16113         * lyxfont.C (realize): honor ignore_language too!
16114         (resolved): ditto.
16115
16116         * paragraph.C (TeXOnePar): handle ignore language right (hopefully).
16117
16118         * text.C (draw): one place more for ignore_language to not draw
16119         itself!
16120
16121 2001-07-25  Angus Leeming  <a.leeming@ic.ac.uk>
16122
16123         * LaTeXFeatures.C (getPackages): clean-up a little of the natbib code.
16124
16125 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16126
16127         * buffer.C (parseSingleLyXformat2Token): a more general fix for
16128         the minipage conversion problem.
16129
16130 2001-07-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16131
16132         * buffer.C (parseSingleLyXformat2Token): check minipage if we
16133         insert an inset.
16134
16135 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16136
16137         * BufferView.h: don't forward declare WorkArea
16138
16139         * BufferView.C: don't include WorkArea.h
16140
16141 2001-07-25  André Pönitz <poenitz@gmx.net>
16142
16143         * commandtags.h:
16144         * LyXAction.C:
16145         * lyxfunc.C:  new LFUN 'math-space'
16146
16147         * BufferView.[Ch]: remove unneeded reference to 'WorkArea'
16148
16149 2001-07-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16150
16151         * text2.C (toggleInset): call open/close
16152
16153 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16154
16155         * lyxfunc.C (dispatch): add debug for the disabled case
16156
16157         * font.C (buttonText): make similar to rectText
16158
16159         * buffer.C (readInset): comment out parsing of insetlist and
16160         insttheorem
16161
16162         * PainterBase.C (rectText): small correction
16163
16164         * BufferView_pimpl.C: comment out insettheorem and insetlist
16165         * LyXAction.C: ditto
16166         * commandtags.h: ditto
16167
16168 2001-07-24  Juergen Vigna  <jug@sad.it>
16169
16170         * text.C (draw): honor the ignore_language.
16171
16172         * lyxfont.C (LyXFont): set language to ignore_language in FONT_INIT1.
16173
16174 2001-07-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16175
16176         * lyxfunc.C (getStatus): BREAKLINE does _not_ insert a special
16177         char inset.
16178
16179 2001-07-24  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
16180
16181         * lyxtext.h: remove unused (and unimplemented) methods
16182
16183 2001-07-23  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
16184
16185         * text.C (getVisibleRow): honor background color
16186
16187         * PainterBase.h:
16188         * Painter.h: remove default color argument for fillRectangle
16189
16190         * text.C (backgroundColor): new method
16191
16192 2001-07-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16193
16194         * text.C (getVisibleRow): adjust
16195
16196         * font.[Ch] (rectText): new method, metrics
16197         (buttonText): new method, metrics
16198
16199         * PainterBase.[hC]: make rectText and buttonText always draw and take
16200         fewer paramteres.
16201
16202 2001-07-22  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
16203
16204         * ToolbarDefaults.C (read):
16205         * MenuBackend.C (read): allow escaping in all strings
16206
16207         * BufferView_pimpl.C (insertAndEditInset): new method.
16208         (Dispatch): use insertAndEditInset whenever appropriate.
16209
16210         * BufferView_pimpl.C (insertNote): removed
16211
16212         * BufferView_pimpl.C (smartQuote): new method, moved from
16213         BufferView; if an insetquote cannot be inserted, insert a '"'
16214         character instead.
16215
16216         * BufferView2.C: remove insertCorrectQuote();
16217
16218         * lyxfunc.C (getStatus): Add support for all remaingin
16219         inset-insert lfuns.
16220
16221         * trans_mgr.C (insertVerbatim): do not treat '"' specially.
16222
16223         * lyxrc.C (read): in RC_BIND, allow escaped sequences in the
16224         command (necessary to pass " as parameter of self-insert.
16225
16226         * text.C (selectWordWhenUnderCursor):
16227         (selectWord): add word_location parameter
16228         (selectWordWhenUnderCursor): same + remove special code for word
16229         boundary.
16230         (selectNextWord): use kind() to guess type of insetspecialchar,
16231         not latex().
16232
16233         * buffer.C (insertStringAsLines): new method, extracted from LyXText.
16234         (insertErtContents): create ert insets as collapsed.
16235         (readInset): better compatibility code for Info inset.
16236
16237 2001-07-20  Juergen Vigna  <jug@sad.it>
16238
16239         * lyxfunc.C (dispatch): use always LyXFind now!
16240
16241         * text2.C (init): add a reinit flag so that the LyXText can be
16242         reinited instead of deleted and reallocated (used in InsetText).
16243
16244         * BufferView_pimpl.C: use the new Inset::edit(BV, bool) where needed.
16245
16246         * text.C: ditto
16247
16248         * text2.C: ditto
16249
16250 2001-07-18  Juergen Vigna  <jug@sad.it>
16251
16252         * text.C (selectNextWord): handle insets inside inset by calling
16253         always the bv->text functions so that we can go up the_locking_inset!
16254
16255         * BufferView_pimpl.C (show/hideCursor): fixed cursor showing up
16256         in strange locations when inside an inset!
16257
16258         * lyxfind.[Ch]: give all functions a LyXText * parameter and implement
16259         handling to include insets.
16260
16261         * lyxfunc.C (dispatch): changes to calls SearchBackward/Forward.
16262
16263 2001-07-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16264
16265         * LyXAction.C (init):
16266         * commandtags.h:
16267         * BufferView_pimpl.C (Dispatch): change HYPHENATION_BREAK to
16268         LIGATURE_BREAK, since the name is so stupid.
16269
16270 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
16271
16272         * buffer.C (readInset): enable reading of new InsetNotes as well as old
16273         InsetInfos.
16274
16275         * FontLoader.C: remove FORMS_H_LOCATION cruft.
16276
16277         * sp_form.[Ch]: remove.
16278
16279         * src/LColor.[Ch]: remove noteframe. Change note to "yellow".
16280
16281         * src/BufferView_pimpl.C (insertNote): use InsetNote in place of
16282         InsetInfo.
16283
16284         * src/buffer.C (readInset): ditto.
16285
16286 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
16287
16288         * BufferView_pimpl.C (specialChar): new method. Obsoletes
16289         menuSeparator(), endOfSentenceDot(), ldots() and
16290         hyphenationPoint(), which are therefore removed.
16291         (Dispatch): handle LFUN_HYPHENATION_BREAK.
16292
16293         * LyXAction.C (init):
16294         * commandtags.h: add LFUN_HYPHENATION_BREAK.
16295
16296         * paragraph.C (getWord): removed.
16297
16298         * BufferView_pimpl.C (Dispatch): use last word or selection for
16299         LFUN_INDEX_INSERT_LAST and LFUN_INDEX_CREATE.
16300
16301         * lyx_main.C (queryUserLyXDir): do not ask before creating
16302         user_dir, except if it has been named explicitely.
16303
16304 2001-07-20  Angus Leeming  <a.leeming@ic.ac.uk>
16305
16306         * BufferView_pimpl.C (updateScrollbar): Fix crash when reading in
16307         a document of zero size.
16308
16309 2001-07-19  Angus Leeming  <a.leeming@ic.ac.uk>
16310
16311         * LaTeXFeatures.[Ch]: add variable "bool natbib" and set it
16312         approriately in the c-tor and in require().
16313         (getPackages): output the appropriate LaTeX for natbib support.
16314
16315         * buffer.C (parseSingleLyXformat2Token): set the new bufferparams
16316         variables "use_natbib" and "use_numerical_citations" when reading the
16317         LyX file.
16318         (readInset): read the various natbib cite commands.
16319         (validate): white-space change.
16320
16321         * bufferparams.[Ch]: new variables "bool use_natbib" and
16322         "bool use_numerical_citations".
16323         (writeFile): output them in the LyX file.
16324
16325 2001-07-19  Jean-Marc Lasgouttes  <lasgouttes@lyx.org>
16326
16327         * lyxfunc.C (getStatus): add support for all the inset insertion
16328         commands.
16329
16330         * text2.C (insertInset):
16331         * paragraph.C (insetAllowed):
16332         * BufferView_pimpl.C (insertInset): update to take in account the
16333         renaming of insertInsetAllowed
16334
16335         * lyxfunc.C (getStatus): add support for LFUN_INSET_TOGGLE.
16336
16337         * text2.C (getInset): new method. returns inset at cursor position.
16338
16339         * BufferView_pimpl.C (Dispatch): changes because of this.
16340
16341         * LyXAction.C (init): rename open-stuff to inset-toggle.
16342
16343         * commandtags.h: rename LFUN_OPENSTUFF to LFUN_INSET_TOGGLE.
16344
16345         * text2.C (toggleInset): renamed from openStuff; use
16346         Inset::open().
16347
16348 2001-07-13  Yves Bastide  <stid@libd-pc11.univ-bpclermont.fr>
16349
16350         * lyxrc.C (set_font_norm_type): recognise ISO_8859_15.
16351
16352         * lyxrc.h: added ISO_8859_15 to enum FontEncoding.
16353
16354 2001-07-18  Dekel Tsur  <dekelts@tau.ac.il>
16355
16356         * buffer.C (readLyXformat2): Add filename to the error dialog
16357
16358 2001-07-18  Juergen Vigna  <jug@sad.it>
16359
16360         * tabular.C (GetCellNumber): put an assert here instead of the check!
16361
16362 2001-07-17  Juergen Vigna  <jug@sad.it>
16363
16364         * BufferView_pimpl.C (toggleSelection): adapted too.
16365
16366         * text.C (selectNextWord): adapted for use with insets.
16367         (selectSelectedWord): ditto
16368
16369 2001-07-17  Juergen Vigna  <jug@sad.it>
16370
16371         * sp_spell.C (PSpell): fix initialitation order.
16372
16373 2001-07-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16374
16375         * paragraph.C: spacing
16376
16377 2001-07-17  Edwin Leuven  <leuven@fee.uva.nl>
16378
16379         * sp_spell.C: repair language selection for pspell
16380
16381 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16382
16383         * lyxfunc.h: change more methods to begin with lower char.
16384
16385 2001-07-16  Dekel Tsur  <dekelts@tau.ac.il>
16386
16387         * buffer.C (parseSingleLyXformat2Token): Generate error insets
16388         for unknown layouts.
16389
16390 2001-07-13  Dekel Tsur  <dekelts@tau.ac.il>
16391
16392         * buffer.C (readLyXformat2): Generate an error dialog if there are
16393         unknown layouts.
16394
16395 2001-07-16  Juergen Vigna  <jug@sad.it>
16396
16397         * sp_spell.C: always compile ISpell part.
16398
16399         * lyxrc.C: added use_pspell entry and it's handling.
16400
16401 2001-07-13  Juergen Vigna  <jug@sad.it>
16402
16403         * sp_spell.C: removed double includes.
16404
16405 2001-07-13  Angus Leeming  <a.leeming@ic.ac.uk>
16406
16407         Consistent use of Lsstream.h:
16408         * Lsstream.h: added using std::stringstream for consistencies sake.
16409
16410         * buffer.C: removed using std::stringstream
16411
16412         * lyxfont.C (stateText):
16413         * paragraph.C (asString):
16414         * text.C (selectNextWord, selectSelectedWord):
16415         * text2.C (setCounter):
16416         * vspace.C (asString, asLatexString):
16417         std::ostringstream -> ostringstream.
16418
16419 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
16420
16421         * LyXAction.C: add LFUN_HELP_ABOUTLYX
16422         * commandtags.h: add LFUN_HELP_ABOUTLYX
16423         * lyxfunc.C: add about lyx remove credits/copyright/version stuff
16424
16425 2001-07-13  Edwin Leuven  <leuven@fee.uva.nl>
16426
16427         * BufferView_pimpl.C: sigchldchecker instead of sigchldhandeler in
16428         cursorToggle()
16429         * lyx_gui_misc.C: remove spellchecker
16430         * lyxfunc.C: showSpellchecker
16431         * sp_base.h: added
16432         * sp_ispell.h: added
16433         * sp_pspell.h: added
16434         * sp_spell.C: added
16435         * sp_form.[Ch]: removed
16436         * spellchecker.[Ch]: removed
16437
16438 2001-07-12  Kayvan A. Sylvan  <kayvan@sylvan.com>
16439
16440         * paragraph_pimpl.C (simpleTeXBlanks): Simply return if pass_thru
16441         is set.
16442         (simpleTeXSpecialChars): Simply print the input character without
16443         any special translation if pass_thru is set.
16444
16445         * layout.h: Added bool pass_thru to layout class for being able to
16446         implement pass through of a paragraph for Literate Programming.
16447
16448         * layout.C: add LT_PASS_THRU to LayoutTags enum.
16449         * layout.C (LyXLayout): set pass_thru to flase in constructor.
16450         * layout.C (Read): add "passthru" to list of layout tags and add
16451         code to set the pass_thru boolean when it is read.
16452
16453 2001-07-12  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16454
16455         * trans_decl.h: remove allowed from KmodInfo
16456
16457         * trans.[Ch] (AddDeakkey): change prototype to not have allowd.
16458         remove allowed code
16459         (Load): adjust
16460
16461         * paragraph_pimpl.C (erase): use boost::prior
16462
16463         * Painter.C (text): use data() instead of c_str() when length is
16464         also provided.
16465         * WorkArea.C (putClipboard): ditto
16466         * font.h (width): ditto
16467
16468         * BufferView2.C: use it-> instead of (*it). for iterators
16469         * texrow.C: ditto
16470         * paragraph_pimpl.C: ditto
16471         * paragraph.C: ditto
16472         * minibuffer.C: ditto
16473         * language.C: ditto
16474         * kbmap.C: ditto
16475         * encoding.C: ditto
16476         * counters.C: ditto
16477         * converter.C: ditto
16478         * chset.C: ditto
16479         * Variables.C: ditto
16480         * TextCache.C: ditto
16481         * MenuBackend.C: ditto
16482         * LyXAction.C: ditto
16483         * LColor.C: ditto
16484         * FloatList.C: ditto
16485         * DepTable.C: ditto
16486         * ColorHandler.C (LyXColorHandler): ditto
16487
16488 2001-07-10  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16489
16490         * BufferView_pimpl.C (Dispatch): handle LFUN_OPENSTUFF.
16491
16492         * text2.C (openStuff): reintroduce this method (which had been
16493         nuked in NEW_INSETS frenzy).
16494
16495         * lyxfunc.C (Dispatch): when an action has not been handled, use
16496         its name in the error message, not its number.
16497
16498         * paragraph.C (inInset): change method name to begin with lowercase.
16499
16500         * undo_funcs.C:
16501         * text2.C: updates because of this.
16502
16503 2001-07-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16504
16505         * ToolbarDefaults.C (add): add spaces in error message
16506
16507 2001-07-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16508
16509         * buffer.C (readLyXformat2): initialize the ert comp. variables.
16510         (readLyXformat2): rename return_par to first_par, use lyxlex's
16511         pushToken and remove the manual push handling.
16512         (parseSingleLyXformat2Token): add another ert comp. variable:
16513         in_tabular, rename return_par to first_par. handle newlines better
16514
16515 2001-07-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16516
16517         * kbsequence.C (getiso): redirect debug info to Debug::KBMAP.
16518
16519 2001-07-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16520
16521         * text2.C (getParFromID): removed
16522
16523         * buffer.C (getParFromID): new method moved form lyxtext.
16524         * BufferView2.C (insertErrors): adjust
16525         (setCursorFromRow): adjust
16526         * BufferView_pimpl.C (restorePosition): adjust
16527         * lyxfunc.C (Dispatch): adjust
16528         * undo_funcs.C (textUndo): adjust
16529         (textRedo): adjust
16530         (textHandleUndo): adjust
16531         (textHandleUndo): adjust
16532
16533 2001-07-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16534
16535         * buffer.C: up' the LYX_FORMAT
16536
16537         * lyxfont.h: turn NO_LATEX on as default
16538
16539         * buffer.C (insertErtContents): new methods of tex style compability.
16540         (parseSingleLyXformat2Token): use it several places.
16541         * tabular.C (OldFormatRead): and here
16542
16543 2001-07-07  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16544
16545         * text2.C: remove some commented code.
16546         reindent file.
16547
16548         * trans_mgr.[Ch]: simplify normalkey to only take a char as arg.
16549         * trans.C: changes because of the above.
16550
16551 2001-07-07  Dekel Tsur  <dekelts@tau.ac.il>
16552
16553         * text2.C (setCounter): Fix counters bug with bibliography layout.
16554
16555 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16556
16557         * paragraph_pimpl.C (simpleTeXBlanks): don't go through owner_ for
16558         own member functions
16559         (simpleTeXSpecialChars): ditto
16560
16561 2001-07-06  Juergen Vigna  <jug@sad.it>
16562
16563         * a lot of files: changed the access to LyXText::status and the
16564         call of undo-functions.
16565
16566         * undo.[Ch]: added a inset_id to the undo informations.
16567
16568         * undo_funcs.[Ch]: added and moved here all undo functions.
16569
16570         * lyxtext.h: give the status enum a weight, made status_ a private
16571         variable and made accessor functions for it, removed the whole bunch
16572         of undo-functions as they are now in their own file, make some
16573         functions publically available. Added function ownerParagraph with
16574         int parameter.
16575
16576         * paragraph.[Ch]: added "bool same_ids" to the constructor,
16577         made InInset() a const function, added getParFromID() function.
16578
16579         * buffer.[Ch]: added const version for inset_iterator functions,
16580         added getInsetFromID() function.
16581
16582         * BufferView2.C, BufferView_pimpl.C, text.C, text2.C, lyxfunc.C:
16583         changed undo functions for new version.
16584
16585 2001-07-05  Juergen Vigna  <jug@sad.it>
16586
16587         * paragraph_pimpl.C (Pimpl): set id_ also here (this is because some
16588         unknow mechanism does not call the proper constructor but only this
16589         one also if I request the other!?
16590
16591 2001-07-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16592
16593         * BufferView_pimpl.C (resizeCurrentBuffer): init the new LyXText
16594
16595         * text2.C (LyXText): use initialization lists.
16596
16597         * lyxtext.h (Selection): initialize set_ and mark_
16598         (init): remove method
16599
16600 2001-07-05  Dekel Tsur  <dekelts@tau.ac.il>
16601
16602         * LaTeX.C (scanLogFile): Parse rerun messages from latex packages.
16603
16604 2001-07-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16605
16606         * screen.[Ch]: change method names to begin with lowercase
16607
16608         * BufferView_pimpl.C (updateScrollbar): simplify further and
16609         hopefully make it a bit faster.
16610
16611 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16612
16613         * ColorHandler.C (LyXColorHandler): use GUIRunTime instead of
16614         calling directly xforms functions.
16615
16616         * Painter.C (Painter):
16617         * lyx_cb.C (MenuWrite):
16618         * FontInfo.C (query): use GUIRunTime::x11Display() instead of
16619         fl_display.
16620
16621         * lyx_gui.C: remove bogus guiruntime extern declaration.
16622
16623 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16624
16625         * text2.C (redoHeightOfParagraph): comment out stuff we don't need
16626         in NEW_INSETS
16627         (redoDrawingOfParagraph): ditto
16628         (redoParagraphs): ditto
16629         (cutSelection): don't create a object for CutAndPaste use the
16630         static method directly
16631         (pasteSelection): ditto
16632
16633         * bufferview_funcs.[Ch]: move ProhibitInput and AllowInput to
16634         LyXview (+ rename)
16635
16636 2001-07-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16637
16638         * modifications to some other files because of this.
16639
16640         * Makefile.am (lyx_SOURCES): add XFormsView
16641
16642         * XFormsView.[Ch]: new files
16643
16644         * LyXView.[Ch]: make LyXView a base class for the gui handling for
16645         the main window. Move the gui dependent stuff to XFormsView
16646
16647 2001-07-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16648
16649         * tabular.C (GetCellInset): update cur_cell also in the row/col
16650         version of this function.
16651
16652         * lyxfunc.C: no need to include figure_form.h here.
16653
16654         * FontLoader.h:
16655         * lyxfunc.h:
16656         * lyxscreen.h:
16657         * text2.C:
16658         * lyxvc.C: no need to include forms.h here.
16659
16660 2001-06-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16661
16662         * lyxrc.C (read): change debugging channel for RC_BIND to lyxrc.
16663
16664         * lyxfunc.C (Dispatch):
16665         * Spacing.C (set):
16666         * BufferView_pimpl.C (Dispatch): use .c_str() on istringstream
16667         constructor argument.
16668
16669 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16670
16671         * paragraph.C (Paragraph): dont't clear, and just set layout.
16672         (makeSameLayout): use params's copy contructor.
16673
16674         * ParagraphParameters.[Ch] (makeSame): delete method
16675
16676 2001-06-29  John Levon  <moz@compsoc.man.ac.uk>
16677
16678         * Variables.[Ch]: fix indentation, rename set to isSet
16679
16680 2001-06-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16681
16682         * lyxfunc.C (Dispatch): fix typo
16683
16684 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16685
16686         * paragraph_pimpl.C: add std:: qualifier to lower_bound and
16687         upper_bound.
16688
16689         * bufferlist.C: include assert.h for emergencyWrite().
16690
16691 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16692
16693         * lyx_main.C: if we can't even find a readable LYX_DIR directory,
16694           give up at last (bug #425202) !
16695
16696 2001-06-27  John Levon  <moz@compsoc.man.ac.uk>
16697
16698         * lyx_gui_misc.C:
16699         * sp_form.h:
16700         * sp_form.C:
16701         * spellchecker.h:
16702         * spellchecker.C: strip spellchecker options and bring up
16703           preferences tab instead
16704
16705 2001-06-28  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16706
16707         * BufferView_pimpl.C (Dispatch): add .c_str() to the argument of
16708         the istringstream constructor
16709
16710 2001-06-27  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16711
16712         * paragraph.C (getLayout): fix return value
16713
16714         * paragraph.h: do not declare getLayout as inline.
16715
16716         * lyxtext.h: remove LyXText:: qualifier to changeRegionCase
16717
16718 2001-06-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16719
16720         * lyxcursor.h (operator<): new func
16721         (operator>): new func
16722         (operator>=): new func
16723         (operator<=): new func
16724
16725         * text.C (changeCase): use selection.start and selection.end
16726         (changeRegionCase): require from to be <= to. Require par to be a
16727         valid paragraph.
16728
16729         * LaTeXFeatures.C (getFloatDefinitions): std:: qualify ostream
16730
16731 2001-06-27  Juergen Vigna  <jug@sad.it>
16732
16733         * text.C (cursorLeftOneWord): changed to return the cursor and added
16734         overlay with BufferView * parameter which calls this one.
16735         (getWord): added
16736         (selectWord): use new getWord function.
16737         (changeCase): renamed from changeWordCase as and extended to work
16738         also on selections.
16739
16740         * lyxtext.h: added enum word_location
16741
16742         * BufferView_pimpl.C (Dispatch): change function changeWordCase to
16743         changeCase as this operates now also on selections.
16744
16745 2001-06-26  The LyX Project  <lyx@violet.home.sad.it>
16746
16747         * lyxfunc.C (getStatus): support LFUN_MATH_MUTATE
16748
16749         * many files: send debug output to Debug::INFO instead of
16750         Debug::ANY.
16751
16752         * converter.C (View):
16753         (Convert):
16754         (Move): send debug output to Debug::FILES instead of console.
16755
16756 2001-06-26  The LyX Project  <lyx@rose.home.sad.it>
16757
16758         * lyxfunc.C (getStatus): use func_status
16759
16760         * func_status.h: new header, describing the results of
16761         LyXFunc::getStatus;
16762
16763         * lyxfunc.C (getStatus): add support for LFUN_MATH_VALIGN and
16764         LFUN_MATH_HALIGN.
16765
16766 2001-06-25  The LyX Project  <jug@sad.it>
16767
16768         * buffer.C (sgmlOpenTag):
16769         (sgmlCloseTag):
16770         (SimpleDocBookOnePar):  disable the depth spaces, for the moment.
16771
16772 2001-06-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16773
16774         * text2.C: remove some dead code
16775
16776         * tabular.C (GetCellInset): store the last cell checked (gotten)
16777
16778         * tabular.h: add the helper for the speedup
16779
16780         * lyxtext.h: remove some dead code
16781
16782 2001-06-26  The LyX Project  <Asger>
16783
16784         * paragraph.C: Change export to LaTeX of alignment to
16785         \begin{center} and family for better roundtrip work with reLyX.
16786
16787         * Tune the math drawing a bit.
16788
16789 2001-06-25  The LyX Project  <Asger>
16790
16791         * LColor.C (LColor): New color for math background. New color
16792         for buttons.
16793
16794 2001-06-25  The LyX Project  <jug@sad.it>
16795
16796         * lyxfunc.C (MenuNew): remove extra check for .lyx file
16797
16798         * lyxfunc.C (Open):
16799         * bufferlist.C (newFile): do not restrict to files ending with
16800         .lyx
16801
16802         * BufferView_pimpl.C (MenuInsertLyXFile):
16803
16804 2001-06-24  The LyX Project  <jug@sad.it>
16805
16806         * lyxlex_pimpl.C (compare_tags): use compare_ascii_no_case instead
16807         of compare_no_case
16808
16809 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16810
16811         * lyxtext.h: rename most methods to begin with a small char.
16812         Lots of changes because of this.
16813
16814         * paragraph.C (Paragraph): do not call fitToSize
16815         (erase): call Pimpl::erase
16816         (insertChar): call Pimpl::insertChar
16817         (insertInset): call Pipl::insertInset
16818         (breakParagraph): do not call fitToSize
16819         (breakParagraphConservative): do not call fitToSize
16820         (fitToSize): remove method
16821
16822         * buffer.C (parseSingleLyXformat2Token): do not call fitToSize
16823
16824 2001-06-24  The LyX Project  <Asger>
16825
16826         * Fix Qt compilation^2
16827
16828 2001-06-24  The LyX Project  <jug@sad.it>
16829
16830         * paragraph.[Ch] (outerHook): new method. mostly equivalent to
16831         depthHook(getDepth()-1).
16832
16833         * paragraph.h:
16834         * ParagraphParameters.h:
16835         * ParameterStruct.h: change type of depth to unsigned int ==
16836         depth_type. Many adaptations to other files before of that.
16837
16838 2001-06-24  The LyX Project  <Asger>
16839
16840         * Fix Qt compilation.
16841
16842 2001-06-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16843
16844         * paragraph.h: renamed several methods to begin with small letter.
16845         several changes to many parts of the code because of this.
16846
16847 2001-06-23  The LyX Project  <jug@sad.it>
16848
16849         * text2.C (InsertStringAsLines): renamed from InsertStringA;
16850         rewritten to discard all double spaces when KeepEmpty is off
16851         (InsertStringAsParagraphs): renamed from InsertStringB; rewritten
16852         to only handle newlines but not fiddle with spaces and friends.
16853
16854         * lyxfunc.C (MenuNew): when doing 'new from template', use
16855         template_path as default directory
16856
16857 2001-06-23  The LyX Project  <Asger>
16858
16859         * Clean-up of header file includes all over
16860         * paragraph.h: Move some of the stuff into paragraph_pimpl.h
16861
16862 2001-06-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16863
16864         * paragraph.h: renamed from lyxparagraph.h
16865
16866 2001-06-23  Asger  <lyx@violet.home.sad.it>
16867
16868         * Buffer.h: Removed Buffer::resize
16869         * BufferList.h: Removed BufferList::resize
16870         * LyXView.h: Added LyXView::resize. This way, we will only reflow
16871         the document lazily when we change the width, or the font settings.
16872
16873 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16874
16875         * lyxfunc.C: silently ignore empty dispatches from the minibuffer
16876
16877 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16878
16879         * buffer.h: remove out of date comment
16880
16881 2001-06-22  John Levon  <moz@compsoc.man.ac.uk>
16882
16883         * lyxscreen.h:
16884         * screen.C: fix "theoretical" GC leak
16885
16886 2001-06-20  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16887
16888         * LaTeX.C (scanAuxFile):
16889         (deplog): remove trailing \r when reading stream (useful under
16890         win32)
16891
16892 2001-06-15  Angus Leeming  <a.leeming@ic.ac.uk>
16893
16894         * BufferView_pimpl.C (fitCursor): emit a signal updateParagraph.
16895         (resizeCurrentBuffer): have functions BufferView::theLockingInset()
16896         and BufferView::theLockingInset(Inset*), so should use them and not
16897         access bv_->text->the_locking_inset directly.
16898
16899         * lyxfunc.C (Dispatch): cosmetic name change of three signals.
16900
16901 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
16902
16903         * Makefile.am:
16904         * tex-defs.h: remove old unused file
16905
16906 2001-06-15  John Levon  <moz@compsoc.man.ac.uk>
16907
16908         * BufferView_pimpl.C: fix typo, remove minibuffer message
16909           when buffer has loaded
16910
16911 2001-06-14  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16912
16913         * lyxfunc.C (Dispatch): use stringstream
16914         (MenuNew): use stringstream
16915         (Open): use stringstream
16916
16917         * importer.C (Import): use stringstream
16918
16919         * bufferview_funcs.C (CurrentState): use stringstream
16920
16921         * LaTeX.C (run): use stringstream
16922
16923         * BufferView_pimpl.C (savePosition): use stringstream
16924         (restorePosition): use stringstream
16925         (MenuInsertLyXFile): use stringstream
16926
16927 2001-06-14  Angus Leeming  <a.leeming@ic.ac.uk>
16928
16929         * BufferView.C:
16930         * Bullet.C:
16931         * ColorHandler.C:
16932         * FontInfo.C:
16933         * FontLoader.C:
16934         * LColor.C:
16935         * LaTeXFeatures.C:
16936         * Painter.C:
16937         * gettext.C:
16938         * lyx_gui_misc.C:
16939         * lyxserver.C:
16940         * vspace.C: removed // -*- C++ -*- as first line.
16941
16942         * lyxfind.h:
16943         * version.h: added // -*- C++ -*- as first line.
16944
16945 2001-06-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16946
16947         * lyxfunc.C (getStatus): support LFUN_READ_ONLY_TOGGLE
16948
16949         * text2.C (SetSelectionOverString): do not test str[i]==0 for end
16950         of string
16951
16952 2001-06-13  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16953
16954         * buffer.C (parseSingleLyXformat2Token): fix compatability reading
16955         of floats.
16956
16957 2001-06-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16958
16959         * gettext.C: include LString.h even when --disable-nls is on.
16960
16961 2001-06-12  Angus Leeming  <a.leeming@ic.ac.uk>
16962
16963         * converter.h (Get): changed argument type from int to
16964         FormatList::size_type to avoid unnecessary conversion.
16965
16966         * bufferview_funcs.C (ToggleAndShow): check state of LyXText pointer
16967         before using it.
16968
16969 2001-06-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16970
16971         * gettext.h: include LString.h even when --disable-nls is on.
16972
16973 2001-06-07  Juergen Vigna  <jug@sad.it>
16974
16975         * text.C (BreakAgain): subst spaces with tabs.
16976
16977         * paragraph.C (deleteInsetsLyXText): set recursive on deleteLyXText.
16978         (resizeInsetsLyXText): set force on resizeLyXText.
16979
16980 2001-06-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
16981
16982         * gettext.h (gettext_init):
16983         (locale_init): use a real definition instead of a macro
16984
16985 2001-06-02  John Levon  <moz@compsoc.man.ac.uk>
16986
16987         * Bufferview_pimpl.C:
16988         * LColor.h:
16989         * LColor.C: further lcolor tidies
16990
16991 2001-06-05  Lars Gullik Bjønnes  <larsbj@birdstep.com>
16992
16993         * BufferView_pimpl.C (updateScrollbar): simplify.
16994
16995         * BufferView2.C: don't include insets/insetinfo.h, change
16996         prototype for insertInset and call the Pimpl version. let
16997         updateInset call Pimpl version.
16998
16999         * BufferView.h: move inset_slept to BufferView::Pimpl, move
17000         gotoInset to BufferView::Pimpl
17001
17002 2001-06-01  Juergen Vigna  <jug@sad.it>
17003
17004         * lyxfunc.C (Dispatch): LFUN_PREFIX don't call the update if we're
17005         inside a LockingInset (is the update needed at all?).
17006
17007 2001-05-31  Juergen Vigna  <jug@sad.it>
17008
17009         * BufferView_pimpl.C (Dispatch): we need a new instanze of cursor
17010         here not the old one otherwise how should we compare it afterwards
17011         if it's the same!
17012
17013 2001-06-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17014
17015         * lyxfont.C:
17016         * tabular.C:
17017         * tabular-old.C:
17018         * FontInfo.C: bring C functions into global namespace when
17019         necessary
17020
17021 2001-05-30  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17022
17023         * LString.h: make sure config.h has been loaded before LString.h.
17024
17025         * lyxlex_pimpl.C (EatLine): comment out annoying debug messages
17026         (one for each char read by EatLine!).
17027
17028         * lyx_main.C (init): constify lyxdir. Lowercase the name of some
17029         variables.
17030
17031 2001-06-01  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17032
17033         * paragraph.C (BreakParagraph): set the inset_owner in the new par
17034         to the same as the par we break from
17035
17036 2001-05-31  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17037
17038         * commandtags.h: add LFUN_INSET_WIDE_FLOAT
17039
17040         * MenuBackend.C (expand): also create menu entries for wide
17041         versions of the floats.
17042
17043         * LyXAction.C (init): add entry for LFUN_INSET_WIDE_FLOAT
17044
17045         * BufferView_pimpl.C (Dispatch): implement LFUN_INSET_WIDE_FLOAT
17046
17047         * Makefile.am (lyx_DEPENDENCIES): adjust for change in
17048         frontends/Makefile.am
17049
17050         * text2.C: adjust
17051         * text.C: adjust
17052
17053
17054         * tabular.C (getTokenValue): add std::
17055
17056         * tabular-old.C (getTokenValue): add std::
17057         (getTokenValue): ditto
17058         (getTokenValue): ditto
17059
17060         * screen.C (ToggleSelection): adjust
17061
17062         * lyxtext.h: put selection cursors inside a Selection struct.
17063
17064         * lyxfunc.C (moveCursorUpdate): adjust
17065
17066         * lyxfont.C (latexWriteStartChanges): add std::
17067
17068         * lyxfind.C: adjust
17069
17070         * font.h: delete with(char const *, LyXFont const &)
17071
17072         * buffer.C (parseSingleLyXformat2Token): use contains instead of strstr
17073
17074         * FontInfo.C (getFontname): add std::
17075
17076         * BufferView_pimpl.C (resizeCurrentBuffer): adjust
17077         (workAreaButtonPress): adjust
17078         (tripleClick): adjust
17079         (update): adjust
17080         (moveCursorUpdate): adjust
17081         (Dispatch): adjust
17082
17083         * BufferView2.C (gotoInset): adjust
17084
17085 2001-05-30  Juergen Vigna  <jug@sad.it>
17086
17087         * spellchecker.C (USE_ORIGINAL_MANAGER_FUNCS): as it seems only I use
17088         to check pspell I add this as default as I now have new pspell
17089         libraries and they seem to use this.
17090
17091 2001-05-30  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17092
17093         * text2.C (CutSelection): make the cursor valid before the call to
17094         ClearSelection.
17095
17096 2001-05-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17097
17098         * kbsequence.C (parse): de-uglify a bit the parsing code, which
17099         relied on 0 terminated strings and other horrors. Bug found due to
17100         the new assert in lyxstring!
17101
17102         * lyx_main.C (defaultKeyBindings): add bindings the cursor-related
17103         KP_ keys.
17104
17105 2001-05-29  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17106
17107         * lyx_main.C (defaultKeyBindings): move self-insert KP_ bindings
17108         to latinkeys.bind.
17109
17110         * lyxfunc.C (processKeySym): change method of getting to the
17111         self-insert char.
17112
17113         * BufferView(2).[Ch]: move hfill, protectedBlank, newline,
17114         menuSeparator, endOfSentenceDot, ldots, hypenationPoint and menuUndo
17115         * BufferView_pimpl.[Ch]: here as private methods.
17116
17117 2001-05-28  Juergen Vigna  <jug@sad.it>
17118
17119         * text.C (SetHeightOfRow): added the update() call again as it is
17120         needed to initialize inset dimensions!
17121
17122 2001-05-16  Juergen Vigna  <jug@sad.it>
17123
17124         * text2.C (SetCharFont): Add new function with BufferView * and
17125         bool toggleall parameters for setting insets internal fonts.
17126         (SetFont): Freeze the undo as we may change fonts in Insets and
17127         all this change should be inside only one Undo!
17128
17129         * bufferview_funcs.C (ToggleAndShow): fixed this functions for
17130         setting font's in insets as for them we have the SetFont function!
17131
17132 2001-05-15  Juergen Vigna  <jug@sad.it>
17133
17134         * text2.C (ClearSelection): to be sure we REALLY don't have any
17135         selection anymore!
17136
17137         * tabular.C (TeXCellPreamble): fixed the left border problem for
17138         multicolumn cells.
17139
17140 2001-05-27  Dekel Tsur  <dekelts@tau.ac.il>
17141
17142         * LaTeX.C (deplog): Make sure that the main .tex file is in the
17143         dependancy file
17144
17145 2001-05-23  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17146
17147         * lyx_main.C (defaultKeyBindings): set KP_enter to point at
17148         LFUN_BREAKPARAGRAPH.
17149
17150         * LyXAction.C (init): remove external name for LFUN_LAYOUTNO, set
17151         help test to "internal only", similar for LFUN_INSERT_URL
17152
17153         * BufferView_pimpl.C (Dispatch::LFUN_QUOTE): change it to to the insertcorrectQuote.
17154         (Dispatch::LFUN_SELFINSERT): fix to handle math greek,
17155         auto_region_delete and deadkeys.
17156
17157 2001-05-22  John Levon  <moz@compsoc.man.ac.uk>
17158
17159         * LColor.h:
17160         * LColor.C: remove some dead entries, tidy a little
17161
17162 2001-05-18  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17163
17164         * lyxfunc.C (processKeySym): comment the Escape handling, remove
17165         commented code.
17166         (Dispatch): implement LFUN_ESCAPE
17167
17168         * commandtags.h: add LFUN_ESCAPE
17169
17170         * LyXAction.C (init): add entry for LFUN_ESCAPE
17171
17172         * BufferView_pimpl.C (Dispatch): adjust for open_new_inset move.
17173         Remove commented code.
17174         (insertNote): moved here
17175         (open_new_inset): moved here
17176
17177         * BufferView[2].[Ch]: move insertNote and open_new_inset to
17178         BufferView_pimpl
17179
17180 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17181
17182         * kbmap.C (findbinding): clean it up and make it work correctly.
17183
17184         * lyx_main.C (init): do not pass argc and argv as parameters
17185
17186 2001-05-16  Ruurd Reitsma  <r.a.reitsma@wbmt.tudelft.nl>
17187
17188         * buffer.C: fix path for OS/2 & Win32
17189
17190         * lyx_gui.C:
17191         * lyx_main:
17192         * lyx_main.C: Added os:: class.
17193
17194         * os2_defines.h: update
17195
17196 2001-05-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17197
17198         * lyxfunc.[Ch] (processKeySym): return void. Handle unknown actions
17199         better by trying again with reduced state.
17200
17201 2001-05-16  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17202
17203         * lyxrc.C (read): print error about invalid key sequence only when
17204         debugging (because not all latinX keysyms are known to some X
17205         servers)
17206
17207         * kbsequence.C (getiso): add a few std:: qualifiers
17208         (getiso): comment out extra return statement.
17209
17210 2001-05-11  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17211
17212         * BufferView_pimpl.C (Dispatch): comment out the old "default" key
17213         handling.
17214         (Dispatch): enhance the accent inset a bit. (not perfect)
17215
17216 2001-05-10  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17217
17218         * buffer.C (makeLaTeXFile): use stringstream on language_optons.
17219
17220 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17221
17222         * bufferlist.C (emergencyWrite): fix assert() call
17223
17224 2001-05-04  Kayvan A. Sylvan  <kayvan@sylvan.com>
17225
17226         * text.C (InsertChar): Added trivial patch to only send the "you
17227         can not do multiple spaces this way" message once during a
17228         session.
17229
17230 2001-05-08  Baruch Even  <baruch@lyx.org>
17231
17232         * Makefile.am: Changed order of libraries to get LyX to link properly
17233         with the gnome frontend.
17234
17235 2001-05-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17236
17237         * LaTeXFeatures.h: add a std:: qualifier
17238
17239 2001-05-09  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17240
17241         * paragraph.C (String): use stringstream
17242
17243 2001-05-08  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17244
17245         * paragraph.C (writeFile): remove footflag arg
17246
17247         * buffer.C (makeLaTeXFile): use stringstream
17248         (latexParagraphs): remove footnot gurba
17249
17250         * LaTeXFeatures.C (getPackages): use stringstream
17251         (getMacros): likewise
17252         (getTClassPreamble): likewise
17253         (getFloatDefinitions): new method
17254
17255         * paragraph.C (writeFile): reindent
17256         (Erase): reindent
17257
17258         * WorkArea.h: revert the xpos + etc changes.
17259
17260         * CutAndPaste.C (SwitchLayoutsBetweenClasses): constify name and s
17261
17262         * lyxparagraph.[Ch]: add copy constructor, remove Clone
17263
17264         * CutAndPaste.C (copySelection): use LyXParagraph copy constructor
17265         (pasteSelection): likewise
17266         * text2.C (CreateUndo): likewise
17267
17268 2001-05-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17269
17270         * minibuffer.C (peek_event): temporarily reduce the functionality
17271         of the minibuffer (to allow args on lfuns)
17272
17273         * commandtags.h: remove LFUN_LOA_INSERT, LFUN_LOF_INSERT,
17274         LFUN_LOT_INSERT. add LFUN_FLOAT_LIST
17275
17276         * buffer.C (readInset): add compability reading of old float
17277         lists, add reading of new style float list.
17278         (readInset): avoid reevaluation of inscmd.getCmdName()
17279         (getLists): reindent
17280
17281         * MenuBackend.C (MenuItem): implement parsing of
17282         md_floatlistinsert and md_floatinsert.
17283         (expand::LastFiles): move initalizaton of iterators out of loop,
17284         avoid reevaluation.
17285         (expand::Documents): introduce typdedef vector<string> Strings,
17286         and use it.
17287         (expand::ExportFormats): introduce typedef vector<Format const *>
17288         Formats, and use it.
17289         (expand): implement FloatListInsert and FloatInsert.
17290
17291         * LyXAction.C (init): remove entries for LFUN_LOA_INSERT,
17292         LFUN_LOA_VIEW, LFUN_LOF_INSERT, LFUN_LOFVIEW, LFUN_LOT_INSERT,
17293         LFUN_LOTVIEW. Add entry for LFUN_FLOAT_LIST
17294
17295         * BufferView_pimpl.C (Dispatch::LFUN_TOC_INSERT): remvoe the float
17296         handling.
17297         (Dispatch::LFUN_FLOAT_LIST): implement
17298
17299 2001-04-28  Kayvan A. Sylvan  <kayvan@sylvan.com>
17300
17301         * LaTeX.C (run): Fix problem with --export code.
17302
17303 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
17304
17305         * BufferView.[Ch] (workarea): removed.
17306         (getClipboard) new method; wrapper for workarea()->getClipboard()
17307
17308         * ToolbarDefaults.C (read): removed final lex.next() command; it's a
17309         bug.
17310
17311         * WorkArea.h (width, height, xpos, ypos): These methods all
17312         returned the dimensions of the work_area sub-area of WorkArea,
17313         resulting in a position error if the WorkArea were resized. Now
17314         return the dimensions of the entire WorkArea.
17315
17316         * lyx_main.C (ReadUIFile): don't print out spurious warnings.
17317
17318 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17319
17320         * LaTeX.C (deplog): correct the syntax of regex reg1
17321
17322 2001-05-03  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17323
17324         * undo.C: remove !NEW_INSETS cruft
17325
17326 2001-04-28  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17327
17328         * text2.C: remove !NEW_INSETS cruft
17329
17330         * text.C: remove !NEW_INSETS cruft
17331
17332         * tabular.C: remove !NEW_INSETS cruft
17333
17334         * spellchecker.C: remove !NEW_INSETS cruft
17335
17336         * lyxtext.h: remove !NEW_INSETS cruft
17337
17338         * lyxlex_pimpl.C: remove !NEW_INSETS cruft
17339
17340         * lyxfunc.C: remove !NEW_INSETS cruft
17341
17342         * lyxfind.C: remove !NEW_INSETS cruft
17343
17344         * lyx_cb.C: remove !NEW_INSETS cruft
17345
17346         * figureForm.C: remove  !NEW_INSETS cruft
17347
17348         * bufferview_funcs.[Ch]: remove !NEW_INSETS cruft
17349
17350         * buffer.[Ch]: remove !NEW_INSETS cruft
17351
17352         * ToolbarDefaults.C: remove !NEW_INSETS cruft
17353
17354         * CutAndPaste.C: remove !NEW_INSETS cruft
17355
17356         * BufferView_pimpl.C: remove !NEW_INSETS cruft
17357
17358         * BufferView2.C: remove !NEW_INSETS cruft
17359
17360         * BufferView.h: remove !NEW_INSETS cruft
17361
17362 2001-05-03  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17363
17364         * Lsstream.h: include LString.h before the sstream headers to
17365         fix problem with gcc 2.95.3 and lyxstring
17366
17367 2001-05-02  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17368
17369         * lyx_main.C: add using directives when needed for C functions
17370         declared in std:: namespace.
17371
17372 2001-04-27  Juergen Vigna  <jug@sad.it>
17373
17374         * text.C (Fill): return 20 instead of 0 if paper_width < 0 (endless)
17375         (SetHeightOfRow): comment out the update call should not be needed!
17376
17377 2001-04-13  Juergen Vigna  <jug@sad.it>
17378
17379         * tabular.C (GetAdditionalHeight): changed parameter from cell to row.
17380         (LyXTabular): tried to minimize operator= operations (and realized
17381         hopfully Lars wish).
17382
17383 2001-04-27  Juergen Vigna  <jug@sad.it>
17384
17385         * spellchecker.C (sc_check_word): fixed Assert to lyx::Assert.
17386
17387 2001-04-27  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17388
17389         * lyxfunc.C (Dispatch): hack to make listof algorithm work
17390
17391         * buffer.C (readInset): hack to make listof algorithm work
17392
17393         * BufferView_pimpl.C: hack to make listof algorithm work
17394
17395 2001-04-26  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17396
17397         * LyXAction.C: removed all !NEW_INSETS cruft
17398         (init): moved lfun_item in method
17399
17400         * lyxparagraph.[Ch]: removed all !NEW_INSETS cruft
17401
17402 2001-04-26  Angus Leeming  <a.leeming@ic.ac.uk>
17403
17404         * BufferView2.C (theLockingInset): white space.
17405
17406 2001-04-25  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17407
17408         * minibuffer.C: include <iostream>
17409
17410         * BufferView_pimpl.C: implement LFUN_TRANSPOSE_CHARS
17411
17412         * LyXAction.C (init): add LFUN_TRANSPOSE_CHARS
17413
17414         * commandtags.h: add LFUN_TRANSPOSE_CHARS
17415
17416         * text.[Ch] (TransposeChars): new method
17417
17418 2001-04-24  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17419
17420         * call message directly through LyXView instead of through LyXFunc
17421         * BufferView2.C: adjust
17422         * BufferView_pimpl.C: adjust
17423         * FontLoader.C: adjust
17424         * buffer.C: adjust
17425         * bufferview_funcs.C: adjust
17426         * converter.C: adjust
17427         * figureForm.C: adjust
17428         * importer.C: adjust
17429         * lyx_cb.C: adjust
17430         * lyx_gui_misc.C: adjust
17431         * lyxfunc.C: adjust
17432         * lyxvc.C: adjust
17433         * text2.C: adjust
17434         + more files in subdirs
17435
17436         * lyxparagraph.h (size): move up int file
17437         (GetLayout): ditto
17438
17439         * adjust all uses of Assert to lyx::Assert.
17440
17441         * BufferView2.C (ChangeCitationsIfUnique): adjust for
17442         lyxfunctional in namespace lyx
17443         * layout.C (hasLayout): ditto
17444         (GetLayout): ditto
17445         (GetLayout): ditto
17446         (delete_layout): ditto
17447         (NumberOfClass): ditto
17448         * converter.C (GetFormat): ditto
17449         (GetNumber): ditto
17450         (Add): ditto
17451         (Delete): ditto
17452         (SetViewer): ditto
17453         * bufferlist.C (getFileNames): ditto
17454         (emergencyWriteAll): ditto
17455         (exists): ditto
17456         (getBuffer): ditto
17457         * MenuBackend.C (hasSubmenu): ditto
17458         (hasMenu): ditto
17459         (getMenu): ditto
17460         * BufferView_pimpl.C (getInsetByCode): ditto
17461
17462 2001-04-18  Juergen Vigna  <jug@sad.it>
17463
17464         * vspace.C (asLatexString): fixed the 100% problem.
17465
17466 2001-04-18  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17467
17468         * lyxfunc.C (Dispatch):
17469         * minibuffer.C:
17470         * minibuffer.h: add a few std:: qualifiers
17471
17472 2001-04-17  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17473
17474         * minibuffer.[Ch]: reimplement so that commands is initiated and
17475         run from lyxfunc, simplified som handling, and made the completion
17476         and history code for complete. wip.
17477
17478         * lyxfunc.C (processKeySym): call message
17479         (miniDispatch): new temporary method
17480         (LFUN_EXEC_COMMAND): reimplement for new minibuffer
17481         (LFUN_MESSAGE): implement
17482         (LFUN_MESSAGE_PUSH): implement
17483         (LFUN_MESSAGE_POP): implement
17484         (initMiniBuffer): the initial/defualt minibuffer message.
17485
17486         * lyxfont.[Ch]: inline some more getters
17487
17488         * lyx_gui_misc.C (WriteAlert): use LFUN_MESSAGE
17489
17490         * lyx_gui_misc.[Ch] (WriteStatus): remove method
17491
17492         * lyx_cb.[Ch] (ShowMessage): remove delay arg, use LFUN_MESSAGE
17493         (AutoSave): use LFUN_MESSAGE
17494         (Reconfigure): ditto
17495
17496         * importer.C (Import): constify som local vars, use LFUN_MESSAGE
17497
17498         * figureForm.C: use LFUN_MESSAGE
17499
17500         * converter.C (runLaTeX): use LFUN_MESSAGE
17501
17502         * bufferview_funcs.C: use LFUN_MESSAGE
17503         (Melt): ditto
17504         (changeDepth): ditto
17505
17506         * bufferparams.h: use boost::
17507
17508         * bufferlist.h: inherit privately from noncopyable
17509
17510         * bufferlist.C (loadLyXFile): remove some commented code.
17511
17512         * buffer.C (runChktex): use LFUN_MESSAGE
17513
17514         * ShareContainer.h: inherit privately from noncopyable
17515
17516         * ParagraphParameters.[hC] (depth): inline it.
17517
17518         * LyXView.[Ch] (LyXView): connect the minibuffer signals to lyxfunc
17519         methods.
17520         (message): new method
17521         (messagePush): ditto
17522         (messagePop): ditto
17523         (show): init minibuffer
17524         (showState): direct call
17525
17526         * LaTeX.[Ch]: inherit privately from noncopyable
17527         (run): change second arg to LyXFunc*, use LFUN_MESSAGE
17528         instead of WriteStatus.
17529
17530         * FontLoader.C (doLoad): use LFUN_MESSAGE_PUSH and LFUN_MESSAGE_POP
17531
17532         * BufferView_pimpl.C (buffer): don't init minibuffer
17533         (workAreaButtonPress): use LFUN_MESSAGE
17534         (workAreaButtonRelease): ditto
17535         (savePosition): ditto
17536         (restorePosition): ditto
17537         (MenuInsertLyXFile): ditto
17538         (workAreaExpose): don't init minibuffer
17539         (update): remove commented code, simplify
17540
17541         * BufferView2.C (openStuff): use LFUN_MESSAGE
17542         (toggleFloat): ditto
17543         (menuUndo): ditto
17544         (menuRedo): ditto
17545         (copyEnvironment): ditto
17546         (pasteEnvironment): ditto
17547         (copy): ditto
17548         (cut): ditto
17549         (paste): ditto
17550         (gotoInset): ditto
17551         (updateInset): remove some commented code
17552
17553         * lastfiles.h: inherit privately from noncopyable
17554         * layout.h: ditto
17555         * lyx_gui.h: ditto
17556         * lyx_main.h: ditto
17557         * lyxlex.h: ditto
17558         * lyxlex_pimpl.h: ditto
17559
17560         * commandtags.h: comment out LFUN_FOOTMELT, LFUN_MARGINMELT,
17561         LFUN_FLOATSOPERATE, LFUN_MELT, add LFUN_MESSAGE,
17562         LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
17563
17564         * LyXAction.h: inherit privately from noncopyable, add methods
17565         func_begin, func_end, returning iterators to the func map.
17566
17567         * LyXAction.C (init): comment out LFUN_FLOATSOPERATE, LFUN_MELT,
17568         add entries for LFUN_MESSAGE, LFUN_MESSAGE_PUSH, LFUN_MESSAGE_POP
17569         (func_begin): new method
17570         (func_end): new method
17571
17572         * CutAndPaste.C (cutSelection): split into two versons (NEW_INSETS
17573         and not)
17574         (copySelection): ditto
17575         (pasteSelection): ditto
17576
17577         * BufferView.C: whitespace change
17578         * BufferView.h: inherit privately from noncopyable
17579
17580 2001-04-16  Allan Rae  <rae@lyx.org>
17581
17582         * tabular-old.C (l_getline):
17583         * spellchecker.C (sc_check_word):
17584         * lyxfunc.C (Dispatch): #warning triggers an error on Sun CC 6.0 as
17585         an unrecognised preprocessor directive.  So ensure they're wrapped.
17586
17587 2001-04-14  Dekel Tsur  <dekelts@tau.ac.il>
17588
17589         * src/exporter.C (Export): Give an error message when path to file
17590         contains spaces.
17591
17592 2001-04-12  Dekel Tsur  <dekelts@tau.ac.il>
17593
17594         * LaTeX.C (deplog): Always check that foundfile exists.
17595
17596 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17597
17598         * lyx_main.h:
17599         * lyx_main.C (ReadLanguagesFile): fix weird typo in method name
17600
17601 2001-04-06  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17602
17603         * tabular.[Ch] (getLabelList): implement new method
17604
17605         * minibuffer.h: comment ouf setTiimer
17606
17607         * minibuffer.C (ExecutingCB): constify res
17608         (peek_event): constify s
17609         (Set): constify ntext
17610         (Init): constify nicename
17611
17612         * BufferView2.C (updateInset): comment out Minibuffer::setTimer
17613
17614         * BufferView_pimpl.C (update): comment out Minibuffer::setTimer
17615         (savePosition): use two params to Minibuffer::Set
17616         (restorePosition): ditto
17617
17618 2001-04-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17619
17620         * lyx_main.C: include language.h
17621
17622         * Makefile.am (lyx_main.o): add language.h
17623
17624 2001-04-05  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17625
17626         * exporter.C:
17627         * paragraph.C:
17628         * screen.C:
17629         * tabular.C:
17630         * CutAndPaste.C: include gettext.h
17631
17632         * lyxfont.h: remove old hack with ON and OFF.
17633
17634         * lyxparagraph.h:
17635         * lyxfont.h: do not include language.h...
17636
17637         * BufferView2.C:
17638         * LaTeXFeatures.C:
17639         * Painter.C:
17640         * bufferview_funcs.C:
17641         * font.C:
17642         * lyxfont.C:
17643         * text.C:
17644         * text2.C:
17645         * trans_mgr.C:
17646         * paragraph.C: ... but do it here instead
17647
17648 2001-04-04  Lars Gullik Bjønnes  <larsbj@birdstep.com>
17649
17650         * text2.C (SetLayout): split in NEW_INSETS and non NEW_INSETS version
17651
17652         * tabular.C: small reformat
17653
17654         * paragraph.C (GetFontSettings): split in NEW_INSETS and non
17655         NEW_INSETS version
17656         (GetChar): ditto
17657         (BreakParagraph): ditto
17658         (SetOnlyLayout): ditto
17659         (SetLayout): ditto
17660
17661         * lyxparagraph.h: add definitions for SetLayout and SetOnlyLayout
17662         with one arg less.
17663
17664         * lastfiles.C: removed most using decl, add std:: where needed
17665
17666         * buffer.C: ws changes
17667
17668         * MenuBackend.C (class compare_format): put into anon namespace
17669         (expand): constify label, names, action, action2
17670         (expand):
17671
17672         * text.C (SingleWidth): constify font
17673         (IsBoundary): constify rtl2
17674         (GetVisibleRow): constify ww
17675
17676         * LaTeX.C (deplog): constify logfile
17677
17678         * BufferView_pimpl.C (checkInsetHit): constify width, inset_x,
17679         start_x, end_x
17680         (workAreaExpose): constify widthChange, heightChange
17681
17682         * lyxrow.C (par): moved
17683         (height): moved
17684         (next): moved
17685         * lyxrow.h: as inlines here
17686
17687         * lyxfont.h (shape): moved from lyxfont.C
17688         (emph): moved from lyxfont.C
17689
17690         * lyxfont.C (LyXFont): use initialization list for all
17691         constructors
17692         (shape): move to lyxfont.h as inline
17693         (emph): move to lyxfont.h as inline
17694
17695
17696 2001-04-04  Juergen Vigna  <jug@sad.it>
17697
17698         * vspace.C: had to include stdio.h for use of sscanf
17699
17700 2001-04-03  Angus Leeming  <a.leeming@ic.ac.uk>
17701
17702         * BufferView.h:
17703         * BufferView_pimpl.h: remove xforms cruft. Both classes are
17704         independent of xforms.
17705
17706 2001-04-02  Juergen Vigna  <jug@sad.it>
17707
17708         * spellchecker.C: fixed namespace placing!
17709
17710 2001-03-30  Angus Leeming  <a.leeming@ic.ac.uk>
17711
17712         * lyxfunc.C (Dispatch): prevent crash in LFUN_GOTO_PARAGRAPH when
17713         the LyXParagraph * is 0.
17714
17715 2001-03-29  Juergen Vigna  <jug@sad.it>
17716
17717         * vspace.C: added support for %, c%, p%, l%.
17718         (stringFromUnit): added helper function.
17719         (asLatexString): changed to give right results for the %-values.
17720
17721         * buffer.C: convert the widthp in a width%.
17722
17723 2001-03-28  Angus Leeming  <a.leeming@ic.ac.uk>
17724
17725         * Makefile.am: removed form1.[Ch], lyx.[Ch] and added figure_form.[Ch],
17726         figureForm.[Ch].
17727
17728         * figureForm.[Ch]: stripped the FD_from_figure manipulation
17729         code out of lux_cb.[Ch], ready for its (imminent?) removal.
17730
17731         * lyx_cb.[Ch]: see above.
17732
17733         * figure_form.[Ch]: fdesign generated code, combining lyx.[Ch] and
17734         form1.[Ch].
17735
17736         * form1.[Ch]:
17737         * lyx.[Ch]: replaced by figure_form.[Ch].
17738
17739         * lyx_gui.C:
17740         * lyx_gui_misc.C:
17741         * lyxfunc.C: changed headers associated with above changes.
17742
17743 2001-03-27  Juergen Vigna  <jug@sad.it>
17744
17745         * BufferView_pimpl.C: set the temporary cursor right!
17746
17747 2001-03-27  Angus Leeming  <a.leeming@ic.ac.uk>
17748
17749         * BufferView_pimpl.C (Dispatch): corrected spelling givven -> given.
17750
17751 2001-03-23  Angus Leeming  <a.leeming@ic.ac.uk>
17752
17753         * LString.h: removed "using std::getline"!
17754
17755         * BufferView_pimpl.C (Dispatch): changes due to changes in
17756         InsetInclude::Params.
17757
17758         * buffer.C (tag_name): removed redundant break statements as they were
17759         producing lots of warnings with my compiler.
17760
17761 2001-03-23  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17762
17763         * LString.h: add "using std::getline" when using the real <string>.
17764
17765 2001-03-23  Jos�Ab�io Matos  <jamatos@fep.up.pt>
17766
17767         * buffer.C: removed bitset usage.
17768         PAR_TAG moved to an anonymous name space.
17769         (tag_name): new funtion, also in the anonymous namespace.
17770         (SimpleLinuxDocOnePar): replaced all the references to bitset by PAR_TAG.
17771         (makeDocBookFile): clean code. Completed transition from string arrays
17772         to string vectors.
17773         (SimpleDocBookOnePar): code clean.
17774
17775 2001-03-23  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17776
17777         * tabular.C: add some comments.
17778
17779 2001-03-22  Juergen Vigna  <jug@sad.it>
17780
17781         * buffer.C (parseSingleLyXformat2Token): redone the minipage
17782         compatibility read a bit and fixed bug with minipage in different
17783         depth.
17784
17785 2001-03-21  Jos�Ab�io Matos  <jamatos@fep.up.pt>
17786
17787         * buffer.C (pop_tag): removed.
17788         (push_tag): removed.
17789         (makeLinuxDocFile): cleaner C++ code, declarations near usage point,
17790         array replaced with vector. Added support for CDATA sections.
17791         (SimpleLinuxDocOnePar): ditto. Paragraph tags are correctly handled,
17792         at any nest level.
17793         (makeDocBookFile): XML conformant declaration of CDATA section,
17794         fixed bug related to <emphasis> in the first paragraph char.
17795         (sgmlOpenTag): exclude empty tags.
17796         (sgmlCloseTag): ditto.
17797
17798         * buffer.h (pop_tag): removed.
17799         (push_tag): removed.
17800
17801 2001-03-20  Angus Leeming  <a.leeming@ic.ac.uk>
17802
17803         * language.h (Languages): added size_type and size().
17804
17805 2001-03-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17806
17807         * buffer.C (parseSingleLyXformat2Token): Try to give a bit better
17808         response on compability reading of minipages. One probliem is that
17809         the old usage of minipages was flertydig
17810
17811         * several files here and in subdirs: don't use static at file
17812         scope use anon namespaces instead.
17813
17814 2001-03-19  Kayvan A. Sylvan <kayvan@sylvan.com>
17815
17816         * paragraph.C (TeXEnvironment): Added \n to \end{environment}
17817         LaTeX output. This is necessary for Literate document
17818         processing.
17819
17820 2001-03-17  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17821
17822         * buffer.C: insert hfill when needed.
17823
17824         * tabular.C (l_getline): use string::erase, small whitespace change.
17825
17826         * BufferView_pimpl.C: try the anon namespace.
17827         * WorkArea.C: ditto
17828
17829 2001-03-16  Juergen Vigna  <jug@sad.it>
17830
17831         * BufferView_pimpl.C (workAreaButtonRelease): return only on button==2
17832         otherwise it won't open options-dialogs.
17833
17834         * buffer.C: honor pextraWidth(p) on converting minipages.
17835
17836         * tabular.C (l_getline): changed the functions to strip trailing \r.
17837
17838 2001-03-16  Angus Leeming  <a.leeming@ic.ac.uk>
17839
17840         * BufferView_pimpl.C:
17841         * minibuffer..C: added "using SigC::slot" declaration.
17842
17843 2001-03-16  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17844
17845         * lyxlex_pimpl.h: noncopyable is in namespace boost.
17846
17847         * text2.C: ditto
17848
17849         * text.C: ditto
17850
17851         * paragraph.C: ditto
17852
17853         * lyxtext.h: NO_PEXTRA
17854
17855         * buffer.C: NO_PEXTRA_REALLY, NO_PEXTRA
17856
17857         * ParagraphParameters.C (clear): NO_PEXTRA_REALLY
17858         * ParameterStruct.h: ditto
17859         * ParagraphParameters.h: ditto
17860         * lyxparagraph.h: ditto
17861
17862 2001-03-15  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17863
17864         * buffer.C: add compability for minipage alignment.
17865         (latexParagraphs): remove unwanted pextra check.
17866
17867         * several files: remove CXX_WORKING_NAMESPACES
17868
17869         * buffer.C (pop_tag): tie is in namespace boost
17870
17871         * BufferView.h: noncopyable is in namespace boost
17872         * lyxlex.h: ditto
17873         * lyx_main.h: ditto
17874         * lyx_gui.h: ditto
17875         * layout.h: ditto
17876         * lastfiles.h: ditto
17877         * bufferlist.h: ditto
17878         * ShareContainer.h: ditto
17879         * LyXView.h: ditto
17880         * LyXAction.h: ditto
17881         * LaTeX.h: ditto
17882
17883 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
17884
17885         * Merging changes from BRANCH_MVC back into HEAD.
17886
17887         * Makefile.am: added controllers/libcontrollers.la to lyx_DEPENDENCIES
17888
17889 2001-03-15  John Levon  <moz@compsoc.man.ac.uk>
17890
17891         * BufferView_pimpl.C: change from intl.C
17892
17893         * combox.h:
17894         * combox.C:
17895         * Makefile.am: move combox.*
17896
17897         * form1.h:
17898         * form1.C:
17899         * lyx_gui.C:
17900         * intl.h:
17901         * intl.C: remove dialog (covered by prefs)
17902
17903 2001-03-14  Angus Leeming  <a.leeming@ic.ac.uk>
17904
17905         * lyxfunc.C (Dispatch): removed redundant break statement.
17906
17907 2001-03-14  Juergen Vigna  <jug@sad.it>
17908
17909         * tabular.C (l_getline): pay attention on \r\n (from Windows-files)
17910
17911 2001-03-14  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17912
17913         * buffer.C: add hack to fix compability reading of minipages.
17914
17915 2001-03-13  Dekel Tsur  <dekelts@tau.ac.il>
17916
17917         * buffer.C (getLists): Cleanup.
17918
17919 2001-03-13  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17920
17921         * lyxfont.C (update): don't honor toggleall on font size.
17922
17923 2001-03-13  John Levon  <moz@compsoc.man.ac.uk>
17924
17925         * bmtable.c:
17926         * bmtable.h:
17927         * Makefile.am: moved to frontends/xforms/
17928
17929         * lyx_gui_misc.C:
17930         * lyxfunc.C:
17931         * BufferView_pimpl.C: changes for moved mathpanel
17932
17933 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
17934
17935         * gettext.h: fix gettext_init() in --disable-nls
17936
17937 2001-03-12  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
17938
17939         * LaTeXFeatures.C (getMacros): add a .c_str() when using sstream.
17940
17941 2001-03-09  John Levon  <moz@compsoc.man.ac.uk>
17942
17943         * lyx.C:
17944         * lyx.h: strip external form
17945
17946 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
17947
17948         * BufferView_pimpl.C: add comment, destroySplash()
17949
17950 2001-03-12  John Levon  <moz@compsoc.man.ac.uk>
17951
17952         * BufferView_pimpl.C:
17953         * LyXAction.C:
17954         * buffer.C:
17955         * commandtags.h:
17956         * lyxfunc.C: use re-worked insetinclude
17957
17958 2001-03-12  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17959
17960         * buffer.C: add using std::stringstream.
17961
17962         * lyx_cb.C: readd using std::ios.
17963
17964         * buffer.C: add using std::map.
17965
17966         * BufferView_pimpl.C: add using std::vector.
17967
17968         * ShareContainer.h: add std:: to swap.
17969
17970         * buffer.h: add some typedefs
17971         * buffer.C (getLists): use them
17972         (getLists): renamed from getTocList.
17973         add a counter for the different float types and use it in the
17974         generated string.
17975         (getLists): use the same counter for the NEW_INSETS and the "non"
17976         NEW_INSETS
17977
17978         * lyx_cb.h: remove unused items, includes, using etc.
17979
17980         * ShareContainer.h: remove some commented code, add more comments
17981         and "documentation".
17982
17983 2001-03-11  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
17984
17985         * buffer.C (getTocList): make the list also when NEW_INSETS is
17986         defined.
17987
17988         * buffer.h: remove TocType
17989
17990         * buffer.C (getTocList): change to return a map<string,
17991         vector<TocItem> >, implement for dynamic number of list.
17992
17993         * CutAndPaste.[Ch] (checkPastePossible): remove unused arg
17994         * text2.C (PasteSelection): adjust
17995         * CutAndPaste.C (pasteSelection): adjust
17996
17997         * FloatList.C (FloatList): update from the new_insets branch.
17998         * Floating.[Ch]: ditto
17999         * LaTeXFeatures.C: ditto
18000         * buffer.C: ditto
18001         * lyxlex_pimpl.C: ditto
18002
18003         * paragraph.C (Last): remove when NEW_INSETS is defined.
18004
18005         * other file: changes because of the above.
18006
18007 2001-03-09  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18008
18009         * lyxparagraph.h: rename next to next_, previous to previous_,
18010         make them private for NEW_INSETS. Rename Next() to next(),
18011         Previous() to previous().
18012
18013         * other files: changes because of the above.
18014
18015 2001-03-08  Dekel Tsur  <dekelts@tau.ac.il>
18016
18017         * BufferView.h:
18018         * lyxparagraph.h: Add '#include "LString.h"' to fix compilation
18019         problem.
18020
18021 2001-03-08  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18022
18023         * main.C (main): pass lyx_localedir to gettext_init().
18024
18025         * gettext.h: remove locale_init and gettext_init macros
18026
18027         * gettext.C (locale_init): new function
18028         (gettext_init): new function
18029
18030         * lyx_gui.C (LyXGUI): use locale_init() instead of explicit
18031         setlocale().
18032
18033 2001-03-07  Edwin Leuven  <leuven@fee.uva.nl>
18034
18035         * Moved credits to frontends:
18036         * credits.[Ch]: removed
18037         * credits_form.[Ch]: removed
18038         * lyx_gui_misc.C: remove credits stuff
18039         * Makefile.am:
18040
18041 2001-03-07  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18042
18043         * lyx_main.C: make toplevel_keymap a boost::scoped_ptr.
18044
18045         * kbmap.[Ch]: make kb_key::table a boost::shared_ptr, remove
18046         unneeded destructor.
18047
18048         * intl.[Ch] (Intl): free the fd_form_keymap, make the fd_form_keymap
18049         a standalone pointer again.
18050
18051         * ColorHandler.[Ch]: make lyxColorHandler a boost::scoped_ptr
18052
18053 2001-03-06  John Levon  <moz@compsoc.man.ac.uk>
18054
18055         * Makefile.am:
18056         * filedlg.h:
18057         * filedlg.C:
18058         * LyXAction.C:
18059         * ToolbarDefaults.C:
18060         * bufferlist.C:
18061         * commandtags.h:
18062         * form1.C:
18063         * form1.h:
18064         * lyx_cb.C:
18065         * lyx_cb.h:
18066         * lyxfunc.h:
18067         * lyxfunc.C:
18068         * BufferView_pimpl.C: use new file dialog in GUII
18069
18070         * lyx_cb.h:
18071         * lyx_cb.C: remove LayoutsCB to Toolbar
18072
18073 2001-03-07  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18074
18075         * ShareContainer.h (get): add std:: qualifier
18076
18077 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18078
18079         * ShareContainer.h: define a proper ShareContainer::value_type
18080         type (and use typename to please compaq cxx)
18081
18082 2001-03-06  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18083
18084         * lyxparagraph.h: move serveral local vars to
18085         ParameterStruct/ParagraphParameters., use ShareContainer in
18086         FontTable., make vars in FontTable private and add getter and
18087         setter.
18088
18089         * paragraph.C: changes because of the above.
18090
18091         * lyxfont.h: remove copy constructor and copy assignment. (the
18092         default ones is ok), move number inside FontBits. move inlines to
18093         lyxfont.C
18094
18095         * lyxfont.C: add number to initializaton of statics, move several
18096         inlines here. constify several local vars. some whitespace
18097         cleanup. Dont hide outerscope variables.
18098
18099         * Spacing.h: add two new constructors to match the set methods.
18100
18101         * ShareContainer.h: new file, will perhaps be moved to support
18102
18103         * ParameterStruct.h: new file
18104
18105         * ParagraphParameters.h: new file
18106
18107         * ParagraphParameters.C: new file
18108
18109         * Makefile.am (lyx_SOURCES): add ParagraphParameters.C,
18110         ParagraphParameters.h, ParameterStruct.h and ShareContainer.h
18111
18112         * BufferView_pimpl.C: ParagraphParameter changes.
18113         * buffer.C: Likewise.
18114         * bufferview_funcs.C: Likewise.
18115         * text.C: Likewise.
18116         * text2.C: Likewise.
18117
18118 2001-03-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18119
18120         * lyxfind.C (LyXReplace): do not redefine default argument in
18121         implementation.
18122         (IsStringInText): ditto
18123         (SearchForward): ditto
18124         (SearchBackward): ditto
18125
18126 2001-03-06  Juergen Vigna  <jug@sad.it>
18127
18128         * lyxfind.C (IsStringInText): put parentes around expressions.
18129
18130 2001-03-05  Edwin Leuven  <leuven@fee.uva.nl>
18131
18132         * lyxfind.[Ch]: find stuff moved out of text2.C/lyxtext.h
18133
18134 2001-02-23  John Levon  <moz@compsoc.man.ac.uk>
18135
18136         * lyx_main.C: add ISO_Left_Tab as bind synonym for Tab
18137
18138         * stl_string_fwd.h: add comment
18139
18140         * lyx_gui_misc.C: killed ALWAYS_CLOSE_MATH_PANELS
18141
18142         * tabular.h:
18143         * tabular.C: remove unused DocBook methods
18144
18145         * intl.C:
18146         * language.C:
18147         * paragraph.C:
18148         * buffer.C:
18149         killed DO_USE_DEFAULT_LANGUAGE
18150
18151 2001-03-01  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18152
18153         * lyx_gui.C: do not include language.h.
18154
18155         * bufferview_funcs.C (ToggleAndShow): do not provide optional
18156         arguments in function implementation.
18157
18158 2001-02-28  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18159
18160         * BufferView_pimpl.C: add <ctime>
18161
18162 2001-02-27  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18163
18164         * BufferView_pimpl.C: add using std::find_if
18165
18166 2001-02-27  José Matos  <jamatos@fep.up.pt>
18167
18168         * LaTeXFeatures.C (getIncludedFiles): call to BasePath replaced
18169         by OnlyPath.
18170
18171 2001-02-11  José Matos  <jamatos@fep.up.pt>
18172
18173         * buffer.C (makeDocBookFile): command styles now have a parameter as
18174         "title" by default.
18175
18176 2001-02-23  Edwin Leuven <leuven@fee.uva.nl>
18177
18178         * layout_forms.[Ch]: removed
18179         * lyx_cb.[Ch]: out character
18180         * lyx_gui.C: out character
18181         * lyx_gui_misc.C: out character
18182         * bufferview_funcs.C: : out character,
18183         added toggleall as parameter in ToggleAndShow
18184
18185 2001-02-26  Dekel Tsur  <dekelts@tau.ac.il>
18186
18187         * lyxfunc.C (getStatus): Fix the LFUN_EXPORT case.
18188
18189         * text2.C (SetCurrentFont): Disable number property at boundary.
18190
18191 2001-02-26  Juergen Vigna  <jug@sad.it>
18192
18193         * lyxfunc.C (getStatus): added a string argument override function so
18194         that this is correctly called from LyXFunc::Dispatch if it contains a
18195         do_not_use_argument which is used!
18196         (Dispatch): added check for "custom" export and call appropriate func.
18197
18198 2001-02-23  Dekel Tsur  <dekelts@tau.ac.il>
18199
18200         * lyxrc.C: Add language_command_local, language_use_babel and
18201         language_global_options.
18202
18203         * lyxfont.C (latexWriteStartChanges): Use language_command_local.
18204
18205         * buffer.C (makeLaTeXFile): Use language_use_babel and
18206         language_global_options.
18207
18208 2001-02-23  Juergen Vigna  <jug@sad.it>
18209
18210         * lyxfunc.C (Dispatch): removed the whole part of the switch statement
18211         which works with LyXText and putted it inside BufferView. Here now we
18212         only call for that part the BufferView::Dispatch() function.
18213
18214         * BufferView.C (Dispatch): added.
18215
18216         * BufferView_pimpl.C (Dispatch): added! Here are now all dispatch
18217         functions which needs to use a LyXText over from LyXFunc.
18218         (MenuInsertLyXFile): added
18219         (getInsetByCode): added
18220         (moveCursorUpdate): added
18221         (static TEXT): added
18222
18223 2001-02-22  Juergen Vigna  <jug@sad.it>
18224
18225         * BufferView_pimpl.C (update): call a status update to see if LyXText
18226         needs it.
18227
18228 2001-02-20  Lars Gullik Bjønnes  <larsbj@trylle.birdstep.com>
18229
18230         * vc-backend.C (revert): implement for CVS
18231         (getLog): implement for CVS
18232
18233 2001-02-20  Juergen Vigna  <jug@sad.it>
18234
18235         * text2.C (ClearSelection): added BufferView param for inset_owner call
18236
18237         * lyxfunc.C (TEXT): added this function and use it instead of
18238         directly owner->view()-text of getLyXText().
18239
18240 2001-02-20  Edwin Leuven <leuven@fee.uva.nl>
18241
18242         * src/layout_forms.C: out preamble
18243         * src/layout_forms.h: out preamble
18244         * src/lyx_cb.C: out preamble
18245         * src/lyx_cb.h: out preamble
18246         * src/lyx_gui.C: out preamble
18247         * src/lyx_gui_misc.C: out preamble
18248         * src/lyxfunc.C: connect with guii preamble
18249
18250 2001-02-19  Angus Leeming  <a.leeming@ic.ac.uk>
18251
18252         * src/buffer.h: tiny clean-ups to allow compilation with DEC cxx.
18253
18254 2001-02-17  Dekel Tsur  <dekelts@tau.ac.il>
18255
18256         * LaTeX.C (run): Do not use 'scanres & RERUN' when deciding
18257         whether to run bibtex.
18258
18259 2001-02-16  Dekel Tsur  <dekelts@tau.ac.il>
18260
18261         * Makefile.am (lyx_SOURCES): Remove BackStack.h
18262
18263 2001-02-16  Lars Gullik Bjønnes  <larsbj@lyx.org>
18264
18265         * Makefile.am (lyx_SOURCES): removed bibforms.h
18266
18267         * vspace.h: doxygen
18268
18269         * text.C (GetVisibleRow): make several local vars const
18270
18271         * tabular.C: small cleanup.
18272
18273         * lyxserver.C (callback): use compare instead of strncmp
18274
18275         * lyxparagraph.h: remove all code dep. on HAVE_ROPE, move inclass
18276         inlines to after class or to paragraph.C
18277
18278         * lyxfont.h: remove friend operator!=
18279
18280         * converter.h: move friend bool operator< to non friend and after
18281         class def.
18282
18283         * combox.h: small cleanup
18284
18285         * buffer.h: doxygen, remove unused constructor, move inclas inlies
18286         to inlines after class def.
18287
18288         * buffer.C (pop_tag): use string operations instead of strcmp
18289
18290         * bmtable.c: doxygen, small cleanup
18291
18292         * LaTeX.h: remove friend operator==
18293
18294 2001-02-14  Lars Gullik Bjønnes  <larsbj@lyx.org>
18295
18296         * screen.C:
18297         * lyxrc.[Ch]:
18298         * lyxfunc.C:
18299         * lyxfont.[Ch]:
18300         * lyx_cb.C:
18301         * intl.[Ch]:
18302         * commandtags.h:
18303         * buffer.C:
18304         * WorkArea.[Ch]:
18305         * LyXAction.C:
18306         * BufferView_pimpl.C:
18307         * BufferView.[Ch]: remove cruft
18308
18309 2001-02-14  Juergen Vigna  <jug@sad.it>
18310
18311         * lyxfunc.C: removed #if 0 unused code
18312
18313         * lyxfunc.C (Dispatch): make LFUN_QUOTE work for InsetText.
18314
18315         * BufferView_pimpl.C (update): set updatestatus of inset if needed.
18316
18317         * text2.C (SetSelection): added a BufferView * parameter
18318
18319 2001-02-13  Juergen Vigna  <jug@sad.it>
18320
18321         * lyxfunc.C (Dispatch): fixed protected blank problem.
18322         * BufferView2.C (protectedBlank): added LyxText * parameter.
18323
18324         * tabular.C (AppendRow): forgot to set row_info of newly added row.
18325         (AppendColumn): same as above for column_info.
18326
18327         * lyxfunc.C (Dispatch): supported some more functions in InsetText.
18328         (moveCursorUpdate): use a LyXText param for support of InsetText.
18329
18330         * BufferView_pimpl.C (doubleClick): added support for InsetText.
18331         (tripleClick): ditto
18332
18333         * lyxfunc.C (LFUN_APPENDIX): changed to use "text" pointer.
18334
18335         * BufferView_pimpl.C (update): added LyXText param to honor insets.
18336
18337         * bufferview_funcs.C (ToggleAndShow): fixed for text in insets.
18338
18339         * text2.C (SetSelection): set correct update status if inset_owner
18340         (ToggleFree): ditto
18341
18342 2001-02-12  Lars Gullik Bjønnes  <larsbj@lyx.org>
18343
18344         * tabular.C: remove some commented code.
18345
18346 2001-02-12  John Levon  <moz@compsoc.man.ac.uk>
18347
18348         * BufferView_pimpl.C: call hideSplash()
18349
18350         * LyXAction.C: make buffer-child-insert use LFUN_CHILD_CREATE
18351
18352         * include_form.h:
18353         * bibforms.h: remove
18354
18355         * lyxfunc.C:
18356         * src/commandtags.h: LFUN_CHILDINSERT -> LFUN_CHILD_INSERT,
18357           add LFUN_CHILD_CREATE
18358
18359         * counters.h: fix tiny typo
18360
18361         * lyx_cb.C:
18362         * lyx.h:
18363         * lyx_gui.C:
18364         * lyx.C: move splash to frontends/xforms/
18365
18366         * lyx_gui_misc.C: move Include and Bibform to frontends
18367
18368         * lyxvc.h: clarify comment
18369
18370         * vspace.C: tiny housekeeping
18371
18372 2001-02-10  Dekel Tsur  <dekelts@tau.ac.il>
18373
18374         * text.C (PrepareToPrint): RTL Fix.
18375
18376         * paragraph.C (GetUChar): New method.
18377         (String):  Use GetUChar.
18378
18379         * buffer.C (asciiParagraph): Use GetUChar.
18380
18381 2001-02-09  Dekel Tsur  <dekelts@tau.ac.il>
18382
18383         * text.C (GetVisibleRow): Fix selection drawing for RTL text in tables.
18384
18385 2001-02-09  John Levon  <moz@compsoc.man.ac.uk>
18386
18387         * buffer.h:
18388         * buffer.C: rename to getLogName(), handle
18389           build log / latex log nicely
18390
18391 2001-02-09  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18392
18393         * MenuBackend.C:
18394         * MenuBackend.h: remove support for reference menuitem type.
18395
18396 2001-02-07  John Levon  <moz@compsoc.man.ac.uk>
18397
18398         * BufferView_pimpl.C: housekeeping
18399         * BufferView_pimpl.h:
18400         * LyXView.h:
18401         * Makefile.am:
18402         * Timeout.C:
18403         * Timeout.h:
18404         * minibuffer.h: move Timeout GUI-I
18405
18406 2001-02-07  Dekel Tsur  <dekelts@tau.ac.il>
18407
18408         * lyxrc.C (read): Update converters data-structures.
18409
18410 2001-02-07  Lars Gullik Bjønnes  <larsbj@lyx.org>
18411
18412         * LaTeX.h (operator!=): add operator != for Aux_Info
18413
18414 2001-02-06  John Levon  <moz@compsoc.man.ac.uk>
18415
18416         * Makefile.am: remove LaTeXLog.C, log_form.[Ch]
18417
18418         * LaTeXLog.C: deleted, useful code moved to Buffer
18419
18420         * buffer.h:
18421         * buffer.C: new function getLatexLogName()
18422
18423         * lyx_gui_misc.C:
18424         * lyx_gui.C:
18425         * lyxvc.C:
18426         * lyxvc.h:
18427         * lyxfunc.C: use frontends for LaTeX and VC logs
18428
18429 2001-02-06  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18430
18431         * LaTeX.h: yet another std:: that Allan forgot.
18432
18433         * Variables.C (set): renamed from isset(), because this clashes
18434         with some HP-UX macros (grr).
18435
18436 2001-02-06  Allan Rae  <rae@lyx.org>
18437
18438         * LaTeX.h: Another bug fix.  Missing std:: this time.
18439
18440 2001-02-04  Allan Rae  <rae@lyx.org>
18441
18442         * paragraph.C (TeXOnePar): Partial fix for the '\n' generation in
18443         floats problem. I've left it commented out because it's not quite
18444         correct.  It should also test that the current object is a table or
18445         figure inset.  But I haven't gotten around to figuring out how to do
18446         that.  I *think* it'll be something like: "table" == inset.type()
18447
18448         * LaTeX.h (operator==): Aux_Info should have a friend that returns a
18449         bool.
18450
18451 2001-02-02  Dekel Tsur  <dekelts@tau.ac.il>
18452
18453         * LaTeX.C (scanAuxFile): A rewrite of this method. It now returns
18454         all the citation/databases/styles in the auxilary file.
18455         (run): Rerun latex if there was a babel language error.
18456
18457 2001-02-01  Dekel Tsur  <dekelts@tau.ac.il>
18458
18459         * text.C (Backspace): Preserve the font when changing newline char
18460         with a space.
18461         (BreakParagraph): If the cursor is before a space, delete the space.
18462
18463         * lyx_cb.C (QuitLyX): Do not save files when running with no gui.
18464
18465 2001-01-31  Dekel Tsur  <dekelts@tau.ac.il>
18466
18467         * BufferView2.C (ChangeInsets): Renamed from ChangeRefs. Accept a
18468         new argument (code).
18469         (ChangeCitationsIfUnique): New method.
18470
18471         * paragraph.C (GetPositionOfInset): Handle bibkey.
18472
18473 2001-01-29  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18474
18475         * BufferView_pimpl.h: change type of Position::par_pos to
18476         LyXParagraph::size_type.
18477
18478 2001-01-29  Dekel Tsur  <dekelts@tau.ac.il>
18479
18480         * BufferView_pimpl.C (savePosition, restorePosition): Write
18481         messages to minibuffer.
18482
18483 2001-01-28  José Matos  <jamatos@fep.up.pt>
18484
18485         * buffer.C (makeDocBookFile): adds support for document language.
18486         A silly restriction on the name of LatexCommand types where removed.
18487         Added support for CDATA sections, allows to chars unescaped, used
18488         among others in code, to avoid escape < and >.
18489
18490 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
18491
18492         * BufferView_pimpl.C (savePosition, restorePosition): Use a vector of
18493         saved positions instrad of a stack. Furthermore, a position is
18494         stored using paragraph id/paragraph position.
18495
18496         * commandtags.h: Add LFUN_BOOKMARK_SAVE and LFUN_BOOKMARK_GOTO.
18497         Remove LFUN_REF_BACK.
18498
18499 2001-01-27  Dekel Tsur  <dekelts@tau.ac.il>
18500
18501         * converter.C (dvipdfm_options): New method.
18502
18503 2001-01-26  Dekel Tsur  <dekelts@tau.ac.il>
18504
18505         * vspace.C (isValidLength): Fix for empty input string.
18506
18507 2001-01-26  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18508
18509         * LyXAction.C (init): change description of LFUN_FIGURE to
18510         "Insert Graphics"
18511
18512 2001-01-25  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18513
18514         * LaTeX.C: add using directive
18515
18516 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
18517
18518         * MenuBackend.C (expand): Fix the sorting of the formats.
18519
18520 2001-01-24  John Levon  <moz@compsoc.man.ac.uk>
18521
18522         * lyx_main.C: tiny error message fix
18523
18524 2001-01-24  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18525
18526         * lyx_gui.C (LyXGUI): force the LC_NUMERIC locale to "C" after
18527         calling fl_initialize(). This fixes the problem with ',' as
18528         decimal separator in text files.
18529
18530 2001-01-24  Dekel Tsur  <dekelts@tau.ac.il>
18531
18532         * trans.C (process): Fix the keymap bug.
18533
18534 2001-01-23  Dekel Tsur  <dekelts@tau.ac.il>
18535
18536         * LaTeX.C (scanAuxFiles): New method. Provides support for
18537         multiple bibliographies (when using the bibtopic/bibunits pacakges).
18538         (scanLogFile) Scan for "run BibTeX" messages.
18539
18540         * buffer.C (makeLaTeXFile): Do not load the ae package when using
18541         OT1 font encoding. Also, load the aecompl package if the ae
18542         package is loaded.
18543
18544         * tex-strings.C: Add "ae" to tex_fonts[] (from Matej Cepl).
18545
18546 2001-01-22  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18547
18548         * texrow.C (increasePos): turn two error messages into debug
18549         messages.
18550
18551 2001-01-20  Dekel Tsur  <dekelts@tau.ac.il>
18552
18553         * LaTeX.C (scanAux): Handle the \@input macro.
18554         (runBibTeX): Use scanAux().
18555
18556         * language.C (latex_options_): New field.
18557
18558         * LaTeXFeatures.C (getMacros): Add language macros.
18559
18560         * buffer.C (makeLaTeXFile): Small fix.
18561
18562 2001-01-19  Jean-Marc Lasgouttes  <Jean-Marc.Lasgouttes@inria.fr>
18563
18564         * lyxfunc.C: fix the name of the inset for LFUN_CHILDINSERT
18565
18566         * text2.C: add a using directive.
18567
18568 2000-01-17  John Levon  <moz@compsoc.man.ac.uk>
18569
18570         * BufferView2.C:
18571         * lyx_gui_misc.h:
18572         * lyxfr1.C:
18573         * lyxfunc.C: kill LyXBell.
18574
18575 2001-01-17  Dekel Tsur  <dekelts@tau.ac.il>
18576
18577         * text.C (IsBoundary): Remove the error message
18578
18579         * WorkArea.C (work_area_handler): Decrease keyboard purge threshold.
18580
18581         * lyxrc.C (setDefaults): Correct initialization value for
18582         font_norm_type.
18583
18584 2001-01-15  Dekel Tsur  <dekelts@tau.ac.il>
18585
18586         * BufferView2.C (gotoInset): New method. Replaces gotoNote() and
18587         gotoError().
18588
18589         * text2.C (GotoNextInset): New method. Replaces GotoNextError()
18590         and GotoNextNote().
18591
18592         * src/LyXAction.C: Added reference-next.
18593
18594         * text.C (InsertChar): Use contains instead of strchr.
18595
18596         * lyx_cb.C (MenuInsertLabel): Enable default value code.
18597
18598 2001-01-13  Dekel Tsur  <dekelts@tau.ac.il>
18599
18600         * paragraph.C (SimpleTeXOnePar) Put \protect before paragraph
18601         alignment commands (when needed).
18602
18603         * text.C (InsertChar): Add ':' to number separator chars.